Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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! 
2025-01-25 23:59:13.216549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:00:18.425597
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/33/image_22012025_23_33_54_9425.jpg', '/home/pi/Desktop/images/22012025/23/33/image_22012025_23_34_05_10371.jpg', '/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_15_10345.jpg', '/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_25_9376.jpg', '/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_35_10327.jpg', '/home/pi/Desktop/images/22012025/23/34/image_22012025_23_35_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/33/image_22012025_23_33_54_9425.jpg
/home/pi/Desktop/images/22012025/23/33/image_22012025_23_34_05_10371.jpg
/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_15_10345.jpg
/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_25_9376.jpg
/home/pi/Desktop/images/22012025/23/34/image_22012025_23_34_35_10327.jpg
/home/pi/Desktop/images/22012025/23/34/image_22012025_23_35_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":["1331483097","1331483087","1331483075","1331483105","1331483092","1331483080"],"photo_ids_order":["1331483075","1331483080","1331483087","1331483092","1331483097","1331483105"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ee44ae6ac35764152624dd28b4f7cac.jpg","text":"TemporaryFile(/tmp/multipartBody7690175271714413065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_34_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b7eab2a94ea906c484910f2dcd295d55.jpg","text":"TemporaryFile(/tmp/multipartBody9059029046904393402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_34_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/26/66b32923d8ddfc4b2ab5797666db0dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2508885777215299474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_33_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/26/f4e01c1336c2debb12ad79ee115d7cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1287192753037639225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_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/26/0545cdd8d0b8e9af9b088873fc2ff7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7423784924929075491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_34_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/26/1df413a3d9bcd50283608ca3dc4242a4.jpg","text":"TemporaryFile(/tmp/multipartBody4556470061185916522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846080700,"filename":"image_22012025_23_34_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331483087","file1":"1331483080","file0":"1331483075","file4":"1331483097","file5":"1331483105","file3":"1331483092"},"map_files_photo_id_array":[{"photo_id":"1331483105","filename":"file5"},{"photo_id":"1331483087","filename":"file2"},{"photo_id":"1331483097","filename":"file4"},{"photo_id":"1331483080","filename":"file1"},{"photo_id":"1331483075","filename":"file0"},{"photo_id":"1331483092","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331483097":["hashtag1","hashtag2"]},{"1331483087":["hashtag1","hashtag2"]},{"1331483075":["hashtag1","hashtag2"]},{"1331483105":["hashtag1","hashtag2"]},{"1331483092":["hashtag1","hashtag2"]},{"1331483080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331483097, 1331483087, 1331483075, 1331483105, 1331483092, 1331483080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.088114976882935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:01:42.588809
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_15_10362.jpg', '/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_25_9365.jpg', '/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_35_10334.jpg', '/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_45_10358.jpg', '/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_55_9344.jpg', '/home/pi/Desktop/images/22012025/23/35/image_22012025_23_36_05_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_15_10362.jpg
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_25_9365.jpg
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_35_10334.jpg
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_45_10358.jpg
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_35_55_9344.jpg
/home/pi/Desktop/images/22012025/23/35/image_22012025_23_36_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331484132","1331484129","1331484134","1331484137","1331484122","1331484136"],"photo_ids_order":["1331484122","1331484129","1331484132","1331484134","1331484136","1331484137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/68335b92001774e9f81a89e803908698.jpg","text":"TemporaryFile(/tmp/multipartBody6107720099600186235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_35_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/26/9d65b54be2b47e42b4202da1ec0be925.jpg","text":"TemporaryFile(/tmp/multipartBody2804059205076826048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_35_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/26/13c7449b91bc5792fb7df2bc25006ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8618330369046012136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_35_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/26/35d12240f3af24c008fbbddbdb1ec879.jpg","text":"TemporaryFile(/tmp/multipartBody7398808518371383962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_36_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/26/b958e9d6bc15f915624456ec5f2b228f.jpg","text":"TemporaryFile(/tmp/multipartBody8461893378313685621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_35_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/26/c88909e0e6c8e866f95059a4dac47305.jpg","text":"TemporaryFile(/tmp/multipartBody8886635762052111922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846164831,"filename":"image_22012025_23_35_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331484132","file1":"1331484129","file0":"1331484122","file4":"1331484136","file5":"1331484137","file3":"1331484134"},"map_files_photo_id_array":[{"photo_id":"1331484137","filename":"file5"},{"photo_id":"1331484132","filename":"file2"},{"photo_id":"1331484136","filename":"file4"},{"photo_id":"1331484129","filename":"file1"},{"photo_id":"1331484122","filename":"file0"},{"photo_id":"1331484134","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331484132":["hashtag1","hashtag2"]},{"1331484129":["hashtag1","hashtag2"]},{"1331484134":["hashtag1","hashtag2"]},{"1331484137":["hashtag1","hashtag2"]},{"1331484122":["hashtag1","hashtag2"]},{"1331484136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331484132, 1331484129, 1331484134, 1331484137, 1331484122, 1331484136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.129045248031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:02:42.770620
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_14_9403.jpg', '/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_25_10372.jpg', '/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_35_10444.jpg', '/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_45_9361.jpg', '/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_55_10361.jpg', '/home/pi/Desktop/images/22012025/23/36/image_22012025_23_37_04_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_14_9403.jpg
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_25_10372.jpg
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_35_10444.jpg
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_45_9361.jpg
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_36_55_10361.jpg
/home/pi/Desktop/images/22012025/23/36/image_22012025_23_37_04_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331484159","1331484150","1331484158","1331484536","1331484157","1331484154"],"photo_ids_order":["1331484150","1331484154","1331484157","1331484158","1331484159","1331484536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5413f46e9bbc6785b22d21b4109c3466.jpg","text":"TemporaryFile(/tmp/multipartBody3042449696235014090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_36_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/26/cec67aa3015a6aa35f221151c73f8d14.jpg","text":"TemporaryFile(/tmp/multipartBody2564806899213574509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_36_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f50c5e91642a524530827f0740289e8.jpg","text":"TemporaryFile(/tmp/multipartBody7141792107492592728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_36_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/26/1453654c23b3567fb38d3484634bc02c.jpg","text":"TemporaryFile(/tmp/multipartBody8063752505132874579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_37_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/26/0e94763d0191379dda8a6e0c2feaef16.jpg","text":"TemporaryFile(/tmp/multipartBody5182067098075841085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_36_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/26/850db4f354b91f2ac88c24b88093eb74.jpg","text":"TemporaryFile(/tmp/multipartBody4828505398549980907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846225005,"filename":"image_22012025_23_36_25_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331484157","file1":"1331484154","file0":"1331484150","file4":"1331484159","file5":"1331484536","file3":"1331484158"},"map_files_photo_id_array":[{"photo_id":"1331484536","filename":"file5"},{"photo_id":"1331484157","filename":"file2"},{"photo_id":"1331484159","filename":"file4"},{"photo_id":"1331484154","filename":"file1"},{"photo_id":"1331484150","filename":"file0"},{"photo_id":"1331484158","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331484159":["hashtag1","hashtag2"]},{"1331484150":["hashtag1","hashtag2"]},{"1331484158":["hashtag1","hashtag2"]},{"1331484536":["hashtag1","hashtag2"]},{"1331484157":["hashtag1","hashtag2"]},{"1331484154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331484159, 1331484150, 1331484158, 1331484536, 1331484157, 1331484154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.46370720863342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:03:42.981899
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_15_10344.jpg', '/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_25_10418.jpg', '/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_35_9372.jpg', '/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_45_10345.jpg', '/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_55_10445.jpg', '/home/pi/Desktop/images/22012025/23/37/image_22012025_23_38_05_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_15_10344.jpg
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_25_10418.jpg
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_35_9372.jpg
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_45_10345.jpg
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_37_55_10445.jpg
/home/pi/Desktop/images/22012025/23/37/image_22012025_23_38_05_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":["1331484684","1331485500","1331485495","1331485396","1331485016","1331485497"],"photo_ids_order":["1331484684","1331485016","1331485396","1331485495","1331485497","1331485500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72597968c87d48b8b8f59cb25366d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody615368316844827277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_37_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/26/f56ec078fb6608aa9c3e6742691411ea.jpg","text":"TemporaryFile(/tmp/multipartBody3063971827370543480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_38_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/26/8d5c263b9baaf82293d736ab1c1e4516.jpg","text":"TemporaryFile(/tmp/multipartBody2068269832259322847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_37_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/26/aca5100f7949261b374e84dcc61a016f.jpg","text":"TemporaryFile(/tmp/multipartBody1743815977446354540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_37_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/26/93ca13540e5c253bd6c90cda8a6dc1dd.jpg","text":"TemporaryFile(/tmp/multipartBody2061004894501772646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_37_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/26/b1f37e9599da68f927d2ff6e0bb3316e.jpg","text":"TemporaryFile(/tmp/multipartBody8000131693963217340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846285244,"filename":"image_22012025_23_37_55_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331485396","file1":"1331485016","file0":"1331484684","file4":"1331485497","file5":"1331485500","file3":"1331485495"},"map_files_photo_id_array":[{"photo_id":"1331485500","filename":"file5"},{"photo_id":"1331485396","filename":"file2"},{"photo_id":"1331485497","filename":"file4"},{"photo_id":"1331485016","filename":"file1"},{"photo_id":"1331484684","filename":"file0"},{"photo_id":"1331485495","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331484684":["hashtag1","hashtag2"]},{"1331485500":["hashtag1","hashtag2"]},{"1331485495":["hashtag1","hashtag2"]},{"1331485396":["hashtag1","hashtag2"]},{"1331485016":["hashtag1","hashtag2"]},{"1331485497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331484684, 1331485500, 1331485495, 1331485396, 1331485016, 1331485497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53548288345337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:04:42.162049
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_25_10366.jpg', '/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_35_9330.jpg', '/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_45_10481.jpg', '/home/pi/Desktop/images/22012025/23/38/image_22012025_23_39_05_10352.jpg', '/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_15_10334.jpg', '/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_25_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_25_10366.jpg
/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_35_9330.jpg
/home/pi/Desktop/images/22012025/23/38/image_22012025_23_38_45_10481.jpg
/home/pi/Desktop/images/22012025/23/38/image_22012025_23_39_05_10352.jpg
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_15_10334.jpg
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_25_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":["1331485895","1331485865","1331485820","1331485558","1331485864","1331485827"],"photo_ids_order":["1331485558","1331485820","1331485827","1331485864","1331485865","1331485895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/928873ad9f7b60d7467f95c72f7692f3.jpg","text":"TemporaryFile(/tmp/multipartBody294493800615743394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_39_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/26/595a3e2eb37482ff21ece12a52c61988.jpg","text":"TemporaryFile(/tmp/multipartBody9088677959295715817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_39_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/26/95817d984de67ea368e631c3fa8a179e.jpg","text":"TemporaryFile(/tmp/multipartBody7606328396955276963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_38_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/26/dc1316049a3685b4d029e886cf2d3e25.jpg","text":"TemporaryFile(/tmp/multipartBody5920734379956519208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_38_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/26/eca8f592f2ccf43a68d79c3cc319b9da.jpg","text":"TemporaryFile(/tmp/multipartBody518616998145893485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_39_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/26/c9060282ad375efadc0da6162b0426ba.jpg","text":"TemporaryFile(/tmp/multipartBody44481887514050643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846344399,"filename":"image_22012025_23_38_45_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331485827","file1":"1331485820","file0":"1331485558","file4":"1331485865","file5":"1331485895","file3":"1331485864"},"map_files_photo_id_array":[{"photo_id":"1331485895","filename":"file5"},{"photo_id":"1331485827","filename":"file2"},{"photo_id":"1331485865","filename":"file4"},{"photo_id":"1331485820","filename":"file1"},{"photo_id":"1331485558","filename":"file0"},{"photo_id":"1331485864","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331485895":["hashtag1","hashtag2"]},{"1331485865":["hashtag1","hashtag2"]},{"1331485820":["hashtag1","hashtag2"]},{"1331485558":["hashtag1","hashtag2"]},{"1331485864":["hashtag1","hashtag2"]},{"1331485827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331485895, 1331485865, 1331485820, 1331485558, 1331485864, 1331485827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.385109424591064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:05:42.333260
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_35_10359.jpg', '/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_45_10377.jpg', '/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_55_9338.jpg', '/home/pi/Desktop/images/22012025/23/39/image_22012025_23_40_05_10335.jpg', '/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_15_10383.jpg', '/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_25_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_35_10359.jpg
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_45_10377.jpg
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_39_55_9338.jpg
/home/pi/Desktop/images/22012025/23/39/image_22012025_23_40_05_10335.jpg
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_15_10383.jpg
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_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":["1331485925","1331485919","1331485922","1331485916","1331485924","1331485927"],"photo_ids_order":["1331485916","1331485919","1331485922","1331485924","1331485925","1331485927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/503f35a0c5b15ef43f323cd616513944.jpg","text":"TemporaryFile(/tmp/multipartBody8644432904803719552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_40_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/26/e7f7063e0d2a85de7c13b70dfc36bae8.jpg","text":"TemporaryFile(/tmp/multipartBody8426359667402872634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_39_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/26/3b2818c01db3cb24caa7ddf459df034f.jpg","text":"TemporaryFile(/tmp/multipartBody8453943470096514246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_39_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/26/080281c1fbef41686a0c701e4fccce9c.jpg","text":"TemporaryFile(/tmp/multipartBody2942887358932728250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_39_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/26/2a15c7c38d0cf0a3de03ec7f9bcccd3f.jpg","text":"TemporaryFile(/tmp/multipartBody5240219213605115347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_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/26/8ed2ccfdbedf4cf9caf22f8101653b28.jpg","text":"TemporaryFile(/tmp/multipartBody1583287577526375071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846404580,"filename":"image_22012025_23_40_25_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331485922","file1":"1331485919","file0":"1331485916","file4":"1331485925","file5":"1331485927","file3":"1331485924"},"map_files_photo_id_array":[{"photo_id":"1331485927","filename":"file5"},{"photo_id":"1331485922","filename":"file2"},{"photo_id":"1331485925","filename":"file4"},{"photo_id":"1331485919","filename":"file1"},{"photo_id":"1331485916","filename":"file0"},{"photo_id":"1331485924","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331485925":["hashtag1","hashtag2"]},{"1331485919":["hashtag1","hashtag2"]},{"1331485922":["hashtag1","hashtag2"]},{"1331485916":["hashtag1","hashtag2"]},{"1331485924":["hashtag1","hashtag2"]},{"1331485927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331485925, 1331485919, 1331485922, 1331485916, 1331485924, 1331485927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56574034690857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:06:42.481592
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_35_10466.jpg', '/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_45_9415.jpg', '/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_55_10351.jpg', '/home/pi/Desktop/images/22012025/23/40/image_22012025_23_41_05_10370.jpg', '/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_15_9315.jpg', '/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_25_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_35_10466.jpg
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_45_9415.jpg
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_40_55_10351.jpg
/home/pi/Desktop/images/22012025/23/40/image_22012025_23_41_05_10370.jpg
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_15_9315.jpg
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_25_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":["1331486294","1331486267","1331486150","1331486152","1331486146","1331486208"],"photo_ids_order":["1331486146","1331486150","1331486152","1331486208","1331486267","1331486294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5dcf3635b95e614484cfb2f487cdd79d.jpg","text":"TemporaryFile(/tmp/multipartBody2483423121726539491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_41_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/26/7c1dd0402e855d13cb91530b3af49cf2.jpg","text":"TemporaryFile(/tmp/multipartBody9036728451945397158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_41_15_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1608e4665529be4142323b6bca68b84c.jpg","text":"TemporaryFile(/tmp/multipartBody4940176139939914583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_40_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/26/1722b85fa16ea1196fe61ec4993d2d02.jpg","text":"TemporaryFile(/tmp/multipartBody5137356499952327763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_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/26/8fee24b31f2ccadc99755393e5b5e1bd.jpg","text":"TemporaryFile(/tmp/multipartBody2374874707011864490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_40_35_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/26/253f1587b7ff7fe5d08cce8112a2b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5097620257796773859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846464711,"filename":"image_22012025_23_41_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486152","file1":"1331486150","file0":"1331486146","file4":"1331486267","file5":"1331486294","file3":"1331486208"},"map_files_photo_id_array":[{"photo_id":"1331486294","filename":"file5"},{"photo_id":"1331486152","filename":"file2"},{"photo_id":"1331486267","filename":"file4"},{"photo_id":"1331486150","filename":"file1"},{"photo_id":"1331486146","filename":"file0"},{"photo_id":"1331486208","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486294":["hashtag1","hashtag2"]},{"1331486267":["hashtag1","hashtag2"]},{"1331486150":["hashtag1","hashtag2"]},{"1331486152":["hashtag1","hashtag2"]},{"1331486146":["hashtag1","hashtag2"]},{"1331486208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486294, 1331486267, 1331486150, 1331486152, 1331486146, 1331486208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89514660835266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:07:42.786925
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_35_10358.jpg', '/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_45_9339.jpg', '/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_55_10342.jpg', '/home/pi/Desktop/images/22012025/23/41/image_22012025_23_42_04_9422.jpg', '/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_25_10420.jpg', '/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_35_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_35_10358.jpg
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_45_9339.jpg
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_41_55_10342.jpg
/home/pi/Desktop/images/22012025/23/41/image_22012025_23_42_04_9422.jpg
/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_25_10420.jpg
/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_35_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331486420","1331486408","1331486411","1331486405","1331486413","1331486416"],"photo_ids_order":["1331486405","1331486408","1331486411","1331486413","1331486416","1331486420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4358169d2808f4b0199de5ed17053dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7969477033073095777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_42_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35009cd51c7074352d1447ddbc488e52.jpg","text":"TemporaryFile(/tmp/multipartBody3631707140657337889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_41_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/26/3f5ec24f1c0973c424daf8ae6c788bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3231023924985178604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_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/26/8fce841c56703359a6da54f0f8b1da67.jpg","text":"TemporaryFile(/tmp/multipartBody6773808994054163784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_41_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/26/1aff3d06425a33408da864a28f2b1f99.jpg","text":"TemporaryFile(/tmp/multipartBody2345735297120538507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_42_04_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/26/6ef967a2556c163fef014ace9a33388a.jpg","text":"TemporaryFile(/tmp/multipartBody3894498975572454501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846525032,"filename":"image_22012025_23_42_25_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486411","file1":"1331486408","file0":"1331486405","file4":"1331486416","file5":"1331486420","file3":"1331486413"},"map_files_photo_id_array":[{"photo_id":"1331486420","filename":"file5"},{"photo_id":"1331486411","filename":"file2"},{"photo_id":"1331486416","filename":"file4"},{"photo_id":"1331486408","filename":"file1"},{"photo_id":"1331486405","filename":"file0"},{"photo_id":"1331486413","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486420":["hashtag1","hashtag2"]},{"1331486408":["hashtag1","hashtag2"]},{"1331486411":["hashtag1","hashtag2"]},{"1331486405":["hashtag1","hashtag2"]},{"1331486413":["hashtag1","hashtag2"]},{"1331486416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486420, 1331486408, 1331486411, 1331486405, 1331486413, 1331486416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11442184448242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:08:42.963449
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_45_10340.jpg', '/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_15_10344.jpg', '/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_35_10369.jpg', '/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_45_10396.jpg', '/home/pi/Desktop/images/22012025/23/43/image_22012025_23_44_05_10457.jpg', '/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_15_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/42/image_22012025_23_42_45_10340.jpg
/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_15_10344.jpg
/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_35_10369.jpg
/home/pi/Desktop/images/22012025/23/43/image_22012025_23_43_45_10396.jpg
/home/pi/Desktop/images/22012025/23/43/image_22012025_23_44_05_10457.jpg
/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_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":["1331486441","1331486435","1331486438","1331486437","1331486433","1331486439"],"photo_ids_order":["1331486433","1331486435","1331486437","1331486438","1331486439","1331486441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dbef937a13fcc3b1f789555efe994512.jpg","text":"TemporaryFile(/tmp/multipartBody1463039328821305945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_44_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/26/f9a0c3896e5eeb86b503e829c231c39a.jpg","text":"TemporaryFile(/tmp/multipartBody1574133183872876177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_43_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7504341587a8da61acfdc0acc9817694.jpg","text":"TemporaryFile(/tmp/multipartBody3017196801150996396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_43_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/26/b36d552d75d484d27a48d443f7c1e725.jpg","text":"TemporaryFile(/tmp/multipartBody4845283826196564414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_43_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/26/815d15074b57371ce79d94c99cbdb692.jpg","text":"TemporaryFile(/tmp/multipartBody6158281450549505287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_42_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bda61aea9fc15a9114ea03768e522963.jpg","text":"TemporaryFile(/tmp/multipartBody7848872629154528169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846585208,"filename":"image_22012025_23_44_05_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486437","file1":"1331486435","file0":"1331486433","file4":"1331486439","file5":"1331486441","file3":"1331486438"},"map_files_photo_id_array":[{"photo_id":"1331486441","filename":"file5"},{"photo_id":"1331486437","filename":"file2"},{"photo_id":"1331486439","filename":"file4"},{"photo_id":"1331486435","filename":"file1"},{"photo_id":"1331486433","filename":"file0"},{"photo_id":"1331486438","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486441":["hashtag1","hashtag2"]},{"1331486435":["hashtag1","hashtag2"]},{"1331486438":["hashtag1","hashtag2"]},{"1331486437":["hashtag1","hashtag2"]},{"1331486433":["hashtag1","hashtag2"]},{"1331486439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486441, 1331486435, 1331486438, 1331486437, 1331486433, 1331486439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5017774105072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:09:43.087351
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_25_9347.jpg', '/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_44_9408.jpg', '/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_55_10378.jpg', '/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_25_10370.jpg', '/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_34_9452.jpg', '/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_25_9347.jpg
/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_44_9408.jpg
/home/pi/Desktop/images/22012025/23/44/image_22012025_23_44_55_10378.jpg
/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_25_10370.jpg
/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_34_9452.jpg
/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_45_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":["1331486473","1331486476","1331486470","1331486478","1331486466","1331486480"],"photo_ids_order":["1331486466","1331486470","1331486473","1331486476","1331486478","1331486480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b0bf297fef0533877d9459940a6d2f2.jpg","text":"TemporaryFile(/tmp/multipartBody3793409021036525328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_44_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da99855c838f7234f6295435dcf9bc15.jpg","text":"TemporaryFile(/tmp/multipartBody6391931456788631933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_45_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/26/3cbc3af8881af99b0d882a215eeedf7a.jpg","text":"TemporaryFile(/tmp/multipartBody4687223340825852350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_44_44_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/26/657bee360e155292531b39e54ab3925d.jpg","text":"TemporaryFile(/tmp/multipartBody1256476071698380592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_45_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/26/c376565136e1a440f546f55d8ad813e8.jpg","text":"TemporaryFile(/tmp/multipartBody7792120263497225906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_44_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d9a1790d0a2acfd3a401088d90dd8695.jpg","text":"TemporaryFile(/tmp/multipartBody770316061666635324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846645327,"filename":"image_22012025_23_45_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486473","file1":"1331486470","file0":"1331486466","file4":"1331486478","file5":"1331486480","file3":"1331486476"},"map_files_photo_id_array":[{"photo_id":"1331486480","filename":"file5"},{"photo_id":"1331486473","filename":"file2"},{"photo_id":"1331486478","filename":"file4"},{"photo_id":"1331486470","filename":"file1"},{"photo_id":"1331486466","filename":"file0"},{"photo_id":"1331486476","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486473":["hashtag1","hashtag2"]},{"1331486476":["hashtag1","hashtag2"]},{"1331486470":["hashtag1","hashtag2"]},{"1331486478":["hashtag1","hashtag2"]},{"1331486466":["hashtag1","hashtag2"]},{"1331486480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486473, 1331486476, 1331486470, 1331486478, 1331486466, 1331486480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52320313453674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:10:42.215574
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_55_10443.jpg', '/home/pi/Desktop/images/22012025/23/46/image_22012025_23_46_45_10349.jpg', '/home/pi/Desktop/images/22012025/23/46/image_22012025_23_46_54_9357.jpg', '/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_15_10490.jpg', '/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_25_9354.jpg', '/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_35_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/45/image_22012025_23_45_55_10443.jpg
/home/pi/Desktop/images/22012025/23/46/image_22012025_23_46_45_10349.jpg
/home/pi/Desktop/images/22012025/23/46/image_22012025_23_46_54_9357.jpg
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_15_10490.jpg
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_25_9354.jpg
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_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":["1331486552","1331486546","1331486549","1331486548","1331486550","1331486544"],"photo_ids_order":["1331486544","1331486546","1331486548","1331486549","1331486550","1331486552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/421c2553de3c0322fd2b622d02068eda.jpg","text":"TemporaryFile(/tmp/multipartBody6186455827192386857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_47_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/26/2f605b278bd1e17fa1adba4c39eed984.jpg","text":"TemporaryFile(/tmp/multipartBody5467785890536155860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_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/26/71f9d1a79a660def10d6e1854ac490cd.jpg","text":"TemporaryFile(/tmp/multipartBody3544236082181352763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_47_15_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/26/4d03346548e6c4fb4d18291d89fa30ab.jpg","text":"TemporaryFile(/tmp/multipartBody4380337378159169313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_46_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/26/2822fbb4846c22e994c1d41fb903b1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5167623322946921148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_47_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a0ffc3edda736c58e018524519fbd9d.jpg","text":"TemporaryFile(/tmp/multipartBody2271843968645217797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846704462,"filename":"image_22012025_23_45_55_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486548","file1":"1331486546","file0":"1331486544","file4":"1331486550","file5":"1331486552","file3":"1331486549"},"map_files_photo_id_array":[{"photo_id":"1331486552","filename":"file5"},{"photo_id":"1331486548","filename":"file2"},{"photo_id":"1331486550","filename":"file4"},{"photo_id":"1331486546","filename":"file1"},{"photo_id":"1331486544","filename":"file0"},{"photo_id":"1331486549","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486552":["hashtag1","hashtag2"]},{"1331486546":["hashtag1","hashtag2"]},{"1331486549":["hashtag1","hashtag2"]},{"1331486548":["hashtag1","hashtag2"]},{"1331486550":["hashtag1","hashtag2"]},{"1331486544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486552, 1331486546, 1331486549, 1331486548, 1331486550, 1331486544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37617349624634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:11:42.444569
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_44_9418.jpg', '/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_55_10342.jpg', '/home/pi/Desktop/images/22012025/23/47/image_22012025_23_48_05_10413.jpg', '/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_15_9348.jpg', '/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_25_10370.jpg', '/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_35_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_44_9418.jpg
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_47_55_10342.jpg
/home/pi/Desktop/images/22012025/23/47/image_22012025_23_48_05_10413.jpg
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_15_9348.jpg
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_25_10370.jpg
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_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":["1331486584","1331486586","1331486580","1331486591","1331486588","1331486576"],"photo_ids_order":["1331486576","1331486580","1331486584","1331486586","1331486588","1331486591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9fcdb28c7b1d84ddfb7f03798c75a35.jpg","text":"TemporaryFile(/tmp/multipartBody8491785417047523363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_48_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/26/03a3d0667a0764ccc0c89399b2b2b6e1.jpg","text":"TemporaryFile(/tmp/multipartBody3585581112580689598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_48_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/26/146f5da5f3da5e4af1b86438c4be62cc.jpg","text":"TemporaryFile(/tmp/multipartBody511433149297057238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_47_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/26/365598896e054db6273e7eae78a35447.jpg","text":"TemporaryFile(/tmp/multipartBody6649032992780752510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_48_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/26/b7a4decd3287e37c0e11a60c93a4f543.jpg","text":"TemporaryFile(/tmp/multipartBody8295145571340227666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_48_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cfbaf890089b31d95caa996c7143d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4705834141476456377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846764682,"filename":"image_22012025_23_47_44_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486584","file1":"1331486580","file0":"1331486576","file4":"1331486588","file5":"1331486591","file3":"1331486586"},"map_files_photo_id_array":[{"photo_id":"1331486591","filename":"file5"},{"photo_id":"1331486584","filename":"file2"},{"photo_id":"1331486588","filename":"file4"},{"photo_id":"1331486580","filename":"file1"},{"photo_id":"1331486576","filename":"file0"},{"photo_id":"1331486586","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486584":["hashtag1","hashtag2"]},{"1331486586":["hashtag1","hashtag2"]},{"1331486580":["hashtag1","hashtag2"]},{"1331486591":["hashtag1","hashtag2"]},{"1331486588":["hashtag1","hashtag2"]},{"1331486576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486584, 1331486586, 1331486580, 1331486591, 1331486588, 1331486576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49545454978943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:12:42.658203
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_45_9358.jpg', '/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_55_10457.jpg', '/home/pi/Desktop/images/22012025/23/48/image_22012025_23_49_05_9348.jpg', '/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_15_10342.jpg', '/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_25_10368.jpg', '/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_35_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_45_9358.jpg
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_48_55_10457.jpg
/home/pi/Desktop/images/22012025/23/48/image_22012025_23_49_05_9348.jpg
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_15_10342.jpg
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_25_10368.jpg
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_35_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331486615","1331486611","1331486605","1331486608","1331486616","1331486619"],"photo_ids_order":["1331486605","1331486608","1331486611","1331486615","1331486616","1331486619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9757efd93692d3215cd7af6081c0d829.jpg","text":"TemporaryFile(/tmp/multipartBody5039191279015203107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_49_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/26/7c6f38e0079ea1c960ebfec1db7bfb2f.jpg","text":"TemporaryFile(/tmp/multipartBody8111693710584917633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_49_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/26/45eb4330998cdfe815e421fcfa145e51.jpg","text":"TemporaryFile(/tmp/multipartBody6826056038272329784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_48_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/26/0f926c2676806c010b270dfe069abafa.jpg","text":"TemporaryFile(/tmp/multipartBody5778931577841680223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_48_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/26/ffa73f37aa9ef6352118ce1ad4bd54a2.jpg","text":"TemporaryFile(/tmp/multipartBody2973836220832748973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_49_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/26/282edac07207300a7108360551ae34e7.jpg","text":"TemporaryFile(/tmp/multipartBody8236976181350337699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846824917,"filename":"image_22012025_23_49_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331486611","file1":"1331486608","file0":"1331486605","file4":"1331486616","file5":"1331486619","file3":"1331486615"},"map_files_photo_id_array":[{"photo_id":"1331486619","filename":"file5"},{"photo_id":"1331486611","filename":"file2"},{"photo_id":"1331486616","filename":"file4"},{"photo_id":"1331486608","filename":"file1"},{"photo_id":"1331486605","filename":"file0"},{"photo_id":"1331486615","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486615":["hashtag1","hashtag2"]},{"1331486611":["hashtag1","hashtag2"]},{"1331486605":["hashtag1","hashtag2"]},{"1331486608":["hashtag1","hashtag2"]},{"1331486616":["hashtag1","hashtag2"]},{"1331486619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486615, 1331486611, 1331486605, 1331486608, 1331486616, 1331486619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13427925109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:13:42.924402
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_45_10351.jpg', '/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_54_9428.jpg', '/home/pi/Desktop/images/22012025/23/49/image_22012025_23_50_05_10370.jpg', '/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_15_10427.jpg', '/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_25_9355.jpg', '/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_35_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_45_10351.jpg
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_49_54_9428.jpg
/home/pi/Desktop/images/22012025/23/49/image_22012025_23_50_05_10370.jpg
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_15_10427.jpg
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_25_9355.jpg
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331486828","1331487039","1331486931","1331487164","1331487173","1331487167"],"photo_ids_order":["1331486828","1331486931","1331487039","1331487164","1331487167","1331487173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/545feb16df23d6af61235aed0683eced.jpg","text":"TemporaryFile(/tmp/multipartBody7006977080061978204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_49_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/26/786d355f63f6fc6c58b07007a4dd34cf.jpg","text":"TemporaryFile(/tmp/multipartBody3703407718019538508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_50_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/26/acf0e7acb991e7809fe3f4fdfdf54f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3020136580436394112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_49_54_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/26/5870c7c90983f367f01e981db9ad52d8.jpg","text":"TemporaryFile(/tmp/multipartBody584950197044744549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_50_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/26/24d4cc739e52ad6eb1ff5d68a77bc754.jpg","text":"TemporaryFile(/tmp/multipartBody3015048536852039269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_50_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/26/a8420f331b613cbb7d8fbf9b2e9f8be1.jpg","text":"TemporaryFile(/tmp/multipartBody2498937741302869050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846885198,"filename":"image_22012025_23_50_25_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331487039","file1":"1331486931","file0":"1331486828","file4":"1331487167","file5":"1331487173","file3":"1331487164"},"map_files_photo_id_array":[{"photo_id":"1331487173","filename":"file5"},{"photo_id":"1331487039","filename":"file2"},{"photo_id":"1331487167","filename":"file4"},{"photo_id":"1331486931","filename":"file1"},{"photo_id":"1331486828","filename":"file0"},{"photo_id":"1331487164","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331486828":["hashtag1","hashtag2"]},{"1331487039":["hashtag1","hashtag2"]},{"1331486931":["hashtag1","hashtag2"]},{"1331487164":["hashtag1","hashtag2"]},{"1331487173":["hashtag1","hashtag2"]},{"1331487167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331486828, 1331487039, 1331486931, 1331487164, 1331487173, 1331487167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52123761177063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:14:43.159083
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_45_10435.jpg', '/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_55_9326.jpg', '/home/pi/Desktop/images/22012025/23/50/image_22012025_23_51_05_10405.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_15_10333.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_25_9343.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_35_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_45_10435.jpg
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_50_55_9326.jpg
/home/pi/Desktop/images/22012025/23/50/image_22012025_23_51_05_10405.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_15_10333.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_25_9343.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_35_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331487218","1331487424","1331487192","1331487465","1331487318","1331487467"],"photo_ids_order":["1331487192","1331487218","1331487318","1331487424","1331487465","1331487467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd7486bd72549e728a4628b0d9086dce.jpg","text":"TemporaryFile(/tmp/multipartBody8135106120984658724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_50_55_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ccf244facbea1e003a6772706fb9bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8083923824789094528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_51_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/26/137a49f6853419f489f82c63c82cb857.jpg","text":"TemporaryFile(/tmp/multipartBody3344513970088839552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_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/26/5ae41e01b4f52d2ccb09b3fe4c164f4d.jpg","text":"TemporaryFile(/tmp/multipartBody2330351515492147521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_51_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/26/cc8b41297d2dac04a1ed33e5f3f45667.jpg","text":"TemporaryFile(/tmp/multipartBody3946375234582980826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_51_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8bc214135365b3440b4bee6f26d8e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody5175274524485730915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737846945426,"filename":"image_22012025_23_51_35_10480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331487318","file1":"1331487218","file0":"1331487192","file4":"1331487465","file5":"1331487467","file3":"1331487424"},"map_files_photo_id_array":[{"photo_id":"1331487467","filename":"file5"},{"photo_id":"1331487318","filename":"file2"},{"photo_id":"1331487465","filename":"file4"},{"photo_id":"1331487218","filename":"file1"},{"photo_id":"1331487192","filename":"file0"},{"photo_id":"1331487424","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331487218":["hashtag1","hashtag2"]},{"1331487424":["hashtag1","hashtag2"]},{"1331487192":["hashtag1","hashtag2"]},{"1331487465":["hashtag1","hashtag2"]},{"1331487318":["hashtag1","hashtag2"]},{"1331487467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331487218, 1331487424, 1331487192, 1331487465, 1331487318, 1331487467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17645597457886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:15:42.326954
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_45_9329.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_55_10359.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_52_05_10400.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_15_9336.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_25_10345.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_45_9329.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_55_10359.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_52_05_10400.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_15_9336.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_25_10345.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_35_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: 1.8386061191558838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:16:03.143182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 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_26012025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 19928419, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737847024000}
4310
2515926
4310
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/02/image_26012025_00_02_16_10084.jpg', '/home/pi/Desktop/images/26012025/00/02/image_26012025_00_02_37_10452.jpg', '/home/pi/Desktop/images/26012025/00/02/image_26012025_00_03_06_9467.jpg', '/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_17_10460.jpg', '/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_26_9341.jpg', '/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_46_9699.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/02/image_26012025_00_02_16_10084.jpg
/home/pi/Desktop/images/26012025/00/02/image_26012025_00_02_37_10452.jpg
/home/pi/Desktop/images/26012025/00/02/image_26012025_00_03_06_9467.jpg
/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_17_10460.jpg
/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_26_9341.jpg
/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_46_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331487841","1331487859","1331487852","1331487845","1331487854","1331487848"],"photo_ids_order":["1331487841","1331487845","1331487848","1331487852","1331487854","1331487859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9c43b6e723022dfd88726abd84806e2.jpg","text":"TemporaryFile(/tmp/multipartBody7718879189990147605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_02_16_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03f890333d26ac2da1ab754a63091e36.jpg","text":"TemporaryFile(/tmp/multipartBody453021075167967483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_03_46_9699.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0eb866cdc43b7600bc5089ba5769882d.jpg","text":"TemporaryFile(/tmp/multipartBody2749046787425466985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_03_17_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/26/fca4540bd575b395766d016725bb2722.jpg","text":"TemporaryFile(/tmp/multipartBody6434965194237830661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_02_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/26/61cf58d7a8ee595647a880e5a79a421d.jpg","text":"TemporaryFile(/tmp/multipartBody8817370943292427861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_03_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/26/bfb4fb6e887bf0b179504e8252672b3f.jpg","text":"TemporaryFile(/tmp/multipartBody348937119696140602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847027058,"filename":"image_26012025_00_03_06_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331487848","file1":"1331487845","file0":"1331487841","file4":"1331487854","file5":"1331487859","file3":"1331487852"},"map_files_photo_id_array":[{"photo_id":"1331487859","filename":"file5"},{"photo_id":"1331487848","filename":"file2"},{"photo_id":"1331487854","filename":"file4"},{"photo_id":"1331487845","filename":"file1"},{"photo_id":"1331487841","filename":"file0"},{"photo_id":"1331487852","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331487841":["hashtag1","hashtag2"]},{"1331487859":["hashtag1","hashtag2"]},{"1331487852":["hashtag1","hashtag2"]},{"1331487845":["hashtag1","hashtag2"]},{"1331487854":["hashtag1","hashtag2"]},{"1331487848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331487841, 1331487859, 1331487852, 1331487845, 1331487854, 1331487848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.76139831542969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:17:04.611314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_56_10340.jpg', '/home/pi/Desktop/images/26012025/00/03/image_26012025_00_04_07_10351.jpg', '/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_16_9328.jpg', '/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_26_10356.jpg', '/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_37_10413.jpg', '/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_57_10561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/03/image_26012025_00_03_56_10340.jpg
/home/pi/Desktop/images/26012025/00/03/image_26012025_00_04_07_10351.jpg
/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_16_9328.jpg
/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_26_10356.jpg
/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_37_10413.jpg
/home/pi/Desktop/images/26012025/00/04/image_26012025_00_04_57_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331487917","1331487922","1331487925","1331487911","1331487914","1331487908"],"photo_ids_order":["1331487908","1331487911","1331487914","1331487917","1331487922","1331487925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d15f2fbe3072ed24e1ffd8217ed21c7.jpg","text":"TemporaryFile(/tmp/multipartBody7752669759696049023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_04_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/26/cbacc10e7f71093a064dfd7f13ad4d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5493312824485517456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_04_37_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/26/ee39b2d3835371e42a4f0d5bb95a159a.jpg","text":"TemporaryFile(/tmp/multipartBody916105622362889502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_04_57_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5bfbc7ed52ce58a862c8e1d9f57b16c.jpg","text":"TemporaryFile(/tmp/multipartBody2345240385746149943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_04_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/26/6c610f6ce05ea0343e7ea419a925d891.jpg","text":"TemporaryFile(/tmp/multipartBody8558393467107205758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_04_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c311bf408a870f37a813a81c1daeaa81.jpg","text":"TemporaryFile(/tmp/multipartBody5432794430425284388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847085742,"filename":"image_26012025_00_03_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331487914","file1":"1331487911","file0":"1331487908","file4":"1331487922","file5":"1331487925","file3":"1331487917"},"map_files_photo_id_array":[{"photo_id":"1331487925","filename":"file5"},{"photo_id":"1331487914","filename":"file2"},{"photo_id":"1331487922","filename":"file4"},{"photo_id":"1331487911","filename":"file1"},{"photo_id":"1331487908","filename":"file0"},{"photo_id":"1331487917","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331487917":["hashtag1","hashtag2"]},{"1331487922":["hashtag1","hashtag2"]},{"1331487925":["hashtag1","hashtag2"]},{"1331487911":["hashtag1","hashtag2"]},{"1331487914":["hashtag1","hashtag2"]},{"1331487908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331487917, 1331487922, 1331487925, 1331487911, 1331487914, 1331487908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.56483244895935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:18:03.757067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/04/image_26012025_00_05_06_9324.jpg', '/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_16_10333.jpg', '/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_27_10464.jpg', '/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_36_9398.jpg', '/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_47_10356.jpg', '/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_56_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/04/image_26012025_00_05_06_9324.jpg
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_16_10333.jpg
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_27_10464.jpg
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_36_9398.jpg
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_47_10356.jpg
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_05_56_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331487952","1331487946","1331487933","1331487936","1331487939","1331487929"],"photo_ids_order":["1331487929","1331487933","1331487936","1331487939","1331487946","1331487952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8041814d60969e2778fe46e5c1a0bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody4490960713446423110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_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/26/50c4cfde4c9baa4dc5175380c6f69e65.jpg","text":"TemporaryFile(/tmp/multipartBody173227534621829209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_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/26/807a3282f5972bbe2d3cfc33a70f0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody11733794514051038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c02f75b37d0c2e31751742f4a8ae8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2837307756660857535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58a8ccb2432de59c7fc6dd902703219a.jpg","text":"TemporaryFile(/tmp/multipartBody2084787561290584057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_36_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/26/bd301935158f82d25a13df7db6f66d3c.jpg","text":"TemporaryFile(/tmp/multipartBody1109813407310916591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847144753,"filename":"image_26012025_00_05_06_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331487936","file1":"1331487933","file0":"1331487929","file4":"1331487946","file5":"1331487952","file3":"1331487939"},"map_files_photo_id_array":[{"photo_id":"1331487952","filename":"file5"},{"photo_id":"1331487936","filename":"file2"},{"photo_id":"1331487946","filename":"file4"},{"photo_id":"1331487933","filename":"file1"},{"photo_id":"1331487929","filename":"file0"},{"photo_id":"1331487939","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331487952":["hashtag1","hashtag2"]},{"1331487946":["hashtag1","hashtag2"]},{"1331487933":["hashtag1","hashtag2"]},{"1331487936":["hashtag1","hashtag2"]},{"1331487939":["hashtag1","hashtag2"]},{"1331487929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331487952, 1331487946, 1331487933, 1331487936, 1331487939, 1331487929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.46070408821106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:19:03.788284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/05/image_26012025_00_06_06_10328.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_26_9411.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_36_10359.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_47_10350.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_56_9329.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_07_07_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_06_06_10328.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_26_9411.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_36_10359.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_47_10350.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_56_9329.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_07_07_10398.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8388276100158691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:19:12.382088
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_45_9329.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_55_10359.jpg', '/home/pi/Desktop/images/22012025/23/51/image_22012025_23_52_05_10400.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_15_9336.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_25_10345.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_45_9329.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_51_55_10359.jpg
/home/pi/Desktop/images/22012025/23/51/image_22012025_23_52_05_10400.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_15_9336.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_25_10345.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_35_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331488927","1331488930","1331488596","1331488851","1331488935","1331488349"],"photo_ids_order":["1331488349","1331488596","1331488851","1331488927","1331488930","1331488935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ccb306464f754146c5a588577df7e40.jpg","text":"TemporaryFile(/tmp/multipartBody2519355568174337632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_52_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/26/7ec6a81a0a32ff85ebc7ede716157c53.jpg","text":"TemporaryFile(/tmp/multipartBody7812429474066571611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_52_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/26/cc1d94c5e4a3b98b739f2ae3cefebd84.jpg","text":"TemporaryFile(/tmp/multipartBody95156391003511489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_51_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0a03814d8d349952fca255b48fd8caf5.jpg","text":"TemporaryFile(/tmp/multipartBody2378818835388556135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_52_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/26/36787ea3b80c7c362101a3fab08b11ea.jpg","text":"TemporaryFile(/tmp/multipartBody3519064837874139421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_52_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/26/d20b03e54bffed6c7e3b72b8731112e0.jpg","text":"TemporaryFile(/tmp/multipartBody7263340196664989485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847214547,"filename":"image_22012025_23_51_45_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331488851","file1":"1331488596","file0":"1331488349","file4":"1331488930","file5":"1331488935","file3":"1331488927"},"map_files_photo_id_array":[{"photo_id":"1331488935","filename":"file5"},{"photo_id":"1331488851","filename":"file2"},{"photo_id":"1331488930","filename":"file4"},{"photo_id":"1331488596","filename":"file1"},{"photo_id":"1331488349","filename":"file0"},{"photo_id":"1331488927","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331488927":["hashtag1","hashtag2"]},{"1331488930":["hashtag1","hashtag2"]},{"1331488596":["hashtag1","hashtag2"]},{"1331488851":["hashtag1","hashtag2"]},{"1331488935":["hashtag1","hashtag2"]},{"1331488349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331488927, 1331488930, 1331488596, 1331488851, 1331488935, 1331488349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89250326156616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:20:03.129319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/05/image_26012025_00_06_06_10328.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_26_9411.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_36_10359.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_47_10350.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_56_9329.jpg', '/home/pi/Desktop/images/26012025/00/06/image_26012025_00_07_07_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/05/image_26012025_00_06_06_10328.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_26_9411.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_36_10359.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_47_10350.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_06_56_9329.jpg
/home/pi/Desktop/images/26012025/00/06/image_26012025_00_07_07_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331489190","1331489122","1331488948","1331489187","1331489129","1331489132"],"photo_ids_order":["1331488948","1331489122","1331489129","1331489132","1331489187","1331489190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/499ae748fd1a1fcb11a485cf2ce2ae53.jpg","text":"TemporaryFile(/tmp/multipartBody153294978465795986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_07_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5cd3d9fefbad198a45b8cbd8f12b069.jpg","text":"TemporaryFile(/tmp/multipartBody8414166232999577647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_06_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/688396e490e336235cbc2d5786eff522.jpg","text":"TemporaryFile(/tmp/multipartBody8431512323867868083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_06_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1bc06e797e3220bd7d9d1094796a005b.jpg","text":"TemporaryFile(/tmp/multipartBody5352478388477612042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_06_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a747fcae2d963356cbce08e0d8e0f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3360533743011870105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_06_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/26/da2db4af08a5120fe51db33d6f936d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3876723188215893984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847264074,"filename":"image_26012025_00_06_47_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489129","file1":"1331489122","file0":"1331488948","file4":"1331489187","file5":"1331489190","file3":"1331489132"},"map_files_photo_id_array":[{"photo_id":"1331489190","filename":"file5"},{"photo_id":"1331489129","filename":"file2"},{"photo_id":"1331489187","filename":"file4"},{"photo_id":"1331489122","filename":"file1"},{"photo_id":"1331488948","filename":"file0"},{"photo_id":"1331489132","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331489190":["hashtag1","hashtag2"]},{"1331489122":["hashtag1","hashtag2"]},{"1331488948":["hashtag1","hashtag2"]},{"1331489187":["hashtag1","hashtag2"]},{"1331489129":["hashtag1","hashtag2"]},{"1331489132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331489190, 1331489122, 1331488948, 1331489187, 1331489129, 1331489132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48643445968628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:21:04.266902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_16_9344.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_26_10364.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_37_10454.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_46_9344.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_56_10374.jpg', '/home/pi/Desktop/images/26012025/00/08/image_26012025_00_08_27_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_16_9344.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_26_10364.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_37_10454.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_46_9344.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_56_10374.jpg
/home/pi/Desktop/images/26012025/00/08/image_26012025_00_08_27_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.7309412956237793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:21:12.638985
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_45_9363.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_55_10380.jpg', '/home/pi/Desktop/images/22012025/23/52/image_22012025_23_53_04_9411.jpg', '/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_25_10474.jpg', '/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_45_10344.jpg', '/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_55_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_45_9363.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_52_55_10380.jpg
/home/pi/Desktop/images/22012025/23/52/image_22012025_23_53_04_9411.jpg
/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_25_10474.jpg
/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_45_10344.jpg
/home/pi/Desktop/images/22012025/23/53/image_22012025_23_53_55_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331489256","1331489265","1331489252","1331489261","1331489275","1331489269"],"photo_ids_order":["1331489252","1331489256","1331489261","1331489265","1331489269","1331489275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22c482cb4ebf3f3bf81d889216d44d86.jpg","text":"TemporaryFile(/tmp/multipartBody4582944216365639166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_52_55_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/26/515e0e492fce47d4c04ceb555ba3602a.jpg","text":"TemporaryFile(/tmp/multipartBody8392297216636676626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_53_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/26/340c01ef0e8d216cb27990d98f70c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody4679127387992304535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_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/26/e77da98e79c892ca601b228babb6f570.jpg","text":"TemporaryFile(/tmp/multipartBody5352051706998409758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_53_04_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a863277e792e2d313c96c907517f8ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7007055563985532845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_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/26/3a9a34862280738b9f864f8f7b9e08cd.jpg","text":"TemporaryFile(/tmp/multipartBody8772745087167246737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847334900,"filename":"image_22012025_23_53_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489261","file1":"1331489256","file0":"1331489252","file4":"1331489269","file5":"1331489275","file3":"1331489265"},"map_files_photo_id_array":[{"photo_id":"1331489275","filename":"file5"},{"photo_id":"1331489261","filename":"file2"},{"photo_id":"1331489269","filename":"file4"},{"photo_id":"1331489256","filename":"file1"},{"photo_id":"1331489252","filename":"file0"},{"photo_id":"1331489265","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331489256":["hashtag1","hashtag2"]},{"1331489265":["hashtag1","hashtag2"]},{"1331489252":["hashtag1","hashtag2"]},{"1331489261":["hashtag1","hashtag2"]},{"1331489275":["hashtag1","hashtag2"]},{"1331489269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331489256, 1331489265, 1331489252, 1331489261, 1331489275, 1331489269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28085708618164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:22:03.920465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_16_9344.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_26_10364.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_37_10454.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_46_9344.jpg', '/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_56_10374.jpg', '/home/pi/Desktop/images/26012025/00/08/image_26012025_00_08_27_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_16_9344.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_26_10364.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_37_10454.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_46_9344.jpg
/home/pi/Desktop/images/26012025/00/07/image_26012025_00_07_56_10374.jpg
/home/pi/Desktop/images/26012025/00/08/image_26012025_00_08_27_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":["1331489295","1331489289","1331489304","1331489282","1331489287","1331489284"],"photo_ids_order":["1331489282","1331489284","1331489287","1331489289","1331489295","1331489304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08b46d7b30ff889cd8428e3cd25d2069.jpg","text":"TemporaryFile(/tmp/multipartBody5118212090693119045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_07_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/26/e4513b31344baab6b037c72b23123c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5845849714183813443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_07_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/26/8501aaaf4b91388a2b09d4cd3ace9c9e.jpg","text":"TemporaryFile(/tmp/multipartBody312566816064571575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_08_27_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/26/00e2379d18dc1abdb9bf81616a8bce3d.jpg","text":"TemporaryFile(/tmp/multipartBody3640490401188550826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_07_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/26/2088ad7d371d9b14a3857e295e949387.jpg","text":"TemporaryFile(/tmp/multipartBody5916054753424583146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_07_37_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/26/7204192e9c9e3d7fa370cc681ac69a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2541872950462538779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847384892,"filename":"image_26012025_00_07_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489287","file1":"1331489284","file0":"1331489282","file4":"1331489295","file5":"1331489304","file3":"1331489289"},"map_files_photo_id_array":[{"photo_id":"1331489304","filename":"file5"},{"photo_id":"1331489287","filename":"file2"},{"photo_id":"1331489295","filename":"file4"},{"photo_id":"1331489284","filename":"file1"},{"photo_id":"1331489282","filename":"file0"},{"photo_id":"1331489289","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331489295":["hashtag1","hashtag2"]},{"1331489289":["hashtag1","hashtag2"]},{"1331489304":["hashtag1","hashtag2"]},{"1331489282":["hashtag1","hashtag2"]},{"1331489287":["hashtag1","hashtag2"]},{"1331489284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331489295, 1331489289, 1331489304, 1331489282, 1331489287, 1331489284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37158441543579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:23:04.685197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/08/image_26012025_00_09_06_9338.jpg', '/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_36_9457.jpg', '/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_56_9351.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_26_9338.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_36_10368.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/08/image_26012025_00_09_06_9338.jpg
/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_36_9457.jpg
/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_56_9351.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_26_9338.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_36_10368.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_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.8159639835357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 00:23:13.205197
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/53/image_22012025_23_54_05_9343.jpg', '/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_15_10344.jpg', '/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_24_9416.jpg', '/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_35_10359.jpg', '/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_45_10498.jpg', '/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_55_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/53/image_22012025_23_54_05_9343.jpg
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_15_10344.jpg
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_24_9416.jpg
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_35_10359.jpg
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_45_10498.jpg
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_54_55_9346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331489367","1331489378","1331489345","1331489348","1331489402","1331489386"],"photo_ids_order":["1331489345","1331489348","1331489367","1331489378","1331489386","1331489402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b27ef17eaab4c007b77d0523b1489bd3.jpg","text":"TemporaryFile(/tmp/multipartBody217473202026807319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_54_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a5b7d937c15e51faf2184a04c99f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody262477580420936354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_54_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/26/7a87b9c24f259d89de89cd48c94a2c15.jpg","text":"TemporaryFile(/tmp/multipartBody4934582380126510434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_54_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/26/f68f023565c260caa68e8bbda9f10d01.jpg","text":"TemporaryFile(/tmp/multipartBody8585186581654485530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_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/26/f5eebf5363a5950c36dc616c764f94d8.jpg","text":"TemporaryFile(/tmp/multipartBody4754240969119662547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_54_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/26/80be81512ab0ea63955fd0841b47945c.jpg","text":"TemporaryFile(/tmp/multipartBody7907486759948176870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847455430,"filename":"image_22012025_23_54_45_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489367","file1":"1331489348","file0":"1331489345","file4":"1331489386","file5":"1331489402","file3":"1331489378"},"map_files_photo_id_array":[{"photo_id":"1331489402","filename":"file5"},{"photo_id":"1331489367","filename":"file2"},{"photo_id":"1331489386","filename":"file4"},{"photo_id":"1331489348","filename":"file1"},{"photo_id":"1331489345","filename":"file0"},{"photo_id":"1331489378","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331489367":["hashtag1","hashtag2"]},{"1331489378":["hashtag1","hashtag2"]},{"1331489345":["hashtag1","hashtag2"]},{"1331489348":["hashtag1","hashtag2"]},{"1331489402":["hashtag1","hashtag2"]},{"1331489386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331489367, 1331489378, 1331489345, 1331489348, 1331489402, 1331489386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4855170249939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:24:03.088536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/08/image_26012025_00_09_06_9338.jpg', '/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_36_9457.jpg', '/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_56_9351.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_26_9338.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_36_10368.jpg', '/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/08/image_26012025_00_09_06_9338.jpg
/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_36_9457.jpg
/home/pi/Desktop/images/26012025/00/09/image_26012025_00_09_56_9351.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_26_9338.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_36_10368.jpg
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_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":["1331489416","1331489430","1331489412","1331489464","1331489425","1331489419"],"photo_ids_order":["1331489412","1331489416","1331489419","1331489425","1331489430","1331489464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d64846cef56dd80fdcea2a7224419f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2982552333757885609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_09_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/26/e93897bdd722336dbc2f12330d3f7939.jpg","text":"TemporaryFile(/tmp/multipartBody4008837983781860714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_10_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/26/5416b363e6b219296b8ad0d790879b61.jpg","text":"TemporaryFile(/tmp/multipartBody5649473060638025780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_09_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/26/dd1f08e9de224cb76c427996ffbe99a2.jpg","text":"TemporaryFile(/tmp/multipartBody901202271061268200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_10_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/26/6149d0e22376143a3bbc1e88848f7e32.jpg","text":"TemporaryFile(/tmp/multipartBody5857995892231005842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_10_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b690b130aec5216a8d35ed4fd9989d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5092740845357287494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847504077,"filename":"image_26012025_00_09_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489419","file1":"1331489416","file0":"1331489412","file4":"1331489430","file5":"1331489464","file3":"1331489425"},"map_files_photo_id_array":[{"photo_id":"1331489464","filename":"file5"},{"photo_id":"1331489419","filename":"file2"},{"photo_id":"1331489430","filename":"file4"},{"photo_id":"1331489416","filename":"file1"},{"photo_id":"1331489412","filename":"file0"},{"photo_id":"1331489425","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331489416":["hashtag1","hashtag2"]},{"1331489430":["hashtag1","hashtag2"]},{"1331489412":["hashtag1","hashtag2"]},{"1331489464":["hashtag1","hashtag2"]},{"1331489425":["hashtag1","hashtag2"]},{"1331489419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331489416, 1331489430, 1331489412, 1331489464, 1331489425, 1331489419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.390257596969604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:25:04.337407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_56_9345.jpg', '/home/pi/Desktop/images/26012025/00/11/image_26012025_00_11_37_10471.jpg', '/home/pi/Desktop/images/26012025/00/11/image_26012025_00_11_56_10359.jpg', '/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_26_10329.jpg', '/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_37_10479.jpg', '/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_57_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/10/image_26012025_00_10_56_9345.jpg
/home/pi/Desktop/images/26012025/00/11/image_26012025_00_11_37_10471.jpg
/home/pi/Desktop/images/26012025/00/11/image_26012025_00_11_56_10359.jpg
/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_26_10329.jpg
/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_37_10479.jpg
/home/pi/Desktop/images/26012025/00/12/image_26012025_00_12_57_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331489931","1331489601","1331489795","1331490176","1331490077","1331489674"],"photo_ids_order":["1331489601","1331489674","1331489795","1331489931","1331490077","1331490176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e01bf983656584173f05ee0622b0ccb.jpg","text":"TemporaryFile(/tmp/multipartBody3371510980014827327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_12_26_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/26/bd1cb6cdb9263153c98e3eb24f36b5b7.jpg","text":"TemporaryFile(/tmp/multipartBody903561958725746752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_10_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/26/4273a05381454505718ed5a20aa95302.jpg","text":"TemporaryFile(/tmp/multipartBody8331390213818509995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_11_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/26/0736bc6819ad9da2a48552b4837feff7.jpg","text":"TemporaryFile(/tmp/multipartBody8600868572926204743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_12_57_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1327e3096163e60acd919d1bc30e6dab.jpg","text":"TemporaryFile(/tmp/multipartBody6716013425523163554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_12_37_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/26/45c371ec9080dc17134bc462e0d17124.jpg","text":"TemporaryFile(/tmp/multipartBody6320791129816393000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847565467,"filename":"image_26012025_00_11_37_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331489795","file1":"1331489674","file0":"1331489601","file4":"1331490077","file5":"1331490176","file3":"1331489931"},"map_files_photo_id_array":[{"photo_id":"1331490176","filename":"file5"},{"photo_id":"1331489795","filename":"file2"},{"photo_id":"1331490077","filename":"file4"},{"photo_id":"1331489674","filename":"file1"},{"photo_id":"1331489601","filename":"file0"},{"photo_id":"1331489931","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331489931":["hashtag1","hashtag2"]},{"1331489601":["hashtag1","hashtag2"]},{"1331489795":["hashtag1","hashtag2"]},{"1331490176":["hashtag1","hashtag2"]},{"1331490077":["hashtag1","hashtag2"]},{"1331489674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331489931, 1331489601, 1331489795, 1331490176, 1331490077, 1331489674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.809391498565674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:26:03.481122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/12/image_26012025_00_13_06_9347.jpg', '/home/pi/Desktop/images/26012025/00/13/image_26012025_00_13_16_10347.jpg', '/home/pi/Desktop/images/26012025/00/13/image_26012025_00_14_06_10405.jpg', '/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_17_10396.jpg', '/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_47_10404.jpg', '/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_56_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/12/image_26012025_00_13_06_9347.jpg
/home/pi/Desktop/images/26012025/00/13/image_26012025_00_13_16_10347.jpg
/home/pi/Desktop/images/26012025/00/13/image_26012025_00_14_06_10405.jpg
/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_17_10396.jpg
/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_47_10404.jpg
/home/pi/Desktop/images/26012025/00/14/image_26012025_00_14_56_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331490265","1331490259","1331490247","1331490252","1331490255","1331490269"],"photo_ids_order":["1331490247","1331490252","1331490255","1331490259","1331490265","1331490269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d047077691fae735fcfd1f960b1c58c.jpg","text":"TemporaryFile(/tmp/multipartBody1341800602530292153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_14_47_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d084e6fe9a8026dc4320db52b5aa4952.jpg","text":"TemporaryFile(/tmp/multipartBody5072411640429710912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_14_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/26/32ec127ab136dab073b7c36c9950d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody6818641778143171770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_13_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/26/2f3522dd685f173370c980568b2b5bef.jpg","text":"TemporaryFile(/tmp/multipartBody5533497543724178093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_13_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/26/fbafdd625ac84490a9484d3c6bdf29e2.jpg","text":"TemporaryFile(/tmp/multipartBody2910180695431214062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_14_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/26/cf094fea71b292ea51c53044fc27cea8.jpg","text":"TemporaryFile(/tmp/multipartBody1292248467161818542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847624443,"filename":"image_26012025_00_14_56_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331490255","file1":"1331490252","file0":"1331490247","file4":"1331490265","file5":"1331490269","file3":"1331490259"},"map_files_photo_id_array":[{"photo_id":"1331490269","filename":"file5"},{"photo_id":"1331490255","filename":"file2"},{"photo_id":"1331490265","filename":"file4"},{"photo_id":"1331490252","filename":"file1"},{"photo_id":"1331490247","filename":"file0"},{"photo_id":"1331490259","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331490265":["hashtag1","hashtag2"]},{"1331490259":["hashtag1","hashtag2"]},{"1331490247":["hashtag1","hashtag2"]},{"1331490252":["hashtag1","hashtag2"]},{"1331490255":["hashtag1","hashtag2"]},{"1331490269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331490265, 1331490259, 1331490247, 1331490252, 1331490255, 1331490269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52551889419556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:27:04.784725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/14/image_26012025_00_15_07_10408.jpg', '/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_16_9335.jpg', '/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_26_10335.jpg', '/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_37_10425.jpg', '/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_46_9403.jpg', '/home/pi/Desktop/images/26012025/00/15/image_26012025_00_16_07_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/14/image_26012025_00_15_07_10408.jpg
/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_16_9335.jpg
/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_26_10335.jpg
/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_37_10425.jpg
/home/pi/Desktop/images/26012025/00/15/image_26012025_00_15_46_9403.jpg
/home/pi/Desktop/images/26012025/00/15/image_26012025_00_16_07_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331490591","1331490683","1331490668","1331490677","1331490725","1331490682"],"photo_ids_order":["1331490591","1331490668","1331490677","1331490682","1331490683","1331490725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8031060130405fc2800d1d0ca1f78bd.jpg","text":"TemporaryFile(/tmp/multipartBody6521387880649103833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_15_07_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/26/8faf75e0b23dc9996daba0d0eddb17f4.jpg","text":"TemporaryFile(/tmp/multipartBody4091667270268424263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_15_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/26/3cd0dec4b814afa3d2c01d1ef2b88b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3663526752224710163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_15_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/26/338ed737863ffa83db5d3aef898a22a3.jpg","text":"TemporaryFile(/tmp/multipartBody7916039050543347003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_15_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/26/ce499f812767a02b0bdf429810396f50.jpg","text":"TemporaryFile(/tmp/multipartBody9152091292990387987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_16_07_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/26/739e6c67570ca1a954d4d322bdd73018.jpg","text":"TemporaryFile(/tmp/multipartBody317932213619196013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847685891,"filename":"image_26012025_00_15_37_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331490677","file1":"1331490668","file0":"1331490591","file4":"1331490683","file5":"1331490725","file3":"1331490682"},"map_files_photo_id_array":[{"photo_id":"1331490725","filename":"file5"},{"photo_id":"1331490677","filename":"file2"},{"photo_id":"1331490683","filename":"file4"},{"photo_id":"1331490668","filename":"file1"},{"photo_id":"1331490591","filename":"file0"},{"photo_id":"1331490682","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331490591":["hashtag1","hashtag2"]},{"1331490683":["hashtag1","hashtag2"]},{"1331490668":["hashtag1","hashtag2"]},{"1331490677":["hashtag1","hashtag2"]},{"1331490725":["hashtag1","hashtag2"]},{"1331490682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331490591, 1331490683, 1331490668, 1331490677, 1331490725, 1331490682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49222683906555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:28:02.842076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_27_10399.jpg', '/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_36_9349.jpg', '/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_57_10365.jpg', '/home/pi/Desktop/images/26012025/00/16/image_26012025_00_17_06_9340.jpg', '/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_27_10356.jpg', '/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_36_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_27_10399.jpg
/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_36_9349.jpg
/home/pi/Desktop/images/26012025/00/16/image_26012025_00_16_57_10365.jpg
/home/pi/Desktop/images/26012025/00/16/image_26012025_00_17_06_9340.jpg
/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_27_10356.jpg
/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_36_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331490795","1331490948","1331490843","1331491031","1331490791","1331490788"],"photo_ids_order":["1331490788","1331490791","1331490795","1331490843","1331490948","1331491031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce2b4052796cc0881a7e9f2794e40c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3942486180986720277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_16_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/170b2145b621a6b62aa9e11c38fc05c1.jpg","text":"TemporaryFile(/tmp/multipartBody9221907044812800333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_17_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/26/56fb829de372ac5ea2292f8f909465b6.jpg","text":"TemporaryFile(/tmp/multipartBody1241077231823734885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_17_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a599d82d721a3ab0b2017394f0aab0c5.jpg","text":"TemporaryFile(/tmp/multipartBody746555704903271761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_17_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/26/28596adc01d37b8eda7c3051b45d1e69.jpg","text":"TemporaryFile(/tmp/multipartBody6943093499538425278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_16_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/26/1af756df0291a98b954943d46cfd0c8c.jpg","text":"TemporaryFile(/tmp/multipartBody1196207714688600129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847743797,"filename":"image_26012025_00_16_27_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331490795","file1":"1331490791","file0":"1331490788","file4":"1331490948","file5":"1331491031","file3":"1331490843"},"map_files_photo_id_array":[{"photo_id":"1331491031","filename":"file5"},{"photo_id":"1331490795","filename":"file2"},{"photo_id":"1331490948","filename":"file4"},{"photo_id":"1331490791","filename":"file1"},{"photo_id":"1331490788","filename":"file0"},{"photo_id":"1331490843","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331490795":["hashtag1","hashtag2"]},{"1331490948":["hashtag1","hashtag2"]},{"1331490843":["hashtag1","hashtag2"]},{"1331491031":["hashtag1","hashtag2"]},{"1331490791":["hashtag1","hashtag2"]},{"1331490788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331490795, 1331490948, 1331490843, 1331491031, 1331490791, 1331490788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27688384056091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:29:04.130803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_56_9324.jpg', '/home/pi/Desktop/images/26012025/00/19/image_26012025_00_19_56_10438.jpg', '/home/pi/Desktop/images/26012025/00/19/image_26012025_00_20_07_10450.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_27_10522.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_36_9343.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_56_9324.jpg
/home/pi/Desktop/images/26012025/00/19/image_26012025_00_19_56_10438.jpg
/home/pi/Desktop/images/26012025/00/19/image_26012025_00_20_07_10450.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_27_10522.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_36_9343.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_46_10355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8282737731933594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:30:02.848096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_56_9324.jpg', '/home/pi/Desktop/images/26012025/00/19/image_26012025_00_19_56_10438.jpg', '/home/pi/Desktop/images/26012025/00/19/image_26012025_00_20_07_10450.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_27_10522.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_36_9343.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/17/image_26012025_00_17_56_9324.jpg
/home/pi/Desktop/images/26012025/00/19/image_26012025_00_19_56_10438.jpg
/home/pi/Desktop/images/26012025/00/19/image_26012025_00_20_07_10450.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_27_10522.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_36_9343.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_46_10355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331491813","1331491806","1331491796","1331491799","1331491792","1331491789"],"photo_ids_order":["1331491789","1331491792","1331491796","1331491799","1331491806","1331491813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7cd85c4b6f2555844ed97b6e7876944b.jpg","text":"TemporaryFile(/tmp/multipartBody7412676221478007349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_20_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4514ad7ed1a4413933322c661bf69c3.jpg","text":"TemporaryFile(/tmp/multipartBody8380763578118807719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_20_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/26/eaba9ec6eda3c47f96254b50b68b0b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6608673676050255877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_20_07_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/26/89dd15cab99cb0a98f4eb0175d3282f2.jpg","text":"TemporaryFile(/tmp/multipartBody1540447003171685895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_20_27_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/26/77976a76ebe813e897302fca8ebcf041.jpg","text":"TemporaryFile(/tmp/multipartBody6018769514738479740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_19_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/26/beade0893a62d4760e106ac5053f9354.jpg","text":"TemporaryFile(/tmp/multipartBody3464260389736577897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847863827,"filename":"image_26012025_00_17_56_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331491796","file1":"1331491792","file0":"1331491789","file4":"1331491806","file5":"1331491813","file3":"1331491799"},"map_files_photo_id_array":[{"photo_id":"1331491813","filename":"file5"},{"photo_id":"1331491796","filename":"file2"},{"photo_id":"1331491806","filename":"file4"},{"photo_id":"1331491792","filename":"file1"},{"photo_id":"1331491789","filename":"file0"},{"photo_id":"1331491799","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331491813":["hashtag1","hashtag2"]},{"1331491806":["hashtag1","hashtag2"]},{"1331491796":["hashtag1","hashtag2"]},{"1331491799":["hashtag1","hashtag2"]},{"1331491792":["hashtag1","hashtag2"]},{"1331491789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331491813, 1331491806, 1331491796, 1331491799, 1331491792, 1331491789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31668710708618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:31:03.740779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_57_10430.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_21_06_9347.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_26_9341.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_36_10345.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_56_10122.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_22_07_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_57_10430.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_21_06_9347.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_26_9341.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_36_10345.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_56_10122.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_22_07_10449.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7736945152282715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:32:03.674471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_57_10430.jpg', '/home/pi/Desktop/images/26012025/00/20/image_26012025_00_21_06_9347.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_26_9341.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_36_10345.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_56_10122.jpg', '/home/pi/Desktop/images/26012025/00/21/image_26012025_00_22_07_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_20_57_10430.jpg
/home/pi/Desktop/images/26012025/00/20/image_26012025_00_21_06_9347.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_26_9341.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_36_10345.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_21_56_10122.jpg
/home/pi/Desktop/images/26012025/00/21/image_26012025_00_22_07_10449.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331492460","1331492337","1331492467","1331492383","1331492341","1331492464"],"photo_ids_order":["1331492337","1331492341","1331492383","1331492460","1331492464","1331492467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d87a98903e768c0abd0e13b413aac08.jpg","text":"TemporaryFile(/tmp/multipartBody2935953925558859889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_21_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/26/28bba2db77326d5e7d520ab8838e03d5.jpg","text":"TemporaryFile(/tmp/multipartBody5477043256787360301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_20_57_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/26/768b884e50c80fd5cc644efc2f46d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6036451568032582357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_22_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/26/6c89075a057158c675f7c2dabe2ebe53.jpg","text":"TemporaryFile(/tmp/multipartBody864784707439227795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_21_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d8267c90a7847d4c42160cc84c666ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5744487993643228365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_21_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/26/aa265d79c211cdfbadca01c4bf11ae36.jpg","text":"TemporaryFile(/tmp/multipartBody6576731522823700357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737847984657,"filename":"image_26012025_00_21_56_10122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331492383","file1":"1331492341","file0":"1331492337","file4":"1331492464","file5":"1331492467","file3":"1331492460"},"map_files_photo_id_array":[{"photo_id":"1331492467","filename":"file5"},{"photo_id":"1331492383","filename":"file2"},{"photo_id":"1331492464","filename":"file4"},{"photo_id":"1331492341","filename":"file1"},{"photo_id":"1331492337","filename":"file0"},{"photo_id":"1331492460","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331492460":["hashtag1","hashtag2"]},{"1331492337":["hashtag1","hashtag2"]},{"1331492467":["hashtag1","hashtag2"]},{"1331492383":["hashtag1","hashtag2"]},{"1331492341":["hashtag1","hashtag2"]},{"1331492464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331492460, 1331492337, 1331492467, 1331492383, 1331492341, 1331492464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.860682249069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:33:04.669877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_16_9427.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_26_10420.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_37_10418.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_46_9345.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_57_10470.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_23_06_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_16_9427.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_26_10420.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_37_10418.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_46_9345.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_57_10470.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_23_06_9354.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.819608211517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:34:03.635281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_16_9427.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_26_10420.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_37_10418.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_46_9345.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_57_10470.jpg', '/home/pi/Desktop/images/26012025/00/22/image_26012025_00_23_06_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_16_9427.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_26_10420.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_37_10418.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_46_9345.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_22_57_10470.jpg
/home/pi/Desktop/images/26012025/00/22/image_26012025_00_23_06_9354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331493404","1331493725","1331493605","1331493730","1331492944","1331493174"],"photo_ids_order":["1331492944","1331493174","1331493404","1331493605","1331493725","1331493730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d09713c9821ecf6824fc8f7b827ec58a.jpg","text":"TemporaryFile(/tmp/multipartBody8650712675160124516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_22_37_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/26/718c8d1b91a5ec6dba9c3cc9bd38898a.jpg","text":"TemporaryFile(/tmp/multipartBody1398579021357967224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_22_57_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/26/eb7aca522b38afd8ef5d0276a08b1058.jpg","text":"TemporaryFile(/tmp/multipartBody8269240602291930223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_22_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/26/287474eafc4db99b84a2603f89bc1a9d.jpg","text":"TemporaryFile(/tmp/multipartBody69961747580687564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_23_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/26/316fa77655499c2d99e850fdcc355495.jpg","text":"TemporaryFile(/tmp/multipartBody9101066322248789961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_22_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/26/d7572b2306f4e440e891ccbdd38a9335.jpg","text":"TemporaryFile(/tmp/multipartBody5477473808303476506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848104604,"filename":"image_26012025_00_22_26_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331493404","file1":"1331493174","file0":"1331492944","file4":"1331493725","file5":"1331493730","file3":"1331493605"},"map_files_photo_id_array":[{"photo_id":"1331493730","filename":"file5"},{"photo_id":"1331493404","filename":"file2"},{"photo_id":"1331493725","filename":"file4"},{"photo_id":"1331493174","filename":"file1"},{"photo_id":"1331492944","filename":"file0"},{"photo_id":"1331493605","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331493404":["hashtag1","hashtag2"]},{"1331493725":["hashtag1","hashtag2"]},{"1331493605":["hashtag1","hashtag2"]},{"1331493730":["hashtag1","hashtag2"]},{"1331492944":["hashtag1","hashtag2"]},{"1331493174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331493404, 1331493725, 1331493605, 1331493730, 1331492944, 1331493174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15687584877014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:35:04.700837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_16_10349.jpg', '/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_27_10355.jpg', '/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_36_9340.jpg', '/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_57_10463.jpg', '/home/pi/Desktop/images/26012025/00/23/image_26012025_00_24_06_9339.jpg', '/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_17_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_16_10349.jpg
/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_27_10355.jpg
/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_36_9340.jpg
/home/pi/Desktop/images/26012025/00/23/image_26012025_00_23_57_10463.jpg
/home/pi/Desktop/images/26012025/00/23/image_26012025_00_24_06_9339.jpg
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_17_10379.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331493776","1331493791","1331493770","1331493773","1331493765","1331493768"],"photo_ids_order":["1331493765","1331493768","1331493770","1331493773","1331493776","1331493791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8392b340f680907447a0c45a878679dd.jpg","text":"TemporaryFile(/tmp/multipartBody7677849840459059089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_24_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/26/35cf36aecfc033e89c28a3555f554352.jpg","text":"TemporaryFile(/tmp/multipartBody6357184370653296719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_24_17_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/26/9a4662741953511f73df8eae9f70d8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6763433710262990337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_23_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/26/14c358a9bd52439b283cdd37e6aa6d10.jpg","text":"TemporaryFile(/tmp/multipartBody6028640295104759280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_23_57_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ff016f154b1212ee3fbda4ea5ad154b.jpg","text":"TemporaryFile(/tmp/multipartBody2393770262698938757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_23_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ef1859de33c1a41db6bac9fadc9c77f.jpg","text":"TemporaryFile(/tmp/multipartBody4619159990315825794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848165818,"filename":"image_26012025_00_23_27_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331493770","file1":"1331493768","file0":"1331493765","file4":"1331493776","file5":"1331493791","file3":"1331493773"},"map_files_photo_id_array":[{"photo_id":"1331493791","filename":"file5"},{"photo_id":"1331493770","filename":"file2"},{"photo_id":"1331493776","filename":"file4"},{"photo_id":"1331493768","filename":"file1"},{"photo_id":"1331493765","filename":"file0"},{"photo_id":"1331493773","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331493776":["hashtag1","hashtag2"]},{"1331493791":["hashtag1","hashtag2"]},{"1331493770":["hashtag1","hashtag2"]},{"1331493773":["hashtag1","hashtag2"]},{"1331493765":["hashtag1","hashtag2"]},{"1331493768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331493776, 1331493791, 1331493770, 1331493773, 1331493765, 1331493768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25582408905029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:36:03.390978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_26_9332.jpg', '/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_36_10350.jpg', '/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_47_10442.jpg', '/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_56_9352.jpg', '/home/pi/Desktop/images/26012025/00/24/image_26012025_00_25_06_10350.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_17_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_26_9332.jpg
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_36_10350.jpg
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_47_10442.jpg
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_24_56_9352.jpg
/home/pi/Desktop/images/26012025/00/24/image_26012025_00_25_06_10350.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_17_10370.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494294","1331494374","1331494383","1331494377","1331494341","1331494382"],"photo_ids_order":["1331494294","1331494341","1331494374","1331494377","1331494382","1331494383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e9beeb9108ae6e0deca46d581a17354.jpg","text":"TemporaryFile(/tmp/multipartBody6639987736149352337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_24_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea376e5e811b2110951c4155ba214f29.jpg","text":"TemporaryFile(/tmp/multipartBody1540833893169637843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_24_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6a174c354468b7aa10f7e0fde7bb420b.jpg","text":"TemporaryFile(/tmp/multipartBody822350788587076788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_25_17_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce25b9817258dab706270f2dacebb3ea.jpg","text":"TemporaryFile(/tmp/multipartBody7179174007939294396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_24_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f45b01802d2ac3784b1b9d4736a60d5.jpg","text":"TemporaryFile(/tmp/multipartBody1481278025007903042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_24_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/26/0566597446b2583a219e5fae0043a03a.jpg","text":"TemporaryFile(/tmp/multipartBody1898950776507594681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848224406,"filename":"image_26012025_00_25_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494374","file1":"1331494341","file0":"1331494294","file4":"1331494382","file5":"1331494383","file3":"1331494377"},"map_files_photo_id_array":[{"photo_id":"1331494383","filename":"file5"},{"photo_id":"1331494374","filename":"file2"},{"photo_id":"1331494382","filename":"file4"},{"photo_id":"1331494341","filename":"file1"},{"photo_id":"1331494294","filename":"file0"},{"photo_id":"1331494377","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494294":["hashtag1","hashtag2"]},{"1331494374":["hashtag1","hashtag2"]},{"1331494383":["hashtag1","hashtag2"]},{"1331494377":["hashtag1","hashtag2"]},{"1331494341":["hashtag1","hashtag2"]},{"1331494382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494294, 1331494374, 1331494383, 1331494377, 1331494341, 1331494382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.724096059799194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:37:04.221264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_26_9442.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_37_10400.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_46_9340.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_26_07_10439.jpg', '/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_16_9339.jpg', '/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_27_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_26_9442.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_37_10400.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_46_9340.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_26_07_10439.jpg
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_16_9339.jpg
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_27_10399.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7734842300415039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:38:03.366333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_26_9442.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_37_10400.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_46_9340.jpg', '/home/pi/Desktop/images/26012025/00/25/image_26012025_00_26_07_10439.jpg', '/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_16_9339.jpg', '/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_27_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_26_9442.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_37_10400.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_25_46_9340.jpg
/home/pi/Desktop/images/26012025/00/25/image_26012025_00_26_07_10439.jpg
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_16_9339.jpg
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_27_10399.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494454","1331494468","1331494456","1331494465","1331494461","1331494458"],"photo_ids_order":["1331494454","1331494456","1331494458","1331494461","1331494465","1331494468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/622733389bd31773597138248fc1f492.jpg","text":"TemporaryFile(/tmp/multipartBody2235431929065523247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_25_26_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/26/3d461315d1e5594533b165523a1eb491.jpg","text":"TemporaryFile(/tmp/multipartBody1877007683605725260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_26_27_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/26/6e9c1aa9b37269f3b25916bc5c1f8235.jpg","text":"TemporaryFile(/tmp/multipartBody1232106216233523610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_25_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/26/7e57d602637b591eea0b32d73e35f109.jpg","text":"TemporaryFile(/tmp/multipartBody5364968925449708589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_26_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9c579abf8e2d53aec04e37b6a26b736.jpg","text":"TemporaryFile(/tmp/multipartBody6374316963310622142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_26_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2e0bd2cdc1e4c953270ca6cc1fa76ba.jpg","text":"TemporaryFile(/tmp/multipartBody7322638343221211572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848346172,"filename":"image_26012025_00_25_46_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494458","file1":"1331494456","file0":"1331494454","file4":"1331494465","file5":"1331494468","file3":"1331494461"},"map_files_photo_id_array":[{"photo_id":"1331494468","filename":"file5"},{"photo_id":"1331494458","filename":"file2"},{"photo_id":"1331494465","filename":"file4"},{"photo_id":"1331494456","filename":"file1"},{"photo_id":"1331494454","filename":"file0"},{"photo_id":"1331494461","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494454":["hashtag1","hashtag2"]},{"1331494468":["hashtag1","hashtag2"]},{"1331494456":["hashtag1","hashtag2"]},{"1331494465":["hashtag1","hashtag2"]},{"1331494461":["hashtag1","hashtag2"]},{"1331494458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494454, 1331494468, 1331494456, 1331494465, 1331494461, 1331494458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.950520038604736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:39:03.754866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_36_9383.jpg', '/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_46_10352.jpg', '/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_16_10327.jpg', '/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_27_10354.jpg', '/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_36_9367.jpg', '/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_57_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_36_9383.jpg
/home/pi/Desktop/images/26012025/00/26/image_26012025_00_26_46_10352.jpg
/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_16_10327.jpg
/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_27_10354.jpg
/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_36_9367.jpg
/home/pi/Desktop/images/26012025/00/27/image_26012025_00_27_57_10425.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494480","1331494483","1331494488","1331494476","1331494478","1331494487"],"photo_ids_order":["1331494476","1331494478","1331494480","1331494483","1331494487","1331494488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18ea525d8862274a8194ddfe14f7f368.jpg","text":"TemporaryFile(/tmp/multipartBody7264587679248282111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_27_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/26/4d2127cab7ac4002c87a17c64fed8d09.jpg","text":"TemporaryFile(/tmp/multipartBody5402643000926442479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_27_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/26/c9b39c02dda9b179f491ad90f1c6e5dc.jpg","text":"TemporaryFile(/tmp/multipartBody1757393802303018223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_27_57_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/26/1388ecf2c9769495be23354b86bc8fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4752971529974378041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_26_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/26/6d009343cd69d59898b3ca4a92d91b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7186456181985592502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_26_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/26/29a929a2aa6a8d8efd456590be4146c6.jpg","text":"TemporaryFile(/tmp/multipartBody7629419630502035838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848404880,"filename":"image_26012025_00_27_36_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494480","file1":"1331494478","file0":"1331494476","file4":"1331494487","file5":"1331494488","file3":"1331494483"},"map_files_photo_id_array":[{"photo_id":"1331494488","filename":"file5"},{"photo_id":"1331494480","filename":"file2"},{"photo_id":"1331494487","filename":"file4"},{"photo_id":"1331494478","filename":"file1"},{"photo_id":"1331494476","filename":"file0"},{"photo_id":"1331494483","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494480":["hashtag1","hashtag2"]},{"1331494483":["hashtag1","hashtag2"]},{"1331494488":["hashtag1","hashtag2"]},{"1331494476":["hashtag1","hashtag2"]},{"1331494478":["hashtag1","hashtag2"]},{"1331494487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494480, 1331494483, 1331494488, 1331494476, 1331494478, 1331494487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60609316825867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:40:03.207942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/27/image_26012025_00_28_06_9348.jpg', '/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_17_10446.jpg', '/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_26_9345.jpg', '/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_36_10349.jpg', '/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_56_9332.jpg', '/home/pi/Desktop/images/26012025/00/28/image_26012025_00_29_07_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/27/image_26012025_00_28_06_9348.jpg
/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_17_10446.jpg
/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_26_9345.jpg
/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_36_10349.jpg
/home/pi/Desktop/images/26012025/00/28/image_26012025_00_28_56_9332.jpg
/home/pi/Desktop/images/26012025/00/28/image_26012025_00_29_07_10451.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494502","1331494527","1331494512","1331494499","1331494592","1331494544"],"photo_ids_order":["1331494499","1331494502","1331494512","1331494527","1331494544","1331494592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f829fea32e21212e7e83767ff66e0a04.jpg","text":"TemporaryFile(/tmp/multipartBody3796225657533420599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_28_17_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/11942c8c3a987c955608e63eb412a30a.jpg","text":"TemporaryFile(/tmp/multipartBody969011138518887303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_28_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/26/233ac5bbf3c0d9ebd107f09c6129141c.jpg","text":"TemporaryFile(/tmp/multipartBody5351121377900051319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_28_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/26/c6c8beb7fd9a13aaa59f7e3f833d9f79.jpg","text":"TemporaryFile(/tmp/multipartBody8883374141139972542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_28_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/26/6b5059e414a23fd7e83d494c138c6824.jpg","text":"TemporaryFile(/tmp/multipartBody3994795711772631134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_29_07_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/26/29d6466a35bcd8f15c8f6caac4fdca4c.jpg","text":"TemporaryFile(/tmp/multipartBody7540031364479038509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848464168,"filename":"image_26012025_00_28_56_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494512","file1":"1331494502","file0":"1331494499","file4":"1331494544","file5":"1331494592","file3":"1331494527"},"map_files_photo_id_array":[{"photo_id":"1331494592","filename":"file5"},{"photo_id":"1331494512","filename":"file2"},{"photo_id":"1331494544","filename":"file4"},{"photo_id":"1331494502","filename":"file1"},{"photo_id":"1331494499","filename":"file0"},{"photo_id":"1331494527","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494502":["hashtag1","hashtag2"]},{"1331494527":["hashtag1","hashtag2"]},{"1331494512":["hashtag1","hashtag2"]},{"1331494499":["hashtag1","hashtag2"]},{"1331494592":["hashtag1","hashtag2"]},{"1331494544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494502, 1331494527, 1331494512, 1331494499, 1331494592, 1331494544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.388203382492065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:41:03.886996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_26_10347.jpg', '/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_37_10431.jpg', '/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_46_9337.jpg', '/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_56_10371.jpg', '/home/pi/Desktop/images/26012025/00/29/image_26012025_00_30_07_10362.jpg', '/home/pi/Desktop/images/26012025/00/30/image_26012025_00_30_27_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_26_10347.jpg
/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_37_10431.jpg
/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_46_9337.jpg
/home/pi/Desktop/images/26012025/00/29/image_26012025_00_29_56_10371.jpg
/home/pi/Desktop/images/26012025/00/29/image_26012025_00_30_07_10362.jpg
/home/pi/Desktop/images/26012025/00/30/image_26012025_00_30_27_10452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494739","1331494744","1331494752","1331494731","1331494749","1331494736"],"photo_ids_order":["1331494731","1331494736","1331494739","1331494744","1331494749","1331494752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e16c0b0dccd9ff5b2078b8601b9b7676.jpg","text":"TemporaryFile(/tmp/multipartBody6477275492032326356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_29_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e1822169d46bf8b189d1c6064be60530.jpg","text":"TemporaryFile(/tmp/multipartBody1966681984547277140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_29_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/26/ca9aa254b3f198a7b88d743bf1a7d873.jpg","text":"TemporaryFile(/tmp/multipartBody3486533147789280826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_30_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/26/67955be8e810811a55837fb31b6e6f53.jpg","text":"TemporaryFile(/tmp/multipartBody1469999221607396370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_29_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/26/de23e031b4e11838e0af639c603edad8.jpg","text":"TemporaryFile(/tmp/multipartBody5675075044899771084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_30_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/26/95861ccb7cdaffb6cf2af7017f34d45f.jpg","text":"TemporaryFile(/tmp/multipartBody1176390642364642730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848524974,"filename":"image_26012025_00_29_37_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494739","file1":"1331494736","file0":"1331494731","file4":"1331494749","file5":"1331494752","file3":"1331494744"},"map_files_photo_id_array":[{"photo_id":"1331494752","filename":"file5"},{"photo_id":"1331494739","filename":"file2"},{"photo_id":"1331494749","filename":"file4"},{"photo_id":"1331494736","filename":"file1"},{"photo_id":"1331494731","filename":"file0"},{"photo_id":"1331494744","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494739":["hashtag1","hashtag2"]},{"1331494744":["hashtag1","hashtag2"]},{"1331494752":["hashtag1","hashtag2"]},{"1331494731":["hashtag1","hashtag2"]},{"1331494749":["hashtag1","hashtag2"]},{"1331494736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494739, 1331494744, 1331494752, 1331494731, 1331494749, 1331494736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56844615936279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:42:03.600342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_26_9402.jpg', '/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_36_10348.jpg', '/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_47_10447.jpg', '/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_56_9350.jpg', '/home/pi/Desktop/images/26012025/00/31/image_26012025_00_32_06_10342.jpg', '/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_17_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_26_9402.jpg
/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_36_10348.jpg
/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_47_10447.jpg
/home/pi/Desktop/images/26012025/00/31/image_26012025_00_31_56_9350.jpg
/home/pi/Desktop/images/26012025/00/31/image_26012025_00_32_06_10342.jpg
/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_17_10417.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494783","1331494771","1331494765","1331494774","1331494761","1331494778"],"photo_ids_order":["1331494761","1331494765","1331494771","1331494774","1331494778","1331494783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e7e0e0dcf60da6a9a13014fb72be7a9.jpg","text":"TemporaryFile(/tmp/multipartBody3633582807879077392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_32_17_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/26/49faab4a4dde18be790a11aa88822d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1934852059646544632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_31_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e8b3bd977a497244eed658cd3ea98b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5002993680180081490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_31_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/26/b3f7bb59af247af53a2353302784aa1b.jpg","text":"TemporaryFile(/tmp/multipartBody8330311041901415292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_31_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/26/9c3a573cebd53ad97fedff77dd730740.jpg","text":"TemporaryFile(/tmp/multipartBody6531439744974172428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_31_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e4fc43d1e052021921eee310b2d025a6.jpg","text":"TemporaryFile(/tmp/multipartBody3087869308943145980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848584600,"filename":"image_26012025_00_32_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494771","file1":"1331494765","file0":"1331494761","file4":"1331494778","file5":"1331494783","file3":"1331494774"},"map_files_photo_id_array":[{"photo_id":"1331494783","filename":"file5"},{"photo_id":"1331494771","filename":"file2"},{"photo_id":"1331494778","filename":"file4"},{"photo_id":"1331494765","filename":"file1"},{"photo_id":"1331494761","filename":"file0"},{"photo_id":"1331494774","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494783":["hashtag1","hashtag2"]},{"1331494771":["hashtag1","hashtag2"]},{"1331494765":["hashtag1","hashtag2"]},{"1331494774":["hashtag1","hashtag2"]},{"1331494761":["hashtag1","hashtag2"]},{"1331494778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494783, 1331494771, 1331494765, 1331494774, 1331494761, 1331494778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43384122848511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:43:04.749457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_26_9419.jpg', '/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_37_10405.jpg', '/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_56_10388.jpg', '/home/pi/Desktop/images/26012025/00/32/image_26012025_00_33_07_10386.jpg', '/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_16_9327.jpg', '/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_27_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_26_9419.jpg
/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_37_10405.jpg
/home/pi/Desktop/images/26012025/00/32/image_26012025_00_32_56_10388.jpg
/home/pi/Desktop/images/26012025/00/32/image_26012025_00_33_07_10386.jpg
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_16_9327.jpg
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_27_10419.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494820","1331494792","1331494801","1331494836","1331494806","1331494796"],"photo_ids_order":["1331494792","1331494796","1331494801","1331494806","1331494820","1331494836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/50dd38e788214d382e4b3941b42aa4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2064332322880129335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_33_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/26/c321cd2515ea96fce69bf17fd3ed3199.jpg","text":"TemporaryFile(/tmp/multipartBody3051073514077094466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_32_26_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/26/33c5415a64f361362dc0a071673a70b1.jpg","text":"TemporaryFile(/tmp/multipartBody4600150472886727449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_32_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f87cec78fc6d285b7b4496d657f4e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody328362386803535387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_33_27_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/26/9a5e718a2b176cf75eea1069ff24716a.jpg","text":"TemporaryFile(/tmp/multipartBody5397537529176102803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_33_07_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/26/d4821aca0e090fb738203079ca1ca222.jpg","text":"TemporaryFile(/tmp/multipartBody1732836868577520233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848645844,"filename":"image_26012025_00_32_37_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494801","file1":"1331494796","file0":"1331494792","file4":"1331494820","file5":"1331494836","file3":"1331494806"},"map_files_photo_id_array":[{"photo_id":"1331494836","filename":"file5"},{"photo_id":"1331494801","filename":"file2"},{"photo_id":"1331494820","filename":"file4"},{"photo_id":"1331494796","filename":"file1"},{"photo_id":"1331494792","filename":"file0"},{"photo_id":"1331494806","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494820":["hashtag1","hashtag2"]},{"1331494792":["hashtag1","hashtag2"]},{"1331494801":["hashtag1","hashtag2"]},{"1331494836":["hashtag1","hashtag2"]},{"1331494806":["hashtag1","hashtag2"]},{"1331494796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494820, 1331494792, 1331494801, 1331494836, 1331494806, 1331494796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.967981815338135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:44:03.704101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_36_9331.jpg', '/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_46_10451.jpg', '/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_57_10345.jpg', '/home/pi/Desktop/images/26012025/00/33/image_26012025_00_34_06_9361.jpg', '/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_16_10329.jpg', '/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_27_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_36_9331.jpg
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_46_10451.jpg
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_33_57_10345.jpg
/home/pi/Desktop/images/26012025/00/33/image_26012025_00_34_06_9361.jpg
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_16_10329.jpg
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_27_10424.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494882","1331494901","1331494899","1331494878","1331494895","1331494889"],"photo_ids_order":["1331494878","1331494882","1331494889","1331494895","1331494899","1331494901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c0837d3cb7b075a526a101c95c86ef1.jpg","text":"TemporaryFile(/tmp/multipartBody2393245643511939828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_33_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d15d758fee0e3a6a67ca2ef748f7fca4.jpg","text":"TemporaryFile(/tmp/multipartBody2118962362578649518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_34_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/26/69d462938119331c88a93400a16c9ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4579578211960023098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_34_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/668d9e5412433d6b862bfd73589acaea.jpg","text":"TemporaryFile(/tmp/multipartBody3323744638888571215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_33_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bc9263c16054caf253b77571ed260ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1930358120784268493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_34_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/26/0915c929e70f9d63b9593d27c4ca32ac.jpg","text":"TemporaryFile(/tmp/multipartBody1517632621643609152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848704659,"filename":"image_26012025_00_33_57_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494889","file1":"1331494882","file0":"1331494878","file4":"1331494899","file5":"1331494901","file3":"1331494895"},"map_files_photo_id_array":[{"photo_id":"1331494901","filename":"file5"},{"photo_id":"1331494889","filename":"file2"},{"photo_id":"1331494899","filename":"file4"},{"photo_id":"1331494882","filename":"file1"},{"photo_id":"1331494878","filename":"file0"},{"photo_id":"1331494895","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494882":["hashtag1","hashtag2"]},{"1331494901":["hashtag1","hashtag2"]},{"1331494899":["hashtag1","hashtag2"]},{"1331494878":["hashtag1","hashtag2"]},{"1331494895":["hashtag1","hashtag2"]},{"1331494889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494882, 1331494901, 1331494899, 1331494878, 1331494895, 1331494889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.283843755722046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:45:04.642604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_36_9342.jpg', '/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_47_10431.jpg', '/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_56_9373.jpg', '/home/pi/Desktop/images/26012025/00/34/image_26012025_00_35_06_10381.jpg', '/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_17_10333.jpg', '/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_26_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_36_9342.jpg
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_47_10431.jpg
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_34_56_9373.jpg
/home/pi/Desktop/images/26012025/00/34/image_26012025_00_35_06_10381.jpg
/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_17_10333.jpg
/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_26_9370.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331494916","1331494995","1331494911","1331494908","1331494905","1331494961"],"photo_ids_order":["1331494905","1331494908","1331494911","1331494916","1331494961","1331494995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/264b747bfec94dd0562607d118f1dcc8.jpg","text":"TemporaryFile(/tmp/multipartBody1643630735183489366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_35_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/26/a5455860318561bcced66580372bff85.jpg","text":"TemporaryFile(/tmp/multipartBody1437685072452987126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_35_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/26/49584be02359ce3b32793b19341f9a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3429458491750631542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_34_56_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/26/8cfd09dfca76f014872d9b041618e9a8.jpg","text":"TemporaryFile(/tmp/multipartBody3361632504146425741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_34_47_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/26/f7aba363a2aeb691d5fc77faa868effd.jpg","text":"TemporaryFile(/tmp/multipartBody8841023289581608857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_34_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d5fbaec3fa3d7e415d324eb8d85aec5.jpg","text":"TemporaryFile(/tmp/multipartBody7434373112725526291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848765677,"filename":"image_26012025_00_35_17_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331494911","file1":"1331494908","file0":"1331494905","file4":"1331494961","file5":"1331494995","file3":"1331494916"},"map_files_photo_id_array":[{"photo_id":"1331494995","filename":"file5"},{"photo_id":"1331494911","filename":"file2"},{"photo_id":"1331494961","filename":"file4"},{"photo_id":"1331494908","filename":"file1"},{"photo_id":"1331494905","filename":"file0"},{"photo_id":"1331494916","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331494916":["hashtag1","hashtag2"]},{"1331494995":["hashtag1","hashtag2"]},{"1331494911":["hashtag1","hashtag2"]},{"1331494908":["hashtag1","hashtag2"]},{"1331494905":["hashtag1","hashtag2"]},{"1331494961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331494916, 1331494995, 1331494911, 1331494908, 1331494905, 1331494961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.883628368377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:46:03.165088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_36_10345.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_26_10329.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_37_10446.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_46_9351.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_56_10345.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_37_07_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_36_10345.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_26_10329.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_37_10446.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_46_9351.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_56_10345.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_37_07_10423.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5619001388549805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:47:04.020627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_36_10345.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_26_10329.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_37_10446.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_46_9351.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_56_10345.jpg', '/home/pi/Desktop/images/26012025/00/36/image_26012025_00_37_07_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/35/image_26012025_00_35_36_10345.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_26_10329.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_37_10446.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_46_9351.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_36_56_10345.jpg
/home/pi/Desktop/images/26012025/00/36/image_26012025_00_37_07_10423.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331495161","1331495167","1331495169","1331495157","1331495130","1331495159"],"photo_ids_order":["1331495130","1331495157","1331495159","1331495161","1331495167","1331495169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19f6702992506350f0e0d899c590ff52.jpg","text":"TemporaryFile(/tmp/multipartBody838952588238998041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_36_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a02c08348763b3efd2c6d491cc321fee.jpg","text":"TemporaryFile(/tmp/multipartBody815496124787575702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_36_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/26/1dfc710d45a31b459cb6fa2379b65790.jpg","text":"TemporaryFile(/tmp/multipartBody7217429785186509880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_37_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/26/f8b41dbafbb777cf4336b67ec5b00b28.jpg","text":"TemporaryFile(/tmp/multipartBody3233857640542174097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_36_26_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/26/2015ba948849f9614f86f7a9eda7ad5c.jpg","text":"TemporaryFile(/tmp/multipartBody1478422462491570298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_35_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/26/7b8586362075a1f60eb729ec9179f746.jpg","text":"TemporaryFile(/tmp/multipartBody6726511122866050868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848885230,"filename":"image_26012025_00_36_37_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331495159","file1":"1331495157","file0":"1331495130","file4":"1331495167","file5":"1331495169","file3":"1331495161"},"map_files_photo_id_array":[{"photo_id":"1331495169","filename":"file5"},{"photo_id":"1331495159","filename":"file2"},{"photo_id":"1331495167","filename":"file4"},{"photo_id":"1331495157","filename":"file1"},{"photo_id":"1331495130","filename":"file0"},{"photo_id":"1331495161","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331495161":["hashtag1","hashtag2"]},{"1331495167":["hashtag1","hashtag2"]},{"1331495169":["hashtag1","hashtag2"]},{"1331495157":["hashtag1","hashtag2"]},{"1331495130":["hashtag1","hashtag2"]},{"1331495159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331495161, 1331495167, 1331495169, 1331495157, 1331495130, 1331495159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88020324707031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:48:03.105587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_27_10477.jpg', '/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_46_10344.jpg', '/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_57_10417.jpg', '/home/pi/Desktop/images/26012025/00/37/image_26012025_00_38_06_9331.jpg', '/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_26_9348.jpg', '/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_36_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_27_10477.jpg
/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_46_10344.jpg
/home/pi/Desktop/images/26012025/00/37/image_26012025_00_37_57_10417.jpg
/home/pi/Desktop/images/26012025/00/37/image_26012025_00_38_06_9331.jpg
/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_26_9348.jpg
/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_36_10438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331495194","1331495176","1331495185","1331495198","1331495189","1331495180"],"photo_ids_order":["1331495176","1331495180","1331495185","1331495189","1331495194","1331495198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7f2273f8dbcf61f6d00659fa89f867c.jpg","text":"TemporaryFile(/tmp/multipartBody8638376875446846202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_38_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/26/157076dbc57519f1a7dd98446ad4a313.jpg","text":"TemporaryFile(/tmp/multipartBody2740740136614678930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_37_27_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/26/509aa162032992fb8669c4771ecc5de7.jpg","text":"TemporaryFile(/tmp/multipartBody2556170271143761722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_37_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/26/d7808a04082ec974829345a6b101b73d.jpg","text":"TemporaryFile(/tmp/multipartBody3950345262534595919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_38_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/26/08fb1dc5e8ef87a45fe1c82a5c5981d3.jpg","text":"TemporaryFile(/tmp/multipartBody3893670164641269031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_38_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26a496f0b1d278fa7203145f5444b835.jpg","text":"TemporaryFile(/tmp/multipartBody682026250450900414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737848944079,"filename":"image_26012025_00_37_46_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331495185","file1":"1331495180","file0":"1331495176","file4":"1331495194","file5":"1331495198","file3":"1331495189"},"map_files_photo_id_array":[{"photo_id":"1331495198","filename":"file5"},{"photo_id":"1331495185","filename":"file2"},{"photo_id":"1331495194","filename":"file4"},{"photo_id":"1331495180","filename":"file1"},{"photo_id":"1331495176","filename":"file0"},{"photo_id":"1331495189","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331495194":["hashtag1","hashtag2"]},{"1331495176":["hashtag1","hashtag2"]},{"1331495185":["hashtag1","hashtag2"]},{"1331495198":["hashtag1","hashtag2"]},{"1331495189":["hashtag1","hashtag2"]},{"1331495180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331495194, 1331495176, 1331495185, 1331495198, 1331495189, 1331495180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.667771100997925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:49:03.271234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_47_10370.jpg', '/home/pi/Desktop/images/26012025/00/38/image_26012025_00_39_06_10339.jpg', '/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_17_10413.jpg', '/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_26_9336.jpg', '/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_37_10408.jpg', '/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/38/image_26012025_00_38_47_10370.jpg
/home/pi/Desktop/images/26012025/00/38/image_26012025_00_39_06_10339.jpg
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_17_10413.jpg
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_26_9336.jpg
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_37_10408.jpg
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_46_9347.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331495212","1331495298","1331495215","1331495739","1331495919","1331495552"],"photo_ids_order":["1331495212","1331495215","1331495298","1331495552","1331495739","1331495919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e577b728eee75e8566c0fc8218ca6c2.jpg","text":"TemporaryFile(/tmp/multipartBody8655230159778278429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_38_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/88a76a8b894a94c776520173819ac227.jpg","text":"TemporaryFile(/tmp/multipartBody813152424559712046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_39_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa62537ca301852787a69192f206ca13.jpg","text":"TemporaryFile(/tmp/multipartBody114607679077198382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_39_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/26/7af3579a09f97f499db0a5214fc7baef.jpg","text":"TemporaryFile(/tmp/multipartBody4145111362329799692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_39_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/26/bf5835a58af1c45e64eb66b82a5bb262.jpg","text":"TemporaryFile(/tmp/multipartBody3874273364377267761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_39_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/26/0b3dc8b9bf64f9ed97e956da75e1575a.jpg","text":"TemporaryFile(/tmp/multipartBody6451682525288801264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849004591,"filename":"image_26012025_00_39_26_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331495298","file1":"1331495215","file0":"1331495212","file4":"1331495739","file5":"1331495919","file3":"1331495552"},"map_files_photo_id_array":[{"photo_id":"1331495919","filename":"file5"},{"photo_id":"1331495298","filename":"file2"},{"photo_id":"1331495739","filename":"file4"},{"photo_id":"1331495215","filename":"file1"},{"photo_id":"1331495212","filename":"file0"},{"photo_id":"1331495552","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331495212":["hashtag1","hashtag2"]},{"1331495298":["hashtag1","hashtag2"]},{"1331495215":["hashtag1","hashtag2"]},{"1331495739":["hashtag1","hashtag2"]},{"1331495919":["hashtag1","hashtag2"]},{"1331495552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331495212, 1331495298, 1331495215, 1331495739, 1331495919, 1331495552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99445939064026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:50:02.844110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_56_10349.jpg', '/home/pi/Desktop/images/26012025/00/39/image_26012025_00_40_07_10446.jpg', '/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_16_9351.jpg', '/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_26_10364.jpg', '/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_37_10367.jpg', '/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_57_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_39_56_10349.jpg
/home/pi/Desktop/images/26012025/00/39/image_26012025_00_40_07_10446.jpg
/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_16_9351.jpg
/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_26_10364.jpg
/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_37_10367.jpg
/home/pi/Desktop/images/26012025/00/40/image_26012025_00_40_57_10446.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331496115","1331496123","1331496105","1331496137","1331496134","1331496110"],"photo_ids_order":["1331496105","1331496110","1331496115","1331496123","1331496134","1331496137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2157560ca30b9483b6a7928a41f35195.jpg","text":"TemporaryFile(/tmp/multipartBody5790097575787573144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_40_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/26/df9be17fa628a333597e5fe735298b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4973829862480556763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_40_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/26/ee7b1e3eb931aff3a884968d0e76a58f.jpg","text":"TemporaryFile(/tmp/multipartBody6779700527266355834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_39_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/26/7d095ee20161f4a8e255dd16546df811.jpg","text":"TemporaryFile(/tmp/multipartBody214556022771968703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_40_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/13e972ba31bf86f82b2b5beb4fee8216.jpg","text":"TemporaryFile(/tmp/multipartBody7323313614512012734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_40_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/26/dbed89ac12670f727031b4397767029a.jpg","text":"TemporaryFile(/tmp/multipartBody2543534741239389402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849063835,"filename":"image_26012025_00_40_07_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331496115","file1":"1331496110","file0":"1331496105","file4":"1331496134","file5":"1331496137","file3":"1331496123"},"map_files_photo_id_array":[{"photo_id":"1331496137","filename":"file5"},{"photo_id":"1331496115","filename":"file2"},{"photo_id":"1331496134","filename":"file4"},{"photo_id":"1331496110","filename":"file1"},{"photo_id":"1331496105","filename":"file0"},{"photo_id":"1331496123","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331496115":["hashtag1","hashtag2"]},{"1331496123":["hashtag1","hashtag2"]},{"1331496105":["hashtag1","hashtag2"]},{"1331496137":["hashtag1","hashtag2"]},{"1331496134":["hashtag1","hashtag2"]},{"1331496110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331496115, 1331496123, 1331496105, 1331496137, 1331496134, 1331496110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12407112121582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:51:04.547280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/40/image_26012025_00_41_06_9343.jpg', '/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_16_10328.jpg', '/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_27_10457.jpg', '/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_36_9344.jpg', '/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_46_10363.jpg', '/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_57_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/40/image_26012025_00_41_06_9343.jpg
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_16_10328.jpg
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_27_10457.jpg
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_36_9344.jpg
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_46_10363.jpg
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_41_57_10341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331496186","1331496579","1331496389","1331496182","1331496179","1331496209"],"photo_ids_order":["1331496179","1331496182","1331496186","1331496209","1331496389","1331496579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a40a045cc25f6ffdd868f1c1073148a.jpg","text":"TemporaryFile(/tmp/multipartBody6479885717139433359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_27_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/26/750014731fa0b7c1c72d08c329433cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7344667856386611747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_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/26/b334e07004217891ce03b22ba071b446.jpg","text":"TemporaryFile(/tmp/multipartBody8563195807856660936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_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/26/11442b56bea712c4884cba971c968a26.jpg","text":"TemporaryFile(/tmp/multipartBody9053102948615839587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a0fe85a428ca343ca9fae5cf0ea4b9f.jpg","text":"TemporaryFile(/tmp/multipartBody7512093759603016123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_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/26/5cc39b76a68ebc6211f4fda57a6e072f.jpg","text":"TemporaryFile(/tmp/multipartBody4158256604999910602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849126416,"filename":"image_26012025_00_41_36_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331496186","file1":"1331496182","file0":"1331496179","file4":"1331496389","file5":"1331496579","file3":"1331496209"},"map_files_photo_id_array":[{"photo_id":"1331496579","filename":"file5"},{"photo_id":"1331496186","filename":"file2"},{"photo_id":"1331496389","filename":"file4"},{"photo_id":"1331496182","filename":"file1"},{"photo_id":"1331496179","filename":"file0"},{"photo_id":"1331496209","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331496186":["hashtag1","hashtag2"]},{"1331496579":["hashtag1","hashtag2"]},{"1331496389":["hashtag1","hashtag2"]},{"1331496182":["hashtag1","hashtag2"]},{"1331496179":["hashtag1","hashtag2"]},{"1331496209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331496186, 1331496579, 1331496389, 1331496182, 1331496179, 1331496209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49708962440491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:52:03.224231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/41/image_26012025_00_42_06_9417.jpg', '/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_17_10402.jpg', '/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_26_9367.jpg', '/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_36_10370.jpg', '/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_47_10343.jpg', '/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_56_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/41/image_26012025_00_42_06_9417.jpg
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_17_10402.jpg
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_26_9367.jpg
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_36_10370.jpg
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_47_10343.jpg
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_42_56_9380.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331496745","1331497009","1331496910","1331496748","1331496824","1331496752"],"photo_ids_order":["1331496745","1331496748","1331496752","1331496824","1331496910","1331497009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d45ac073e3fb625925f42c89dcaa9271.jpg","text":"TemporaryFile(/tmp/multipartBody7718700818021008626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_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/26/cb268a62c32924ed4ae7e09ff9b1cd26.jpg","text":"TemporaryFile(/tmp/multipartBody4994553931825119260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_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/26/cb900dd5ea6566d496712b59c9bab566.jpg","text":"TemporaryFile(/tmp/multipartBody5813333431658758993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/584b0bd3ce64d39618ba7bfa83ae0a8a.jpg","text":"TemporaryFile(/tmp/multipartBody3420369755099668740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32c45291d1f057b4bcfc7d26edfa657b.jpg","text":"TemporaryFile(/tmp/multipartBody6621935680315285021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_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/26/1071222379d87bfef77d43052a7c5644.jpg","text":"TemporaryFile(/tmp/multipartBody8342581100236614402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849184212,"filename":"image_26012025_00_42_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331496752","file1":"1331496748","file0":"1331496745","file4":"1331496910","file5":"1331497009","file3":"1331496824"},"map_files_photo_id_array":[{"photo_id":"1331497009","filename":"file5"},{"photo_id":"1331496752","filename":"file2"},{"photo_id":"1331496910","filename":"file4"},{"photo_id":"1331496748","filename":"file1"},{"photo_id":"1331496745","filename":"file0"},{"photo_id":"1331496824","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331496745":["hashtag1","hashtag2"]},{"1331497009":["hashtag1","hashtag2"]},{"1331496910":["hashtag1","hashtag2"]},{"1331496748":["hashtag1","hashtag2"]},{"1331496824":["hashtag1","hashtag2"]},{"1331496752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331496745, 1331497009, 1331496910, 1331496748, 1331496824, 1331496752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6031379699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:53:03.870110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/42/image_26012025_00_43_06_10327.jpg', '/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_17_10421.jpg', '/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_26_9318.jpg', '/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_37_10475.jpg', '/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_46_9404.jpg', '/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_56_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/42/image_26012025_00_43_06_10327.jpg
/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_17_10421.jpg
/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_26_9318.jpg
/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_37_10475.jpg
/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_46_9404.jpg
/home/pi/Desktop/images/26012025/00/43/image_26012025_00_43_56_10359.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331497257","1331497097","1331497310","1331497276","1331497183","1331497270"],"photo_ids_order":["1331497097","1331497183","1331497257","1331497270","1331497276","1331497310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad2288931c015d9caa4d255320e148f9.jpg","text":"TemporaryFile(/tmp/multipartBody6467655184116366962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_26_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/26/8cfa61a43b7c6d7b2f2c45a91954a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody7984813977444001447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_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/26/9d7594c5a2ade566d543c1706d103636.jpg","text":"TemporaryFile(/tmp/multipartBody5918670074627911962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3553475f2e1a5d67f88d7ae547dd453.jpg","text":"TemporaryFile(/tmp/multipartBody8369861652314911428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_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/26/9952521466a8e336da33fbfbf541c360.jpg","text":"TemporaryFile(/tmp/multipartBody4084343026383430500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d8a8c8f4b20bf5b0ca3181facba3932.jpg","text":"TemporaryFile(/tmp/multipartBody6277308424298428686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849244938,"filename":"image_26012025_00_43_37_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331497257","file1":"1331497183","file0":"1331497097","file4":"1331497276","file5":"1331497310","file3":"1331497270"},"map_files_photo_id_array":[{"photo_id":"1331497310","filename":"file5"},{"photo_id":"1331497257","filename":"file2"},{"photo_id":"1331497276","filename":"file4"},{"photo_id":"1331497183","filename":"file1"},{"photo_id":"1331497097","filename":"file0"},{"photo_id":"1331497270","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497257":["hashtag1","hashtag2"]},{"1331497097":["hashtag1","hashtag2"]},{"1331497310":["hashtag1","hashtag2"]},{"1331497276":["hashtag1","hashtag2"]},{"1331497183":["hashtag1","hashtag2"]},{"1331497270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497257, 1331497097, 1331497310, 1331497276, 1331497183, 1331497270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31377124786377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:54:02.952786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_16_9324.jpg', '/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_26_10326.jpg', '/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_37_10482.jpg', '/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_46_9363.jpg', '/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_57_10377.jpg', '/home/pi/Desktop/images/26012025/00/44/image_26012025_00_45_06_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_16_9324.jpg
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_26_10326.jpg
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_37_10482.jpg
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_46_9363.jpg
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_44_57_10377.jpg
/home/pi/Desktop/images/26012025/00/44/image_26012025_00_45_06_9334.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331497428","1331497433","1331497442","1331497424","1331497438","1331497420"],"photo_ids_order":["1331497420","1331497424","1331497428","1331497433","1331497438","1331497442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0f839ab8e93583e744c4e7b9050bc27c.jpg","text":"TemporaryFile(/tmp/multipartBody1532068722641786940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_44_37_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/26/da42b618362a4f2ec6d31c0fcb2a2338.jpg","text":"TemporaryFile(/tmp/multipartBody5249618348095467364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_44_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/26/ab98f63bb7c3f486c396667d82239fd7.jpg","text":"TemporaryFile(/tmp/multipartBody91227053716273026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_45_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/26/566538b8514ef4c56d05db2b68b3e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody7115119848290989765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_44_26_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/26/3cfd9b69fe485bb6a6e821fda1c39fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6183974299581067302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_44_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/26/e3eb166920bafad6e05406d71295aa05.jpg","text":"TemporaryFile(/tmp/multipartBody1370976607988142511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849303930,"filename":"image_26012025_00_44_16_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331497428","file1":"1331497424","file0":"1331497420","file4":"1331497438","file5":"1331497442","file3":"1331497433"},"map_files_photo_id_array":[{"photo_id":"1331497442","filename":"file5"},{"photo_id":"1331497428","filename":"file2"},{"photo_id":"1331497438","filename":"file4"},{"photo_id":"1331497424","filename":"file1"},{"photo_id":"1331497420","filename":"file0"},{"photo_id":"1331497433","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497428":["hashtag1","hashtag2"]},{"1331497433":["hashtag1","hashtag2"]},{"1331497442":["hashtag1","hashtag2"]},{"1331497424":["hashtag1","hashtag2"]},{"1331497438":["hashtag1","hashtag2"]},{"1331497420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497428, 1331497433, 1331497442, 1331497424, 1331497438, 1331497420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20070743560791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:55:03.832031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_16_10333.jpg', '/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_27_10375.jpg', '/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_46_10348.jpg', '/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_57_10428.jpg', '/home/pi/Desktop/images/26012025/00/45/image_26012025_00_46_06_9349.jpg', '/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_17_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_16_10333.jpg
/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_27_10375.jpg
/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_46_10348.jpg
/home/pi/Desktop/images/26012025/00/45/image_26012025_00_45_57_10428.jpg
/home/pi/Desktop/images/26012025/00/45/image_26012025_00_46_06_9349.jpg
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_17_10448.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331497452","1331497455","1331497458","1331497483","1331497477","1331497465"],"photo_ids_order":["1331497452","1331497455","1331497458","1331497465","1331497477","1331497483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40ccef7753e31d82d9319b70303653c8.jpg","text":"TemporaryFile(/tmp/multipartBody562360366491163809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_45_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/26/70332622ccc41cd1d6fc002f0a2f1e71.jpg","text":"TemporaryFile(/tmp/multipartBody2389727213548139523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_45_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af7b6df661d1eeee17a6c7946542776b.jpg","text":"TemporaryFile(/tmp/multipartBody5714310354633671133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_45_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/26/016e1634cee2157383288ec392fd4452.jpg","text":"TemporaryFile(/tmp/multipartBody5510073807687151029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_46_17_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9af3733bee034660cc3c69616466022d.jpg","text":"TemporaryFile(/tmp/multipartBody6547285851369161478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_46_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/26/fa724c1901c9c178fe9bc15559c8b7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3912722474405570541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849365038,"filename":"image_26012025_00_45_57_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331497458","file1":"1331497455","file0":"1331497452","file4":"1331497477","file5":"1331497483","file3":"1331497465"},"map_files_photo_id_array":[{"photo_id":"1331497483","filename":"file5"},{"photo_id":"1331497458","filename":"file2"},{"photo_id":"1331497477","filename":"file4"},{"photo_id":"1331497455","filename":"file1"},{"photo_id":"1331497452","filename":"file0"},{"photo_id":"1331497465","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497452":["hashtag1","hashtag2"]},{"1331497455":["hashtag1","hashtag2"]},{"1331497458":["hashtag1","hashtag2"]},{"1331497483":["hashtag1","hashtag2"]},{"1331497477":["hashtag1","hashtag2"]},{"1331497465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497452, 1331497455, 1331497458, 1331497483, 1331497477, 1331497465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35663199424744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:56:02.961897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_26_9344.jpg', '/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_36_10348.jpg', '/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_47_10418.jpg', '/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_56_9359.jpg', '/home/pi/Desktop/images/26012025/00/46/image_26012025_00_47_06_10335.jpg', '/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_36_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_26_9344.jpg
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_36_10348.jpg
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_47_10418.jpg
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_46_56_9359.jpg
/home/pi/Desktop/images/26012025/00/46/image_26012025_00_47_06_10335.jpg
/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_36_10354.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331497536","1331497530","1331497522","1331497525","1331497534","1331497528"],"photo_ids_order":["1331497522","1331497525","1331497528","1331497530","1331497534","1331497536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3d4a683080315ab00c2e988147a8847.jpg","text":"TemporaryFile(/tmp/multipartBody7951628198377685337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_47_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/26/26e49e6f9d7b19e2d63dea2a3ffd8da4.jpg","text":"TemporaryFile(/tmp/multipartBody3093847610058190108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_46_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/26/fc6593d08cbec3331b5c9c93645280cf.jpg","text":"TemporaryFile(/tmp/multipartBody8336257975788661127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_46_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/26/eeb131edba712ab87bc3efcf00fa60a4.jpg","text":"TemporaryFile(/tmp/multipartBody4617192009987725490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_46_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/26/f4b047033fd127d01959e7864254b3ce.jpg","text":"TemporaryFile(/tmp/multipartBody559059933872585311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_47_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/26/f8317725000ec54bc8fbdbdd78adf9d7.jpg","text":"TemporaryFile(/tmp/multipartBody3311394075839145593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849423930,"filename":"image_26012025_00_46_47_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331497528","file1":"1331497525","file0":"1331497522","file4":"1331497534","file5":"1331497536","file3":"1331497530"},"map_files_photo_id_array":[{"photo_id":"1331497536","filename":"file5"},{"photo_id":"1331497528","filename":"file2"},{"photo_id":"1331497534","filename":"file4"},{"photo_id":"1331497525","filename":"file1"},{"photo_id":"1331497522","filename":"file0"},{"photo_id":"1331497530","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497536":["hashtag1","hashtag2"]},{"1331497530":["hashtag1","hashtag2"]},{"1331497522":["hashtag1","hashtag2"]},{"1331497525":["hashtag1","hashtag2"]},{"1331497534":["hashtag1","hashtag2"]},{"1331497528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497536, 1331497530, 1331497522, 1331497525, 1331497534, 1331497528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29298496246338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:57:03.702874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_47_10389.jpg', '/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_56_9337.jpg', '/home/pi/Desktop/images/26012025/00/47/image_26012025_00_48_07_10461.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_16_9448.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_26_10359.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_37_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_47_10389.jpg
/home/pi/Desktop/images/26012025/00/47/image_26012025_00_47_56_9337.jpg
/home/pi/Desktop/images/26012025/00/47/image_26012025_00_48_07_10461.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_16_9448.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_26_10359.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_37_10407.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331497554","1331497559","1331497544","1331497541","1331497549","1331497546"],"photo_ids_order":["1331497541","1331497544","1331497546","1331497549","1331497554","1331497559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4fa5b53bbaa06bea6545e8c152e8fbf.jpg","text":"TemporaryFile(/tmp/multipartBody8117991613894893596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_48_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/26/f628a09e3fb9c93da2b209d3d909b75c.jpg","text":"TemporaryFile(/tmp/multipartBody307731844149915823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_48_37_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/26/9da0b23085bfd2f4136d2d968c1c0c05.jpg","text":"TemporaryFile(/tmp/multipartBody1350743987201663245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_47_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/314bf06ede5aab15ef79cd9ea837aa07.jpg","text":"TemporaryFile(/tmp/multipartBody6481377537080944836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_47_47_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/26/0ff2f6d9280bf2bd056c1108e68ef38d.jpg","text":"TemporaryFile(/tmp/multipartBody1024455699929524467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_48_16_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/26/7d6d1ee7dcba22b856f3a2db45aa01c6.jpg","text":"TemporaryFile(/tmp/multipartBody2676892710471203618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849484870,"filename":"image_26012025_00_48_07_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331497546","file1":"1331497544","file0":"1331497541","file4":"1331497554","file5":"1331497559","file3":"1331497549"},"map_files_photo_id_array":[{"photo_id":"1331497559","filename":"file5"},{"photo_id":"1331497546","filename":"file2"},{"photo_id":"1331497554","filename":"file4"},{"photo_id":"1331497544","filename":"file1"},{"photo_id":"1331497541","filename":"file0"},{"photo_id":"1331497549","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497554":["hashtag1","hashtag2"]},{"1331497559":["hashtag1","hashtag2"]},{"1331497544":["hashtag1","hashtag2"]},{"1331497541":["hashtag1","hashtag2"]},{"1331497549":["hashtag1","hashtag2"]},{"1331497546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497554, 1331497559, 1331497544, 1331497541, 1331497549, 1331497546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.833251953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 00:59:03.564776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_46_9327.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_57_10468.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_49_06_9369.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_16_10377.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_36_9352.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_46_9327.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_57_10468.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_49_06_9369.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_16_10377.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_36_9352.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_47_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.7236299514770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 00:59:32.466684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_46_9327.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_57_10468.jpg', '/home/pi/Desktop/images/26012025/00/48/image_26012025_00_49_06_9369.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_16_10377.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_36_9352.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_46_9327.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_48_57_10468.jpg
/home/pi/Desktop/images/26012025/00/48/image_26012025_00_49_06_9369.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_16_10377.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_36_9352.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_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":["1331497863","1331498294","1331498291","1331498258","1331498039","1331497768"],"photo_ids_order":["1331497768","1331497863","1331498039","1331498258","1331498291","1331498294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/401315b6cd542f150d82c4aa0fe81405.jpg","text":"TemporaryFile(/tmp/multipartBody3551438943406196325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_48_57_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/26/8a0bfa8911ec42d3652bc3426991f7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2865797547334203972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_49_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/26/9f5c265676d3251abd5364c110c5b509.jpg","text":"TemporaryFile(/tmp/multipartBody4728537765687856309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_49_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/26/b1cf0abb69573c54cd252caea4dc45b2.jpg","text":"TemporaryFile(/tmp/multipartBody6511551666879349277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_49_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b6686f8623048966fd156aed90ff07f.jpg","text":"TemporaryFile(/tmp/multipartBody7132734767965123886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_49_06_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ee12aaddd7c2659ce83fc894c1a24f9.jpg","text":"TemporaryFile(/tmp/multipartBody8499928967679335904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849633434,"filename":"image_26012025_00_48_46_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498039","file1":"1331497863","file0":"1331497768","file4":"1331498291","file5":"1331498294","file3":"1331498258"},"map_files_photo_id_array":[{"photo_id":"1331498294","filename":"file5"},{"photo_id":"1331498039","filename":"file2"},{"photo_id":"1331498291","filename":"file4"},{"photo_id":"1331497863","filename":"file1"},{"photo_id":"1331497768","filename":"file0"},{"photo_id":"1331498258","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331497863":["hashtag1","hashtag2"]},{"1331498294":["hashtag1","hashtag2"]},{"1331498291":["hashtag1","hashtag2"]},{"1331498258":["hashtag1","hashtag2"]},{"1331498039":["hashtag1","hashtag2"]},{"1331497768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331497863, 1331498294, 1331498291, 1331498258, 1331498039, 1331497768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.051018714904785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:00:32.857789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_57_10367.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_50_06_9349.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_17_10380.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_26_9366.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_36_10325.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_47_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_57_10367.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_50_06_9349.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_17_10380.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_26_9366.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_36_10325.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_47_10410.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5431406497955322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:00:42.862092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_57_10367.jpg', '/home/pi/Desktop/images/26012025/00/49/image_26012025_00_50_06_9349.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_17_10380.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_26_9366.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_36_10325.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_47_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_49_57_10367.jpg
/home/pi/Desktop/images/26012025/00/49/image_26012025_00_50_06_9349.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_17_10380.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_26_9366.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_36_10325.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_47_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":["1331498547","1331498541","1331498527","1331498509","1331498544","1331498538"],"photo_ids_order":["1331498509","1331498527","1331498538","1331498541","1331498544","1331498547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f36c557c0a6fe7323330a59fd119e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4723962345039636928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_50_47_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/26/8b7af556c3850b14df48d4de20a62f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6746260378014818929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_50_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/26/3e15a47d96f0e7c15c16ab7dc07248d6.jpg","text":"TemporaryFile(/tmp/multipartBody2151985641198900572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_50_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/26/1439f4e5f77dc2fded7d1e1a4460b832.jpg","text":"TemporaryFile(/tmp/multipartBody9029105032646694297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_49_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/26/472d4f0e52baf9bab8d90602d6df9fb6.jpg","text":"TemporaryFile(/tmp/multipartBody4614621309813202202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_50_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb83eda0e4c99d9a019181dc48ce0298.jpg","text":"TemporaryFile(/tmp/multipartBody5522308708220067497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849703870,"filename":"image_26012025_00_50_17_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498538","file1":"1331498527","file0":"1331498509","file4":"1331498544","file5":"1331498547","file3":"1331498541"},"map_files_photo_id_array":[{"photo_id":"1331498547","filename":"file5"},{"photo_id":"1331498538","filename":"file2"},{"photo_id":"1331498544","filename":"file4"},{"photo_id":"1331498527","filename":"file1"},{"photo_id":"1331498509","filename":"file0"},{"photo_id":"1331498541","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331498547":["hashtag1","hashtag2"]},{"1331498541":["hashtag1","hashtag2"]},{"1331498527":["hashtag1","hashtag2"]},{"1331498509":["hashtag1","hashtag2"]},{"1331498544":["hashtag1","hashtag2"]},{"1331498538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331498547, 1331498541, 1331498527, 1331498509, 1331498544, 1331498538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.471211194992065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:01:33.024836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_56_9418.jpg', '/home/pi/Desktop/images/26012025/00/50/image_26012025_00_51_06_10347.jpg', '/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_17_10429.jpg', '/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_26_9337.jpg', '/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_37_10395.jpg', '/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_56_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_50_56_9418.jpg
/home/pi/Desktop/images/26012025/00/50/image_26012025_00_51_06_10347.jpg
/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_17_10429.jpg
/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_26_9337.jpg
/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_37_10395.jpg
/home/pi/Desktop/images/26012025/00/51/image_26012025_00_51_56_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":["1331498588","1331498567","1331498555","1331498581","1331498557","1331498559"],"photo_ids_order":["1331498555","1331498557","1331498559","1331498567","1331498581","1331498588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff66cf91983fe91c86b09e102b7d8cef.jpg","text":"TemporaryFile(/tmp/multipartBody2211711098747828355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_51_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/26/e8f66dae1b3fd65517ba08de3eefe68e.jpg","text":"TemporaryFile(/tmp/multipartBody7688621033082589471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_51_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/671e4899a2be2b481b981ddfd649b289.jpg","text":"TemporaryFile(/tmp/multipartBody8851710155805257044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_50_56_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/26/a72a8d332dab445e58169b24fbc841e5.jpg","text":"TemporaryFile(/tmp/multipartBody7855359081075841363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_51_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/26/dd8d2ba1326f58c17fda059168b229ef.jpg","text":"TemporaryFile(/tmp/multipartBody6487829245896189390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_51_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/26/05b7398b2282da78416b62d9a1313146.jpg","text":"TemporaryFile(/tmp/multipartBody283435805354510756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849753961,"filename":"image_26012025_00_51_17_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498559","file1":"1331498557","file0":"1331498555","file4":"1331498581","file5":"1331498588","file3":"1331498567"},"map_files_photo_id_array":[{"photo_id":"1331498588","filename":"file5"},{"photo_id":"1331498559","filename":"file2"},{"photo_id":"1331498581","filename":"file4"},{"photo_id":"1331498557","filename":"file1"},{"photo_id":"1331498555","filename":"file0"},{"photo_id":"1331498567","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331498588":["hashtag1","hashtag2"]},{"1331498567":["hashtag1","hashtag2"]},{"1331498555":["hashtag1","hashtag2"]},{"1331498581":["hashtag1","hashtag2"]},{"1331498557":["hashtag1","hashtag2"]},{"1331498559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331498588, 1331498567, 1331498555, 1331498581, 1331498557, 1331498559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.86428380012512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:02:32.140420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/51/image_26012025_00_52_07_10406.jpg', '/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_16_9397.jpg', '/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_27_10353.jpg', '/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_36_9404.jpg', '/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_46_10353.jpg', '/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_57_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/51/image_26012025_00_52_07_10406.jpg
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_16_9397.jpg
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_27_10353.jpg
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_36_9404.jpg
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_46_10353.jpg
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_52_57_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":["1331498625","1331498640","1331498639","1331498632","1331498635","1331498629"],"photo_ids_order":["1331498625","1331498629","1331498632","1331498635","1331498639","1331498640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e116d81dc1a381c69b5a653743ad8077.jpg","text":"TemporaryFile(/tmp/multipartBody3957366000144517984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_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/26/89a9ba640f03e43ae4c9253864f1f788.jpg","text":"TemporaryFile(/tmp/multipartBody2298157240366441697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_57_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/26/e3c497a828ebb2600a2122ab577ccada.jpg","text":"TemporaryFile(/tmp/multipartBody4305454623580045127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_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/26/506a6defaf88356dfc2546110f1f3a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7087133758590574531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/249c80def6b30529530ec450e9e1819f.jpg","text":"TemporaryFile(/tmp/multipartBody5034124703438812309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ad1e63eb06d13145762469dfdc132f2.jpg","text":"TemporaryFile(/tmp/multipartBody7498264858278540596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849813061,"filename":"image_26012025_00_52_16_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498632","file1":"1331498629","file0":"1331498625","file4":"1331498639","file5":"1331498640","file3":"1331498635"},"map_files_photo_id_array":[{"photo_id":"1331498640","filename":"file5"},{"photo_id":"1331498632","filename":"file2"},{"photo_id":"1331498639","filename":"file4"},{"photo_id":"1331498629","filename":"file1"},{"photo_id":"1331498625","filename":"file0"},{"photo_id":"1331498635","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331498625":["hashtag1","hashtag2"]},{"1331498640":["hashtag1","hashtag2"]},{"1331498639":["hashtag1","hashtag2"]},{"1331498632":["hashtag1","hashtag2"]},{"1331498635":["hashtag1","hashtag2"]},{"1331498629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331498625, 1331498640, 1331498639, 1331498632, 1331498635, 1331498629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.326300621032715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:03:32.333433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/52/image_26012025_00_53_06_9327.jpg', '/home/pi/Desktop/images/26012025/00/53/image_26012025_00_53_16_10335.jpg', '/home/pi/Desktop/images/26012025/00/53/image_26012025_00_53_27_10370.jpg', '/home/pi/Desktop/images/26012025/00/53/image_26012025_00_54_06_9347.jpg', '/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_26_9342.jpg', '/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_36_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/52/image_26012025_00_53_06_9327.jpg
/home/pi/Desktop/images/26012025/00/53/image_26012025_00_53_16_10335.jpg
/home/pi/Desktop/images/26012025/00/53/image_26012025_00_53_27_10370.jpg
/home/pi/Desktop/images/26012025/00/53/image_26012025_00_54_06_9347.jpg
/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_26_9342.jpg
/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_36_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331498669","1331498683","1331498677","1331498685","1331498673","1331498664"],"photo_ids_order":["1331498664","1331498669","1331498673","1331498677","1331498683","1331498685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03381bd8b6c481a24b94aab447381793.jpg","text":"TemporaryFile(/tmp/multipartBody101587881418967753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_53_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2d65c7fa5641fe8822d9f6f01891e88.jpg","text":"TemporaryFile(/tmp/multipartBody6426154499572007212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_54_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/26/45841615aa01d9e3c0c9839ebcfa5a67.jpg","text":"TemporaryFile(/tmp/multipartBody6224806125838063253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_54_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/26/75ee8fcfbf06a855afa68c0b0694e868.jpg","text":"TemporaryFile(/tmp/multipartBody8267615580485455625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_54_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/21ee3b4ff1de4a3b3c82b0ba92fbb935.jpg","text":"TemporaryFile(/tmp/multipartBody640031597518870854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_53_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/26/43230c0966a6e1cd6752538a635d561d.jpg","text":"TemporaryFile(/tmp/multipartBody1808406094878409208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849873271,"filename":"image_26012025_00_53_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498673","file1":"1331498669","file0":"1331498664","file4":"1331498683","file5":"1331498685","file3":"1331498677"},"map_files_photo_id_array":[{"photo_id":"1331498685","filename":"file5"},{"photo_id":"1331498673","filename":"file2"},{"photo_id":"1331498683","filename":"file4"},{"photo_id":"1331498669","filename":"file1"},{"photo_id":"1331498664","filename":"file0"},{"photo_id":"1331498677","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331498669":["hashtag1","hashtag2"]},{"1331498683":["hashtag1","hashtag2"]},{"1331498677":["hashtag1","hashtag2"]},{"1331498685":["hashtag1","hashtag2"]},{"1331498673":["hashtag1","hashtag2"]},{"1331498664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331498669, 1331498683, 1331498677, 1331498685, 1331498673, 1331498664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83351278305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:04:32.761248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_47_10358.jpg', '/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_56_9329.jpg', '/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_17_10421.jpg', '/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_26_9338.jpg', '/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_37_10364.jpg', '/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_47_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_47_10358.jpg
/home/pi/Desktop/images/26012025/00/54/image_26012025_00_54_56_9329.jpg
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_17_10421.jpg
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_26_9338.jpg
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_37_10364.jpg
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_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":["1331498727","1331498703","1331498726","1331498698","1331498719","1331498694"],"photo_ids_order":["1331498694","1331498698","1331498703","1331498719","1331498726","1331498727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d0449f3ff787bec8acece7bc8c13219d.jpg","text":"TemporaryFile(/tmp/multipartBody5276302742443459012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_55_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd3a19776d3c3d978ee689a0d7c559d6.jpg","text":"TemporaryFile(/tmp/multipartBody1417281994071534247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_55_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49458ad621c00d91203917a18812c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2627672948154790289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_55_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/26/041ba14fac9da031e36258074f7ee83f.jpg","text":"TemporaryFile(/tmp/multipartBody2012124649906456435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_54_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31a160090f104898a5da302199834294.jpg","text":"TemporaryFile(/tmp/multipartBody3584049280422310772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_55_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2aca69252df35640f299d702e67b4f1.jpg","text":"TemporaryFile(/tmp/multipartBody1532362194523530143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849933694,"filename":"image_26012025_00_54_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331498703","file1":"1331498698","file0":"1331498694","file4":"1331498726","file5":"1331498727","file3":"1331498719"},"map_files_photo_id_array":[{"photo_id":"1331498727","filename":"file5"},{"photo_id":"1331498703","filename":"file2"},{"photo_id":"1331498726","filename":"file4"},{"photo_id":"1331498698","filename":"file1"},{"photo_id":"1331498694","filename":"file0"},{"photo_id":"1331498719","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331498727":["hashtag1","hashtag2"]},{"1331498703":["hashtag1","hashtag2"]},{"1331498726":["hashtag1","hashtag2"]},{"1331498698":["hashtag1","hashtag2"]},{"1331498719":["hashtag1","hashtag2"]},{"1331498694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331498727, 1331498703, 1331498726, 1331498698, 1331498719, 1331498694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.57272553443909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:05:33.067496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_56_9335.jpg', '/home/pi/Desktop/images/26012025/00/55/image_26012025_00_56_07_10474.jpg', '/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_16_9333.jpg', '/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_26_10356.jpg', '/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_37_10440.jpg', '/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_55_56_9335.jpg
/home/pi/Desktop/images/26012025/00/55/image_26012025_00_56_07_10474.jpg
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_16_9333.jpg
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_26_10356.jpg
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_37_10440.jpg
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_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":["1331499105","1331499205","1331498929","1331498836","1331499309","1331499003"],"photo_ids_order":["1331498836","1331498929","1331499003","1331499105","1331499205","1331499309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01c4d7ef6f37320a38e24d147326aa16.jpg","text":"TemporaryFile(/tmp/multipartBody6154321218315379923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_56_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/26/428de28257f214644ee5ee1c03485c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6369786672512331596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_56_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/26/50b718c40a5b7609f267e5445884352f.jpg","text":"TemporaryFile(/tmp/multipartBody8253495786557527627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_56_07_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/26/55a6d7ba7e2ccd0adca84215f9db0060.jpg","text":"TemporaryFile(/tmp/multipartBody8441625049209224293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_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/26/5b7228c89ee62cc3ad15abc7327642f2.jpg","text":"TemporaryFile(/tmp/multipartBody5949329162517114306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_56_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/26/44bebe572a7b8c1e13d47005998690b6.jpg","text":"TemporaryFile(/tmp/multipartBody7991621711137860494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737849993986,"filename":"image_26012025_00_56_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331499003","file1":"1331498929","file0":"1331498836","file4":"1331499205","file5":"1331499309","file3":"1331499105"},"map_files_photo_id_array":[{"photo_id":"1331499309","filename":"file5"},{"photo_id":"1331499003","filename":"file2"},{"photo_id":"1331499205","filename":"file4"},{"photo_id":"1331498929","filename":"file1"},{"photo_id":"1331498836","filename":"file0"},{"photo_id":"1331499105","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331499105":["hashtag1","hashtag2"]},{"1331499205":["hashtag1","hashtag2"]},{"1331498929":["hashtag1","hashtag2"]},{"1331498836":["hashtag1","hashtag2"]},{"1331499309":["hashtag1","hashtag2"]},{"1331499003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331499105, 1331499205, 1331498929, 1331498836, 1331499309, 1331499003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.39202427864075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:06:32.274171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_56_10364.jpg', '/home/pi/Desktop/images/26012025/00/56/image_26012025_00_57_07_10330.jpg', '/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_16_9334.jpg', '/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_27_10409.jpg', '/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_36_9351.jpg', '/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_56_56_10364.jpg
/home/pi/Desktop/images/26012025/00/56/image_26012025_00_57_07_10330.jpg
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_16_9334.jpg
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_27_10409.jpg
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_36_9351.jpg
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_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":["1331499881","1331500081","1331499863","1331499871","1331499924","1331499887"],"photo_ids_order":["1331499863","1331499871","1331499881","1331499887","1331499924","1331500081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c86a3055f456465393ed24fab86865eb.jpg","text":"TemporaryFile(/tmp/multipartBody1781414764238389306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_57_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/26/6e1fb60dea7acc274cfcc7f194aa0774.jpg","text":"TemporaryFile(/tmp/multipartBody2568798225852810407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_57_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/26/5e1a0006b4c47907c00c952e06343a64.jpg","text":"TemporaryFile(/tmp/multipartBody6967380401699950273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_56_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/26/b7f461a75114765dcf6e9d2c77064b39.jpg","text":"TemporaryFile(/tmp/multipartBody7339908891050299221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_57_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/26/26caf051780f40dc1ffdbfaaaf4b4c72.jpg","text":"TemporaryFile(/tmp/multipartBody238670371344921271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_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/26/bb57924c03ca3a42591911150ab0dfdf.jpg","text":"TemporaryFile(/tmp/multipartBody100200726944835222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850053204,"filename":"image_26012025_00_57_27_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331499881","file1":"1331499871","file0":"1331499863","file4":"1331499924","file5":"1331500081","file3":"1331499887"},"map_files_photo_id_array":[{"photo_id":"1331500081","filename":"file5"},{"photo_id":"1331499881","filename":"file2"},{"photo_id":"1331499924","filename":"file4"},{"photo_id":"1331499871","filename":"file1"},{"photo_id":"1331499863","filename":"file0"},{"photo_id":"1331499887","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331499881":["hashtag1","hashtag2"]},{"1331500081":["hashtag1","hashtag2"]},{"1331499863":["hashtag1","hashtag2"]},{"1331499871":["hashtag1","hashtag2"]},{"1331499924":["hashtag1","hashtag2"]},{"1331499887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331499881, 1331500081, 1331499863, 1331499871, 1331499924, 1331499887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10395383834839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:07:32.510090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_57_10438.jpg', '/home/pi/Desktop/images/26012025/00/57/image_26012025_00_58_06_9346.jpg', '/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_16_10315.jpg', '/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_27_10393.jpg', '/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_36_9361.jpg', '/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_46_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_57_57_10438.jpg
/home/pi/Desktop/images/26012025/00/57/image_26012025_00_58_06_9346.jpg
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_16_10315.jpg
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_27_10393.jpg
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_36_9361.jpg
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_46_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331501545","1331501533","1331501478","1331501612","1331501609","1331501584"],"photo_ids_order":["1331501478","1331501533","1331501545","1331501584","1331501609","1331501612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/901d7924166a31607bbc614fc797d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody8907624176742452331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_58_16_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c743fa102bd62515c7fcfb5bcb020f22.jpg","text":"TemporaryFile(/tmp/multipartBody2038072533791912870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_58_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/26/f2d060fc483d00adce03e5514d9d553c.jpg","text":"TemporaryFile(/tmp/multipartBody1952264154633132138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_57_57_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/26/0c6c83d921705355d18eea74662bdd15.jpg","text":"TemporaryFile(/tmp/multipartBody7908357655944822285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_58_46_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef1d9e9a920848451252072b476b530a.jpg","text":"TemporaryFile(/tmp/multipartBody335048496257206645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_58_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/26/1a7309788e4312117eb904cdcc052300.jpg","text":"TemporaryFile(/tmp/multipartBody7100092968496682700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850113428,"filename":"image_26012025_00_58_27_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331501545","file1":"1331501533","file0":"1331501478","file4":"1331501609","file5":"1331501612","file3":"1331501584"},"map_files_photo_id_array":[{"photo_id":"1331501612","filename":"file5"},{"photo_id":"1331501545","filename":"file2"},{"photo_id":"1331501609","filename":"file4"},{"photo_id":"1331501533","filename":"file1"},{"photo_id":"1331501478","filename":"file0"},{"photo_id":"1331501584","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331501545":["hashtag1","hashtag2"]},{"1331501533":["hashtag1","hashtag2"]},{"1331501478":["hashtag1","hashtag2"]},{"1331501612":["hashtag1","hashtag2"]},{"1331501609":["hashtag1","hashtag2"]},{"1331501584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331501545, 1331501533, 1331501478, 1331501612, 1331501609, 1331501584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84609532356262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:08:32.687513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_57_10401.jpg', '/home/pi/Desktop/images/26012025/00/58/image_26012025_00_59_06_9345.jpg', '/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_17_10404.jpg', '/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_26_9343.jpg', '/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_36_10359.jpg', '/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_47_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_58_57_10401.jpg
/home/pi/Desktop/images/26012025/00/58/image_26012025_00_59_06_9345.jpg
/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_17_10404.jpg
/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_26_9343.jpg
/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_36_10359.jpg
/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_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":["1331501670","1331501667","1331501676","1331501663","1331501672","1331501674"],"photo_ids_order":["1331501663","1331501667","1331501670","1331501672","1331501674","1331501676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/763e44ea653971dd03f1d34bb82de002.jpg","text":"TemporaryFile(/tmp/multipartBody5172351540767971767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_59_17_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bf17c1d1c32f3d1b88bdce7dfefaeaa.jpg","text":"TemporaryFile(/tmp/multipartBody2857288404458997103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_59_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/26/0af405b3f6fd59b8ab8d18337e1d7410.jpg","text":"TemporaryFile(/tmp/multipartBody2180030215632173686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_59_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/26/595f8c9b8b2081e438c9eeaaa00e032d.jpg","text":"TemporaryFile(/tmp/multipartBody205229983777198343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_58_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/090a34395bdf97f158f411ef53cd997a.jpg","text":"TemporaryFile(/tmp/multipartBody3954611371502685024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_59_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/26/8c7d3ba22f0302b314865e2be82c2baf.jpg","text":"TemporaryFile(/tmp/multipartBody2908449569531304055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850173625,"filename":"image_26012025_00_59_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331501670","file1":"1331501667","file0":"1331501663","file4":"1331501674","file5":"1331501676","file3":"1331501672"},"map_files_photo_id_array":[{"photo_id":"1331501676","filename":"file5"},{"photo_id":"1331501670","filename":"file2"},{"photo_id":"1331501674","filename":"file4"},{"photo_id":"1331501667","filename":"file1"},{"photo_id":"1331501663","filename":"file0"},{"photo_id":"1331501672","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331501670":["hashtag1","hashtag2"]},{"1331501667":["hashtag1","hashtag2"]},{"1331501676":["hashtag1","hashtag2"]},{"1331501663":["hashtag1","hashtag2"]},{"1331501672":["hashtag1","hashtag2"]},{"1331501674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331501670, 1331501667, 1331501676, 1331501663, 1331501672, 1331501674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.802159547805786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:09:32.926324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_56_9356.jpg', '/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_15_10070.jpg', '/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_25_10415.jpg', '/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_35_10339.jpg', '/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_45_9348.jpg', '/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_55_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/00/59/image_26012025_00_59_56_9356.jpg
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_15_10070.jpg
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_25_10415.jpg
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_35_10339.jpg
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_45_9348.jpg
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_01_55_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502281","1331502309","1331502278","1331502227","1331502308","1331502230"],"photo_ids_order":["1331502227","1331502230","1331502278","1331502281","1331502308","1331502309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8352676f1c7a0270e222708cb5c51080.jpg","text":"TemporaryFile(/tmp/multipartBody3027629242805654004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_01_01_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac157021639a2814f1d3a83ee78b4112.jpg","text":"TemporaryFile(/tmp/multipartBody4287838913797058390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_01_01_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14fbe69dc68d1ce0dfb4ca08bd9017ec.jpg","text":"TemporaryFile(/tmp/multipartBody3156122314458516893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_01_01_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/26/2d3999ce1cf28682cc278bb643584337.jpg","text":"TemporaryFile(/tmp/multipartBody3142302349667035400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_00_59_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/26/6fdbce99ed289485594d8265c327927c.jpg","text":"TemporaryFile(/tmp/multipartBody6156256821011228611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_01_01_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/26/0e4caa6b6d5376373038de7972699e58.jpg","text":"TemporaryFile(/tmp/multipartBody7849455372877057252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850233854,"filename":"image_26012025_01_01_15_10070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502278","file1":"1331502230","file0":"1331502227","file4":"1331502308","file5":"1331502309","file3":"1331502281"},"map_files_photo_id_array":[{"photo_id":"1331502309","filename":"file5"},{"photo_id":"1331502278","filename":"file2"},{"photo_id":"1331502308","filename":"file4"},{"photo_id":"1331502230","filename":"file1"},{"photo_id":"1331502227","filename":"file0"},{"photo_id":"1331502281","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502281":["hashtag1","hashtag2"]},{"1331502309":["hashtag1","hashtag2"]},{"1331502278":["hashtag1","hashtag2"]},{"1331502227":["hashtag1","hashtag2"]},{"1331502308":["hashtag1","hashtag2"]},{"1331502230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502281, 1331502309, 1331502278, 1331502227, 1331502308, 1331502230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80433177947998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:10:33.174738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/01/image_26012025_01_02_05_10351.jpg', '/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_15_9328.jpg', '/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_25_10392.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_15_10327.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_35_9438.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_55_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_02_05_10351.jpg
/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_15_9328.jpg
/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_25_10392.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_15_10327.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_35_9438.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_55_9423.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5298035144805908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:10:43.179066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/01/image_26012025_01_02_05_10351.jpg', '/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_15_9328.jpg', '/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_25_10392.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_15_10327.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_35_9438.jpg', '/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_55_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/01/image_26012025_01_02_05_10351.jpg
/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_15_9328.jpg
/home/pi/Desktop/images/26012025/01/02/image_26012025_01_02_25_10392.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_15_10327.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_35_9438.jpg
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_03_55_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502372","1331502375","1331502369","1331502359","1331502367","1331502364"],"photo_ids_order":["1331502359","1331502364","1331502367","1331502369","1331502372","1331502375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34d13414e40fee638894810777900f17.jpg","text":"TemporaryFile(/tmp/multipartBody4868786941777158486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_03_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/26/af87e91d51c3c35c11b24fe3225e107e.jpg","text":"TemporaryFile(/tmp/multipartBody6281447126040515584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_03_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/26/59ec71cf46403de83fcc3d4cc2948d0c.jpg","text":"TemporaryFile(/tmp/multipartBody5180906635908260654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_03_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/26/aa8249131f3f7fbdf7fceae707a814f8.jpg","text":"TemporaryFile(/tmp/multipartBody5848214794816011143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_02_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/26/9706a7c89c9d34aa235fb5cfc6434e47.jpg","text":"TemporaryFile(/tmp/multipartBody9117578952238372278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_02_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/26/0ebc52cba4b17d6f6582f4fa1c448dda.jpg","text":"TemporaryFile(/tmp/multipartBody4585752826042818811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850304087,"filename":"image_26012025_01_02_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502367","file1":"1331502364","file0":"1331502359","file4":"1331502372","file5":"1331502375","file3":"1331502369"},"map_files_photo_id_array":[{"photo_id":"1331502375","filename":"file5"},{"photo_id":"1331502367","filename":"file2"},{"photo_id":"1331502372","filename":"file4"},{"photo_id":"1331502364","filename":"file1"},{"photo_id":"1331502359","filename":"file0"},{"photo_id":"1331502369","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502372":["hashtag1","hashtag2"]},{"1331502375":["hashtag1","hashtag2"]},{"1331502369":["hashtag1","hashtag2"]},{"1331502359":["hashtag1","hashtag2"]},{"1331502367":["hashtag1","hashtag2"]},{"1331502364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502372, 1331502375, 1331502369, 1331502359, 1331502367, 1331502364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45482301712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:11:32.285831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/03/image_26012025_01_04_05_10337.jpg', '/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_15_10332.jpg', '/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_25_9456.jpg', '/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_35_10403.jpg', '/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_46_10357.jpg', '/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_55_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/03/image_26012025_01_04_05_10337.jpg
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_15_10332.jpg
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_25_9456.jpg
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_35_10403.jpg
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_46_10357.jpg
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_04_55_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":["1331502393","1331502387","1331502381","1331502389","1331502383","1331502391"],"photo_ids_order":["1331502381","1331502383","1331502387","1331502389","1331502391","1331502393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae03452f76c5874ffd5375127581dc29.jpg","text":"TemporaryFile(/tmp/multipartBody1913880865537656063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_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/26/fe6595df74a32e8016c7313becde8b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3787835942916499693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_25_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ee1057e8f267a28cf53f12a12a33721.jpg","text":"TemporaryFile(/tmp/multipartBody7759431471990602056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_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/26/eea4840c00afff315de294e128a0650a.jpg","text":"TemporaryFile(/tmp/multipartBody1850497954792599370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_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/26/dffd9a81f0cae9df00622f82197e9de4.jpg","text":"TemporaryFile(/tmp/multipartBody6043842426203003593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a63ea56f495ab26dd646344a73b2caa9.jpg","text":"TemporaryFile(/tmp/multipartBody4652803201098367068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850353206,"filename":"image_26012025_01_04_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502387","file1":"1331502383","file0":"1331502381","file4":"1331502391","file5":"1331502393","file3":"1331502389"},"map_files_photo_id_array":[{"photo_id":"1331502393","filename":"file5"},{"photo_id":"1331502387","filename":"file2"},{"photo_id":"1331502391","filename":"file4"},{"photo_id":"1331502383","filename":"file1"},{"photo_id":"1331502381","filename":"file0"},{"photo_id":"1331502389","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502393":["hashtag1","hashtag2"]},{"1331502387":["hashtag1","hashtag2"]},{"1331502381":["hashtag1","hashtag2"]},{"1331502389":["hashtag1","hashtag2"]},{"1331502383":["hashtag1","hashtag2"]},{"1331502391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502393, 1331502387, 1331502381, 1331502389, 1331502383, 1331502391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4315025806427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:12:32.640688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/04/image_26012025_01_05_05_10324.jpg', '/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_25_10355.jpg', '/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_35_10345.jpg', '/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_45_9340.jpg', '/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_55_10353.jpg', '/home/pi/Desktop/images/26012025/01/05/image_26012025_01_06_05_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/04/image_26012025_01_05_05_10324.jpg
/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_25_10355.jpg
/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_35_10345.jpg
/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_45_9340.jpg
/home/pi/Desktop/images/26012025/01/05/image_26012025_01_05_55_10353.jpg
/home/pi/Desktop/images/26012025/01/05/image_26012025_01_06_05_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502432","1331502443","1331502446","1331502440","1331502437","1331502445"],"photo_ids_order":["1331502432","1331502437","1331502440","1331502443","1331502445","1331502446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3afcb2d60ab8b1a92e3b82558fb0e010.jpg","text":"TemporaryFile(/tmp/multipartBody8783672662770157963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_05_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/140ad3f34c65dfad788dfbb32762ce93.jpg","text":"TemporaryFile(/tmp/multipartBody3319484198925219551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_05_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/26/51638246b8628041fcd0437cda391b69.jpg","text":"TemporaryFile(/tmp/multipartBody5114449351515846600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_06_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/26/77d890e94ef6e38181ecd313669ebd7f.jpg","text":"TemporaryFile(/tmp/multipartBody6815845248362761536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_05_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/26/39f9485e40c22cf1cef819c3b4f190d0.jpg","text":"TemporaryFile(/tmp/multipartBody8150721119160099370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_05_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/26/9f8458e797c1de0ed437252e5d648ea5.jpg","text":"TemporaryFile(/tmp/multipartBody140870124636322058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850413578,"filename":"image_26012025_01_05_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502440","file1":"1331502437","file0":"1331502432","file4":"1331502445","file5":"1331502446","file3":"1331502443"},"map_files_photo_id_array":[{"photo_id":"1331502446","filename":"file5"},{"photo_id":"1331502440","filename":"file2"},{"photo_id":"1331502445","filename":"file4"},{"photo_id":"1331502437","filename":"file1"},{"photo_id":"1331502432","filename":"file0"},{"photo_id":"1331502443","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502432":["hashtag1","hashtag2"]},{"1331502443":["hashtag1","hashtag2"]},{"1331502446":["hashtag1","hashtag2"]},{"1331502440":["hashtag1","hashtag2"]},{"1331502437":["hashtag1","hashtag2"]},{"1331502445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502432, 1331502443, 1331502446, 1331502440, 1331502437, 1331502445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12387704849243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:13:32.985335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_15_9338.jpg', '/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_25_10343.jpg', '/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_35_10348.jpg', '/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_45_9452.jpg', '/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_55_10356.jpg', '/home/pi/Desktop/images/26012025/01/06/image_26012025_01_07_05_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_15_9338.jpg
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_25_10343.jpg
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_35_10348.jpg
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_45_9452.jpg
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_06_55_10356.jpg
/home/pi/Desktop/images/26012025/01/06/image_26012025_01_07_05_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":["1331502489","1331502480","1331502470","1331502464","1331502467","1331502490"],"photo_ids_order":["1331502464","1331502467","1331502470","1331502480","1331502489","1331502490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d5b5076dbd37fdc4f443185ee51783f.jpg","text":"TemporaryFile(/tmp/multipartBody3633700239341942494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_06_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/26/9bbd9e9fff15716a8f650e35c34bf593.jpg","text":"TemporaryFile(/tmp/multipartBody14295661009605660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_06_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/26/c81e617cc807a29e9dd4b0e4c9abd42d.jpg","text":"TemporaryFile(/tmp/multipartBody4450430551103181721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_06_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/26/875585282b11d83c41c94f637a7fdfb5.jpg","text":"TemporaryFile(/tmp/multipartBody935475815131020621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_06_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/26/ed0d75c92eee8f58779e68208b4b8e03.jpg","text":"TemporaryFile(/tmp/multipartBody4070172613242327871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_06_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/895108d735dd0b8e099a65a04a2d2268.jpg","text":"TemporaryFile(/tmp/multipartBody1024903406148707857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850473915,"filename":"image_26012025_01_07_05_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502470","file1":"1331502467","file0":"1331502464","file4":"1331502489","file5":"1331502490","file3":"1331502480"},"map_files_photo_id_array":[{"photo_id":"1331502490","filename":"file5"},{"photo_id":"1331502470","filename":"file2"},{"photo_id":"1331502489","filename":"file4"},{"photo_id":"1331502467","filename":"file1"},{"photo_id":"1331502464","filename":"file0"},{"photo_id":"1331502480","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502489":["hashtag1","hashtag2"]},{"1331502480":["hashtag1","hashtag2"]},{"1331502470":["hashtag1","hashtag2"]},{"1331502464":["hashtag1","hashtag2"]},{"1331502467":["hashtag1","hashtag2"]},{"1331502490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502489, 1331502480, 1331502470, 1331502464, 1331502467, 1331502490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.442126750946045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:14:32.169380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_25_10423.jpg', '/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_35_9322.jpg', '/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_45_10357.jpg', '/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_55_10354.jpg', '/home/pi/Desktop/images/26012025/01/07/image_26012025_01_08_05_9328.jpg', '/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_15_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_25_10423.jpg
/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_35_9322.jpg
/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_45_10357.jpg
/home/pi/Desktop/images/26012025/01/07/image_26012025_01_07_55_10354.jpg
/home/pi/Desktop/images/26012025/01/07/image_26012025_01_08_05_9328.jpg
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_15_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502555","1331502557","1331502542","1331502551","1331502545","1331502548"],"photo_ids_order":["1331502542","1331502545","1331502548","1331502551","1331502555","1331502557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77a1a37d9f44f90eddfdbfc65e5da431.jpg","text":"TemporaryFile(/tmp/multipartBody243542779113244252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_08_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/26/4685f530cd61acc0067bbeeca7355a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7640501100080244504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_08_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/26/e333d6a69ee205f90225ca38fcfec8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1188764849340221646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_07_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/26/19b72487b7a37654c3d00f450632db16.jpg","text":"TemporaryFile(/tmp/multipartBody6553562997947400620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_07_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/26/bff99463d968b2ca6d5820d454f47860.jpg","text":"TemporaryFile(/tmp/multipartBody6727443766240787839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_07_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b63cad360af56d1d5923cf77f2983e8.jpg","text":"TemporaryFile(/tmp/multipartBody8087089456595510335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850533080,"filename":"image_26012025_01_07_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502548","file1":"1331502545","file0":"1331502542","file4":"1331502555","file5":"1331502557","file3":"1331502551"},"map_files_photo_id_array":[{"photo_id":"1331502557","filename":"file5"},{"photo_id":"1331502548","filename":"file2"},{"photo_id":"1331502555","filename":"file4"},{"photo_id":"1331502545","filename":"file1"},{"photo_id":"1331502542","filename":"file0"},{"photo_id":"1331502551","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502555":["hashtag1","hashtag2"]},{"1331502557":["hashtag1","hashtag2"]},{"1331502542":["hashtag1","hashtag2"]},{"1331502551":["hashtag1","hashtag2"]},{"1331502545":["hashtag1","hashtag2"]},{"1331502548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502555, 1331502557, 1331502542, 1331502551, 1331502545, 1331502548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87423038482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:15:32.293087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_25_10342.jpg', '/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_35_9417.jpg', '/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_45_10367.jpg', '/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_55_9502.jpg', '/home/pi/Desktop/images/26012025/01/08/image_26012025_01_09_05_10327.jpg', '/home/pi/Desktop/images/26012025/01/09/image_26012025_01_09_15_9456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_25_10342.jpg
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_35_9417.jpg
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_45_10367.jpg
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_08_55_9502.jpg
/home/pi/Desktop/images/26012025/01/08/image_26012025_01_09_05_10327.jpg
/home/pi/Desktop/images/26012025/01/09/image_26012025_01_09_15_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502582","1331502576","1331502579","1331502570","1331502573","1331502581"],"photo_ids_order":["1331502570","1331502573","1331502576","1331502579","1331502581","1331502582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c07e6fcb2a6234d448b030d168b97e3.jpg","text":"TemporaryFile(/tmp/multipartBody6574547203692410300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_09_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b199d2358148246d37772ec66a2c432d.jpg","text":"TemporaryFile(/tmp/multipartBody9145780864029382317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_08_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/26/d1410b620c3df41c33806fde34662857.jpg","text":"TemporaryFile(/tmp/multipartBody2998439616724574651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_08_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/26/5bca2936428e80264900e316b0eb2932.jpg","text":"TemporaryFile(/tmp/multipartBody4392945133207856074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_08_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/26/081ffd9b108b2ef57640d6b6a6d1daec.jpg","text":"TemporaryFile(/tmp/multipartBody6318697962842796229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_08_35_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8c9884f70ba63c345b66e05d7c0e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1207000404314512189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850593231,"filename":"image_26012025_01_09_05_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502576","file1":"1331502573","file0":"1331502570","file4":"1331502581","file5":"1331502582","file3":"1331502579"},"map_files_photo_id_array":[{"photo_id":"1331502582","filename":"file5"},{"photo_id":"1331502576","filename":"file2"},{"photo_id":"1331502581","filename":"file4"},{"photo_id":"1331502573","filename":"file1"},{"photo_id":"1331502570","filename":"file0"},{"photo_id":"1331502579","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502582":["hashtag1","hashtag2"]},{"1331502576":["hashtag1","hashtag2"]},{"1331502579":["hashtag1","hashtag2"]},{"1331502570":["hashtag1","hashtag2"]},{"1331502573":["hashtag1","hashtag2"]},{"1331502581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502582, 1331502576, 1331502579, 1331502570, 1331502573, 1331502581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.576584815979004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:16:32.630066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/10/image_26012025_01_10_15_9401.jpg', '/home/pi/Desktop/images/26012025/01/10/image_26012025_01_10_25_10364.jpg', '/home/pi/Desktop/images/26012025/01/11/image_26012025_01_11_55_10347.jpg', '/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_15_10354.jpg', '/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_25_10346.jpg', '/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_35_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/10/image_26012025_01_10_15_9401.jpg
/home/pi/Desktop/images/26012025/01/10/image_26012025_01_10_25_10364.jpg
/home/pi/Desktop/images/26012025/01/11/image_26012025_01_11_55_10347.jpg
/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_15_10354.jpg
/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_25_10346.jpg
/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_35_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331502609","1331502644","1331502614","1331502640","1331502643","1331502601"],"photo_ids_order":["1331502601","1331502609","1331502614","1331502640","1331502643","1331502644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e3a8209bac496c52cd29d1992f31126.jpg","text":"TemporaryFile(/tmp/multipartBody1063619525520625328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_10_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/26/43b702b0f68bf1a8d1e343740048e335.jpg","text":"TemporaryFile(/tmp/multipartBody7080489709644025031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_12_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f2d16b347b5d2566495914f02087e65.jpg","text":"TemporaryFile(/tmp/multipartBody2345392499009714320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_11_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/26/5e01ba06637f500107842a52d10f6559.jpg","text":"TemporaryFile(/tmp/multipartBody1712290524377664200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_12_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/26/a13237f13d81caf8d0f9539e987fbaa8.jpg","text":"TemporaryFile(/tmp/multipartBody2000854609363444690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_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/26/35bf03f7e5f29febd5891632245d9a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4310106926086519871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850653555,"filename":"image_26012025_01_10_15_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331502614","file1":"1331502609","file0":"1331502601","file4":"1331502643","file5":"1331502644","file3":"1331502640"},"map_files_photo_id_array":[{"photo_id":"1331502644","filename":"file5"},{"photo_id":"1331502614","filename":"file2"},{"photo_id":"1331502643","filename":"file4"},{"photo_id":"1331502609","filename":"file1"},{"photo_id":"1331502601","filename":"file0"},{"photo_id":"1331502640","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331502609":["hashtag1","hashtag2"]},{"1331502644":["hashtag1","hashtag2"]},{"1331502614":["hashtag1","hashtag2"]},{"1331502640":["hashtag1","hashtag2"]},{"1331502643":["hashtag1","hashtag2"]},{"1331502601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331502609, 1331502644, 1331502614, 1331502640, 1331502643, 1331502601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9907648563385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:17:32.830939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_55_9423.jpg', '/home/pi/Desktop/images/26012025/01/12/image_26012025_01_13_05_10368.jpg', '/home/pi/Desktop/images/26012025/01/13/image_26012025_01_13_55_10386.jpg', '/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_15_9396.jpg', '/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_35_10338.jpg', '/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_45_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/12/image_26012025_01_12_55_9423.jpg
/home/pi/Desktop/images/26012025/01/12/image_26012025_01_13_05_10368.jpg
/home/pi/Desktop/images/26012025/01/13/image_26012025_01_13_55_10386.jpg
/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_15_9396.jpg
/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_35_10338.jpg
/home/pi/Desktop/images/26012025/01/14/image_26012025_01_14_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":["1331503326","1331503320","1331503323","1331503317","1331502938","1331503129"],"photo_ids_order":["1331502938","1331503129","1331503317","1331503320","1331503323","1331503326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a60b5d7205b55a25cb3e7cab1eaedd0c.jpg","text":"TemporaryFile(/tmp/multipartBody3209516579929792550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_14_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/26/256a397fe3759e84ccf6b14fc0244992.jpg","text":"TemporaryFile(/tmp/multipartBody1384066704920813165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_14_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/26/23d25ee197b9ddef97331444ed665617.jpg","text":"TemporaryFile(/tmp/multipartBody3209466070017119044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_14_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/26/5ad36e5061ca464917fb6a00010c3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8923577021632221939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_13_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/26/dfece39c5389c41e3f3b4ef0c6c17332.jpg","text":"TemporaryFile(/tmp/multipartBody4501355389156229502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_12_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/26/4e87a6ac1fc32855d222b1c7bd05f3bc.jpg","text":"TemporaryFile(/tmp/multipartBody4939569676592710354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850713754,"filename":"image_26012025_01_13_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503317","file1":"1331503129","file0":"1331502938","file4":"1331503323","file5":"1331503326","file3":"1331503320"},"map_files_photo_id_array":[{"photo_id":"1331503326","filename":"file5"},{"photo_id":"1331503317","filename":"file2"},{"photo_id":"1331503323","filename":"file4"},{"photo_id":"1331503129","filename":"file1"},{"photo_id":"1331502938","filename":"file0"},{"photo_id":"1331503320","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503326":["hashtag1","hashtag2"]},{"1331503320":["hashtag1","hashtag2"]},{"1331503323":["hashtag1","hashtag2"]},{"1331503317":["hashtag1","hashtag2"]},{"1331502938":["hashtag1","hashtag2"]},{"1331503129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503326, 1331503320, 1331503323, 1331503317, 1331502938, 1331503129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.555564403533936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:18:33.044752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/14/image_26012025_01_15_05_10332.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_15_9363.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_25_10353.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_35_10328.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_45_9405.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_55_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/14/image_26012025_01_15_05_10332.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_15_9363.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_25_10353.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_35_10328.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_45_9405.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_55_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.5371866226196289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:18:43.089787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/14/image_26012025_01_15_05_10332.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_15_9363.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_25_10353.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_35_10328.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_45_9405.jpg', '/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_55_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/14/image_26012025_01_15_05_10332.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_15_9363.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_25_10353.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_35_10328.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_45_9405.jpg
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_15_55_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":["1331503547","1331503562","1331503564","1331503558","1331503560","1331503554"],"photo_ids_order":["1331503547","1331503554","1331503558","1331503560","1331503562","1331503564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4754c7dfd4fabc89df9cb102da390e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1604902885640981137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45700996925bd2d3cb5be3fbe27f1d4f.jpg","text":"TemporaryFile(/tmp/multipartBody438803383201142573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f183d9beb1c4ec10fe9c4add9d3e3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7668038276384377525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/98fd6115acaa4933428e2b603d442ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2174647450865623745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_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/26/68d3e4bc4bbe0ee2970a2548a6dce3b8.jpg","text":"TemporaryFile(/tmp/multipartBody7096228679618178393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa490425c60e5926a798857da5b56130.jpg","text":"TemporaryFile(/tmp/multipartBody6154547842570719987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850784008,"filename":"image_26012025_01_15_15_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503558","file1":"1331503554","file0":"1331503547","file4":"1331503562","file5":"1331503564","file3":"1331503560"},"map_files_photo_id_array":[{"photo_id":"1331503564","filename":"file5"},{"photo_id":"1331503558","filename":"file2"},{"photo_id":"1331503562","filename":"file4"},{"photo_id":"1331503554","filename":"file1"},{"photo_id":"1331503547","filename":"file0"},{"photo_id":"1331503560","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503547":["hashtag1","hashtag2"]},{"1331503562":["hashtag1","hashtag2"]},{"1331503564":["hashtag1","hashtag2"]},{"1331503558":["hashtag1","hashtag2"]},{"1331503560":["hashtag1","hashtag2"]},{"1331503554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503547, 1331503562, 1331503564, 1331503558, 1331503560, 1331503554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46462893486023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:19:33.581769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/15/image_26012025_01_16_05_9478.jpg', '/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_15_10412.jpg', '/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_35_9332.jpg', '/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_45_10345.jpg', '/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_55_9491.jpg', '/home/pi/Desktop/images/26012025/01/16/image_26012025_01_17_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/15/image_26012025_01_16_05_9478.jpg
/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_15_10412.jpg
/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_35_9332.jpg
/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_45_10345.jpg
/home/pi/Desktop/images/26012025/01/16/image_26012025_01_16_55_9491.jpg
/home/pi/Desktop/images/26012025/01/16/image_26012025_01_17_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":["1331503626","1331503595","1331503628","1331503570","1331503599","1331503578"],"photo_ids_order":["1331503570","1331503578","1331503595","1331503599","1331503626","1331503628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af98d8b17daec4c4367fb9def0442d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7034665320835339729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_16_55_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/26/ddf206809eac150262e6ae55b7531719.jpg","text":"TemporaryFile(/tmp/multipartBody3053753885844137973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_16_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/26/3ad50f91b0b80115a0c625c89d5a78cc.jpg","text":"TemporaryFile(/tmp/multipartBody7216437855786906619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_17_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/26/153b13a4ce0a8d0ae070d90ca584b128.jpg","text":"TemporaryFile(/tmp/multipartBody940093324952889475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_16_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/26/7d96d02648165e9d351651a386dfcd0c.jpg","text":"TemporaryFile(/tmp/multipartBody960260432328442238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_16_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/26/5b678e55099b7801d5bd42310b2221fd.jpg","text":"TemporaryFile(/tmp/multipartBody692502787104153732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850834499,"filename":"image_26012025_01_16_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503595","file1":"1331503578","file0":"1331503570","file4":"1331503626","file5":"1331503628","file3":"1331503599"},"map_files_photo_id_array":[{"photo_id":"1331503628","filename":"file5"},{"photo_id":"1331503595","filename":"file2"},{"photo_id":"1331503626","filename":"file4"},{"photo_id":"1331503578","filename":"file1"},{"photo_id":"1331503570","filename":"file0"},{"photo_id":"1331503599","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503626":["hashtag1","hashtag2"]},{"1331503595":["hashtag1","hashtag2"]},{"1331503628":["hashtag1","hashtag2"]},{"1331503570":["hashtag1","hashtag2"]},{"1331503599":["hashtag1","hashtag2"]},{"1331503578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503626, 1331503595, 1331503628, 1331503570, 1331503599, 1331503578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8948392868042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:20:32.395675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_15_10327.jpg', '/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_25_9428.jpg', '/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_35_10329.jpg', '/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_45_10354.jpg', '/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_55_9349.jpg', '/home/pi/Desktop/images/26012025/01/17/image_26012025_01_18_05_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_15_10327.jpg
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_25_9428.jpg
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_35_10329.jpg
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_45_10354.jpg
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_17_55_9349.jpg
/home/pi/Desktop/images/26012025/01/17/image_26012025_01_18_05_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331503685","1331503688","1331503681","1331503636","1331503689","1331503641"],"photo_ids_order":["1331503636","1331503641","1331503681","1331503685","1331503688","1331503689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3118278d9286bcf6762440b74e20ff5d.jpg","text":"TemporaryFile(/tmp/multipartBody6536416644773227972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_17_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/26/8a313f51bd8e53de4926cbcb2356b164.jpg","text":"TemporaryFile(/tmp/multipartBody6737870080830551563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_17_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/26/8413943e733a03f466c75dc2b22094fa.jpg","text":"TemporaryFile(/tmp/multipartBody8575258821318516872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_17_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7cd4f9a6b48d15f550cecf587e718299.jpg","text":"TemporaryFile(/tmp/multipartBody9200734283168881773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_17_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/26/d4cfe0355ccf1fd480a5a15eedc75933.jpg","text":"TemporaryFile(/tmp/multipartBody6216653380273009408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_18_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1914fa76340649903596d0dff88c0f8d.jpg","text":"TemporaryFile(/tmp/multipartBody606078640067442288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850893317,"filename":"image_26012025_01_17_25_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503681","file1":"1331503641","file0":"1331503636","file4":"1331503688","file5":"1331503689","file3":"1331503685"},"map_files_photo_id_array":[{"photo_id":"1331503689","filename":"file5"},{"photo_id":"1331503681","filename":"file2"},{"photo_id":"1331503688","filename":"file4"},{"photo_id":"1331503641","filename":"file1"},{"photo_id":"1331503636","filename":"file0"},{"photo_id":"1331503685","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503685":["hashtag1","hashtag2"]},{"1331503688":["hashtag1","hashtag2"]},{"1331503681":["hashtag1","hashtag2"]},{"1331503636":["hashtag1","hashtag2"]},{"1331503689":["hashtag1","hashtag2"]},{"1331503641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503685, 1331503688, 1331503681, 1331503636, 1331503689, 1331503641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77540850639343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:21:32.665693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_15_10323.jpg', '/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_25_9426.jpg', '/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_35_10322.jpg', '/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_45_9473.jpg', '/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_55_10382.jpg', '/home/pi/Desktop/images/26012025/01/18/image_26012025_01_19_05_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_15_10323.jpg
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_25_9426.jpg
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_35_10322.jpg
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_45_9473.jpg
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_18_55_10382.jpg
/home/pi/Desktop/images/26012025/01/18/image_26012025_01_19_05_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331503710","1331503707","1331503697","1331503701","1331503712","1331503705"],"photo_ids_order":["1331503697","1331503701","1331503705","1331503707","1331503710","1331503712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/927e073294a90cdcc6f31be4e61426c6.jpg","text":"TemporaryFile(/tmp/multipartBody1457092372906485687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_18_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2471b1f669f7bf85979112cd9bf3b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody9110572562699849547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_18_45_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa8b6da32905882141f34efbd32c4011.jpg","text":"TemporaryFile(/tmp/multipartBody9190280242200014627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_18_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/26/f39e26862e2f64a02f32f339a647e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody6139692055886308603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_18_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/26/bf51100a5c06ab275c2af2f79e84f324.jpg","text":"TemporaryFile(/tmp/multipartBody2880118708061508038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_19_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3264439e521ae22028ad48ee9bb8e8df.jpg","text":"TemporaryFile(/tmp/multipartBody7221558258010301721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737850953597,"filename":"image_26012025_01_18_35_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503705","file1":"1331503701","file0":"1331503697","file4":"1331503710","file5":"1331503712","file3":"1331503707"},"map_files_photo_id_array":[{"photo_id":"1331503712","filename":"file5"},{"photo_id":"1331503705","filename":"file2"},{"photo_id":"1331503710","filename":"file4"},{"photo_id":"1331503701","filename":"file1"},{"photo_id":"1331503697","filename":"file0"},{"photo_id":"1331503707","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503710":["hashtag1","hashtag2"]},{"1331503707":["hashtag1","hashtag2"]},{"1331503697":["hashtag1","hashtag2"]},{"1331503701":["hashtag1","hashtag2"]},{"1331503712":["hashtag1","hashtag2"]},{"1331503705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503710, 1331503707, 1331503697, 1331503701, 1331503712, 1331503705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73231506347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:22:32.884750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_25_10363.jpg', '/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_35_10342.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_25_10356.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_35_9423.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_45_10348.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_55_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_25_10363.jpg
/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_35_10342.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_25_10356.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_35_9423.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_45_10348.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_55_9448.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5499060153961182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:22:42.897596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_25_10363.jpg', '/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_35_10342.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_25_10356.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_35_9423.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_45_10348.jpg', '/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_55_9448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_25_10363.jpg
/home/pi/Desktop/images/26012025/01/19/image_26012025_01_19_35_10342.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_25_10356.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_35_9423.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_45_10348.jpg
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_20_55_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331503778","1331503774","1331503765","1331503759","1331503770","1331503776"],"photo_ids_order":["1331503759","1331503765","1331503770","1331503774","1331503776","1331503778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a46bebf75bb9d57078eef350406c4150.jpg","text":"TemporaryFile(/tmp/multipartBody9155200466822908632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_20_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/26/5dcfc92add2004641056f9f11d701ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6419685566540825763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_20_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/26/e079fd3c885737301fdb42b257c4387b.jpg","text":"TemporaryFile(/tmp/multipartBody1424444236193490634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_19_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/26/d2b77458627926eecce7699dbfee3f75.jpg","text":"TemporaryFile(/tmp/multipartBody6092446039188208085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_19_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/26/b6b3d0e42763b61c4e94eecd70a52f4c.jpg","text":"TemporaryFile(/tmp/multipartBody6819284369166713470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_20_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/26/00666c0672282173302a3487e1427a25.jpg","text":"TemporaryFile(/tmp/multipartBody8795835311443954666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851023822,"filename":"image_26012025_01_20_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503770","file1":"1331503765","file0":"1331503759","file4":"1331503776","file5":"1331503778","file3":"1331503774"},"map_files_photo_id_array":[{"photo_id":"1331503778","filename":"file5"},{"photo_id":"1331503770","filename":"file2"},{"photo_id":"1331503776","filename":"file4"},{"photo_id":"1331503765","filename":"file1"},{"photo_id":"1331503759","filename":"file0"},{"photo_id":"1331503774","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503778":["hashtag1","hashtag2"]},{"1331503774":["hashtag1","hashtag2"]},{"1331503765":["hashtag1","hashtag2"]},{"1331503759":["hashtag1","hashtag2"]},{"1331503770":["hashtag1","hashtag2"]},{"1331503776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503778, 1331503774, 1331503765, 1331503759, 1331503770, 1331503776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43610167503357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:23:33.074159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/20/image_26012025_01_21_05_10386.jpg', '/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_15_10327.jpg', '/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_25_9418.jpg', '/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_55_9438.jpg', '/home/pi/Desktop/images/26012025/01/21/image_26012025_01_22_05_10314.jpg', '/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_15_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/20/image_26012025_01_21_05_10386.jpg
/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_15_10327.jpg
/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_25_9418.jpg
/home/pi/Desktop/images/26012025/01/21/image_26012025_01_21_55_9438.jpg
/home/pi/Desktop/images/26012025/01/21/image_26012025_01_22_05_10314.jpg
/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331503793","1331503800","1331503789","1331503797","1331503801","1331503785"],"photo_ids_order":["1331503785","1331503789","1331503793","1331503797","1331503800","1331503801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2909216bd7489ad6f944910bc40edbf9.jpg","text":"TemporaryFile(/tmp/multipartBody5529391506178129950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_21_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/26/cafad0b4bed19fd4c2f625b4e7f64447.jpg","text":"TemporaryFile(/tmp/multipartBody4715706191446621051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_22_05_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0e74736d67066535233ec5ecf88d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody4451112873470089604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_21_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/26/0a9fe30b8f047dac97a2ed678340d26d.jpg","text":"TemporaryFile(/tmp/multipartBody7298326626018668000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_21_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/26/393fb765f82e4394b4d7486e33f7b1be.jpg","text":"TemporaryFile(/tmp/multipartBody7682744771896280626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_22_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cdcf5a383ba65460eee7da1a30c85c30.jpg","text":"TemporaryFile(/tmp/multipartBody7313114886268060898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851074004,"filename":"image_26012025_01_21_05_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503793","file1":"1331503789","file0":"1331503785","file4":"1331503800","file5":"1331503801","file3":"1331503797"},"map_files_photo_id_array":[{"photo_id":"1331503801","filename":"file5"},{"photo_id":"1331503793","filename":"file2"},{"photo_id":"1331503800","filename":"file4"},{"photo_id":"1331503789","filename":"file1"},{"photo_id":"1331503785","filename":"file0"},{"photo_id":"1331503797","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503793":["hashtag1","hashtag2"]},{"1331503800":["hashtag1","hashtag2"]},{"1331503789":["hashtag1","hashtag2"]},{"1331503797":["hashtag1","hashtag2"]},{"1331503801":["hashtag1","hashtag2"]},{"1331503785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503793, 1331503800, 1331503789, 1331503797, 1331503801, 1331503785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56538414955139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:24:32.154447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_25_9406.jpg', '/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_35_10344.jpg', '/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_55_10381.jpg', '/home/pi/Desktop/images/26012025/01/22/image_26012025_01_23_05_10324.jpg', '/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_15_9333.jpg', '/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_35_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_25_9406.jpg
/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_35_10344.jpg
/home/pi/Desktop/images/26012025/01/22/image_26012025_01_22_55_10381.jpg
/home/pi/Desktop/images/26012025/01/22/image_26012025_01_23_05_10324.jpg
/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_15_9333.jpg
/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_35_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331503824","1331503829","1331503808","1331503819","1331503828","1331503813"],"photo_ids_order":["1331503808","1331503813","1331503819","1331503824","1331503828","1331503829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ca663dc0f943caebb1358adfb6accf0.jpg","text":"TemporaryFile(/tmp/multipartBody6990341961881812777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_23_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a668d7accd99c16ab4063448edecc6b5.jpg","text":"TemporaryFile(/tmp/multipartBody1607061820170609964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_23_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/26/ca59afd1ab89e52722ee6f31a2ab40ee.jpg","text":"TemporaryFile(/tmp/multipartBody1593955395251539346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_22_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0cff9527223d4509fb6511b948b5134.jpg","text":"TemporaryFile(/tmp/multipartBody4068539276386760044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_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/26/fdaa112e383f24ca04756928bdd24e12.jpg","text":"TemporaryFile(/tmp/multipartBody6187172761028729085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_23_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/26/d930309cfe72de5009282a715618d361.jpg","text":"TemporaryFile(/tmp/multipartBody4075600509796134108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851133063,"filename":"image_26012025_01_22_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503819","file1":"1331503813","file0":"1331503808","file4":"1331503828","file5":"1331503829","file3":"1331503824"},"map_files_photo_id_array":[{"photo_id":"1331503829","filename":"file5"},{"photo_id":"1331503819","filename":"file2"},{"photo_id":"1331503828","filename":"file4"},{"photo_id":"1331503813","filename":"file1"},{"photo_id":"1331503808","filename":"file0"},{"photo_id":"1331503824","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503824":["hashtag1","hashtag2"]},{"1331503829":["hashtag1","hashtag2"]},{"1331503808":["hashtag1","hashtag2"]},{"1331503819":["hashtag1","hashtag2"]},{"1331503828":["hashtag1","hashtag2"]},{"1331503813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503824, 1331503829, 1331503808, 1331503819, 1331503828, 1331503813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58535552024841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:25:32.412192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_45_9445.jpg', '/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_55_10351.jpg', '/home/pi/Desktop/images/26012025/01/23/image_26012025_01_24_05_9406.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_15_10334.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_25_10406.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_35_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_45_9445.jpg
/home/pi/Desktop/images/26012025/01/23/image_26012025_01_23_55_10351.jpg
/home/pi/Desktop/images/26012025/01/23/image_26012025_01_24_05_9406.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_15_10334.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_25_10406.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_35_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":["1331503991","1331503960","1331503951","1331503906","1331503900","1331503992"],"photo_ids_order":["1331503900","1331503906","1331503951","1331503960","1331503991","1331503992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea0e67fc1f77336014261d48178334ea.jpg","text":"TemporaryFile(/tmp/multipartBody6856850797552709400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_24_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/26/562a63778ad36995e20fe72d021720ca.jpg","text":"TemporaryFile(/tmp/multipartBody4216089979686407114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_24_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/26/735524e32363c927df48416b1945ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody4944154581429260449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_24_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/26/3f54b83493100565063df5bbf4683dbe.jpg","text":"TemporaryFile(/tmp/multipartBody9193008772502624965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_23_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/26/cd02eab7ff1696806bcbed7a0dc6df6e.jpg","text":"TemporaryFile(/tmp/multipartBody4371505288936607324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_23_45_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d45d4c8aeb6109d27771216ff014bf1.jpg","text":"TemporaryFile(/tmp/multipartBody594309609701356282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851193365,"filename":"image_26012025_01_24_35_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331503951","file1":"1331503906","file0":"1331503900","file4":"1331503991","file5":"1331503992","file3":"1331503960"},"map_files_photo_id_array":[{"photo_id":"1331503992","filename":"file5"},{"photo_id":"1331503951","filename":"file2"},{"photo_id":"1331503991","filename":"file4"},{"photo_id":"1331503906","filename":"file1"},{"photo_id":"1331503900","filename":"file0"},{"photo_id":"1331503960","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331503991":["hashtag1","hashtag2"]},{"1331503960":["hashtag1","hashtag2"]},{"1331503951":["hashtag1","hashtag2"]},{"1331503906":["hashtag1","hashtag2"]},{"1331503900":["hashtag1","hashtag2"]},{"1331503992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331503991, 1331503960, 1331503951, 1331503906, 1331503900, 1331503992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63489508628845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:26:32.621408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_45_10345.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_55_10355.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_25_05_9411.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_15_10340.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_25_9397.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_35_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_45_10345.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_55_10355.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_25_05_9411.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_15_10340.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_25_9397.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_35_10408.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5464544296264648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:26:42.585053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_45_10345.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_55_10355.jpg', '/home/pi/Desktop/images/26012025/01/24/image_26012025_01_25_05_9411.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_15_10340.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_25_9397.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_35_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_45_10345.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_24_55_10355.jpg
/home/pi/Desktop/images/26012025/01/24/image_26012025_01_25_05_9411.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_15_10340.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_25_9397.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_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":["1331504025","1331504054","1331504015","1331504056","1331504020","1331504059"],"photo_ids_order":["1331504015","1331504020","1331504025","1331504054","1331504056","1331504059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b66971b6f7ea979a5ace2bd22b345ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6856544940342580465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_25_05_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c8b9046c20d5c1ad5775aa50f235625.jpg","text":"TemporaryFile(/tmp/multipartBody5853286883129886166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_25_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/26/d8c80c9cd44e438c9092b0a77244ffc6.jpg","text":"TemporaryFile(/tmp/multipartBody3799121245795763099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_24_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/26/8ffb548ffba4d4cbac67b0d17325f7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4403911147862818645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_25_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/26/483e68c3f226cd20b0388b99105aacc4.jpg","text":"TemporaryFile(/tmp/multipartBody2563271297844811573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_24_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4d00b7d6bbf3ae7a08c419184eb36c0e.jpg","text":"TemporaryFile(/tmp/multipartBody7115601624415418115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851263491,"filename":"image_26012025_01_25_35_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504025","file1":"1331504020","file0":"1331504015","file4":"1331504056","file5":"1331504059","file3":"1331504054"},"map_files_photo_id_array":[{"photo_id":"1331504059","filename":"file5"},{"photo_id":"1331504025","filename":"file2"},{"photo_id":"1331504056","filename":"file4"},{"photo_id":"1331504020","filename":"file1"},{"photo_id":"1331504015","filename":"file0"},{"photo_id":"1331504054","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504025":["hashtag1","hashtag2"]},{"1331504054":["hashtag1","hashtag2"]},{"1331504015":["hashtag1","hashtag2"]},{"1331504056":["hashtag1","hashtag2"]},{"1331504020":["hashtag1","hashtag2"]},{"1331504059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504025, 1331504054, 1331504015, 1331504056, 1331504020, 1331504059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.530574321746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:27:32.864705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_55_9347.jpg', '/home/pi/Desktop/images/26012025/01/25/image_26012025_01_26_05_10338.jpg', '/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_15_10343.jpg', '/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_25_9388.jpg', '/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_35_10338.jpg', '/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_45_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_25_55_9347.jpg
/home/pi/Desktop/images/26012025/01/25/image_26012025_01_26_05_10338.jpg
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_15_10343.jpg
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_25_9388.jpg
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_35_10338.jpg
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_45_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504081","1331504075","1331504084","1331504078","1331504085","1331504070"],"photo_ids_order":["1331504070","1331504075","1331504078","1331504081","1331504084","1331504085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/140a2a90ef4fd350ebcb4b10248a95ee.jpg","text":"TemporaryFile(/tmp/multipartBody1598289893569892793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_26_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/26/82c19ae6a21deb5eda159cd05f2a0eaa.jpg","text":"TemporaryFile(/tmp/multipartBody919743606157679828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_26_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/26/3e547067ba8e0bb18cbdcd34b7246801.jpg","text":"TemporaryFile(/tmp/multipartBody4500567884921297331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_26_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/26/24726a4e3b77d4b1532f3d2967e1f51f.jpg","text":"TemporaryFile(/tmp/multipartBody1221235630969809345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_26_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/26/b5c4d304937256fa584b82abd662f389.jpg","text":"TemporaryFile(/tmp/multipartBody4806371239861267503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_26_45_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e91a14ada3b4d6c042c4210851ed2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8760291390259559135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851313795,"filename":"image_26012025_01_25_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504078","file1":"1331504075","file0":"1331504070","file4":"1331504084","file5":"1331504085","file3":"1331504081"},"map_files_photo_id_array":[{"photo_id":"1331504085","filename":"file5"},{"photo_id":"1331504078","filename":"file2"},{"photo_id":"1331504084","filename":"file4"},{"photo_id":"1331504075","filename":"file1"},{"photo_id":"1331504070","filename":"file0"},{"photo_id":"1331504081","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504081":["hashtag1","hashtag2"]},{"1331504075":["hashtag1","hashtag2"]},{"1331504084":["hashtag1","hashtag2"]},{"1331504078":["hashtag1","hashtag2"]},{"1331504085":["hashtag1","hashtag2"]},{"1331504070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504081, 1331504075, 1331504084, 1331504078, 1331504085, 1331504070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.072651624679565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:28:33.099365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_55_10356.jpg', '/home/pi/Desktop/images/26012025/01/26/image_26012025_01_27_05_10346.jpg', '/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_25_10339.jpg', '/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_35_10391.jpg', '/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_45_9317.jpg', '/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_55_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_26_55_10356.jpg
/home/pi/Desktop/images/26012025/01/26/image_26012025_01_27_05_10346.jpg
/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_25_10339.jpg
/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_35_10391.jpg
/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_45_9317.jpg
/home/pi/Desktop/images/26012025/01/27/image_26012025_01_27_55_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504103","1331504093","1331504111","1331504108","1331504098","1331504112"],"photo_ids_order":["1331504093","1331504098","1331504103","1331504108","1331504111","1331504112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/288e74fce1a61eb7226030b1edf25f47.jpg","text":"TemporaryFile(/tmp/multipartBody1136355555065748083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_27_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/26/590c5b5e666ad19a4e271c3758a004e1.jpg","text":"TemporaryFile(/tmp/multipartBody2906449847922982888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_26_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/26/e9c5d7b7b341e5b983a51d16b2821330.jpg","text":"TemporaryFile(/tmp/multipartBody6684200514449671585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_27_45_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/26/b81c131fb3335bda5a528c439ec8d062.jpg","text":"TemporaryFile(/tmp/multipartBody9217861190294724327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_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/26/458bf9cebbea15618b2cf3b913ce16a2.jpg","text":"TemporaryFile(/tmp/multipartBody1175405142047395930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_27_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/26/4d02515d424381c00bf32089c490a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5191649957666608725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851374015,"filename":"image_26012025_01_27_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504103","file1":"1331504098","file0":"1331504093","file4":"1331504111","file5":"1331504112","file3":"1331504108"},"map_files_photo_id_array":[{"photo_id":"1331504112","filename":"file5"},{"photo_id":"1331504103","filename":"file2"},{"photo_id":"1331504111","filename":"file4"},{"photo_id":"1331504098","filename":"file1"},{"photo_id":"1331504093","filename":"file0"},{"photo_id":"1331504108","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504103":["hashtag1","hashtag2"]},{"1331504093":["hashtag1","hashtag2"]},{"1331504111":["hashtag1","hashtag2"]},{"1331504108":["hashtag1","hashtag2"]},{"1331504098":["hashtag1","hashtag2"]},{"1331504112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504103, 1331504093, 1331504111, 1331504108, 1331504098, 1331504112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83108425140381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:29:32.330701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/28/image_26012025_01_28_45_10441.jpg', '/home/pi/Desktop/images/26012025/01/28/image_26012025_01_28_55_10352.jpg', '/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_15_10348.jpg', '/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_35_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/28/image_26012025_01_28_45_10441.jpg
/home/pi/Desktop/images/26012025/01/28/image_26012025_01_28_55_10352.jpg
/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_15_10348.jpg
/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_35_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504153","1331504141","1331504149","1331504128"],"photo_ids_order":["1331504128","1331504141","1331504149","1331504153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4065e063c7affeebaf51835c45a9726b.jpg","text":"TemporaryFile(/tmp/multipartBody5403037861926476179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851433233,"filename":"image_26012025_01_29_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/26/c0013f8be2365852753dc33e2937b5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5536012394402547873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851433233,"filename":"image_26012025_01_28_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/26/6d93e7e2de49bc90fbf350fd6edd4db5.jpg","text":"TemporaryFile(/tmp/multipartBody1685422658088546247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851433233,"filename":"image_26012025_01_29_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fba6f378d973838f33ff19a767dc8388.jpg","text":"TemporaryFile(/tmp/multipartBody692931158807920946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851433233,"filename":"image_26012025_01_28_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504149","file1":"1331504141","file0":"1331504128","file3":"1331504153"},"map_files_photo_id_array":[{"photo_id":"1331504149","filename":"file2"},{"photo_id":"1331504141","filename":"file1"},{"photo_id":"1331504128","filename":"file0"},{"photo_id":"1331504153","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504153":["hashtag1","hashtag2"]},{"1331504141":["hashtag1","hashtag2"]},{"1331504149":["hashtag1","hashtag2"]},{"1331504128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504153, 1331504141, 1331504149, 1331504128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.704582691192627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:30:03.144730
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/54/image_22012025_23_55_05_10353.jpg', '/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_15_10327.jpg', '/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_25_9341.jpg', '/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_35_10342.jpg', '/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_45_10337.jpg', '/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_55_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/54/image_22012025_23_55_05_10353.jpg
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_15_10327.jpg
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_25_9341.jpg
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_35_10342.jpg
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_45_10337.jpg
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_55_55_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":["1331504217","1331504183","1331504182","1331504280","1331504160","1331504223"],"photo_ids_order":["1331504160","1331504182","1331504183","1331504217","1331504223","1331504280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d360c5fb750521eed8d92b3c25bee60.jpg","text":"TemporaryFile(/tmp/multipartBody4877748141809103387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cec7dafe9d83b1558122d7af5afe3881.jpg","text":"TemporaryFile(/tmp/multipartBody8042326062914641424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_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/26/67d2bf939987753b074abf48f0998fc5.jpg","text":"TemporaryFile(/tmp/multipartBody830905407447290102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_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/26/2621996a55bad1eeb6248c207e872c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4605447688288712935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_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/26/63235ec79d1550fa6552e5351103a40f.jpg","text":"TemporaryFile(/tmp/multipartBody1940184295072197112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_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/26/724cca4023231293435b56403ca71ecc.jpg","text":"TemporaryFile(/tmp/multipartBody3664934077647210314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851464651,"filename":"image_22012025_23_55_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504183","file1":"1331504182","file0":"1331504160","file4":"1331504223","file5":"1331504280","file3":"1331504217"},"map_files_photo_id_array":[{"photo_id":"1331504280","filename":"file5"},{"photo_id":"1331504183","filename":"file2"},{"photo_id":"1331504223","filename":"file4"},{"photo_id":"1331504182","filename":"file1"},{"photo_id":"1331504160","filename":"file0"},{"photo_id":"1331504217","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331504217":["hashtag1","hashtag2"]},{"1331504183":["hashtag1","hashtag2"]},{"1331504182":["hashtag1","hashtag2"]},{"1331504280":["hashtag1","hashtag2"]},{"1331504160":["hashtag1","hashtag2"]},{"1331504223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331504217, 1331504183, 1331504182, 1331504280, 1331504160, 1331504223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.245622396469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:30:52.330906
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/55/image_22012025_23_56_05_10351.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_14_9337.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_45_9659.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_55_10461.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_57_05_9342.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_24_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_56_05_10351.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_14_9337.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_45_9659.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_55_10461.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_57_05_9342.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_24_9433.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8588929176330566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:31:04.467484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_55_9398.jpg', '/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_25_9453.jpg', '/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_45_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/29/image_26012025_01_29_55_9398.jpg
/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_25_9453.jpg
/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_45_9440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504518","1331504499","1331504495"],"photo_ids_order":["1331504495","1331504499","1331504518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46723fdd6eb8d5991b9b270691ad7909.jpg","text":"TemporaryFile(/tmp/multipartBody2475663355504507868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851525570,"filename":"image_26012025_01_30_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/26/fc1fac3669be97210b3da5cfc5009c07.jpg","text":"TemporaryFile(/tmp/multipartBody3428599483409158739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851525570,"filename":"image_26012025_01_30_25_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/26/19e460b59e21b47f209d5640a92dfdc7.jpg","text":"TemporaryFile(/tmp/multipartBody5233010637546448104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851525570,"filename":"image_26012025_01_29_55_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504518","file1":"1331504499","file0":"1331504495"},"map_files_photo_id_array":[{"photo_id":"1331504518","filename":"file2"},{"photo_id":"1331504499","filename":"file1"},{"photo_id":"1331504495","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504518":["hashtag1","hashtag2"]},{"1331504499":["hashtag1","hashtag2"]},{"1331504495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504518, 1331504499, 1331504495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.91494083404541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:31:32.679619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_55_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/30/image_26012025_01_30_55_10342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504533"],"photo_id":"1331504533","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9bcacc97cbb8a4d30765ca332568823.jpg","text":"TemporaryFile(/tmp/multipartBody7962197062904169780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851553507,"filename":"image_26012025_01_30_55_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331504533"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331504533"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.935370922088623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:31:52.586913
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/55/image_22012025_23_56_05_10351.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_14_9337.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_45_9659.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_55_10461.jpg', '/home/pi/Desktop/images/22012025/23/56/image_22012025_23_57_05_9342.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_24_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/55/image_22012025_23_56_05_10351.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_14_9337.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_45_9659.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_56_55_10461.jpg
/home/pi/Desktop/images/22012025/23/56/image_22012025_23_57_05_9342.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_24_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504546","1331504555","1331504549","1331504551","1331504545","1331504547"],"photo_ids_order":["1331504545","1331504546","1331504547","1331504549","1331504551","1331504555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15af7bff23068de335f8fe21d25c1e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6666883837872370938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_56_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/26/028142db895ed3a4e298b7989839db49.jpg","text":"TemporaryFile(/tmp/multipartBody6985352281845416645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_57_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/26/f90ed2be01cf15729e66fe3716b9f7ef.jpg","text":"TemporaryFile(/tmp/multipartBody9174996074947795532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_56_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/26/2918bd0838866dd4f8c2b5914a8d4b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6452000724638086581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_57_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/26/1f0373b098801cad84ba66ccddb44517.jpg","text":"TemporaryFile(/tmp/multipartBody1308539399337570935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_56_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/26/2bcfe04a6b6ac0af7c9b617be963a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1932100274259927914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851574763,"filename":"image_22012025_23_56_45_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504547","file1":"1331504546","file0":"1331504545","file4":"1331504551","file5":"1331504555","file3":"1331504549"},"map_files_photo_id_array":[{"photo_id":"1331504555","filename":"file5"},{"photo_id":"1331504547","filename":"file2"},{"photo_id":"1331504551","filename":"file4"},{"photo_id":"1331504546","filename":"file1"},{"photo_id":"1331504545","filename":"file0"},{"photo_id":"1331504549","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331504546":["hashtag1","hashtag2"]},{"1331504555":["hashtag1","hashtag2"]},{"1331504549":["hashtag1","hashtag2"]},{"1331504551":["hashtag1","hashtag2"]},{"1331504545":["hashtag1","hashtag2"]},{"1331504547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331504546, 1331504555, 1331504549, 1331504551, 1331504545, 1331504547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.571404218673706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:32:42.762461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/31/image_26012025_01_31_15_9448.jpg', '/home/pi/Desktop/images/26012025/01/31/image_26012025_01_32_05_9394.jpg', '/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_15_10405.jpg', '/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/31/image_26012025_01_31_15_9448.jpg
/home/pi/Desktop/images/26012025/01/31/image_26012025_01_32_05_9394.jpg
/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_15_10405.jpg
/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_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":["1331504706","1331504758","1331504614","1331504757"],"photo_ids_order":["1331504614","1331504706","1331504757","1331504758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31e8013a370bcb70dfd6fe21613410cf.jpg","text":"TemporaryFile(/tmp/multipartBody443365804898354709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851623651,"filename":"image_26012025_01_32_05_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/044b164682eddde9683876abbaea6ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1954529345329653265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851623651,"filename":"image_26012025_01_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/26/136c450baa03aad9ad3ca14cece2f770.jpg","text":"TemporaryFile(/tmp/multipartBody7410541151472726517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851623651,"filename":"image_26012025_01_31_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/26/6bab0a8094d78cb37717575c7959606e.jpg","text":"TemporaryFile(/tmp/multipartBody5307050093660031622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851623651,"filename":"image_26012025_01_32_15_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504757","file1":"1331504706","file0":"1331504614","file3":"1331504758"},"map_files_photo_id_array":[{"photo_id":"1331504757","filename":"file2"},{"photo_id":"1331504706","filename":"file1"},{"photo_id":"1331504614","filename":"file0"},{"photo_id":"1331504758","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504706":["hashtag1","hashtag2"]},{"1331504758":["hashtag1","hashtag2"]},{"1331504614":["hashtag1","hashtag2"]},{"1331504757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504706, 1331504758, 1331504614, 1331504757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.394469022750854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:33:33.100468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_55_9453.jpg', '/home/pi/Desktop/images/26012025/01/32/image_26012025_01_33_05_10339.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_15_10344.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_25_9412.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_35_10332.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_45_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/32/image_26012025_01_32_55_9453.jpg
/home/pi/Desktop/images/26012025/01/32/image_26012025_01_33_05_10339.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_15_10344.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_25_9412.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_35_10332.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_45_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331504777","1331504782","1331504793","1331504790","1331504772","1331504786"],"photo_ids_order":["1331504772","1331504777","1331504782","1331504786","1331504790","1331504793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d24b23c98499815043203200adb09ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4225851478230859268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_33_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/26/ec3dd1910999e48f55f161eda8e9e421.jpg","text":"TemporaryFile(/tmp/multipartBody5625734448254750074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_33_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/26/d22e0a996a5f8afaa3df68e703130c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1781786817277666917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_33_45_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/26/4481f08f2ec89920c5b4b32e2ce6f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody5892636916272214783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_33_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/26/2300e37c492c8fc8925b8b983870c891.jpg","text":"TemporaryFile(/tmp/multipartBody2515120582863439518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_32_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6982bde2202ffcb8443e43211bdd4c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5579032893028360860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851674037,"filename":"image_26012025_01_33_25_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504782","file1":"1331504777","file0":"1331504772","file4":"1331504790","file5":"1331504793","file3":"1331504786"},"map_files_photo_id_array":[{"photo_id":"1331504793","filename":"file5"},{"photo_id":"1331504782","filename":"file2"},{"photo_id":"1331504790","filename":"file4"},{"photo_id":"1331504777","filename":"file1"},{"photo_id":"1331504772","filename":"file0"},{"photo_id":"1331504786","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504777":["hashtag1","hashtag2"]},{"1331504782":["hashtag1","hashtag2"]},{"1331504793":["hashtag1","hashtag2"]},{"1331504790":["hashtag1","hashtag2"]},{"1331504772":["hashtag1","hashtag2"]},{"1331504786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504777, 1331504782, 1331504793, 1331504790, 1331504772, 1331504786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10653781890869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:34:33.180785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_55_10452.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_34_05_10451.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_15_9436.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_25_10349.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_35_9366.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_55_10452.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_34_05_10451.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_15_9436.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_25_10349.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_35_9366.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_45_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5217833518981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:34:43.164193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_55_10452.jpg', '/home/pi/Desktop/images/26012025/01/33/image_26012025_01_34_05_10451.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_15_9436.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_25_10349.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_35_9366.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_33_55_10452.jpg
/home/pi/Desktop/images/26012025/01/33/image_26012025_01_34_05_10451.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_15_9436.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_25_10349.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_35_9366.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_45_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":["1331504831","1331504825","1331504819","1331504828","1331504813","1331504835"],"photo_ids_order":["1331504813","1331504819","1331504825","1331504828","1331504831","1331504835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f7f3d0be3b75f0ae2c6a5f5d3c67f1df.jpg","text":"TemporaryFile(/tmp/multipartBody312610895949138671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_34_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/26/8497f08f6e78987eab78d8ebb9ffa705.jpg","text":"TemporaryFile(/tmp/multipartBody4584278082201870702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_34_15_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/26/2af466a1412607ba6dba42b01fbbcb88.jpg","text":"TemporaryFile(/tmp/multipartBody3188118425418073669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_34_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/26/c4c2b7aa6a5b212a5f16bda19f47855e.jpg","text":"TemporaryFile(/tmp/multipartBody5999657240764597001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_34_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/103971bd84ebfac5c6e62086c0e84318.jpg","text":"TemporaryFile(/tmp/multipartBody2616659122609316988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_33_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/26/f20d62fda8efc247663fde5a3a3539e4.jpg","text":"TemporaryFile(/tmp/multipartBody7251013084959137595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851744075,"filename":"image_26012025_01_34_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504825","file1":"1331504819","file0":"1331504813","file4":"1331504831","file5":"1331504835","file3":"1331504828"},"map_files_photo_id_array":[{"photo_id":"1331504835","filename":"file5"},{"photo_id":"1331504825","filename":"file2"},{"photo_id":"1331504831","filename":"file4"},{"photo_id":"1331504819","filename":"file1"},{"photo_id":"1331504813","filename":"file0"},{"photo_id":"1331504828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504831":["hashtag1","hashtag2"]},{"1331504825":["hashtag1","hashtag2"]},{"1331504819":["hashtag1","hashtag2"]},{"1331504828":["hashtag1","hashtag2"]},{"1331504813":["hashtag1","hashtag2"]},{"1331504835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504831, 1331504825, 1331504819, 1331504828, 1331504813, 1331504835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05612277984619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:35:33.504228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_55_10359.jpg', '/home/pi/Desktop/images/26012025/01/34/image_26012025_01_35_05_9338.jpg', '/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_15_10350.jpg', '/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_35_9431.jpg', '/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_34_55_10359.jpg
/home/pi/Desktop/images/26012025/01/34/image_26012025_01_35_05_9338.jpg
/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_15_10350.jpg
/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_35_9431.jpg
/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_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":["1331504882","1331504863","1331504860","1331504880","1331504865"],"photo_ids_order":["1331504860","1331504863","1331504865","1331504880","1331504882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e820e611cedd884f318b84a48aa6459a.jpg","text":"TemporaryFile(/tmp/multipartBody1640124852579029713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851794424,"filename":"image_26012025_01_35_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/26/96abd249214f4c2023a8acde4fed3d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2898981919123896842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851794424,"filename":"image_26012025_01_35_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/26/a23ce3f9d03cf4af303ca20156673ada.jpg","text":"TemporaryFile(/tmp/multipartBody6698884435298278835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851794424,"filename":"image_26012025_01_34_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/26/2fc3b2c5c5b84ee7112ee6de1c9383f3.jpg","text":"TemporaryFile(/tmp/multipartBody697722214995867937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851794424,"filename":"image_26012025_01_35_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/26/072188bb8a91939a49eac5857a5a8ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4791010327854457664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851794424,"filename":"image_26012025_01_35_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331504865","file1":"1331504863","file0":"1331504860","file4":"1331504882","file3":"1331504880"},"map_files_photo_id_array":[{"photo_id":"1331504865","filename":"file2"},{"photo_id":"1331504882","filename":"file4"},{"photo_id":"1331504863","filename":"file1"},{"photo_id":"1331504860","filename":"file0"},{"photo_id":"1331504880","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331504882":["hashtag1","hashtag2"]},{"1331504863":["hashtag1","hashtag2"]},{"1331504860":["hashtag1","hashtag2"]},{"1331504880":["hashtag1","hashtag2"]},{"1331504865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331504882, 1331504863, 1331504860, 1331504880, 1331504865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.20190215110779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:36:32.530590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_55_9646.jpg', '/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_15_9418.jpg', '/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_25_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/35/image_26012025_01_35_55_9646.jpg
/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_15_9418.jpg
/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331505073","1331505459","1331505252"],"photo_ids_order":["1331505073","1331505252","1331505459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/259f7cfba34bfa2559f11020bb38e1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6976771449189223876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851853394,"filename":"image_26012025_01_35_55_9646.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e20de07234c09ef2abe1adcaa2ea6d45.jpg","text":"TemporaryFile(/tmp/multipartBody3975921521368451222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851853394,"filename":"image_26012025_01_36_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/26/9cb7de8e081608a678d9d035f55877e5.jpg","text":"TemporaryFile(/tmp/multipartBody6452152911303314329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851853394,"filename":"image_26012025_01_36_15_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331505459","file1":"1331505252","file0":"1331505073"},"map_files_photo_id_array":[{"photo_id":"1331505459","filename":"file2"},{"photo_id":"1331505252","filename":"file1"},{"photo_id":"1331505073","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331505073":["hashtag1","hashtag2"]},{"1331505459":["hashtag1","hashtag2"]},{"1331505252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331505073, 1331505459, 1331505252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.883442401885986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:37:04.359274
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_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: 1.4209277629852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:37:32.823253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_55_10341.jpg', '/home/pi/Desktop/images/26012025/01/36/image_26012025_01_37_05_9420.jpg', '/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_15_10366.jpg', '/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_25_10345.jpg', '/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_35_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/36/image_26012025_01_36_55_10341.jpg
/home/pi/Desktop/images/26012025/01/36/image_26012025_01_37_05_9420.jpg
/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_15_10366.jpg
/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_25_10345.jpg
/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_35_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":["1331506150","1331506134","1331506143","1331506139","1331506127"],"photo_ids_order":["1331506127","1331506134","1331506139","1331506143","1331506150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f563069bc3bee3c36cc85bbf54b5de3.jpg","text":"TemporaryFile(/tmp/multipartBody1033988726003201007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851913728,"filename":"image_26012025_01_37_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/26/f9dfd85d152af9bc7f129381672cea15.jpg","text":"TemporaryFile(/tmp/multipartBody2898776347226576611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851913728,"filename":"image_26012025_01_37_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb37e6851138309bdd820f4e54e640cb.jpg","text":"TemporaryFile(/tmp/multipartBody2267628124320368663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851913728,"filename":"image_26012025_01_37_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/26/8a3aeb2fb51c1d7d3d6d9650b18d7396.jpg","text":"TemporaryFile(/tmp/multipartBody3549497050116920524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851913728,"filename":"image_26012025_01_37_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/26/ec5d98f0fa8027f463690cb81a3509b4.jpg","text":"TemporaryFile(/tmp/multipartBody3301250070940022473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851913728,"filename":"image_26012025_01_36_55_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331506139","file1":"1331506134","file0":"1331506127","file4":"1331506150","file3":"1331506143"},"map_files_photo_id_array":[{"photo_id":"1331506139","filename":"file2"},{"photo_id":"1331506150","filename":"file4"},{"photo_id":"1331506134","filename":"file1"},{"photo_id":"1331506127","filename":"file0"},{"photo_id":"1331506143","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331506150":["hashtag1","hashtag2"]},{"1331506134":["hashtag1","hashtag2"]},{"1331506143":["hashtag1","hashtag2"]},{"1331506139":["hashtag1","hashtag2"]},{"1331506127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331506150, 1331506134, 1331506143, 1331506139, 1331506127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.0843403339386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:38:33.046248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_45_10345.jpg', '/home/pi/Desktop/images/26012025/01/37/image_26012025_01_38_05_9341.jpg', '/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_15_10384.jpg', '/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_25_10345.jpg', '/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_35_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/37/image_26012025_01_37_45_10345.jpg
/home/pi/Desktop/images/26012025/01/37/image_26012025_01_38_05_9341.jpg
/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_15_10384.jpg
/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_25_10345.jpg
/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_35_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331506494","1331506482","1331506461","1331506478","1331506475"],"photo_ids_order":["1331506461","1331506475","1331506478","1331506482","1331506494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4dc589879ab137b2e59952d756357ed2.jpg","text":"TemporaryFile(/tmp/multipartBody155159698594023424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851973956,"filename":"image_26012025_01_38_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/26/8f9331a0a430e8cae528f1c9620c6423.jpg","text":"TemporaryFile(/tmp/multipartBody625694234798561921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851973956,"filename":"image_26012025_01_38_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/26/14a3d5c2eec39d1595d9c6b32de9f4a4.jpg","text":"TemporaryFile(/tmp/multipartBody711967558199023745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851973956,"filename":"image_26012025_01_37_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/26/b3d4ae8458d5d34efa4068f60cb27893.jpg","text":"TemporaryFile(/tmp/multipartBody8235222155771310254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851973956,"filename":"image_26012025_01_38_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3e01bd282e2b008b9d80cf885793915.jpg","text":"TemporaryFile(/tmp/multipartBody6270031076492708852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737851973956,"filename":"image_26012025_01_38_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331506478","file1":"1331506475","file0":"1331506461","file4":"1331506494","file3":"1331506482"},"map_files_photo_id_array":[{"photo_id":"1331506478","filename":"file2"},{"photo_id":"1331506494","filename":"file4"},{"photo_id":"1331506475","filename":"file1"},{"photo_id":"1331506461","filename":"file0"},{"photo_id":"1331506482","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331506494":["hashtag1","hashtag2"]},{"1331506482":["hashtag1","hashtag2"]},{"1331506461":["hashtag1","hashtag2"]},{"1331506478":["hashtag1","hashtag2"]},{"1331506475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331506494, 1331506482, 1331506461, 1331506478, 1331506475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.96148061752319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:39:32.228312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_45_10451.jpg', '/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_25_9413.jpg', '/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/38/image_26012025_01_38_45_10451.jpg
/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_25_9413.jpg
/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_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":["1331506514","1331506517","1331506511"],"photo_ids_order":["1331506511","1331506514","1331506517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e919017ca87658fef2fd811510d05b3a.jpg","text":"TemporaryFile(/tmp/multipartBody1381614519189234070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852033106,"filename":"image_26012025_01_39_25_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a0b72986868b3c965372e38202c3baf6.jpg","text":"TemporaryFile(/tmp/multipartBody4816562317489867037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852033106,"filename":"image_26012025_01_39_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/26/35c4b8f91b6d98b624643904c075e56c.jpg","text":"TemporaryFile(/tmp/multipartBody805197802974316668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852033106,"filename":"image_26012025_01_38_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331506517","file1":"1331506514","file0":"1331506511"},"map_files_photo_id_array":[{"photo_id":"1331506517","filename":"file2"},{"photo_id":"1331506514","filename":"file1"},{"photo_id":"1331506511","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331506514":["hashtag1","hashtag2"]},{"1331506517":["hashtag1","hashtag2"]},{"1331506511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331506514, 1331506517, 1331506511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.002005577087402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:40:03.181300
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_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: 1.0402705669403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:40:32.405143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_55_9350.jpg', '/home/pi/Desktop/images/26012025/01/39/image_26012025_01_40_05_10402.jpg', '/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_15_9456.jpg', '/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_25_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/39/image_26012025_01_39_55_9350.jpg
/home/pi/Desktop/images/26012025/01/39/image_26012025_01_40_05_10402.jpg
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_15_9456.jpg
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_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":["1331507169","1331507114","1331507015","1331506922"],"photo_ids_order":["1331506922","1331507015","1331507114","1331507169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1dface48e3029438cffa1355c97aac1.jpg","text":"TemporaryFile(/tmp/multipartBody5465898422176751596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852093310,"filename":"image_26012025_01_40_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/26/f654b1e275eaf968d473c334878d62b1.jpg","text":"TemporaryFile(/tmp/multipartBody3019411237073691786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852093310,"filename":"image_26012025_01_40_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbbe59c7926e4dcfe78bcb8dc60e2735.jpg","text":"TemporaryFile(/tmp/multipartBody8785560850533566865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852093310,"filename":"image_26012025_01_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/26/aa7bcbcff7da0deb7c387c1dc03bc25d.jpg","text":"TemporaryFile(/tmp/multipartBody8623162208985116014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852093310,"filename":"image_26012025_01_39_55_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331507114","file1":"1331507015","file0":"1331506922","file3":"1331507169"},"map_files_photo_id_array":[{"photo_id":"1331507114","filename":"file2"},{"photo_id":"1331507015","filename":"file1"},{"photo_id":"1331506922","filename":"file0"},{"photo_id":"1331507169","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331507169":["hashtag1","hashtag2"]},{"1331507114":["hashtag1","hashtag2"]},{"1331507015":["hashtag1","hashtag2"]},{"1331506922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331507169, 1331507114, 1331507015, 1331506922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.168144941329956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:41:04.157438
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg', '/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_35_10330.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_45_10471.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_57_55_9333.jpg
/home/pi/Desktop/images/22012025/23/57/image_22012025_23_58_05_10423.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_15_10406.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_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":["1331507199","1331507218","1331507253","1331507208","1331507204","1331507213"],"photo_ids_order":["1331507199","1331507204","1331507208","1331507213","1331507218","1331507253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1f1ead1eaaa49f568f1d9a4be7d76ea4.jpg","text":"TemporaryFile(/tmp/multipartBody7358095409825288833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_57_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/427f46b9fea94298b55718edee9b3534.jpg","text":"TemporaryFile(/tmp/multipartBody1529988666366831928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_58_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/26/cc8ceaba830b60d7048b418193703330.jpg","text":"TemporaryFile(/tmp/multipartBody683054426915375890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_58_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/26/cae6220bb2f63e728c5bcd737f96d555.jpg","text":"TemporaryFile(/tmp/multipartBody2644042269353223458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_57_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/26/97a60c286dba9c51a50eee58a4880fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4697532583107338213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_57_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/26/7d945d6085b187a335dea999d64b8da9.jpg","text":"TemporaryFile(/tmp/multipartBody2344387033029417821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852125834,"filename":"image_22012025_23_58_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331507208","file1":"1331507204","file0":"1331507199","file4":"1331507218","file5":"1331507253","file3":"1331507213"},"map_files_photo_id_array":[{"photo_id":"1331507253","filename":"file5"},{"photo_id":"1331507208","filename":"file2"},{"photo_id":"1331507218","filename":"file4"},{"photo_id":"1331507204","filename":"file1"},{"photo_id":"1331507199","filename":"file0"},{"photo_id":"1331507213","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331507199":["hashtag1","hashtag2"]},{"1331507218":["hashtag1","hashtag2"]},{"1331507253":["hashtag1","hashtag2"]},{"1331507208":["hashtag1","hashtag2"]},{"1331507204":["hashtag1","hashtag2"]},{"1331507213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331507199, 1331507218, 1331507253, 1331507208, 1331507204, 1331507213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.46696853637695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:41:52.612445
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_35_10437.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_45_9372.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_55_10367.jpg', '/home/pi/Desktop/images/22012025/23/58/image_22012025_23_59_05_10433.jpg', '/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_15_9336.jpg', '/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_25_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_35_10437.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_45_9372.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_58_55_10367.jpg
/home/pi/Desktop/images/22012025/23/58/image_22012025_23_59_05_10433.jpg
/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_15_9336.jpg
/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_25_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":["1331507269","1331507499","1331507323","1331507418","1331507270","1331507590"],"photo_ids_order":["1331507269","1331507270","1331507323","1331507418","1331507499","1331507590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da01ac2c6a3525544b96a6766ec02414.jpg","text":"TemporaryFile(/tmp/multipartBody7321610713816890855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_58_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/26/2e575c937673ae522abec658ad28d17c.jpg","text":"TemporaryFile(/tmp/multipartBody5420885284656518188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_59_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/26/ea18b1c617060b19800d1518299713cb.jpg","text":"TemporaryFile(/tmp/multipartBody2661918847787583526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_58_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/26/103c4bcb17f527241524939a0ec7de9b.jpg","text":"TemporaryFile(/tmp/multipartBody7481162280031040250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_59_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/26/176ab4c51cd072ebe7a2f5c5c8350cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7121604130312046497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_58_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/26/bf89ad78fd4689b92c21e0a5c1d5dd9d.jpg","text":"TemporaryFile(/tmp/multipartBody3802780365049865458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852174865,"filename":"image_22012025_23_59_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331507323","file1":"1331507270","file0":"1331507269","file4":"1331507499","file5":"1331507590","file3":"1331507418"},"map_files_photo_id_array":[{"photo_id":"1331507590","filename":"file5"},{"photo_id":"1331507323","filename":"file2"},{"photo_id":"1331507499","filename":"file4"},{"photo_id":"1331507270","filename":"file1"},{"photo_id":"1331507269","filename":"file0"},{"photo_id":"1331507418","filename":"file3"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331507269":["hashtag1","hashtag2"]},{"1331507499":["hashtag1","hashtag2"]},{"1331507323":["hashtag1","hashtag2"]},{"1331507418":["hashtag1","hashtag2"]},{"1331507270":["hashtag1","hashtag2"]},{"1331507590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331507269, 1331507499, 1331507323, 1331507418, 1331507270, 1331507590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89162278175354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:42:42.859963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_55_10446.jpg', '/home/pi/Desktop/images/26012025/01/40/image_26012025_01_41_05_10342.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_15_9332.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_45_10371.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_55_10351.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_42_05_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_55_10446.jpg
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_41_05_10342.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_15_9332.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_45_10371.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_55_10351.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_42_05_9367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5219912528991699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:42:52.825248
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
  port_id : 19806641
  datou_current_id : 2501595
in upload_from_sqlite, uploading in 19806641
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_34_9424.jpg', '/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_45_10407.jpg', '/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_55_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2501595&datou=0
/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_34_9424.jpg
/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_45_10407.jpg
/home/pi/Desktop/images/22012025/23/59/image_22012025_23_59_55_10363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331507800","1331507798","1331507845"],"photo_ids_order":["1331507798","1331507800","1331507845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/43ca9f25b2464ddbafc77ce05a64ec04.jpg","text":"TemporaryFile(/tmp/multipartBody1129415693212961181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852235000,"filename":"image_22012025_23_59_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/26/2a4575d1668f4d217268a5d2dbff2cd7.jpg","text":"TemporaryFile(/tmp/multipartBody2037742419722637156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852235000,"filename":"image_22012025_23_59_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/26/db9f45ebdc3634c5be7bf02387de8f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3836798386601115575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852235000,"filename":"image_22012025_23_59_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331507845","file1":"1331507800","file0":"1331507798"},"map_files_photo_id_array":[{"photo_id":"1331507845","filename":"file2"},{"photo_id":"1331507800","filename":"file1"},{"photo_id":"1331507798","filename":"file0"}],"portfolio_id":19806641,"hashtag_by_photo_ids":[{"1331507800":["hashtag1","hashtag2"]},{"1331507798":["hashtag1","hashtag2"]},{"1331507845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19806641 used, photo_id : ArrayBuffer(1331507800, 1331507798, 1331507845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.388877391815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:43:33.080015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_55_10446.jpg', '/home/pi/Desktop/images/26012025/01/40/image_26012025_01_41_05_10342.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_15_9332.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_45_10371.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_55_10351.jpg', '/home/pi/Desktop/images/26012025/01/41/image_26012025_01_42_05_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_40_55_10446.jpg
/home/pi/Desktop/images/26012025/01/40/image_26012025_01_41_05_10342.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_15_9332.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_45_10371.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_41_55_10351.jpg
/home/pi/Desktop/images/26012025/01/41/image_26012025_01_42_05_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":["1331508508","1331508087","1331508246","1331508167","1331508415","1331508322"],"photo_ids_order":["1331508087","1331508167","1331508246","1331508322","1331508415","1331508508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ceb59cba78ed81f34a91ee7691982519.jpg","text":"TemporaryFile(/tmp/multipartBody6714373621961419267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_42_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/26/27471206d2f1712a9e667d649a6cc157.jpg","text":"TemporaryFile(/tmp/multipartBody4658503682084723392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_40_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/26/55798dcff26c34686080f522ebd9b24d.jpg","text":"TemporaryFile(/tmp/multipartBody4692821366704161681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_41_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/26/23d20ee22d022f05d580724f1f018cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8068579081868346754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_41_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/26/bcdd28dbf7430406f8dca3af9ddb77fe.jpg","text":"TemporaryFile(/tmp/multipartBody469407555948249274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_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/26/f438c74095529794b7ab12eae96ae8ab.jpg","text":"TemporaryFile(/tmp/multipartBody4781874256280741373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852274009,"filename":"image_26012025_01_41_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331508246","file1":"1331508167","file0":"1331508087","file4":"1331508415","file5":"1331508508","file3":"1331508322"},"map_files_photo_id_array":[{"photo_id":"1331508508","filename":"file5"},{"photo_id":"1331508246","filename":"file2"},{"photo_id":"1331508415","filename":"file4"},{"photo_id":"1331508167","filename":"file1"},{"photo_id":"1331508087","filename":"file0"},{"photo_id":"1331508322","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331508508":["hashtag1","hashtag2"]},{"1331508087":["hashtag1","hashtag2"]},{"1331508246":["hashtag1","hashtag2"]},{"1331508167":["hashtag1","hashtag2"]},{"1331508415":["hashtag1","hashtag2"]},{"1331508322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331508508, 1331508087, 1331508246, 1331508167, 1331508415, 1331508322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.059218645095825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:44:32.264948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_25_10355.jpg', '/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_35_9344.jpg', '/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_55_10341.jpg', '/home/pi/Desktop/images/26012025/01/42/image_26012025_01_43_05_9400.jpg', '/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_15_10349.jpg', '/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_25_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_25_10355.jpg
/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_35_9344.jpg
/home/pi/Desktop/images/26012025/01/42/image_26012025_01_42_55_10341.jpg
/home/pi/Desktop/images/26012025/01/42/image_26012025_01_43_05_9400.jpg
/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_15_10349.jpg
/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_25_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":["1331508599","1331508872","1331508839","1331508688","1331508605","1331508763"],"photo_ids_order":["1331508599","1331508605","1331508688","1331508763","1331508839","1331508872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10184a3bcadddc1f419c49b0c0ad5da2.jpg","text":"TemporaryFile(/tmp/multipartBody789614898687950460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_42_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/26/d15a39d33bf8290ab51c8023fa7f2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8594066072067889109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_43_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/26/94a944f137f441fcb8ddecbf10cdf46a.jpg","text":"TemporaryFile(/tmp/multipartBody4125056455381712411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_43_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/26/d7faca1190ea4e1fbf6d59c4360570e7.jpg","text":"TemporaryFile(/tmp/multipartBody6384244301423727254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_42_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/26/f57f361b06d5cdcf366d95c8220b5d84.jpg","text":"TemporaryFile(/tmp/multipartBody7430864040334135474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_42_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/26/f6ff073ad2ff22f282d4dc48617c4f94.jpg","text":"TemporaryFile(/tmp/multipartBody2090084947411475261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852333196,"filename":"image_26012025_01_43_05_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331508688","file1":"1331508605","file0":"1331508599","file4":"1331508839","file5":"1331508872","file3":"1331508763"},"map_files_photo_id_array":[{"photo_id":"1331508872","filename":"file5"},{"photo_id":"1331508688","filename":"file2"},{"photo_id":"1331508839","filename":"file4"},{"photo_id":"1331508605","filename":"file1"},{"photo_id":"1331508599","filename":"file0"},{"photo_id":"1331508763","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331508599":["hashtag1","hashtag2"]},{"1331508872":["hashtag1","hashtag2"]},{"1331508839":["hashtag1","hashtag2"]},{"1331508688":["hashtag1","hashtag2"]},{"1331508605":["hashtag1","hashtag2"]},{"1331508763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331508599, 1331508872, 1331508839, 1331508688, 1331508605, 1331508763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.226704835891724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:45:32.576269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_45_10359.jpg', '/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_15_10356.jpg', '/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_25_9353.jpg', '/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_35_10339.jpg', '/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_55_10352.jpg', '/home/pi/Desktop/images/26012025/01/44/image_26012025_01_45_05_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/43/image_26012025_01_43_45_10359.jpg
/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_15_10356.jpg
/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_25_9353.jpg
/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_35_10339.jpg
/home/pi/Desktop/images/26012025/01/44/image_26012025_01_44_55_10352.jpg
/home/pi/Desktop/images/26012025/01/44/image_26012025_01_45_05_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331509016","1331508935","1331509177","1331508955","1331508946","1331509242"],"photo_ids_order":["1331508935","1331508946","1331508955","1331509016","1331509177","1331509242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1841a1a4a55e6b6310f99c66a1f4b0c8.jpg","text":"TemporaryFile(/tmp/multipartBody4687155703172757988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_44_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/26/c66e46830909af281d06967027c56714.jpg","text":"TemporaryFile(/tmp/multipartBody1927302400777119958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_43_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/26/211b6ce036c89c6073453594170ea18a.jpg","text":"TemporaryFile(/tmp/multipartBody5072075943876698658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_44_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/26/b499d70f19b71f98a594cf7fea47a791.jpg","text":"TemporaryFile(/tmp/multipartBody5925997353979624265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_44_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/26/90eed7c946932876debc53e2a275b434.jpg","text":"TemporaryFile(/tmp/multipartBody6338984974662673331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_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/26/408e9a540ac467cfda41022ce1ec2f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4348259826597987295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852393540,"filename":"image_26012025_01_45_05_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331508955","file1":"1331508946","file0":"1331508935","file4":"1331509177","file5":"1331509242","file3":"1331509016"},"map_files_photo_id_array":[{"photo_id":"1331509242","filename":"file5"},{"photo_id":"1331508955","filename":"file2"},{"photo_id":"1331509177","filename":"file4"},{"photo_id":"1331508946","filename":"file1"},{"photo_id":"1331508935","filename":"file0"},{"photo_id":"1331509016","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331509016":["hashtag1","hashtag2"]},{"1331508935":["hashtag1","hashtag2"]},{"1331509177":["hashtag1","hashtag2"]},{"1331508955":["hashtag1","hashtag2"]},{"1331508946":["hashtag1","hashtag2"]},{"1331509242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331509016, 1331508935, 1331509177, 1331508955, 1331508946, 1331509242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55614638328552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:46:32.687343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_15_9352.jpg', '/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_25_10348.jpg', '/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_35_10339.jpg', '/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_45_9398.jpg', '/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_55_10357.jpg', '/home/pi/Desktop/images/26012025/01/45/image_26012025_01_46_05_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_15_9352.jpg
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_25_10348.jpg
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_35_10339.jpg
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_45_9398.jpg
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_45_55_10357.jpg
/home/pi/Desktop/images/26012025/01/45/image_26012025_01_46_05_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":["1331509425","1331509419","1331509413","1331509416","1331509411","1331509422"],"photo_ids_order":["1331509411","1331509413","1331509416","1331509419","1331509422","1331509425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0a5b8113fdc6df4d446f5ad5ed7099a0.jpg","text":"TemporaryFile(/tmp/multipartBody8554844150733774478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_46_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/26/2f3f89d34226438c7d1928fe5e3c2bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6501318848562009824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_45_45_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6251981d60a9e2c236ce58c53a2a525.jpg","text":"TemporaryFile(/tmp/multipartBody8347864019906409535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_45_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/26/95aba188f1eb9ab300893ecb135228c5.jpg","text":"TemporaryFile(/tmp/multipartBody403310990254788674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_45_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/26/244a5fe8a9f517e8cc8a8ec6ecd2dbed.jpg","text":"TemporaryFile(/tmp/multipartBody6827024283043132981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_45_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/26/1716cbff819ceac79b16d56ca83efcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2698909033986260878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852453651,"filename":"image_26012025_01_45_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331509416","file1":"1331509413","file0":"1331509411","file4":"1331509422","file5":"1331509425","file3":"1331509419"},"map_files_photo_id_array":[{"photo_id":"1331509425","filename":"file5"},{"photo_id":"1331509416","filename":"file2"},{"photo_id":"1331509422","filename":"file4"},{"photo_id":"1331509413","filename":"file1"},{"photo_id":"1331509411","filename":"file0"},{"photo_id":"1331509419","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331509425":["hashtag1","hashtag2"]},{"1331509419":["hashtag1","hashtag2"]},{"1331509413":["hashtag1","hashtag2"]},{"1331509416":["hashtag1","hashtag2"]},{"1331509411":["hashtag1","hashtag2"]},{"1331509422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331509425, 1331509419, 1331509413, 1331509416, 1331509411, 1331509422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.86908721923828 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:47:32.943279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_15_10337.jpg', '/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_25_10358.jpg', '/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_35_9426.jpg', '/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_45_10358.jpg', '/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_55_10377.jpg', '/home/pi/Desktop/images/26012025/01/46/image_26012025_01_47_05_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_15_10337.jpg
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_25_10358.jpg
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_35_9426.jpg
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_45_10358.jpg
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_46_55_10377.jpg
/home/pi/Desktop/images/26012025/01/46/image_26012025_01_47_05_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331509452","1331509454","1331509448","1331509445","1331509439","1331509456"],"photo_ids_order":["1331509439","1331509445","1331509448","1331509452","1331509454","1331509456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2229ca08d9ce6ed0eb66af6005c7e891.jpg","text":"TemporaryFile(/tmp/multipartBody5876190595355227105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_46_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/26/aa64f89c8715c2eee051d0b1ec42a41a.jpg","text":"TemporaryFile(/tmp/multipartBody8208374377940518345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_46_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/26/4bf37492bc34c079270ade0f0214a38a.jpg","text":"TemporaryFile(/tmp/multipartBody2054458438194701489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_46_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/26/f28fb34478fe485ce11c7bdac7ca93ad.jpg","text":"TemporaryFile(/tmp/multipartBody8057915192691876899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_46_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/26/ef2d8daaa20070fca7770fe7263b972e.jpg","text":"TemporaryFile(/tmp/multipartBody6521138183867431993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_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/26/f649d7adbf98f401350b4a05203a9f13.jpg","text":"TemporaryFile(/tmp/multipartBody8452512739027775412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852513874,"filename":"image_26012025_01_47_05_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331509448","file1":"1331509445","file0":"1331509439","file4":"1331509454","file5":"1331509456","file3":"1331509452"},"map_files_photo_id_array":[{"photo_id":"1331509456","filename":"file5"},{"photo_id":"1331509448","filename":"file2"},{"photo_id":"1331509454","filename":"file4"},{"photo_id":"1331509445","filename":"file1"},{"photo_id":"1331509439","filename":"file0"},{"photo_id":"1331509452","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331509452":["hashtag1","hashtag2"]},{"1331509454":["hashtag1","hashtag2"]},{"1331509448":["hashtag1","hashtag2"]},{"1331509445":["hashtag1","hashtag2"]},{"1331509439":["hashtag1","hashtag2"]},{"1331509456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331509452, 1331509454, 1331509448, 1331509445, 1331509439, 1331509456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06152558326721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:48:33.188769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_15_10323.jpg', '/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_25_10354.jpg', '/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_35_9319.jpg', '/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_45_10363.jpg', '/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_55_9430.jpg', '/home/pi/Desktop/images/26012025/01/47/image_26012025_01_48_05_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_15_10323.jpg
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_25_10354.jpg
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_35_9319.jpg
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_45_10363.jpg
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_47_55_9430.jpg
/home/pi/Desktop/images/26012025/01/47/image_26012025_01_48_05_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331509982","1331510153","1331509960","1331509954","1331510146","1331509977"],"photo_ids_order":["1331509954","1331509960","1331509977","1331509982","1331510146","1331510153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/25f15aec00c78c45430dd85e8cacb8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6734428840675050931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_47_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/26/c7d049db55b4627cf185780fe361ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody2040742774329839495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_48_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/26/b2d6b3145be5f26d2c2aec7ea0bf325c.jpg","text":"TemporaryFile(/tmp/multipartBody2313584780555986056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_47_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/26/d93c13eb034c0f45408836c5c5909afb.jpg","text":"TemporaryFile(/tmp/multipartBody7750028364552487244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_47_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/26/7c7ae74482293d32b07332c68f5d5f48.jpg","text":"TemporaryFile(/tmp/multipartBody931078132526528946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_47_55_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/26/34e2aa397663157ee5a2b29d7dc93a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2617082884521637280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852574121,"filename":"image_26012025_01_47_35_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331509977","file1":"1331509960","file0":"1331509954","file4":"1331510146","file5":"1331510153","file3":"1331509982"},"map_files_photo_id_array":[{"photo_id":"1331510153","filename":"file5"},{"photo_id":"1331509977","filename":"file2"},{"photo_id":"1331510146","filename":"file4"},{"photo_id":"1331509960","filename":"file1"},{"photo_id":"1331509954","filename":"file0"},{"photo_id":"1331509982","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331509982":["hashtag1","hashtag2"]},{"1331510153":["hashtag1","hashtag2"]},{"1331509960":["hashtag1","hashtag2"]},{"1331509954":["hashtag1","hashtag2"]},{"1331510146":["hashtag1","hashtag2"]},{"1331509977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331509982, 1331510153, 1331509960, 1331509954, 1331510146, 1331509977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.760552406311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:49:32.440610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_15_10339.jpg', '/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_25_9438.jpg', '/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_35_10337.jpg', '/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_45_10361.jpg', '/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_55_9311.jpg', '/home/pi/Desktop/images/26012025/01/48/image_26012025_01_49_05_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_15_10339.jpg
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_25_9438.jpg
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_35_10337.jpg
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_45_10361.jpg
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_48_55_9311.jpg
/home/pi/Desktop/images/26012025/01/48/image_26012025_01_49_05_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":["1331510388","1331510390","1331510393","1331510395","1331510397","1331510385"],"photo_ids_order":["1331510385","1331510388","1331510390","1331510393","1331510395","1331510397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d06be6a0d2dbae0af50264303854a15f.jpg","text":"TemporaryFile(/tmp/multipartBody6651109716297819580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_48_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/26/b91af291f5bc10f03ae816da23dcdde6.jpg","text":"TemporaryFile(/tmp/multipartBody4482186151374261982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_48_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/26/b37ac6b73ed0071ad87bd94515369908.jpg","text":"TemporaryFile(/tmp/multipartBody8799778644510275489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_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/26/c1c66357934024ad96e221a146c9997d.jpg","text":"TemporaryFile(/tmp/multipartBody3681350778725242805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_48_55_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e579cf01a8a011310887ede1c13e9a0.jpg","text":"TemporaryFile(/tmp/multipartBody927921529071438068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_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/26/bcec1dff8445f1676c552f292aa71849.jpg","text":"TemporaryFile(/tmp/multipartBody7004479871057524567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852633376,"filename":"image_26012025_01_48_15_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331510390","file1":"1331510388","file0":"1331510385","file4":"1331510395","file5":"1331510397","file3":"1331510393"},"map_files_photo_id_array":[{"photo_id":"1331510397","filename":"file5"},{"photo_id":"1331510390","filename":"file2"},{"photo_id":"1331510395","filename":"file4"},{"photo_id":"1331510388","filename":"file1"},{"photo_id":"1331510385","filename":"file0"},{"photo_id":"1331510393","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331510388":["hashtag1","hashtag2"]},{"1331510390":["hashtag1","hashtag2"]},{"1331510393":["hashtag1","hashtag2"]},{"1331510395":["hashtag1","hashtag2"]},{"1331510397":["hashtag1","hashtag2"]},{"1331510385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331510388, 1331510390, 1331510393, 1331510395, 1331510397, 1331510385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23467564582825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:50:32.654431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_15_10322.jpg', '/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_25_9345.jpg', '/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_35_10339.jpg', '/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_45_10366.jpg', '/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_55_9344.jpg', '/home/pi/Desktop/images/26012025/01/49/image_26012025_01_50_05_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_15_10322.jpg
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_25_9345.jpg
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_35_10339.jpg
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_45_10366.jpg
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_49_55_9344.jpg
/home/pi/Desktop/images/26012025/01/49/image_26012025_01_50_05_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331510418","1331510427","1331510444","1331510414","1331510423","1331510431"],"photo_ids_order":["1331510414","1331510418","1331510423","1331510427","1331510431","1331510444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/123c618b12c17174c793c5ba9c4b84a9.jpg","text":"TemporaryFile(/tmp/multipartBody3241086447127356108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_49_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/26/87ebf2c101c4770493dc8290e57102a1.jpg","text":"TemporaryFile(/tmp/multipartBody4325921812141252692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_49_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/26/eae5b396926ebb091e0e99cae9c3e5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6697566340547531316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_50_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/26/87bd8d3d1a34fde37f6886fa40cd6f65.jpg","text":"TemporaryFile(/tmp/multipartBody274882544098391419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_49_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f41aff6aa0dc488109082cdf2df9c454.jpg","text":"TemporaryFile(/tmp/multipartBody3815667594880159205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_49_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/26/6fde7d50ec35e408229af03459bf813d.jpg","text":"TemporaryFile(/tmp/multipartBody712594334660054380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852693586,"filename":"image_26012025_01_49_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331510423","file1":"1331510418","file0":"1331510414","file4":"1331510431","file5":"1331510444","file3":"1331510427"},"map_files_photo_id_array":[{"photo_id":"1331510444","filename":"file5"},{"photo_id":"1331510423","filename":"file2"},{"photo_id":"1331510431","filename":"file4"},{"photo_id":"1331510418","filename":"file1"},{"photo_id":"1331510414","filename":"file0"},{"photo_id":"1331510427","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331510418":["hashtag1","hashtag2"]},{"1331510427":["hashtag1","hashtag2"]},{"1331510444":["hashtag1","hashtag2"]},{"1331510414":["hashtag1","hashtag2"]},{"1331510423":["hashtag1","hashtag2"]},{"1331510431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331510418, 1331510427, 1331510444, 1331510414, 1331510423, 1331510431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25651025772095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:51:32.858796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_15_9492.jpg', '/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_25_10362.jpg', '/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_35_10338.jpg', '/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_45_9337.jpg', '/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_55_10366.jpg', '/home/pi/Desktop/images/26012025/01/50/image_26012025_01_51_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_15_9492.jpg
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_25_10362.jpg
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_35_10338.jpg
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_45_9337.jpg
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_50_55_10366.jpg
/home/pi/Desktop/images/26012025/01/50/image_26012025_01_51_05_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331510754","1331510733","1331510756","1331510636","1331510722","1331510644"],"photo_ids_order":["1331510636","1331510644","1331510722","1331510733","1331510754","1331510756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de142dcbcbee89ae7fb64728e1369f63.jpg","text":"TemporaryFile(/tmp/multipartBody7245039053252092916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_50_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/26/9e91aa065e186e08f868d4742f67bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody1209391572330405909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_50_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/26/d77b26c2b66399c7192fa60583dff934.jpg","text":"TemporaryFile(/tmp/multipartBody4272437343695849883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_51_05_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a9fadcf18232d90afc45472204b746f.jpg","text":"TemporaryFile(/tmp/multipartBody1981312437159266888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_50_15_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/26/33fe7a6df00632fc63953eaf69cd06e4.jpg","text":"TemporaryFile(/tmp/multipartBody5797835633071867331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_50_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/26/d0503443d41b520f8b2966ebc6b50e7b.jpg","text":"TemporaryFile(/tmp/multipartBody3036132194104210451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852753797,"filename":"image_26012025_01_50_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331510722","file1":"1331510644","file0":"1331510636","file4":"1331510754","file5":"1331510756","file3":"1331510733"},"map_files_photo_id_array":[{"photo_id":"1331510756","filename":"file5"},{"photo_id":"1331510722","filename":"file2"},{"photo_id":"1331510754","filename":"file4"},{"photo_id":"1331510644","filename":"file1"},{"photo_id":"1331510636","filename":"file0"},{"photo_id":"1331510733","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331510754":["hashtag1","hashtag2"]},{"1331510733":["hashtag1","hashtag2"]},{"1331510756":["hashtag1","hashtag2"]},{"1331510636":["hashtag1","hashtag2"]},{"1331510722":["hashtag1","hashtag2"]},{"1331510644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331510754, 1331510733, 1331510756, 1331510636, 1331510722, 1331510644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01585817337036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:52:33.285655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_15_9370.jpg', '/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_35_10325.jpg', '/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_55_10348.jpg', '/home/pi/Desktop/images/26012025/01/51/image_26012025_01_52_05_9383.jpg', '/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_15_10326.jpg', '/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_25_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_15_9370.jpg
/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_35_10325.jpg
/home/pi/Desktop/images/26012025/01/51/image_26012025_01_51_55_10348.jpg
/home/pi/Desktop/images/26012025/01/51/image_26012025_01_52_05_9383.jpg
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_15_10326.jpg
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_25_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331510943","1331510913","1331510915","1331510918","1331510906","1331510920"],"photo_ids_order":["1331510906","1331510913","1331510915","1331510918","1331510920","1331510943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c28a7568ecb9fef0f7f06a65eac3698.jpg","text":"TemporaryFile(/tmp/multipartBody7727921197616754099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_52_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/26/8ce23e245c59ddc3a58cd97241e6caf4.jpg","text":"TemporaryFile(/tmp/multipartBody7084967236659081899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_51_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e0c6ea2813c237113f3ecc37bb0c1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3368314133822877396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_51_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/26/0df23005105706d7999ed6ddb6354add.jpg","text":"TemporaryFile(/tmp/multipartBody2383768892973247483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_52_05_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/26/1fe0844690502a52472448aa033d11c5.jpg","text":"TemporaryFile(/tmp/multipartBody6106431635770357899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_51_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/26/75e608f8000ec31fef40e11f6770d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody4541391483512479701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852814214,"filename":"image_26012025_01_52_15_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331510915","file1":"1331510913","file0":"1331510906","file4":"1331510920","file5":"1331510943","file3":"1331510918"},"map_files_photo_id_array":[{"photo_id":"1331510943","filename":"file5"},{"photo_id":"1331510915","filename":"file2"},{"photo_id":"1331510920","filename":"file4"},{"photo_id":"1331510913","filename":"file1"},{"photo_id":"1331510906","filename":"file0"},{"photo_id":"1331510918","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331510943":["hashtag1","hashtag2"]},{"1331510913":["hashtag1","hashtag2"]},{"1331510915":["hashtag1","hashtag2"]},{"1331510918":["hashtag1","hashtag2"]},{"1331510906":["hashtag1","hashtag2"]},{"1331510920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331510943, 1331510913, 1331510915, 1331510918, 1331510906, 1331510920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60892176628113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:53:32.301903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_35_9320.jpg', '/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_45_10377.jpg', '/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_55_10344.jpg', '/home/pi/Desktop/images/26012025/01/52/image_26012025_01_53_05_9324.jpg', '/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_15_10337.jpg', '/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_25_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_35_9320.jpg
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_45_10377.jpg
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_52_55_10344.jpg
/home/pi/Desktop/images/26012025/01/52/image_26012025_01_53_05_9324.jpg
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_15_10337.jpg
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_25_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":["1331511027","1331511021","1331511023","1331511017","1331511025","1331511019"],"photo_ids_order":["1331511017","1331511019","1331511021","1331511023","1331511025","1331511027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03f22ec885b25397cfa927f0c2c2ba0f.jpg","text":"TemporaryFile(/tmp/multipartBody3080600002097251264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_53_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/841bec36b45951829e9ab0b88f7141ca.jpg","text":"TemporaryFile(/tmp/multipartBody5435325832820488935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_52_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/26/d72c5cf37bf61a385d0f61a7dac5b0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4253466022075180961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_53_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/feca7f880543386f8db1d95903289058.jpg","text":"TemporaryFile(/tmp/multipartBody8755048039063844035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_52_35_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/26/03a8eee777eef766b3d42c3171849b17.jpg","text":"TemporaryFile(/tmp/multipartBody7580299035391722779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_53_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/26/ff02ac093d0b9dc998f62e38b94191b6.jpg","text":"TemporaryFile(/tmp/multipartBody7121036198192149770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852873225,"filename":"image_26012025_01_52_45_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331511021","file1":"1331511019","file0":"1331511017","file4":"1331511025","file5":"1331511027","file3":"1331511023"},"map_files_photo_id_array":[{"photo_id":"1331511027","filename":"file5"},{"photo_id":"1331511021","filename":"file2"},{"photo_id":"1331511025","filename":"file4"},{"photo_id":"1331511019","filename":"file1"},{"photo_id":"1331511017","filename":"file0"},{"photo_id":"1331511023","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331511027":["hashtag1","hashtag2"]},{"1331511021":["hashtag1","hashtag2"]},{"1331511023":["hashtag1","hashtag2"]},{"1331511017":["hashtag1","hashtag2"]},{"1331511025":["hashtag1","hashtag2"]},{"1331511019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331511027, 1331511021, 1331511023, 1331511017, 1331511025, 1331511019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66304564476013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:54:32.484704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_35_9407.jpg', '/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_45_10347.jpg', '/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_55_10340.jpg', '/home/pi/Desktop/images/26012025/01/53/image_26012025_01_54_05_9408.jpg', '/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_15_10353.jpg', '/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_25_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_35_9407.jpg
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_45_10347.jpg
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_53_55_10340.jpg
/home/pi/Desktop/images/26012025/01/53/image_26012025_01_54_05_9408.jpg
/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_15_10353.jpg
/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_25_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331511077","1331511053","1331511122","1331511085","1331511064","1331511109"],"photo_ids_order":["1331511053","1331511064","1331511077","1331511085","1331511109","1331511122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/99015e45c8454b13d91068828617f411.jpg","text":"TemporaryFile(/tmp/multipartBody729760669216039597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_53_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bf97d32f7480bb4cf5f62a57f1e0339.jpg","text":"TemporaryFile(/tmp/multipartBody4760848367398127462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_53_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/26/93e6f2919b4b9d99a969e99a7d6c186f.jpg","text":"TemporaryFile(/tmp/multipartBody4541792991064085128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_54_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f50dc2d50851387cff9f27850be082f.jpg","text":"TemporaryFile(/tmp/multipartBody1421740581153652594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_54_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8cf877f512614e407644407a62932c61.jpg","text":"TemporaryFile(/tmp/multipartBody7151538350403710299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_53_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/26/808d558b5695588d563ab15c869de202.jpg","text":"TemporaryFile(/tmp/multipartBody2261586763691769581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852933452,"filename":"image_26012025_01_54_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331511077","file1":"1331511064","file0":"1331511053","file4":"1331511109","file5":"1331511122","file3":"1331511085"},"map_files_photo_id_array":[{"photo_id":"1331511122","filename":"file5"},{"photo_id":"1331511077","filename":"file2"},{"photo_id":"1331511109","filename":"file4"},{"photo_id":"1331511064","filename":"file1"},{"photo_id":"1331511053","filename":"file0"},{"photo_id":"1331511085","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331511077":["hashtag1","hashtag2"]},{"1331511053":["hashtag1","hashtag2"]},{"1331511122":["hashtag1","hashtag2"]},{"1331511085":["hashtag1","hashtag2"]},{"1331511064":["hashtag1","hashtag2"]},{"1331511109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331511077, 1331511053, 1331511122, 1331511085, 1331511064, 1331511109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.2653489112854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:55:32.713307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_35_10360.jpg', '/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_45_10345.jpg', '/home/pi/Desktop/images/26012025/01/54/image_26012025_01_55_05_10350.jpg', '/home/pi/Desktop/images/26012025/01/55/image_26012025_01_55_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_35_10360.jpg
/home/pi/Desktop/images/26012025/01/54/image_26012025_01_54_45_10345.jpg
/home/pi/Desktop/images/26012025/01/54/image_26012025_01_55_05_10350.jpg
/home/pi/Desktop/images/26012025/01/55/image_26012025_01_55_15_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331511152","1331511154","1331511157","1331511139"],"photo_ids_order":["1331511139","1331511152","1331511154","1331511157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08efa4dd1c89ce3689834294221faf7f.jpg","text":"TemporaryFile(/tmp/multipartBody5281027511008239923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852993623,"filename":"image_26012025_01_54_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/26/cc345613bb7d22ecbe47119d92fd0d2d.jpg","text":"TemporaryFile(/tmp/multipartBody1786469050995008789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852993623,"filename":"image_26012025_01_55_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/26/8b04cd74ca415e8fd951400cbfa25d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5075450672976634796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852993623,"filename":"image_26012025_01_55_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/26/eba445a852ed4c80598058a8547f2c68.jpg","text":"TemporaryFile(/tmp/multipartBody7646161937303784638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737852993623,"filename":"image_26012025_01_54_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331511154","file1":"1331511152","file0":"1331511139","file3":"1331511157"},"map_files_photo_id_array":[{"photo_id":"1331511154","filename":"file2"},{"photo_id":"1331511152","filename":"file1"},{"photo_id":"1331511139","filename":"file0"},{"photo_id":"1331511157","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331511152":["hashtag1","hashtag2"]},{"1331511154":["hashtag1","hashtag2"]},{"1331511157":["hashtag1","hashtag2"]},{"1331511139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331511152, 1331511154, 1331511157, 1331511139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.67781114578247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:56:03.781398
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2699635028839111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 01:56:32.973265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/55/image_26012025_01_55_45_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/55/image_26012025_01_55_45_10370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331511182"],"photo_id":"1331511182","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/75268b44ad8790553939dbdc684b6f22.jpg","text":"TemporaryFile(/tmp/multipartBody593432564071245418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853053804,"filename":"image_26012025_01_55_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331511182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331511182"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.922014951705933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:56:52.975084
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg', '/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_15_10351.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_24_9412.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_34_10362.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_45_10340.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_44_54_9366.jpg
/home/pi/Desktop/images/23012025/20/44/image_23012025_20_45_04_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331511507","1331511503","1331511446","1331511236","1331511325","1331511505"],"photo_ids_order":["1331511236","1331511325","1331511446","1331511503","1331511505","1331511507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f94f8e61f45c44bf41deed062dd35b86.jpg","text":"TemporaryFile(/tmp/multipartBody17726424969150630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_45_04_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/26/1634310d785b3dd40837bceb78b14565.jpg","text":"TemporaryFile(/tmp/multipartBody8192259293453302751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_44_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/26/5661139fe322017774da5efb290bad47.jpg","text":"TemporaryFile(/tmp/multipartBody2734900221178377073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_44_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ee10ad70f09c435cbb487fb7d909ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5790780871191299428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_44_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/26/27eeb48945823c14f272d216ede53d14.jpg","text":"TemporaryFile(/tmp/multipartBody1467790247682147487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_44_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/26/713586716b7c94dcdfb7375f91b0a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1764241854619569788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853075267,"filename":"image_23012025_20_44_54_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331511446","file1":"1331511325","file0":"1331511236","file4":"1331511505","file5":"1331511507","file3":"1331511503"},"map_files_photo_id_array":[{"photo_id":"1331511507","filename":"file5"},{"photo_id":"1331511446","filename":"file2"},{"photo_id":"1331511505","filename":"file4"},{"photo_id":"1331511325","filename":"file1"},{"photo_id":"1331511236","filename":"file0"},{"photo_id":"1331511503","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331511507":["hashtag1","hashtag2"]},{"1331511503":["hashtag1","hashtag2"]},{"1331511446":["hashtag1","hashtag2"]},{"1331511236":["hashtag1","hashtag2"]},{"1331511325":["hashtag1","hashtag2"]},{"1331511505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331511507, 1331511503, 1331511446, 1331511236, 1331511325, 1331511505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.527355670928955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:57:42.187049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/56/image_26012025_01_56_35_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/56/image_26012025_01_56_35_10330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331511569"],"photo_id":"1331511569","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49f2b6d78fd285301e8aaf01e43cbdf2.jpg","text":"TemporaryFile(/tmp/multipartBody2675115345153809962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853123013,"filename":"image_26012025_01_56_35_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331511569"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331511569"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.277578830718994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 01:59:04.400125
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_15_10341.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_34_10357.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_45_10337.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_54_9425.jpg', '/home/pi/Desktop/images/23012025/20/45/image_23012025_20_46_05_10373.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_14_9465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_15_10341.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_34_10357.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_45_10337.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_45_54_9425.jpg
/home/pi/Desktop/images/23012025/20/45/image_23012025_20_46_05_10373.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_14_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331512007","1331511991","1331511994","1331512015","1331512009","1331511996"],"photo_ids_order":["1331511991","1331511994","1331511996","1331512007","1331512009","1331512015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a58e0721cbb97c9076ab57bdd5b47ae.jpg","text":"TemporaryFile(/tmp/multipartBody7191167891993008622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_45_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/26/5d20bf9afd4c4e7f2cff528ae0f75e02.jpg","text":"TemporaryFile(/tmp/multipartBody4517109907778896281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_45_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f180d20f2730fa6743e0077a182fe814.jpg","text":"TemporaryFile(/tmp/multipartBody4519579550338782026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_45_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/26/caca2d2ebeae9825a3ce83c2d8625c47.jpg","text":"TemporaryFile(/tmp/multipartBody6330450156281878833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_46_14_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/26/9d48458bfc1dff8eac90e8d0a2004582.jpg","text":"TemporaryFile(/tmp/multipartBody5451927114704390764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_46_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/26/b275a70900189212459646248ccc04ee.jpg","text":"TemporaryFile(/tmp/multipartBody8081198906995039998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853206279,"filename":"image_23012025_20_45_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331511996","file1":"1331511994","file0":"1331511991","file4":"1331512009","file5":"1331512015","file3":"1331512007"},"map_files_photo_id_array":[{"photo_id":"1331512015","filename":"file5"},{"photo_id":"1331511996","filename":"file2"},{"photo_id":"1331512009","filename":"file4"},{"photo_id":"1331511994","filename":"file1"},{"photo_id":"1331511991","filename":"file0"},{"photo_id":"1331512007","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331512007":["hashtag1","hashtag2"]},{"1331511991":["hashtag1","hashtag2"]},{"1331511994":["hashtag1","hashtag2"]},{"1331512015":["hashtag1","hashtag2"]},{"1331512009":["hashtag1","hashtag2"]},{"1331511996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331512007, 1331511991, 1331511994, 1331512015, 1331512009, 1331511996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86034345626831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 01:59:52.633162
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_24_10354.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_35_10335.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_44_9338.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_54_10351.jpg', '/home/pi/Desktop/images/23012025/20/46/image_23012025_20_47_05_10349.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_14_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_24_10354.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_35_10335.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_44_9338.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_46_54_10351.jpg
/home/pi/Desktop/images/23012025/20/46/image_23012025_20_47_05_10349.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_14_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":["1331512076","1331512054","1331512078","1331512057","1331512051","1331512056"],"photo_ids_order":["1331512051","1331512054","1331512056","1331512057","1331512076","1331512078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/205dd1f5f5cd10744709f20afa2c8085.jpg","text":"TemporaryFile(/tmp/multipartBody1358187394941307838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_47_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/26/9e2d6d552f4839806ff6d3d5cd1e1273.jpg","text":"TemporaryFile(/tmp/multipartBody2468150333023082737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_46_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/26/e00b7bac16270aa6c0a135a472f0c125.jpg","text":"TemporaryFile(/tmp/multipartBody1002615495505844742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_47_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/26/73357e74ff7ce8f07651767e41629b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8335492088067368772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_46_54_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/26/41c78e814be7d17eb4749c01bb239e94.jpg","text":"TemporaryFile(/tmp/multipartBody2104485829651347453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_46_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/26/70bdb1e83def56a22fb7d0fb0e99565a.jpg","text":"TemporaryFile(/tmp/multipartBody8161332769698635982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853255042,"filename":"image_23012025_20_46_44_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512056","file1":"1331512054","file0":"1331512051","file4":"1331512076","file5":"1331512078","file3":"1331512057"},"map_files_photo_id_array":[{"photo_id":"1331512078","filename":"file5"},{"photo_id":"1331512056","filename":"file2"},{"photo_id":"1331512076","filename":"file4"},{"photo_id":"1331512054","filename":"file1"},{"photo_id":"1331512051","filename":"file0"},{"photo_id":"1331512057","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331512076":["hashtag1","hashtag2"]},{"1331512054":["hashtag1","hashtag2"]},{"1331512078":["hashtag1","hashtag2"]},{"1331512057":["hashtag1","hashtag2"]},{"1331512051":["hashtag1","hashtag2"]},{"1331512056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331512076, 1331512054, 1331512078, 1331512057, 1331512051, 1331512056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12051558494568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:00:42.841066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/01/56/image_26012025_01_57_05_10316.jpg', '/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_15_10331.jpg', '/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_25_10351.jpg', '/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_45_10353.jpg', '/home/pi/Desktop/images/26012025/01/59/image_26012025_01_59_35_10347.jpg', '/home/pi/Desktop/images/26012025/01/59/image_26012025_01_59_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/01/56/image_26012025_01_57_05_10316.jpg
/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_15_10331.jpg
/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_25_10351.jpg
/home/pi/Desktop/images/26012025/01/58/image_26012025_01_58_45_10353.jpg
/home/pi/Desktop/images/26012025/01/59/image_26012025_01_59_35_10347.jpg
/home/pi/Desktop/images/26012025/01/59/image_26012025_01_59_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":["1331512181","1331512097","1331512109","1331512180","1331512177","1331512104"],"photo_ids_order":["1331512097","1331512104","1331512109","1331512177","1331512180","1331512181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c1ef8fa9b7cb46b86c4ac0b22c057f9.jpg","text":"TemporaryFile(/tmp/multipartBody3712042298872016003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_59_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2aa4b869e361a6689d146ca653d85010.jpg","text":"TemporaryFile(/tmp/multipartBody852407450950926732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_57_05_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/782ca59545e8571f86709592ab97dbff.jpg","text":"TemporaryFile(/tmp/multipartBody7414300404224353003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_58_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/26/c78b2ae87b2f932e08d2da5b774a4e14.jpg","text":"TemporaryFile(/tmp/multipartBody4776882455728094063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_59_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/26/41edd777e67b3a7059a80a5887de3253.jpg","text":"TemporaryFile(/tmp/multipartBody181022431359521334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_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/26/63cab86302893e9d468d51f106b5c4f2.jpg","text":"TemporaryFile(/tmp/multipartBody2083157597518723611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853303759,"filename":"image_26012025_01_58_15_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512109","file1":"1331512104","file0":"1331512097","file4":"1331512180","file5":"1331512181","file3":"1331512177"},"map_files_photo_id_array":[{"photo_id":"1331512181","filename":"file5"},{"photo_id":"1331512109","filename":"file2"},{"photo_id":"1331512180","filename":"file4"},{"photo_id":"1331512104","filename":"file1"},{"photo_id":"1331512097","filename":"file0"},{"photo_id":"1331512177","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512181":["hashtag1","hashtag2"]},{"1331512097":["hashtag1","hashtag2"]},{"1331512109":["hashtag1","hashtag2"]},{"1331512180":["hashtag1","hashtag2"]},{"1331512177":["hashtag1","hashtag2"]},{"1331512104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512181, 1331512097, 1331512109, 1331512180, 1331512177, 1331512104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55743980407715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:01:33.103235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_37_10410.jpg', '/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_46_9386.jpg', '/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_57_10344.jpg', '/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_37_10410.jpg
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_46_9386.jpg
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_57_10344.jpg
/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_37_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.5167436599731445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:01:43.069775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_37_10410.jpg', '/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_46_9386.jpg', '/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_57_10344.jpg', '/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_37_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_37_10410.jpg
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_46_9386.jpg
/home/pi/Desktop/images/26012025/02/00/image_26012025_02_00_57_10344.jpg
/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_37_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331512456","1331512482","1331512509","1331512500"],"photo_ids_order":["1331512456","1331512482","1331512500","1331512509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a7b4cfc605e3fbfeebf804792a6568d.jpg","text":"TemporaryFile(/tmp/multipartBody3910080282426703300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853363954,"filename":"image_26012025_02_00_37_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/89b25d404d119be1cd5a836f7236fff5.jpg","text":"TemporaryFile(/tmp/multipartBody1704130305478717653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853363954,"filename":"image_26012025_02_00_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fcaff0a563428401c7942bb8d656775d.jpg","text":"TemporaryFile(/tmp/multipartBody1145397803438092909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853363954,"filename":"image_26012025_02_01_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/26/d078dff107da852748ca244ab4e79483.jpg","text":"TemporaryFile(/tmp/multipartBody8157409472833938389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853363954,"filename":"image_26012025_02_00_57_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512500","file1":"1331512482","file0":"1331512456","file3":"1331512509"},"map_files_photo_id_array":[{"photo_id":"1331512500","filename":"file2"},{"photo_id":"1331512482","filename":"file1"},{"photo_id":"1331512456","filename":"file0"},{"photo_id":"1331512509","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512456":["hashtag1","hashtag2"]},{"1331512482":["hashtag1","hashtag2"]},{"1331512509":["hashtag1","hashtag2"]},{"1331512500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512456, 1331512482, 1331512509, 1331512500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.8130099773407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:02:32.248840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_57_10415.jpg', '/home/pi/Desktop/images/26012025/02/01/image_26012025_02_02_06_9394.jpg', '/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_36_10416.jpg', '/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/01/image_26012025_02_01_57_10415.jpg
/home/pi/Desktop/images/26012025/02/01/image_26012025_02_02_06_9394.jpg
/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_36_10416.jpg
/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_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":["1331512664","1331512667","1331512669","1331512660"],"photo_ids_order":["1331512660","1331512664","1331512667","1331512669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39d574de43691c821197281177b4f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6335739637077692058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853413138,"filename":"image_26012025_02_02_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca1a74edb6574e1a016b7e8dfeab8a28.jpg","text":"TemporaryFile(/tmp/multipartBody1783380722104455629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853413138,"filename":"image_26012025_02_02_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/26/7acd1be28e95711754ce6cbfe8034576.jpg","text":"TemporaryFile(/tmp/multipartBody8882027521790462801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853413138,"filename":"image_26012025_02_02_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/26/f72a975882f1bbed20611b0b7232fab3.jpg","text":"TemporaryFile(/tmp/multipartBody1810017964987310461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853413138,"filename":"image_26012025_02_01_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512667","file1":"1331512664","file0":"1331512660","file3":"1331512669"},"map_files_photo_id_array":[{"photo_id":"1331512667","filename":"file2"},{"photo_id":"1331512664","filename":"file1"},{"photo_id":"1331512660","filename":"file0"},{"photo_id":"1331512669","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512664":["hashtag1","hashtag2"]},{"1331512667":["hashtag1","hashtag2"]},{"1331512669":["hashtag1","hashtag2"]},{"1331512660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512664, 1331512667, 1331512669, 1331512660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.511833667755127 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-26 02:03:32.552771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_56_9338.jpg', '/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_17_10344.jpg', '/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_26_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/02/image_26012025_02_02_56_9338.jpg
/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_17_10344.jpg
/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_26_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":["1331512724","1331512729","1331512719"],"photo_ids_order":["1331512719","1331512724","1331512729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8aa51869eb2154358089852cca0473ec.jpg","text":"TemporaryFile(/tmp/multipartBody7151078672701368809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853473437,"filename":"image_26012025_02_03_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/26/83e61482408fce4701632abd837d119c.jpg","text":"TemporaryFile(/tmp/multipartBody8824615178355347630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853473437,"filename":"image_26012025_02_03_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/26/e086174576db58441cc8e37a605e4757.jpg","text":"TemporaryFile(/tmp/multipartBody8738675997854559578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853473437,"filename":"image_26012025_02_02_56_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512729","file1":"1331512724","file0":"1331512719"},"map_files_photo_id_array":[{"photo_id":"1331512729","filename":"file2"},{"photo_id":"1331512724","filename":"file1"},{"photo_id":"1331512719","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512724":["hashtag1","hashtag2"]},{"1331512729":["hashtag1","hashtag2"]},{"1331512719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512724, 1331512729, 1331512719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.9475839138031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:04:03.313523
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_24_10348.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_35_10342.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_44_9358.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_55_10438.jpg', '/home/pi/Desktop/images/23012025/20/47/image_23012025_20_48_04_9477.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_14_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_24_10348.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_35_10342.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_44_9358.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_47_55_10438.jpg
/home/pi/Desktop/images/23012025/20/47/image_23012025_20_48_04_9477.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_14_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":["1331512784","1331512759","1331512782","1331512761","1331512755","1331512760"],"photo_ids_order":["1331512755","1331512759","1331512760","1331512761","1331512782","1331512784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b2b97503773f4cda4270392463f6b99.jpg","text":"TemporaryFile(/tmp/multipartBody623874705897613983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_48_14_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/26/a5b3fd2d6fcdfe494938965cb3431dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1882303397951046523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_47_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/26/1f6c23fb2913e91c1f508931932432e7.jpg","text":"TemporaryFile(/tmp/multipartBody6220866223965628182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_48_04_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/26/c6a71aa6c9f4d29799cab775a9d9d066.jpg","text":"TemporaryFile(/tmp/multipartBody898515552020661181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_47_55_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/26/6a4d658ed7d77759910dd0ed3d47890d.jpg","text":"TemporaryFile(/tmp/multipartBody5932689558870519178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_47_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/26/0ea249682dc387de64d9f03e63cb476b.jpg","text":"TemporaryFile(/tmp/multipartBody956581490256059022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853505005,"filename":"image_23012025_20_47_44_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512760","file1":"1331512759","file0":"1331512755","file4":"1331512782","file5":"1331512784","file3":"1331512761"},"map_files_photo_id_array":[{"photo_id":"1331512784","filename":"file5"},{"photo_id":"1331512760","filename":"file2"},{"photo_id":"1331512782","filename":"file4"},{"photo_id":"1331512759","filename":"file1"},{"photo_id":"1331512755","filename":"file0"},{"photo_id":"1331512761","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331512784":["hashtag1","hashtag2"]},{"1331512759":["hashtag1","hashtag2"]},{"1331512782":["hashtag1","hashtag2"]},{"1331512761":["hashtag1","hashtag2"]},{"1331512755":["hashtag1","hashtag2"]},{"1331512760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331512784, 1331512759, 1331512782, 1331512761, 1331512755, 1331512760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52734088897705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:04:52.695314
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9757354259490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:05:04.758872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_46_9347.jpg', '/home/pi/Desktop/images/26012025/02/03/image_26012025_02_04_07_10412.jpg', '/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_16_9348.jpg', '/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_27_10464.jpg', '/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_36_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/03/image_26012025_02_03_46_9347.jpg
/home/pi/Desktop/images/26012025/02/03/image_26012025_02_04_07_10412.jpg
/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_16_9348.jpg
/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_27_10464.jpg
/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_36_9452.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331512816","1331512810","1331512804","1331512813","1331512807"],"photo_ids_order":["1331512804","1331512807","1331512810","1331512813","1331512816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4483af741856d686a007561f042d7bd.jpg","text":"TemporaryFile(/tmp/multipartBody8587947573989635032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853565834,"filename":"image_26012025_02_04_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ec81f72843b91349ab07f021f1ccfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3187274020254498198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853565834,"filename":"image_26012025_02_04_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/26/07a594bb2ca8546ddb8dd2a78ceb8aaa.jpg","text":"TemporaryFile(/tmp/multipartBody7997549450695641987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853565834,"filename":"image_26012025_02_03_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/26/b5090d7ac14dde626391d1f2bcfbf5fd.jpg","text":"TemporaryFile(/tmp/multipartBody459097794098901166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853565834,"filename":"image_26012025_02_04_27_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe509391e97fe72c7b224f9b6e65d93a.jpg","text":"TemporaryFile(/tmp/multipartBody5902835788913739008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853565834,"filename":"image_26012025_02_04_07_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512810","file1":"1331512807","file0":"1331512804","file4":"1331512816","file3":"1331512813"},"map_files_photo_id_array":[{"photo_id":"1331512810","filename":"file2"},{"photo_id":"1331512816","filename":"file4"},{"photo_id":"1331512807","filename":"file1"},{"photo_id":"1331512804","filename":"file0"},{"photo_id":"1331512813","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512816":["hashtag1","hashtag2"]},{"1331512810":["hashtag1","hashtag2"]},{"1331512804":["hashtag1","hashtag2"]},{"1331512813":["hashtag1","hashtag2"]},{"1331512807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512816, 1331512810, 1331512804, 1331512813, 1331512807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.43017339706421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:05:42.998151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_47_10417.jpg', '/home/pi/Desktop/images/26012025/02/04/image_26012025_02_05_06_9328.jpg', '/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_17_10373.jpg', '/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_26_9481.jpg', '/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_36_10340.jpg', '/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_47_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/04/image_26012025_02_04_47_10417.jpg
/home/pi/Desktop/images/26012025/02/04/image_26012025_02_05_06_9328.jpg
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_17_10373.jpg
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_26_9481.jpg
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_36_10340.jpg
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_47_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331512982","1331512952","1331512981","1331512942","1331512980","1331512983"],"photo_ids_order":["1331512942","1331512952","1331512980","1331512981","1331512982","1331512983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a3473962d42a70877c288448e552955.jpg","text":"TemporaryFile(/tmp/multipartBody8589049093962454913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_05_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/26/5f3defcb5ba395c6232ab68b22f16f75.jpg","text":"TemporaryFile(/tmp/multipartBody4106040643931223326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_05_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/26/73215047a320e23376c474d9880598e8.jpg","text":"TemporaryFile(/tmp/multipartBody6301598933431453309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_05_26_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/26/c0614b26cf58d8cf57f36cc6528f084d.jpg","text":"TemporaryFile(/tmp/multipartBody248689032398035120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_04_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2011ace15bc08ff9c3b38a9b91d13eb.jpg","text":"TemporaryFile(/tmp/multipartBody6600353019115948781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_05_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/26/2bb06d282937c74db7fd2e7cb456aaaa.jpg","text":"TemporaryFile(/tmp/multipartBody8651189958464897767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853603929,"filename":"image_26012025_02_05_47_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512980","file1":"1331512952","file0":"1331512942","file4":"1331512982","file5":"1331512983","file3":"1331512981"},"map_files_photo_id_array":[{"photo_id":"1331512983","filename":"file5"},{"photo_id":"1331512980","filename":"file2"},{"photo_id":"1331512982","filename":"file4"},{"photo_id":"1331512952","filename":"file1"},{"photo_id":"1331512942","filename":"file0"},{"photo_id":"1331512981","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512982":["hashtag1","hashtag2"]},{"1331512952":["hashtag1","hashtag2"]},{"1331512981":["hashtag1","hashtag2"]},{"1331512942":["hashtag1","hashtag2"]},{"1331512980":["hashtag1","hashtag2"]},{"1331512983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512982, 1331512952, 1331512981, 1331512942, 1331512980, 1331512983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13253974914551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:06:33.151588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_56_9331.jpg', '/home/pi/Desktop/images/26012025/02/05/image_26012025_02_06_07_10391.jpg', '/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_17_10381.jpg', '/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_26_9339.jpg', '/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_37_10465.jpg', '/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_46_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_05_56_9331.jpg
/home/pi/Desktop/images/26012025/02/05/image_26012025_02_06_07_10391.jpg
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_17_10381.jpg
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_26_9339.jpg
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_37_10465.jpg
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_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":["1331512999","1331513005","1331513008","1331512989","1331513010","1331512994"],"photo_ids_order":["1331512989","1331512994","1331512999","1331513005","1331513008","1331513010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49ae66b9cc94d9eea3163ca2a7d52f49.jpg","text":"TemporaryFile(/tmp/multipartBody6449838543509076269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_06_17_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/214b5769d4f198e20490be9ccf5cff7b.jpg","text":"TemporaryFile(/tmp/multipartBody8896655235281413844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_06_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/26/0d065da4438b06030115e026616a611d.jpg","text":"TemporaryFile(/tmp/multipartBody5538169500119994196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_06_37_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/26/60301cf131409a0e1ae9b3b7e1a546fa.jpg","text":"TemporaryFile(/tmp/multipartBody3257275165540562493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_05_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/26/f6376a7308b0f764b8cddbd4163a2e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3261991431168477404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_06_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/26/accae295a7c59a8456904c9ce46c26b0.jpg","text":"TemporaryFile(/tmp/multipartBody8096473063395552731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853654076,"filename":"image_26012025_02_06_07_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331512999","file1":"1331512994","file0":"1331512989","file4":"1331513008","file5":"1331513010","file3":"1331513005"},"map_files_photo_id_array":[{"photo_id":"1331513010","filename":"file5"},{"photo_id":"1331512999","filename":"file2"},{"photo_id":"1331513008","filename":"file4"},{"photo_id":"1331512994","filename":"file1"},{"photo_id":"1331512989","filename":"file0"},{"photo_id":"1331513005","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331512999":["hashtag1","hashtag2"]},{"1331513005":["hashtag1","hashtag2"]},{"1331513008":["hashtag1","hashtag2"]},{"1331512989":["hashtag1","hashtag2"]},{"1331513010":["hashtag1","hashtag2"]},{"1331512994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331512999, 1331513005, 1331513008, 1331512989, 1331513010, 1331512994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58087992668152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:07:32.288937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_57_10477.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_16_9326.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_27_10463.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_36_9421.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_47_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_57_10477.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_16_9326.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_27_10463.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_36_9421.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_47_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.5249786376953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:07:42.266103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_57_10477.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_16_9326.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_27_10463.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_36_9421.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_47_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/06/image_26012025_02_06_57_10477.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_16_9326.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_27_10463.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_36_9421.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_47_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":["1331513992","1331513989","1331513985","1331513987","1331513951"],"photo_ids_order":["1331513951","1331513985","1331513987","1331513989","1331513992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d58a0cf7907fbeff482a78ff166de485.jpg","text":"TemporaryFile(/tmp/multipartBody3520344746304119678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853723222,"filename":"image_26012025_02_07_47_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/26/5745d1262146cc0fe6299fa5bcb485dd.jpg","text":"TemporaryFile(/tmp/multipartBody2539148357427791430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853723222,"filename":"image_26012025_02_07_36_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f8300be62904fe0167e6a6d4010714c.jpg","text":"TemporaryFile(/tmp/multipartBody2442660904919648694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853723222,"filename":"image_26012025_02_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/26/a16429ba58b227d9ab1a2514ed2761bd.jpg","text":"TemporaryFile(/tmp/multipartBody1174912817550509803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853723222,"filename":"image_26012025_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/26/364a2528648c38fdd35ccaadc52ad751.jpg","text":"TemporaryFile(/tmp/multipartBody8265896898473629392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853723222,"filename":"image_26012025_02_06_57_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331513987","file1":"1331513985","file0":"1331513951","file4":"1331513992","file3":"1331513989"},"map_files_photo_id_array":[{"photo_id":"1331513987","filename":"file2"},{"photo_id":"1331513992","filename":"file4"},{"photo_id":"1331513985","filename":"file1"},{"photo_id":"1331513951","filename":"file0"},{"photo_id":"1331513989","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331513992":["hashtag1","hashtag2"]},{"1331513989":["hashtag1","hashtag2"]},{"1331513985":["hashtag1","hashtag2"]},{"1331513987":["hashtag1","hashtag2"]},{"1331513951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331513992, 1331513989, 1331513985, 1331513987, 1331513951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.694589376449585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:08:32.550421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_57_10362.jpg', '/home/pi/Desktop/images/26012025/02/07/image_26012025_02_08_06_9341.jpg', '/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_17_10437.jpg', '/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_26_9341.jpg', '/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_36_10355.jpg', '/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_47_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_07_57_10362.jpg
/home/pi/Desktop/images/26012025/02/07/image_26012025_02_08_06_9341.jpg
/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_17_10437.jpg
/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_26_9341.jpg
/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_36_10355.jpg
/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_47_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":["1331514022","1331514024","1331514018","1331514033","1331514015","1331514011"],"photo_ids_order":["1331514011","1331514015","1331514018","1331514022","1331514024","1331514033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9040e0c8b06503b35bf6c4732068c1fa.jpg","text":"TemporaryFile(/tmp/multipartBody6593305456924770263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_08_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/26/13cc468387ed16dac69a1066b39baab4.jpg","text":"TemporaryFile(/tmp/multipartBody3939214502469550428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_08_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/26/2f832d270c018dbe444d2a5edfb0bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody4181248112883137879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_08_17_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e9f711a98ae0379f90381d3b5ea5a97.jpg","text":"TemporaryFile(/tmp/multipartBody5911293180537750871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_08_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/26/5581bb8f3570284a6446d4993d9bc86e.jpg","text":"TemporaryFile(/tmp/multipartBody6044950478445820737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_08_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/678700cfb72921c4f68cab65a732af23.jpg","text":"TemporaryFile(/tmp/multipartBody9206729528613777843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853773485,"filename":"image_26012025_02_07_57_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331514018","file1":"1331514015","file0":"1331514011","file4":"1331514024","file5":"1331514033","file3":"1331514022"},"map_files_photo_id_array":[{"photo_id":"1331514033","filename":"file5"},{"photo_id":"1331514018","filename":"file2"},{"photo_id":"1331514024","filename":"file4"},{"photo_id":"1331514015","filename":"file1"},{"photo_id":"1331514011","filename":"file0"},{"photo_id":"1331514022","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331514022":["hashtag1","hashtag2"]},{"1331514024":["hashtag1","hashtag2"]},{"1331514018":["hashtag1","hashtag2"]},{"1331514033":["hashtag1","hashtag2"]},{"1331514015":["hashtag1","hashtag2"]},{"1331514011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331514022, 1331514024, 1331514018, 1331514033, 1331514015, 1331514011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.578415632247925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:09:32.861998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_56_9322.jpg', '/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_16_9396.jpg', '/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_26_10352.jpg', '/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_37_10341.jpg', '/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/08/image_26012025_02_08_56_9322.jpg
/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_16_9396.jpg
/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_26_10352.jpg
/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_37_10341.jpg
/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_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":["1331514475","1331514628","1331514588","1331514603","1331514545"],"photo_ids_order":["1331514475","1331514545","1331514588","1331514603","1331514628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/751c6f2545ec6e816680132cf9abf5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8953014310959954399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853833777,"filename":"image_26012025_02_08_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fcbaa86d4a72cce5697b5fdc7768be9a.jpg","text":"TemporaryFile(/tmp/multipartBody6405874565609639205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853833777,"filename":"image_26012025_02_09_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/26/35d238f18ecaa397f39d0f8d63de3657.jpg","text":"TemporaryFile(/tmp/multipartBody4448299048126644565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853833777,"filename":"image_26012025_02_09_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/26/d70dee3af61ace7bcaac85b8d3cb9307.jpg","text":"TemporaryFile(/tmp/multipartBody2687970477712112213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853833777,"filename":"image_26012025_02_09_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/26/0c44336fb8d800b24a777733818e3116.jpg","text":"TemporaryFile(/tmp/multipartBody8646901044517734386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853833777,"filename":"image_26012025_02_09_16_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331514588","file1":"1331514545","file0":"1331514475","file4":"1331514628","file3":"1331514603"},"map_files_photo_id_array":[{"photo_id":"1331514588","filename":"file2"},{"photo_id":"1331514628","filename":"file4"},{"photo_id":"1331514545","filename":"file1"},{"photo_id":"1331514475","filename":"file0"},{"photo_id":"1331514603","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331514475":["hashtag1","hashtag2"]},{"1331514628":["hashtag1","hashtag2"]},{"1331514588":["hashtag1","hashtag2"]},{"1331514603":["hashtag1","hashtag2"]},{"1331514545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331514475, 1331514628, 1331514588, 1331514603, 1331514545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.28371739387512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:10:33.137286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_57_10384.jpg', '/home/pi/Desktop/images/26012025/02/10/image_26012025_02_10_16_9323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/09/image_26012025_02_09_57_10384.jpg
/home/pi/Desktop/images/26012025/02/10/image_26012025_02_10_16_9323.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331514681","1331514677"],"photo_ids_order":["1331514677","1331514681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/376dcd7e3ae63c309346577f0218784c.jpg","text":"TemporaryFile(/tmp/multipartBody1622479172459756656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853893996,"filename":"image_26012025_02_10_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41e7abe835f4ad5e47015c82cbd3b07c.jpg","text":"TemporaryFile(/tmp/multipartBody2358332306314538240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853893996,"filename":"image_26012025_02_09_57_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331514681","file0":"1331514677"},"map_files_photo_id_array":[{"photo_id":"1331514681","filename":"file1"},{"photo_id":"1331514677","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331514681":["hashtag1","hashtag2"]},{"1331514677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331514681, 1331514677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.392844200134277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:10:52.985182
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.8767340183258057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:11:03.926984
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg', '/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_25_10393.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_34_9390.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_45_10331.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_48_54_9437.jpg
/home/pi/Desktop/images/23012025/20/48/image_23012025_20_49_04_10343.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_15_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331514700","1331514879","1331514927","1331514936","1331514694","1331514760"],"photo_ids_order":["1331514694","1331514700","1331514760","1331514879","1331514927","1331514936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c050ae7a520b0ec9629e2de1e2f80ff.jpg","text":"TemporaryFile(/tmp/multipartBody704016682014821379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_48_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c10e4e7f90512c920aff5ca96775e405.jpg","text":"TemporaryFile(/tmp/multipartBody1688376353854600571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_48_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb711d7488c3905cc9be0f9d056b20e7.jpg","text":"TemporaryFile(/tmp/multipartBody684548225757549174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_49_04_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/26/753e7470687494dacfb578d6f98d7a12.jpg","text":"TemporaryFile(/tmp/multipartBody8336457942770198645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_49_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/26/31c6def80a4a99c017eff4e888c0677d.jpg","text":"TemporaryFile(/tmp/multipartBody3564841093956417121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_48_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/602d5046f478c475588ae39014430413.jpg","text":"TemporaryFile(/tmp/multipartBody6351623499673251053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853925835,"filename":"image_23012025_20_48_45_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331514760","file1":"1331514700","file0":"1331514694","file4":"1331514927","file5":"1331514936","file3":"1331514879"},"map_files_photo_id_array":[{"photo_id":"1331514936","filename":"file5"},{"photo_id":"1331514760","filename":"file2"},{"photo_id":"1331514927","filename":"file4"},{"photo_id":"1331514700","filename":"file1"},{"photo_id":"1331514694","filename":"file0"},{"photo_id":"1331514879","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331514700":["hashtag1","hashtag2"]},{"1331514879":["hashtag1","hashtag2"]},{"1331514927":["hashtag1","hashtag2"]},{"1331514936":["hashtag1","hashtag2"]},{"1331514694":["hashtag1","hashtag2"]},{"1331514760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331514700, 1331514879, 1331514927, 1331514936, 1331514694, 1331514760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.89434099197388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:11:52.241433
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_24_9338.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_35_10454.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_44_9479.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_54_10378.jpg', '/home/pi/Desktop/images/23012025/20/49/image_23012025_20_50_05_10351.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_14_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_24_9338.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_35_10454.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_44_9479.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_49_54_10378.jpg
/home/pi/Desktop/images/23012025/20/49/image_23012025_20_50_05_10351.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_14_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":["1331515047","1331515113","1331515035","1331515119","1331515106","1331515109"],"photo_ids_order":["1331515035","1331515047","1331515106","1331515109","1331515113","1331515119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b45756cf0b4624976da04770f1faf4fc.jpg","text":"TemporaryFile(/tmp/multipartBody9074244381316174374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_49_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/26/fdab51f2a31fbaefe713ed51c5b783db.jpg","text":"TemporaryFile(/tmp/multipartBody314818856208206519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_50_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/26/929b27101a945cbfd85086e2fee8b665.jpg","text":"TemporaryFile(/tmp/multipartBody770294868792465847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_49_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/26/b9c731c4168d70aba902670d91208141.jpg","text":"TemporaryFile(/tmp/multipartBody2615054080580357571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_50_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f05988c073778d029c6dc2cee045476.jpg","text":"TemporaryFile(/tmp/multipartBody8658217405104074562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_49_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33e84ffba2c0c4b857b5ef2ac8d5ab29.jpg","text":"TemporaryFile(/tmp/multipartBody1605595130684484531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737853974605,"filename":"image_23012025_20_49_54_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515106","file1":"1331515047","file0":"1331515035","file4":"1331515113","file5":"1331515119","file3":"1331515109"},"map_files_photo_id_array":[{"photo_id":"1331515119","filename":"file5"},{"photo_id":"1331515106","filename":"file2"},{"photo_id":"1331515113","filename":"file4"},{"photo_id":"1331515047","filename":"file1"},{"photo_id":"1331515035","filename":"file0"},{"photo_id":"1331515109","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515047":["hashtag1","hashtag2"]},{"1331515113":["hashtag1","hashtag2"]},{"1331515035":["hashtag1","hashtag2"]},{"1331515119":["hashtag1","hashtag2"]},{"1331515106":["hashtag1","hashtag2"]},{"1331515109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515047, 1331515113, 1331515035, 1331515119, 1331515106, 1331515109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8467333316803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:12:42.467760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/10/image_26012025_02_10_27_10355.jpg', '/home/pi/Desktop/images/26012025/02/10/image_26012025_02_11_06_9391.jpg', '/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_27_10393.jpg', '/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_36_9332.jpg', '/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_47_10372.jpg', '/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_47_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/10/image_26012025_02_10_27_10355.jpg
/home/pi/Desktop/images/26012025/02/10/image_26012025_02_11_06_9391.jpg
/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_27_10393.jpg
/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_36_9332.jpg
/home/pi/Desktop/images/26012025/02/11/image_26012025_02_11_47_10372.jpg
/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_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":["1331515126","1331515131","1331515206","1331515209","1331515211","1331515127"],"photo_ids_order":["1331515126","1331515127","1331515131","1331515206","1331515209","1331515211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/254c0aad71a98a39750c591ec1b8ae67.jpg","text":"TemporaryFile(/tmp/multipartBody330701593848145197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_10_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/26/2c94e8968ae606163501e3149819ce21.jpg","text":"TemporaryFile(/tmp/multipartBody3574128174090486557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_11_27_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/26/6524833abec9f2d29c04de2acc6236b2.jpg","text":"TemporaryFile(/tmp/multipartBody591056161139199468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_11_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54282d5666c987e9abefc8b879658270.jpg","text":"TemporaryFile(/tmp/multipartBody8901515777175971549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_11_47_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f67d96de0d24bd2f574b05bb81a5e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6272495672683772560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_12_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/26/c183d457277ae4d1d5b5927f486d963c.jpg","text":"TemporaryFile(/tmp/multipartBody7218876211678109967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854024703,"filename":"image_26012025_02_11_06_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515131","file1":"1331515127","file0":"1331515126","file4":"1331515209","file5":"1331515211","file3":"1331515206"},"map_files_photo_id_array":[{"photo_id":"1331515211","filename":"file5"},{"photo_id":"1331515131","filename":"file2"},{"photo_id":"1331515209","filename":"file4"},{"photo_id":"1331515127","filename":"file1"},{"photo_id":"1331515126","filename":"file0"},{"photo_id":"1331515206","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515126":["hashtag1","hashtag2"]},{"1331515131":["hashtag1","hashtag2"]},{"1331515206":["hashtag1","hashtag2"]},{"1331515209":["hashtag1","hashtag2"]},{"1331515211":["hashtag1","hashtag2"]},{"1331515127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515126, 1331515131, 1331515206, 1331515209, 1331515211, 1331515127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66263151168823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:13:32.909844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_56_9328.jpg', '/home/pi/Desktop/images/26012025/02/12/image_26012025_02_13_07_10427.jpg', '/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_16_9378.jpg', '/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_37_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_56_9328.jpg
/home/pi/Desktop/images/26012025/02/12/image_26012025_02_13_07_10427.jpg
/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_16_9378.jpg
/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_37_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.5085604190826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:13:42.704291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_56_9328.jpg', '/home/pi/Desktop/images/26012025/02/12/image_26012025_02_13_07_10427.jpg', '/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_16_9378.jpg', '/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_37_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/12/image_26012025_02_12_56_9328.jpg
/home/pi/Desktop/images/26012025/02/12/image_26012025_02_13_07_10427.jpg
/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_16_9378.jpg
/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_37_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":["1331515269","1331515263","1331515266","1331515258"],"photo_ids_order":["1331515258","1331515263","1331515266","1331515269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3546a601ac2f519aa1e8833e0067811e.jpg","text":"TemporaryFile(/tmp/multipartBody3153865161045656307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854083602,"filename":"image_26012025_02_13_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fefce450052870bc544ec2f9ec0e4d43.jpg","text":"TemporaryFile(/tmp/multipartBody7283421938118078163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854083602,"filename":"image_26012025_02_13_07_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/26/5e6205e1e0695af20d107d8399d4be1a.jpg","text":"TemporaryFile(/tmp/multipartBody5474857425737440312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854083602,"filename":"image_26012025_02_13_16_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/26/8f527eaee8ede81e335a2405ae6b56df.jpg","text":"TemporaryFile(/tmp/multipartBody4406541230188315421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854083602,"filename":"image_26012025_02_12_56_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515266","file1":"1331515263","file0":"1331515258","file3":"1331515269"},"map_files_photo_id_array":[{"photo_id":"1331515266","filename":"file2"},{"photo_id":"1331515263","filename":"file1"},{"photo_id":"1331515258","filename":"file0"},{"photo_id":"1331515269","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515269":["hashtag1","hashtag2"]},{"1331515263":["hashtag1","hashtag2"]},{"1331515266":["hashtag1","hashtag2"]},{"1331515258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515269, 1331515263, 1331515266, 1331515258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.228896379470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:14:33.040574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_46_9341.jpg', '/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_17_10432.jpg', '/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_27_10351.jpg', '/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_36_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/13/image_26012025_02_13_46_9341.jpg
/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_17_10432.jpg
/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_27_10351.jpg
/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_36_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":["1331515281","1331515290","1331515284","1331515288"],"photo_ids_order":["1331515281","1331515284","1331515288","1331515290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0ee09de5351fe894289054ccdd7b84b.jpg","text":"TemporaryFile(/tmp/multipartBody2060732178286112732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854133933,"filename":"image_26012025_02_13_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/26/020328b5a2aaa96021f934de42389120.jpg","text":"TemporaryFile(/tmp/multipartBody7894570336402805697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854133933,"filename":"image_26012025_02_14_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e583bd2525ef4e8f9ee7077c3bd67dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6387848388945772796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854133933,"filename":"image_26012025_02_14_17_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/26/995db863b70dbee9e3b4b2ececf2f829.jpg","text":"TemporaryFile(/tmp/multipartBody6280794603439872099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854133933,"filename":"image_26012025_02_14_27_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515288","file1":"1331515284","file0":"1331515281","file3":"1331515290"},"map_files_photo_id_array":[{"photo_id":"1331515288","filename":"file2"},{"photo_id":"1331515284","filename":"file1"},{"photo_id":"1331515281","filename":"file0"},{"photo_id":"1331515290","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515281":["hashtag1","hashtag2"]},{"1331515290":["hashtag1","hashtag2"]},{"1331515284":["hashtag1","hashtag2"]},{"1331515288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515281, 1331515290, 1331515284, 1331515288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.392892360687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:15:04.772200
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_24_10367.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_44_9421.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_55_10362.jpg', '/home/pi/Desktop/images/23012025/20/50/image_23012025_20_51_04_9440.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_14_10373.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_25_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_24_10367.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_44_9421.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_50_55_10362.jpg
/home/pi/Desktop/images/23012025/20/50/image_23012025_20_51_04_9440.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_14_10373.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_25_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":["1331515300","1331515386","1331515296","1331515316","1331515319","1331515312"],"photo_ids_order":["1331515296","1331515300","1331515312","1331515316","1331515319","1331515386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59b0479f0614a4beb84108f0e83c83dd.jpg","text":"TemporaryFile(/tmp/multipartBody7190745444963250581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_50_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4efec8664dc1a94da60b6db8e79f104.jpg","text":"TemporaryFile(/tmp/multipartBody185819962642601960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_51_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/26/3439d7d00f6c659a6cb65dd83ba0dfa3.jpg","text":"TemporaryFile(/tmp/multipartBody1935417480620290721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_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/26/28186221b14abc4d9ef88205da79e1cb.jpg","text":"TemporaryFile(/tmp/multipartBody680809797034420003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_51_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/26/888288c6145c6abab9d68c4ef40fb33f.jpg","text":"TemporaryFile(/tmp/multipartBody7885374200691629808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_51_14_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/26/8f4f188c208bbed13890fa7130ba45a7.jpg","text":"TemporaryFile(/tmp/multipartBody1970936095367381539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854166770,"filename":"image_23012025_20_50_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515312","file1":"1331515300","file0":"1331515296","file4":"1331515319","file5":"1331515386","file3":"1331515316"},"map_files_photo_id_array":[{"photo_id":"1331515386","filename":"file5"},{"photo_id":"1331515312","filename":"file2"},{"photo_id":"1331515319","filename":"file4"},{"photo_id":"1331515300","filename":"file1"},{"photo_id":"1331515296","filename":"file0"},{"photo_id":"1331515316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515300":["hashtag1","hashtag2"]},{"1331515386":["hashtag1","hashtag2"]},{"1331515296":["hashtag1","hashtag2"]},{"1331515316":["hashtag1","hashtag2"]},{"1331515319":["hashtag1","hashtag2"]},{"1331515312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515300, 1331515386, 1331515296, 1331515316, 1331515319, 1331515312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3852858543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:15:53.314946
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_34_9347.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_44_10338.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_55_10378.jpg', '/home/pi/Desktop/images/23012025/20/51/image_23012025_20_52_04_9363.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_25_10355.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_34_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_34_9347.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_44_10338.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_51_55_10378.jpg
/home/pi/Desktop/images/23012025/20/51/image_23012025_20_52_04_9363.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_25_10355.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_34_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":["1331515479","1331515482","1331515478","1331515492","1331515486","1331515489"],"photo_ids_order":["1331515478","1331515479","1331515482","1331515486","1331515489","1331515492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ff04426d642c5376849afaa204e68b8.jpg","text":"TemporaryFile(/tmp/multipartBody8644071015672843727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_51_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01ec67320ace45e0e4642ad4cdee74b7.jpg","text":"TemporaryFile(/tmp/multipartBody8278248441470825698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_51_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1d8fef6a98a8e0a1b151917ea598da8c.jpg","text":"TemporaryFile(/tmp/multipartBody3660924038153397483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_51_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/26/f504953e1343d1ae407a95b06e78bbec.jpg","text":"TemporaryFile(/tmp/multipartBody3558412764026794140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_52_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/26/1ecb5309b14b47bc221fb324057b1c53.jpg","text":"TemporaryFile(/tmp/multipartBody2414297683941303861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_52_04_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/26/44a371dc644be38d9b09770b17fc5130.jpg","text":"TemporaryFile(/tmp/multipartBody2063643031845227550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854215705,"filename":"image_23012025_20_52_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515482","file1":"1331515479","file0":"1331515478","file4":"1331515489","file5":"1331515492","file3":"1331515486"},"map_files_photo_id_array":[{"photo_id":"1331515492","filename":"file5"},{"photo_id":"1331515482","filename":"file2"},{"photo_id":"1331515489","filename":"file4"},{"photo_id":"1331515479","filename":"file1"},{"photo_id":"1331515478","filename":"file0"},{"photo_id":"1331515486","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515479":["hashtag1","hashtag2"]},{"1331515482":["hashtag1","hashtag2"]},{"1331515478":["hashtag1","hashtag2"]},{"1331515492":["hashtag1","hashtag2"]},{"1331515486":["hashtag1","hashtag2"]},{"1331515489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515479, 1331515482, 1331515478, 1331515492, 1331515486, 1331515489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.470672607421875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:16:42.479173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_47_10352.jpg', '/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_17_10359.jpg', '/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_26_9320.jpg', '/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_47_10352.jpg', '/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_56_9395.jpg', '/home/pi/Desktop/images/26012025/02/15/image_26012025_02_16_07_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/14/image_26012025_02_14_47_10352.jpg
/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_17_10359.jpg
/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_26_9320.jpg
/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_47_10352.jpg
/home/pi/Desktop/images/26012025/02/15/image_26012025_02_15_56_9395.jpg
/home/pi/Desktop/images/26012025/02/15/image_26012025_02_16_07_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331515512","1331515509","1331515520","1331515514","1331515517","1331515505"],"photo_ids_order":["1331515505","1331515509","1331515512","1331515514","1331515517","1331515520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2beb0a9ed040846acb08930779f2d5d2.jpg","text":"TemporaryFile(/tmp/multipartBody6101515679090894102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_15_26_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/26/910d74fe3e56ee16745de6810a622a88.jpg","text":"TemporaryFile(/tmp/multipartBody9168780637989588206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_15_17_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fc50d590464182c799063c2001ed074e.jpg","text":"TemporaryFile(/tmp/multipartBody8472997923303289565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_16_07_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/26/7d93a0c055289698ae6d29fe5c1a2ada.jpg","text":"TemporaryFile(/tmp/multipartBody7342007663642525944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_15_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/26/72ac282ee5d3f1840006a04e6f829382.jpg","text":"TemporaryFile(/tmp/multipartBody3311456447883062249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_15_56_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/26/8cbfc58175374088d263e725269836b4.jpg","text":"TemporaryFile(/tmp/multipartBody8645387546155682715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854263398,"filename":"image_26012025_02_14_47_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515512","file1":"1331515509","file0":"1331515505","file4":"1331515517","file5":"1331515520","file3":"1331515514"},"map_files_photo_id_array":[{"photo_id":"1331515520","filename":"file5"},{"photo_id":"1331515512","filename":"file2"},{"photo_id":"1331515517","filename":"file4"},{"photo_id":"1331515509","filename":"file1"},{"photo_id":"1331515505","filename":"file0"},{"photo_id":"1331515514","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515512":["hashtag1","hashtag2"]},{"1331515509":["hashtag1","hashtag2"]},{"1331515520":["hashtag1","hashtag2"]},{"1331515514":["hashtag1","hashtag2"]},{"1331515517":["hashtag1","hashtag2"]},{"1331515505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515512, 1331515509, 1331515520, 1331515514, 1331515517, 1331515505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25819134712219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:17:32.816182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_17_10337.jpg', '/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_26_9346.jpg', '/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_37_10401.jpg', '/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_17_10097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_17_10337.jpg
/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_26_9346.jpg
/home/pi/Desktop/images/26012025/02/16/image_26012025_02_16_37_10401.jpg
/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_17_10097.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331515578","1331515572","1331515563","1331515568"],"photo_ids_order":["1331515563","1331515568","1331515572","1331515578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/36f3fafdb532a53c046c940fff34777a.jpg","text":"TemporaryFile(/tmp/multipartBody733990037970753242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854313717,"filename":"image_26012025_02_17_17_10097.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b78f284551f2e4df3f2f2a3b37d4b53.jpg","text":"TemporaryFile(/tmp/multipartBody5136920038972528476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854313717,"filename":"image_26012025_02_16_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/26/46f92b1db618e2c06bd36b5c64ad2e02.jpg","text":"TemporaryFile(/tmp/multipartBody3374211497848144169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854313717,"filename":"image_26012025_02_16_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/26/dd5935acdfa8d4951ee8440a87002bba.jpg","text":"TemporaryFile(/tmp/multipartBody6219969973975127185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854313717,"filename":"image_26012025_02_16_26_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515572","file1":"1331515568","file0":"1331515563","file3":"1331515578"},"map_files_photo_id_array":[{"photo_id":"1331515572","filename":"file2"},{"photo_id":"1331515568","filename":"file1"},{"photo_id":"1331515563","filename":"file0"},{"photo_id":"1331515578","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515578":["hashtag1","hashtag2"]},{"1331515572":["hashtag1","hashtag2"]},{"1331515563":["hashtag1","hashtag2"]},{"1331515568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515578, 1331515572, 1331515563, 1331515568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.180065393447876 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-26 02:18:33.172213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_26_9346.jpg', '/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_37_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_26_9346.jpg
/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_37_10357.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47233104705810547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:18:43.049490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_26_9346.jpg', '/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_37_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/17/image_26012025_02_17_26_9346.jpg
/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_37_10357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331515600","1331515604"],"photo_ids_order":["1331515600","1331515604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ab62b5e2132ae24fc1ba7160ab37b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4984870682841363666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854383902,"filename":"image_26012025_02_17_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/26/7fc2f0f7b69177619c090ebe90912575.jpg","text":"TemporaryFile(/tmp/multipartBody6463138998421995801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854383902,"filename":"image_26012025_02_18_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331515604","file0":"1331515600"},"map_files_photo_id_array":[{"photo_id":"1331515604","filename":"file1"},{"photo_id":"1331515600","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515600":["hashtag1","hashtag2"]},{"1331515604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515600, 1331515604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.57865834236145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:19:03.776531
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_45_10351.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_54_9485.jpg', '/home/pi/Desktop/images/23012025/20/52/image_23012025_20_53_04_10344.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_15_10333.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_24_9431.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_35_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_45_10351.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_52_54_9485.jpg
/home/pi/Desktop/images/23012025/20/52/image_23012025_20_53_04_10344.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_15_10333.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_24_9431.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_35_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":["1331515632","1331515629","1331515626","1331515640","1331515637","1331515622"],"photo_ids_order":["1331515622","1331515626","1331515629","1331515632","1331515637","1331515640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b41a5bbcf7d02803cc342110ab9214c4.jpg","text":"TemporaryFile(/tmp/multipartBody2492197486729899519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_53_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/26/29073a4867b64c7f07d3ef5b4a291867.jpg","text":"TemporaryFile(/tmp/multipartBody2763092339671590031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_53_04_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2571cc9e78acae08a52ba3f03d192d2.jpg","text":"TemporaryFile(/tmp/multipartBody1813768483250178919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_52_54_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/26/3817642aca564db6dcd76026d4d42b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2091619284262367537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_53_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/26/ec74edd98402236d396c9a8e52e82a83.jpg","text":"TemporaryFile(/tmp/multipartBody3620059839777816846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_53_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/26/a58e4e5de4390b0347e4de835b1aac8a.jpg","text":"TemporaryFile(/tmp/multipartBody6431469401536928107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854405781,"filename":"image_23012025_20_52_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515629","file1":"1331515626","file0":"1331515622","file4":"1331515637","file5":"1331515640","file3":"1331515632"},"map_files_photo_id_array":[{"photo_id":"1331515640","filename":"file5"},{"photo_id":"1331515629","filename":"file2"},{"photo_id":"1331515637","filename":"file4"},{"photo_id":"1331515626","filename":"file1"},{"photo_id":"1331515622","filename":"file0"},{"photo_id":"1331515632","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515632":["hashtag1","hashtag2"]},{"1331515629":["hashtag1","hashtag2"]},{"1331515626":["hashtag1","hashtag2"]},{"1331515640":["hashtag1","hashtag2"]},{"1331515637":["hashtag1","hashtag2"]},{"1331515622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515632, 1331515629, 1331515626, 1331515640, 1331515637, 1331515622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.540926694869995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:19:52.249931
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_45_10357.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_54_9470.jpg', '/home/pi/Desktop/images/23012025/20/53/image_23012025_20_54_05_10360.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_14_9454.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_25_10357.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_34_9460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_45_10357.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_53_54_9470.jpg
/home/pi/Desktop/images/23012025/20/53/image_23012025_20_54_05_10360.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_14_9454.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_25_10357.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_34_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":["1331515647","1331515673","1331515706","1331515655","1331515687","1331515696"],"photo_ids_order":["1331515647","1331515655","1331515673","1331515687","1331515696","1331515706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b89dac6bc6fa06db479dd0e259ef35c9.jpg","text":"TemporaryFile(/tmp/multipartBody3258323265453987588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_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/26/00b0114a37562b04de77494a97d6e526.jpg","text":"TemporaryFile(/tmp/multipartBody1651238965319273498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_54_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/26/4269a67444c20329c212d017a0344b8c.jpg","text":"TemporaryFile(/tmp/multipartBody9103593680836452871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_54_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/26/727b383412e6df9513a628582fa3a45e.jpg","text":"TemporaryFile(/tmp/multipartBody8506679718182423033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_53_54_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/26/7cf3945e53c9b520888abb345272a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody1005890389187530261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_54_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/26/3c38bc94274f1f417978047406df7cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3777243875592683569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854454605,"filename":"image_23012025_20_54_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515673","file1":"1331515655","file0":"1331515647","file4":"1331515696","file5":"1331515706","file3":"1331515687"},"map_files_photo_id_array":[{"photo_id":"1331515706","filename":"file5"},{"photo_id":"1331515673","filename":"file2"},{"photo_id":"1331515696","filename":"file4"},{"photo_id":"1331515655","filename":"file1"},{"photo_id":"1331515647","filename":"file0"},{"photo_id":"1331515687","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515647":["hashtag1","hashtag2"]},{"1331515673":["hashtag1","hashtag2"]},{"1331515706":["hashtag1","hashtag2"]},{"1331515655":["hashtag1","hashtag2"]},{"1331515687":["hashtag1","hashtag2"]},{"1331515696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515647, 1331515673, 1331515706, 1331515655, 1331515687, 1331515696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26919913291931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:20:42.404974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_46_9413.jpg', '/home/pi/Desktop/images/26012025/02/19/image_26012025_02_20_06_9361.jpg', '/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_17_10333.jpg', '/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_26_9423.jpg', '/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_36_10329.jpg', '/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_47_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/18/image_26012025_02_18_46_9413.jpg
/home/pi/Desktop/images/26012025/02/19/image_26012025_02_20_06_9361.jpg
/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_17_10333.jpg
/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_26_9423.jpg
/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_36_10329.jpg
/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_47_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331515887","1331515905","1331515934","1331515907","1331515855","1331515936"],"photo_ids_order":["1331515855","1331515887","1331515905","1331515907","1331515934","1331515936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3e337c4e293c3e169cccd65e0197a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4801804402135458939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_20_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/26/4daa2aca39084b1874801182e59693fb.jpg","text":"TemporaryFile(/tmp/multipartBody8634211583851162469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_20_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d4094aaab449a825ea0dd96f7f91131.jpg","text":"TemporaryFile(/tmp/multipartBody1610424402556047964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_20_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/26/4d52384f5327e55fe87006873a1df70b.jpg","text":"TemporaryFile(/tmp/multipartBody5220321845905670350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_20_26_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/13356bdd31863f337a1e707d53ba67f2.jpg","text":"TemporaryFile(/tmp/multipartBody8172917576939072808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_18_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae296419c94605cd3a073ccb5ff4292d.jpg","text":"TemporaryFile(/tmp/multipartBody4941939705524771564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854503493,"filename":"image_26012025_02_20_47_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515905","file1":"1331515887","file0":"1331515855","file4":"1331515934","file5":"1331515936","file3":"1331515907"},"map_files_photo_id_array":[{"photo_id":"1331515936","filename":"file5"},{"photo_id":"1331515905","filename":"file2"},{"photo_id":"1331515934","filename":"file4"},{"photo_id":"1331515887","filename":"file1"},{"photo_id":"1331515855","filename":"file0"},{"photo_id":"1331515907","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515887":["hashtag1","hashtag2"]},{"1331515905":["hashtag1","hashtag2"]},{"1331515934":["hashtag1","hashtag2"]},{"1331515907":["hashtag1","hashtag2"]},{"1331515855":["hashtag1","hashtag2"]},{"1331515936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515887, 1331515905, 1331515934, 1331515907, 1331515855, 1331515936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82650136947632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:21:32.794513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_56_9368.jpg', '/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_26_9341.jpg', '/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_37_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/20/image_26012025_02_20_56_9368.jpg
/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_26_9341.jpg
/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_37_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":["1331515953","1331515958","1331515948"],"photo_ids_order":["1331515948","1331515953","1331515958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5fd73b6fc4fa4d6d29e18ab256a26ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6064964812272992473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854553678,"filename":"image_26012025_02_21_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4956694eae61ec787d561709e6cdc41c.jpg","text":"TemporaryFile(/tmp/multipartBody7657333293441924725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854553678,"filename":"image_26012025_02_21_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/26/9156de67f1ddd3e1117274174b5c83da.jpg","text":"TemporaryFile(/tmp/multipartBody2376562946775660883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854553678,"filename":"image_26012025_02_20_56_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515958","file1":"1331515953","file0":"1331515948"},"map_files_photo_id_array":[{"photo_id":"1331515958","filename":"file2"},{"photo_id":"1331515953","filename":"file1"},{"photo_id":"1331515948","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331515953":["hashtag1","hashtag2"]},{"1331515958":["hashtag1","hashtag2"]},{"1331515948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331515953, 1331515958, 1331515948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.354228019714355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:22:03.796888
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_44_10342.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_55_10354.jpg', '/home/pi/Desktop/images/23012025/20/54/image_23012025_20_55_04_9345.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_25_10353.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_34_9424.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_44_10342.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_54_55_10354.jpg
/home/pi/Desktop/images/23012025/20/54/image_23012025_20_55_04_9345.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_25_10353.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_34_9424.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_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":["1331515979","1331515973","1331516024","1331515982","1331515990","1331516014"],"photo_ids_order":["1331515973","1331515979","1331515982","1331515990","1331516014","1331516024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f940b4602a79ac6ab6ac9c977c6d35d.jpg","text":"TemporaryFile(/tmp/multipartBody3615787584614549384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_54_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1cd301607b6ec86023f112b4a589088e.jpg","text":"TemporaryFile(/tmp/multipartBody1117966333549238542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_54_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/26/c4b7d9a2af8e1e863a7000287ad9242f.jpg","text":"TemporaryFile(/tmp/multipartBody2311562125095897816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_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/26/2a9efdcab833383e10d2535f83dd6958.jpg","text":"TemporaryFile(/tmp/multipartBody430243987215879868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_55_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/26/76fd5f51940facab27bc5e87b2765ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3578544374318639945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_55_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/26/49518ae28ae832a6329cfe3df6fd039d.jpg","text":"TemporaryFile(/tmp/multipartBody1969753434509326112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854585531,"filename":"image_23012025_20_55_34_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331515982","file1":"1331515979","file0":"1331515973","file4":"1331516014","file5":"1331516024","file3":"1331515990"},"map_files_photo_id_array":[{"photo_id":"1331516024","filename":"file5"},{"photo_id":"1331515982","filename":"file2"},{"photo_id":"1331516014","filename":"file4"},{"photo_id":"1331515979","filename":"file1"},{"photo_id":"1331515973","filename":"file0"},{"photo_id":"1331515990","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331515979":["hashtag1","hashtag2"]},{"1331515973":["hashtag1","hashtag2"]},{"1331516024":["hashtag1","hashtag2"]},{"1331515982":["hashtag1","hashtag2"]},{"1331515990":["hashtag1","hashtag2"]},{"1331516014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331515979, 1331515973, 1331516024, 1331515982, 1331515990, 1331516014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92637085914612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:22:52.937368
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_55_10373.jpg', '/home/pi/Desktop/images/23012025/20/55/image_23012025_20_56_04_9427.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_15_10351.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_24_9369.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_34_10354.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_45_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_55_55_10373.jpg
/home/pi/Desktop/images/23012025/20/55/image_23012025_20_56_04_9427.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_15_10351.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_24_9369.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_34_10354.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_45_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331516061","1331516078","1331516072","1331516069","1331516063","1331516065"],"photo_ids_order":["1331516061","1331516063","1331516065","1331516069","1331516072","1331516078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aecd7159982f6b562a604d6985beb73e.jpg","text":"TemporaryFile(/tmp/multipartBody8203235878824779571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_55_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/26/eb2003220bf9a65377ee96be02773571.jpg","text":"TemporaryFile(/tmp/multipartBody4397805445964863248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_56_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53027929fa35cd938a3537e1874eadfb.jpg","text":"TemporaryFile(/tmp/multipartBody224746326413955353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_56_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/26/b8b064754f8e0310d2336afdfddd235e.jpg","text":"TemporaryFile(/tmp/multipartBody4145262267130921130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_56_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e086b6d9f6034efc7ca61d66bccc6a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6481111371860617267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_56_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/26/24faa2f019d50897550b9070a2a716ea.jpg","text":"TemporaryFile(/tmp/multipartBody2635193713002722850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854635340,"filename":"image_23012025_20_56_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516065","file1":"1331516063","file0":"1331516061","file4":"1331516072","file5":"1331516078","file3":"1331516069"},"map_files_photo_id_array":[{"photo_id":"1331516078","filename":"file5"},{"photo_id":"1331516065","filename":"file2"},{"photo_id":"1331516072","filename":"file4"},{"photo_id":"1331516063","filename":"file1"},{"photo_id":"1331516061","filename":"file0"},{"photo_id":"1331516069","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331516061":["hashtag1","hashtag2"]},{"1331516078":["hashtag1","hashtag2"]},{"1331516072":["hashtag1","hashtag2"]},{"1331516069":["hashtag1","hashtag2"]},{"1331516063":["hashtag1","hashtag2"]},{"1331516065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331516061, 1331516078, 1331516072, 1331516069, 1331516063, 1331516065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.907612562179565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:23:42.141390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_47_10374.jpg', '/home/pi/Desktop/images/26012025/02/21/image_26012025_02_22_07_10458.jpg', '/home/pi/Desktop/images/26012025/02/22/image_26012025_02_22_16_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/21/image_26012025_02_21_47_10374.jpg
/home/pi/Desktop/images/26012025/02/21/image_26012025_02_22_07_10458.jpg
/home/pi/Desktop/images/26012025/02/22/image_26012025_02_22_16_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331516099","1331516102","1331516092"],"photo_ids_order":["1331516092","1331516099","1331516102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd96354c46a643a3deb46f61df405170.jpg","text":"TemporaryFile(/tmp/multipartBody3693116811705319519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854683022,"filename":"image_26012025_02_22_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5abf52f627e14ae1ab1dcc47584e6e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1888395024694139988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854683022,"filename":"image_26012025_02_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/26/10213644f6c8e80932470fce0738192a.jpg","text":"TemporaryFile(/tmp/multipartBody8413816991918562100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854683022,"filename":"image_26012025_02_21_47_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516102","file1":"1331516099","file0":"1331516092"},"map_files_photo_id_array":[{"photo_id":"1331516102","filename":"file2"},{"photo_id":"1331516099","filename":"file1"},{"photo_id":"1331516092","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516099":["hashtag1","hashtag2"]},{"1331516102":["hashtag1","hashtag2"]},{"1331516092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516099, 1331516102, 1331516092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.013609409332275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:24:32.393381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/22/image_26012025_02_22_27_10427.jpg', '/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_27_10363.jpg', '/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_36_9351.jpg', '/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_47_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/22/image_26012025_02_22_27_10427.jpg
/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_27_10363.jpg
/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_36_9351.jpg
/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_47_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":["1331516118","1331516115","1331516120","1331516123"],"photo_ids_order":["1331516115","1331516118","1331516120","1331516123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01b7005dc6aae67f6f1140335888a132.jpg","text":"TemporaryFile(/tmp/multipartBody4382000372430777414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854733312,"filename":"image_26012025_02_24_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/26/6f418fc8020ca1204199cb417628f875.jpg","text":"TemporaryFile(/tmp/multipartBody1875409038184650802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854733312,"filename":"image_26012025_02_22_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/26/e25c0062da1abbc93e659dd28c8eb61e.jpg","text":"TemporaryFile(/tmp/multipartBody5794714876099779552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854733312,"filename":"image_26012025_02_24_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/26/275deb907dd231d21948b482a245a633.jpg","text":"TemporaryFile(/tmp/multipartBody1193683412136186841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854733312,"filename":"image_26012025_02_24_47_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516120","file1":"1331516118","file0":"1331516115","file3":"1331516123"},"map_files_photo_id_array":[{"photo_id":"1331516120","filename":"file2"},{"photo_id":"1331516118","filename":"file1"},{"photo_id":"1331516115","filename":"file0"},{"photo_id":"1331516123","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516118":["hashtag1","hashtag2"]},{"1331516115":["hashtag1","hashtag2"]},{"1331516120":["hashtag1","hashtag2"]},{"1331516123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516118, 1331516115, 1331516120, 1331516123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.783623695373535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:25:32.760773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_56_9347.jpg', '/home/pi/Desktop/images/26012025/02/24/image_26012025_02_25_07_10432.jpg', '/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_17_10369.jpg', '/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_26_9312.jpg', '/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_37_10379.jpg', '/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/24/image_26012025_02_24_56_9347.jpg
/home/pi/Desktop/images/26012025/02/24/image_26012025_02_25_07_10432.jpg
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_17_10369.jpg
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_26_9312.jpg
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_37_10379.jpg
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_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":["1331516319","1331516282","1331516246","1331516321","1331516315","1331516257"],"photo_ids_order":["1331516246","1331516257","1331516282","1331516315","1331516319","1331516321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08dba2c583e055703069db1cb054b682.jpg","text":"TemporaryFile(/tmp/multipartBody3725935858166759456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_25_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/26/83c6de35ec7b2ba5844d48532fbaf2d8.jpg","text":"TemporaryFile(/tmp/multipartBody9154630369815101637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_25_17_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4026ae2ccfc783c57d47ecfd1908f8b0.jpg","text":"TemporaryFile(/tmp/multipartBody8904872877552762067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_24_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/26/4157c22a187676eba5294cb06b28c575.jpg","text":"TemporaryFile(/tmp/multipartBody4658154508556511637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_25_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/26/40eeb83a5cf7122b9a32db913746c09b.jpg","text":"TemporaryFile(/tmp/multipartBody7269559047967599693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_25_26_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/26/c817d865c0d19a64231862c254e798d7.jpg","text":"TemporaryFile(/tmp/multipartBody462059445749391312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854793704,"filename":"image_26012025_02_25_07_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516282","file1":"1331516257","file0":"1331516246","file4":"1331516319","file5":"1331516321","file3":"1331516315"},"map_files_photo_id_array":[{"photo_id":"1331516321","filename":"file5"},{"photo_id":"1331516282","filename":"file2"},{"photo_id":"1331516319","filename":"file4"},{"photo_id":"1331516257","filename":"file1"},{"photo_id":"1331516246","filename":"file0"},{"photo_id":"1331516315","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516319":["hashtag1","hashtag2"]},{"1331516282":["hashtag1","hashtag2"]},{"1331516246":["hashtag1","hashtag2"]},{"1331516321":["hashtag1","hashtag2"]},{"1331516315":["hashtag1","hashtag2"]},{"1331516257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516319, 1331516282, 1331516246, 1331516321, 1331516315, 1331516257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76700735092163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:26:32.859741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_56_9325.jpg', '/home/pi/Desktop/images/26012025/02/25/image_26012025_02_26_07_10369.jpg', '/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_16_9401.jpg', '/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_26_10344.jpg', '/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_37_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_25_56_9325.jpg
/home/pi/Desktop/images/26012025/02/25/image_26012025_02_26_07_10369.jpg
/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_16_9401.jpg
/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_26_10344.jpg
/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_37_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":["1331516340","1331516339","1331516342","1331516341","1331516338"],"photo_ids_order":["1331516338","1331516339","1331516340","1331516341","1331516342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b8babbe01aae74e024f7af9f8c01e47f.jpg","text":"TemporaryFile(/tmp/multipartBody6571904927717037192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854854210,"filename":"image_26012025_02_26_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77d14c90113d4129d9eba0bdb668a38f.jpg","text":"TemporaryFile(/tmp/multipartBody5674460139815072779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854854210,"filename":"image_26012025_02_26_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/26/d954f1e03ca1158b4e7ac113dabe9cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7982510214786384267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854854210,"filename":"image_26012025_02_26_37_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/26/4829d5221feb068eabac282ca8364e13.jpg","text":"TemporaryFile(/tmp/multipartBody5673064241398633918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854854210,"filename":"image_26012025_02_26_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/26/ed209f42bf410471e46d4b7b767b704b.jpg","text":"TemporaryFile(/tmp/multipartBody3238884112632832786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854854210,"filename":"image_26012025_02_25_56_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516340","file1":"1331516339","file0":"1331516338","file4":"1331516342","file3":"1331516341"},"map_files_photo_id_array":[{"photo_id":"1331516340","filename":"file2"},{"photo_id":"1331516342","filename":"file4"},{"photo_id":"1331516339","filename":"file1"},{"photo_id":"1331516338","filename":"file0"},{"photo_id":"1331516341","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516340":["hashtag1","hashtag2"]},{"1331516339":["hashtag1","hashtag2"]},{"1331516342":["hashtag1","hashtag2"]},{"1331516341":["hashtag1","hashtag2"]},{"1331516338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516340, 1331516339, 1331516342, 1331516341, 1331516338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.93862533569336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:27:33.117867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_46_9342.jpg', '/home/pi/Desktop/images/26012025/02/26/image_26012025_02_27_07_10431.jpg', '/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_16_9385.jpg', '/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_27_10407.jpg', '/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_36_9414.jpg', '/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_47_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/26/image_26012025_02_26_46_9342.jpg
/home/pi/Desktop/images/26012025/02/26/image_26012025_02_27_07_10431.jpg
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_16_9385.jpg
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_27_10407.jpg
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_36_9414.jpg
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_47_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":["1331516358","1331516369","1331516372","1331516374","1331516362","1331516365"],"photo_ids_order":["1331516358","1331516362","1331516365","1331516369","1331516372","1331516374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c89464b4f355f2bcdce8d66ae87cc525.jpg","text":"TemporaryFile(/tmp/multipartBody2672554345350384530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_26_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/acac7b03c264b35cc4474866db870ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6653872399094809346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_27_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/26/e8438f7119d9e6a5023e504a0d48ce77.jpg","text":"TemporaryFile(/tmp/multipartBody4485595945133883865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_27_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbce505a3bbdc07df62a8be2646b1623.jpg","text":"TemporaryFile(/tmp/multipartBody282175605602282722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_27_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f456618bef9959764e3efa472d00027.jpg","text":"TemporaryFile(/tmp/multipartBody249474844865176914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_27_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b4f9002169214f5dabde82101ccd543.jpg","text":"TemporaryFile(/tmp/multipartBody11315124472080416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854914053,"filename":"image_26012025_02_27_16_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516365","file1":"1331516362","file0":"1331516358","file4":"1331516372","file5":"1331516374","file3":"1331516369"},"map_files_photo_id_array":[{"photo_id":"1331516374","filename":"file5"},{"photo_id":"1331516365","filename":"file2"},{"photo_id":"1331516372","filename":"file4"},{"photo_id":"1331516362","filename":"file1"},{"photo_id":"1331516358","filename":"file0"},{"photo_id":"1331516369","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516358":["hashtag1","hashtag2"]},{"1331516369":["hashtag1","hashtag2"]},{"1331516372":["hashtag1","hashtag2"]},{"1331516374":["hashtag1","hashtag2"]},{"1331516362":["hashtag1","hashtag2"]},{"1331516365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516358, 1331516369, 1331516372, 1331516374, 1331516362, 1331516365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8670928478241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:28:32.311654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_57_10350.jpg', '/home/pi/Desktop/images/26012025/02/27/image_26012025_02_28_06_9361.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_17_10363.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_26_9326.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_36_10342.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_47_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_27_57_10350.jpg
/home/pi/Desktop/images/26012025/02/27/image_26012025_02_28_06_9361.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_17_10363.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_26_9326.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_36_10342.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_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":["1331516399","1331516392","1331516386","1331516395","1331516389","1331516397"],"photo_ids_order":["1331516386","1331516389","1331516392","1331516395","1331516397","1331516399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69f931b8e9d3978e7881fb0d89a055bc.jpg","text":"TemporaryFile(/tmp/multipartBody4481938358355778817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_28_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/26/e1fda850e0731df58ef6ced1595aac80.jpg","text":"TemporaryFile(/tmp/multipartBody2770916939651253023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_28_17_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/26/c04a16a8e1941f352fd62917c0ca0534.jpg","text":"TemporaryFile(/tmp/multipartBody2763317201037195102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_27_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/26/08c3a36995b9d0ea49c83d155bb742a3.jpg","text":"TemporaryFile(/tmp/multipartBody4634322151676951183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_28_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f1737c73430f27e97d5443413f79b67.jpg","text":"TemporaryFile(/tmp/multipartBody2458350067247265877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_28_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/26/185886274b28f1c9a2b1c7e18f1daeb0.jpg","text":"TemporaryFile(/tmp/multipartBody7620242760164582798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737854973248,"filename":"image_26012025_02_28_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331516392","file1":"1331516389","file0":"1331516386","file4":"1331516397","file5":"1331516399","file3":"1331516395"},"map_files_photo_id_array":[{"photo_id":"1331516399","filename":"file5"},{"photo_id":"1331516392","filename":"file2"},{"photo_id":"1331516397","filename":"file4"},{"photo_id":"1331516389","filename":"file1"},{"photo_id":"1331516386","filename":"file0"},{"photo_id":"1331516395","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331516399":["hashtag1","hashtag2"]},{"1331516392":["hashtag1","hashtag2"]},{"1331516386":["hashtag1","hashtag2"]},{"1331516395":["hashtag1","hashtag2"]},{"1331516389":["hashtag1","hashtag2"]},{"1331516397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331516399, 1331516392, 1331516386, 1331516395, 1331516389, 1331516397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7071692943573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:29:32.567598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_56_9335.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_29_06_10338.jpg', '/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_26_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_56_9335.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_29_06_10338.jpg
/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_26_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.48985719680786133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:29:42.499285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_56_9335.jpg', '/home/pi/Desktop/images/26012025/02/28/image_26012025_02_29_06_10338.jpg', '/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_26_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_28_56_9335.jpg
/home/pi/Desktop/images/26012025/02/28/image_26012025_02_29_06_10338.jpg
/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_26_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":["1331517076","1331517079","1331517081"],"photo_ids_order":["1331517076","1331517079","1331517081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/005697dc01d08bf16c55f7332e0ed31b.jpg","text":"TemporaryFile(/tmp/multipartBody6068193824459197210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855043369,"filename":"image_26012025_02_28_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/26/aff9355c6039a50c22d97e7e792c636c.jpg","text":"TemporaryFile(/tmp/multipartBody586884920445109543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855043369,"filename":"image_26012025_02_29_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/26/88d8ce535eeeb37d7cad477fbd336aac.jpg","text":"TemporaryFile(/tmp/multipartBody3214479318392557391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855043369,"filename":"image_26012025_02_29_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517081","file1":"1331517079","file0":"1331517076"},"map_files_photo_id_array":[{"photo_id":"1331517081","filename":"file2"},{"photo_id":"1331517079","filename":"file1"},{"photo_id":"1331517076","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331517076":["hashtag1","hashtag2"]},{"1331517079":["hashtag1","hashtag2"]},{"1331517081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331517076, 1331517079, 1331517081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.903443574905396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:30:32.747886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_37_10407.jpg', '/home/pi/Desktop/images/26012025/02/29/image_26012025_02_30_07_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/29/image_26012025_02_29_37_10407.jpg
/home/pi/Desktop/images/26012025/02/29/image_26012025_02_30_07_10375.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331517272","1331517238"],"photo_ids_order":["1331517238","1331517272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4def9516c09ffb2100b0fba660d1071a.jpg","text":"TemporaryFile(/tmp/multipartBody1833039751646262897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855093602,"filename":"image_26012025_02_30_07_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/26/2a80eec5e5c19b3f3ace62d0e9e30be8.jpg","text":"TemporaryFile(/tmp/multipartBody2972675170486299268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855093602,"filename":"image_26012025_02_29_37_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331517272","file0":"1331517238"},"map_files_photo_id_array":[{"photo_id":"1331517272","filename":"file1"},{"photo_id":"1331517238","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331517272":["hashtag1","hashtag2"]},{"1331517238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331517272, 1331517238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.27086853981018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:30:52.717306
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_54_9354.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_57_04_10359.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_15_10399.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_24_9465.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_35_10416.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_44_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_54_9354.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_57_04_10359.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_15_10399.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_24_9465.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_35_10416.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_44_9384.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9686837196350098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:31:04.506215
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_54_9354.jpg', '/home/pi/Desktop/images/23012025/20/56/image_23012025_20_57_04_10359.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_15_10399.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_24_9465.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_35_10416.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_44_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_56_54_9354.jpg
/home/pi/Desktop/images/23012025/20/56/image_23012025_20_57_04_10359.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_15_10399.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_24_9465.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_35_10416.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_44_9384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331517584","1331517494","1331517484","1331517571","1331517541","1331517618"],"photo_ids_order":["1331517484","1331517494","1331517541","1331517571","1331517584","1331517618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37508c440cf3712a938733a5b3fd1f30.jpg","text":"TemporaryFile(/tmp/multipartBody8178803023668924994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_57_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/26/67187e3697599081ddc4435bfdd43564.jpg","text":"TemporaryFile(/tmp/multipartBody4536280639426899501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_57_04_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/26/a360870e28e3f9add0428576b27b7af6.jpg","text":"TemporaryFile(/tmp/multipartBody3074681214717586225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_56_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/26/0c13528019cfc07d1a3cb25b1c667150.jpg","text":"TemporaryFile(/tmp/multipartBody3004078010352074849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_57_24_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/26/02f56b4587c63aa6b3232d765576c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1011497002559085501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_57_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/26/9645e421bdfba9352f534fa67c7a280f.jpg","text":"TemporaryFile(/tmp/multipartBody6351842578238204657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855126318,"filename":"image_23012025_20_57_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517541","file1":"1331517494","file0":"1331517484","file4":"1331517584","file5":"1331517618","file3":"1331517571"},"map_files_photo_id_array":[{"photo_id":"1331517618","filename":"file5"},{"photo_id":"1331517541","filename":"file2"},{"photo_id":"1331517584","filename":"file4"},{"photo_id":"1331517494","filename":"file1"},{"photo_id":"1331517484","filename":"file0"},{"photo_id":"1331517571","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331517584":["hashtag1","hashtag2"]},{"1331517494":["hashtag1","hashtag2"]},{"1331517484":["hashtag1","hashtag2"]},{"1331517571":["hashtag1","hashtag2"]},{"1331517541":["hashtag1","hashtag2"]},{"1331517618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331517584, 1331517494, 1331517484, 1331517571, 1331517541, 1331517618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.932607650756836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:31:52.953069
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_55_10389.jpg', '/home/pi/Desktop/images/23012025/20/57/image_23012025_20_58_05_10337.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_14_9440.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_25_10359.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_34_9423.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_44_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_57_55_10389.jpg
/home/pi/Desktop/images/23012025/20/57/image_23012025_20_58_05_10337.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_14_9440.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_25_10359.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_34_9423.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_44_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":["1331517652","1331517646","1331517649","1331517640","1331517642","1331517639"],"photo_ids_order":["1331517639","1331517640","1331517642","1331517646","1331517649","1331517652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c9ac30d0405d178e94f9b8f5cc5cf20d.jpg","text":"TemporaryFile(/tmp/multipartBody6963887582119866047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_58_44_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d75edf66a499095c3f892602c6d3697a.jpg","text":"TemporaryFile(/tmp/multipartBody1569265383787707705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_58_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/26/0975e891127d8722a06b2159d8369a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8766395880605870472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_58_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/26/5ca130f2d09c65de4902aebf2f580be5.jpg","text":"TemporaryFile(/tmp/multipartBody6514352475767108260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_58_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/26/35228dd8c4170566ce3a3f645b5abfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5443646577152487444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_58_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf4c33b804f84355c093d36f94197921.jpg","text":"TemporaryFile(/tmp/multipartBody8860390056902980438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855175373,"filename":"image_23012025_20_57_55_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517642","file1":"1331517640","file0":"1331517639","file4":"1331517649","file5":"1331517652","file3":"1331517646"},"map_files_photo_id_array":[{"photo_id":"1331517652","filename":"file5"},{"photo_id":"1331517642","filename":"file2"},{"photo_id":"1331517649","filename":"file4"},{"photo_id":"1331517640","filename":"file1"},{"photo_id":"1331517639","filename":"file0"},{"photo_id":"1331517646","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331517652":["hashtag1","hashtag2"]},{"1331517646":["hashtag1","hashtag2"]},{"1331517649":["hashtag1","hashtag2"]},{"1331517640":["hashtag1","hashtag2"]},{"1331517642":["hashtag1","hashtag2"]},{"1331517639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331517652, 1331517646, 1331517649, 1331517640, 1331517642, 1331517639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52811050415039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:32:42.080537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/30/image_26012025_02_30_26_10349.jpg', '/home/pi/Desktop/images/26012025/02/31/image_26012025_02_32_06_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/30/image_26012025_02_30_26_10349.jpg
/home/pi/Desktop/images/26012025/02/31/image_26012025_02_32_06_9328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331517662","1331517667"],"photo_ids_order":["1331517662","1331517667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e5ce4112227275c3310d152898340be.jpg","text":"TemporaryFile(/tmp/multipartBody855792853785685879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855222928,"filename":"image_26012025_02_30_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/26/934b621c59eb56406118f1dcb417307f.jpg","text":"TemporaryFile(/tmp/multipartBody6337851093769836345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855222928,"filename":"image_26012025_02_32_06_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331517667","file0":"1331517662"},"map_files_photo_id_array":[{"photo_id":"1331517667","filename":"file1"},{"photo_id":"1331517662","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331517662":["hashtag1","hashtag2"]},{"1331517667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331517662, 1331517667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.36748743057251 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:33:04.084126
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_55_10354.jpg', '/home/pi/Desktop/images/23012025/20/58/image_23012025_20_59_04_9400.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_15_10433.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_24_9468.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_35_10466.jpg', '/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_45_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_58_55_10354.jpg
/home/pi/Desktop/images/23012025/20/58/image_23012025_20_59_04_9400.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_15_10433.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_24_9468.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_35_10466.jpg
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_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":["1331517819","1331517813","1331517674","1331517821","1331517802","1331517816"],"photo_ids_order":["1331517674","1331517802","1331517813","1331517816","1331517819","1331517821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9fdc38b5d6405ec7c5eef25793c09779.jpg","text":"TemporaryFile(/tmp/multipartBody45402492679207917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_59_35_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/26/5f4362bb2953d74884d6c4d1714363c8.jpg","text":"TemporaryFile(/tmp/multipartBody7018906290899310409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_59_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/26/f34b6d52b818d8e844d073e090596f12.jpg","text":"TemporaryFile(/tmp/multipartBody9132542373138709246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_58_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9855aedd5fdc0dc9d17ee6c3a86a65d9.jpg","text":"TemporaryFile(/tmp/multipartBody4561534969418510038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_59_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/26/c3ea1118613c1761c5774498fafdd64a.jpg","text":"TemporaryFile(/tmp/multipartBody4171962791291678709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_59_04_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e914440fcd8f09e694c630401ade6da5.jpg","text":"TemporaryFile(/tmp/multipartBody7880286611240491890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855246096,"filename":"image_23012025_20_59_24_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517813","file1":"1331517802","file0":"1331517674","file4":"1331517819","file5":"1331517821","file3":"1331517816"},"map_files_photo_id_array":[{"photo_id":"1331517821","filename":"file5"},{"photo_id":"1331517813","filename":"file2"},{"photo_id":"1331517819","filename":"file4"},{"photo_id":"1331517802","filename":"file1"},{"photo_id":"1331517674","filename":"file0"},{"photo_id":"1331517816","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331517819":["hashtag1","hashtag2"]},{"1331517813":["hashtag1","hashtag2"]},{"1331517674":["hashtag1","hashtag2"]},{"1331517821":["hashtag1","hashtag2"]},{"1331517802":["hashtag1","hashtag2"]},{"1331517816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331517819, 1331517813, 1331517674, 1331517821, 1331517802, 1331517816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19324278831482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:33:52.432005
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_54_9448.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_14_10073.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_25_10371.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_35_10370.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_44_9320.jpg', '/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_55_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/20/59/image_23012025_20_59_54_9448.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_14_10073.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_25_10371.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_35_10370.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_44_9320.jpg
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_01_55_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331517842","1331517845","1331517835","1331517847","1331517840","1331517837"],"photo_ids_order":["1331517835","1331517837","1331517840","1331517842","1331517845","1331517847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c5ad1540ca9a90a3aadbf4ecb82fa81.jpg","text":"TemporaryFile(/tmp/multipartBody1831176275970777775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_21_01_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/26/560e95eddf5bc033f1f739fc092bea17.jpg","text":"TemporaryFile(/tmp/multipartBody4800302907888212128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_21_01_44_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/89df5db9ed3738faf71b73422daf0d55.jpg","text":"TemporaryFile(/tmp/multipartBody5701517366996042310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_20_59_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/26/001192d22839388fce385bd0a61b02e2.jpg","text":"TemporaryFile(/tmp/multipartBody6324882726532931797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_21_01_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/26/8b3857a2d1a5b365fc20d782ff857815.jpg","text":"TemporaryFile(/tmp/multipartBody6758456265991017217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_21_01_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/26/6a2a23bca9429dc2e062580e7eea7603.jpg","text":"TemporaryFile(/tmp/multipartBody5118788885746799792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855294822,"filename":"image_23012025_21_01_14_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517840","file1":"1331517837","file0":"1331517835","file4":"1331517845","file5":"1331517847","file3":"1331517842"},"map_files_photo_id_array":[{"photo_id":"1331517847","filename":"file5"},{"photo_id":"1331517840","filename":"file2"},{"photo_id":"1331517845","filename":"file4"},{"photo_id":"1331517837","filename":"file1"},{"photo_id":"1331517835","filename":"file0"},{"photo_id":"1331517842","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331517842":["hashtag1","hashtag2"]},{"1331517845":["hashtag1","hashtag2"]},{"1331517835":["hashtag1","hashtag2"]},{"1331517847":["hashtag1","hashtag2"]},{"1331517840":["hashtag1","hashtag2"]},{"1331517837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331517842, 1331517845, 1331517835, 1331517847, 1331517840, 1331517837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70575141906738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:34:42.574806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/32/image_26012025_02_32_56_9337.jpg', '/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_17_10384.jpg', '/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_37_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/32/image_26012025_02_32_56_9337.jpg
/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_17_10384.jpg
/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_37_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.4878880977630615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:34:52.629385
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/01/image_23012025_21_02_05_10438.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_15_9368.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_25_10425.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_34_9418.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_45_10353.jpg', '/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_55_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/01/image_23012025_21_02_05_10438.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_15_9368.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_25_10425.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_34_9418.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_45_10353.jpg
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_02_55_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":["1331517869","1331517878","1331517872","1331517874","1331517876","1331517870"],"photo_ids_order":["1331517869","1331517870","1331517872","1331517874","1331517876","1331517878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4cee1a010501304e8ccb48661722ec8a.jpg","text":"TemporaryFile(/tmp/multipartBody4252322033113666368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_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/26/419c8ffdbebb599ef135abb037b2b8b7.jpg","text":"TemporaryFile(/tmp/multipartBody7451854977274479066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/43ec5ed465d82492da8b88b70bec7af9.jpg","text":"TemporaryFile(/tmp/multipartBody7134334171892883799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6aeec20f7f94c7646faa62fca92ebcba.jpg","text":"TemporaryFile(/tmp/multipartBody5546584393389044742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd338553f13a8e6dc8adad23c1ec146d.jpg","text":"TemporaryFile(/tmp/multipartBody5260040716147157176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_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/26/e4afdc6d0095d4808111f9e0766e4135.jpg","text":"TemporaryFile(/tmp/multipartBody64919387808753779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855355003,"filename":"image_23012025_21_02_15_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331517872","file1":"1331517870","file0":"1331517869","file4":"1331517876","file5":"1331517878","file3":"1331517874"},"map_files_photo_id_array":[{"photo_id":"1331517878","filename":"file5"},{"photo_id":"1331517872","filename":"file2"},{"photo_id":"1331517876","filename":"file4"},{"photo_id":"1331517870","filename":"file1"},{"photo_id":"1331517869","filename":"file0"},{"photo_id":"1331517874","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331517869":["hashtag1","hashtag2"]},{"1331517878":["hashtag1","hashtag2"]},{"1331517872":["hashtag1","hashtag2"]},{"1331517874":["hashtag1","hashtag2"]},{"1331517876":["hashtag1","hashtag2"]},{"1331517870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331517869, 1331517878, 1331517872, 1331517874, 1331517876, 1331517870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41311573982239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:35:42.837656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/32/image_26012025_02_32_56_9337.jpg', '/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_17_10384.jpg', '/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_37_10429.jpg', '/home/pi/Desktop/images/26012025/02/34/image_26012025_02_34_17_10345.jpg', '/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_16_9379.jpg', '/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_27_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/32/image_26012025_02_32_56_9337.jpg
/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_17_10384.jpg
/home/pi/Desktop/images/26012025/02/33/image_26012025_02_33_37_10429.jpg
/home/pi/Desktop/images/26012025/02/34/image_26012025_02_34_17_10345.jpg
/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_16_9379.jpg
/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_27_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":["1331518121","1331518118","1331518109","1331518108","1331518050","1331518068"],"photo_ids_order":["1331518050","1331518068","1331518108","1331518109","1331518118","1331518121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86b45113aeeaf6a9eb594a55e393c61e.jpg","text":"TemporaryFile(/tmp/multipartBody3001738755563516589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_35_27_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/26/abe10fc5e5fb03f06969d63e1dbe2c97.jpg","text":"TemporaryFile(/tmp/multipartBody3807851145551488384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_35_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52d9bf7acc2255774ca39409786bda15.jpg","text":"TemporaryFile(/tmp/multipartBody8395854541056344264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_34_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/09f030e751456e2e98ddb4e15503772f.jpg","text":"TemporaryFile(/tmp/multipartBody8416522245513644534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_33_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/26/88719474f73f829c9972bc12f89a6893.jpg","text":"TemporaryFile(/tmp/multipartBody6032515152532085032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_32_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46580f9d611802ad71c6e379714ccae6.jpg","text":"TemporaryFile(/tmp/multipartBody8944510182244891713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855403754,"filename":"image_26012025_02_33_17_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331518108","file1":"1331518068","file0":"1331518050","file4":"1331518118","file5":"1331518121","file3":"1331518109"},"map_files_photo_id_array":[{"photo_id":"1331518121","filename":"file5"},{"photo_id":"1331518108","filename":"file2"},{"photo_id":"1331518118","filename":"file4"},{"photo_id":"1331518068","filename":"file1"},{"photo_id":"1331518050","filename":"file0"},{"photo_id":"1331518109","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331518121":["hashtag1","hashtag2"]},{"1331518118":["hashtag1","hashtag2"]},{"1331518109":["hashtag1","hashtag2"]},{"1331518108":["hashtag1","hashtag2"]},{"1331518050":["hashtag1","hashtag2"]},{"1331518068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331518121, 1331518118, 1331518109, 1331518108, 1331518050, 1331518068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.067415714263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:36:33.147946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_57_10326.jpg', '/home/pi/Desktop/images/26012025/02/36/image_26012025_02_36_36_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/35/image_26012025_02_35_57_10326.jpg
/home/pi/Desktop/images/26012025/02/36/image_26012025_02_36_36_9369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331518130","1331518135"],"photo_ids_order":["1331518130","1331518135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29f2ba1e0eed2d66d31a396eecd6bc94.jpg","text":"TemporaryFile(/tmp/multipartBody5640433688590638420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855454006,"filename":"image_26012025_02_35_57_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b847459c52d4f1c4e012ed956191f861.jpg","text":"TemporaryFile(/tmp/multipartBody8754028866321184518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855454006,"filename":"image_26012025_02_36_36_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331518135","file0":"1331518130"},"map_files_photo_id_array":[{"photo_id":"1331518135","filename":"file1"},{"photo_id":"1331518130","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331518130":["hashtag1","hashtag2"]},{"1331518135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331518130, 1331518135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.52844548225403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:36:53.072028
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/02/image_23012025_21_03_05_9375.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_15_10344.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_24_9375.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_35_10450.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_45_10337.jpg', '/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_54_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/02/image_23012025_21_03_05_9375.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_15_10344.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_24_9375.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_35_10450.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_45_10337.jpg
/home/pi/Desktop/images/23012025/21/03/image_23012025_21_03_54_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":["1331518154","1331518151","1331518153","1331518155","1331518152","1331518149"],"photo_ids_order":["1331518149","1331518151","1331518152","1331518153","1331518154","1331518155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72a6a65ec86e57409290a1344098d837.jpg","text":"TemporaryFile(/tmp/multipartBody3890813166236394121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7fb37546a5d5a835b724ab71ce1cb1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7905943970826333781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_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/26/78a80ba6510daeb67ebc655c8aa4cbe3.jpg","text":"TemporaryFile(/tmp/multipartBody6832227496212262324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d7e766c3ad00dd8c4d154ce93f16d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody876515655404837771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_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/26/21dabcd979b1ef48a6076dd2011c2c8f.jpg","text":"TemporaryFile(/tmp/multipartBody9031829319745822840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3fd16d7edc9b275f5744a5c0b5e6434.jpg","text":"TemporaryFile(/tmp/multipartBody7819151783169945142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855475438,"filename":"image_23012025_21_03_05_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331518152","file1":"1331518151","file0":"1331518149","file4":"1331518154","file5":"1331518155","file3":"1331518153"},"map_files_photo_id_array":[{"photo_id":"1331518155","filename":"file5"},{"photo_id":"1331518152","filename":"file2"},{"photo_id":"1331518154","filename":"file4"},{"photo_id":"1331518151","filename":"file1"},{"photo_id":"1331518149","filename":"file0"},{"photo_id":"1331518153","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331518154":["hashtag1","hashtag2"]},{"1331518151":["hashtag1","hashtag2"]},{"1331518153":["hashtag1","hashtag2"]},{"1331518155":["hashtag1","hashtag2"]},{"1331518152":["hashtag1","hashtag2"]},{"1331518149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331518154, 1331518151, 1331518153, 1331518155, 1331518152, 1331518149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25564503669739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:37:42.291805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/36/image_26012025_02_36_56_9405.jpg', '/home/pi/Desktop/images/26012025/02/36/image_26012025_02_37_06_10337.jpg', '/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_26_9348.jpg', '/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/36/image_26012025_02_36_56_9405.jpg
/home/pi/Desktop/images/26012025/02/36/image_26012025_02_37_06_10337.jpg
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_26_9348.jpg
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_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":["1331518415","1331518174","1331518168","1331518702"],"photo_ids_order":["1331518168","1331518174","1331518415","1331518702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b476e287fade58e6bde80c281aa453f.jpg","text":"TemporaryFile(/tmp/multipartBody7140652869764016544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855523183,"filename":"image_26012025_02_37_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/26/541db477606854eacf42145b017354cc.jpg","text":"TemporaryFile(/tmp/multipartBody4527997575340726935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855523183,"filename":"image_26012025_02_37_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19bc49d46f698e3ea7a92a7f0ea9d462.jpg","text":"TemporaryFile(/tmp/multipartBody6253919172368369608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855523183,"filename":"image_26012025_02_36_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/26/360583218d0b99989ac110ec05cd9e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8624804197502726084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855523183,"filename":"image_26012025_02_37_47_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331518415","file1":"1331518174","file0":"1331518168","file3":"1331518702"},"map_files_photo_id_array":[{"photo_id":"1331518415","filename":"file2"},{"photo_id":"1331518174","filename":"file1"},{"photo_id":"1331518168","filename":"file0"},{"photo_id":"1331518702","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331518415":["hashtag1","hashtag2"]},{"1331518174":["hashtag1","hashtag2"]},{"1331518168":["hashtag1","hashtag2"]},{"1331518702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331518415, 1331518174, 1331518168, 1331518702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.495585680007935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:38:32.532347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_56_9314.jpg', '/home/pi/Desktop/images/26012025/02/37/image_26012025_02_38_07_10333.jpg', '/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_26_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_56_9314.jpg
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_38_07_10333.jpg
/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_26_9408.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5012123584747314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:38:42.468071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_56_9314.jpg', '/home/pi/Desktop/images/26012025/02/37/image_26012025_02_38_07_10333.jpg', '/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_26_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_37_56_9314.jpg
/home/pi/Desktop/images/26012025/02/37/image_26012025_02_38_07_10333.jpg
/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_26_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331519005","1331519058","1331519009"],"photo_ids_order":["1331519005","1331519009","1331519058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6cdd9832e62d31247a9192d8fedce76.jpg","text":"TemporaryFile(/tmp/multipartBody4424827839071669006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855583337,"filename":"image_26012025_02_37_56_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35a99175ac241003316d852a1f895fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7558631505087180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855583337,"filename":"image_26012025_02_38_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/26/3d37714318b9626bf93d9949245505bf.jpg","text":"TemporaryFile(/tmp/multipartBody7534456125060752857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855583337,"filename":"image_26012025_02_38_07_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519058","file1":"1331519009","file0":"1331519005"},"map_files_photo_id_array":[{"photo_id":"1331519058","filename":"file2"},{"photo_id":"1331519009","filename":"file1"},{"photo_id":"1331519005","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519005":["hashtag1","hashtag2"]},{"1331519058":["hashtag1","hashtag2"]},{"1331519009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519005, 1331519058, 1331519009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.456261157989502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:39:32.744854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_46_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/38/image_26012025_02_38_46_9404.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331519130"],"photo_id":"1331519130","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddb3320e0d496a99c64fe43b82deb34b.jpg","text":"TemporaryFile(/tmp/multipartBody1181920157377020023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855633568,"filename":"image_26012025_02_38_46_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331519130"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331519130"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.244913339614868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:39:52.763486
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_15_10388.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_25_9458.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_35_10390.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_44_9335.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_55_10381.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_05_05_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_15_10388.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_25_9458.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_35_10390.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_44_9335.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_55_10381.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_05_05_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: 1.9790410995483398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:40:03.820631
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_15_10388.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_25_9458.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_35_10390.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_44_9335.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_55_10381.jpg', '/home/pi/Desktop/images/23012025/21/04/image_23012025_21_05_05_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_15_10388.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_25_9458.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_35_10390.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_44_9335.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_04_55_10381.jpg
/home/pi/Desktop/images/23012025/21/04/image_23012025_21_05_05_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":["1331519290","1331519203","1331519193","1331519313","1331519198","1331519207"],"photo_ids_order":["1331519193","1331519198","1331519203","1331519207","1331519290","1331519313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/df77fedd26e9dfa73bc044da5bc74403.jpg","text":"TemporaryFile(/tmp/multipartBody5384181735464885702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_04_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/26/e50a0f06113fcf9d6032a624a34d4459.jpg","text":"TemporaryFile(/tmp/multipartBody8416935974820479295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_04_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da1b87a0ea6f1f87a2c063dc03a04cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3406208781994443189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_04_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/26/66144255f528c4ef9eb8cd3236991e67.jpg","text":"TemporaryFile(/tmp/multipartBody2920025465362468884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_05_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/26/4205299602e6d2a3b3190285e3411ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3397089709123541633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_04_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/26/47d9c3caa510abbeb07d26a2a1d8f5df.jpg","text":"TemporaryFile(/tmp/multipartBody7531492187094809889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855665406,"filename":"image_23012025_21_04_44_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519203","file1":"1331519198","file0":"1331519193","file4":"1331519290","file5":"1331519313","file3":"1331519207"},"map_files_photo_id_array":[{"photo_id":"1331519313","filename":"file5"},{"photo_id":"1331519203","filename":"file2"},{"photo_id":"1331519290","filename":"file4"},{"photo_id":"1331519198","filename":"file1"},{"photo_id":"1331519193","filename":"file0"},{"photo_id":"1331519207","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331519290":["hashtag1","hashtag2"]},{"1331519203":["hashtag1","hashtag2"]},{"1331519193":["hashtag1","hashtag2"]},{"1331519313":["hashtag1","hashtag2"]},{"1331519198":["hashtag1","hashtag2"]},{"1331519207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331519290, 1331519203, 1331519193, 1331519313, 1331519198, 1331519207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.680753231048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:40:53.062909
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_14_9317.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_25_10500.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_34_9329.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_45_10333.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_55_10485.jpg', '/home/pi/Desktop/images/23012025/21/05/image_23012025_21_06_04_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_14_9317.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_25_10500.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_34_9329.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_45_10333.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_05_55_10485.jpg
/home/pi/Desktop/images/23012025/21/05/image_23012025_21_06_04_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":["1331519365","1331519380","1331519362","1331519385","1331519370","1331519375"],"photo_ids_order":["1331519362","1331519365","1331519370","1331519375","1331519380","1331519385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f6f2abd03d0cca3fa406edeb7bbf709f.jpg","text":"TemporaryFile(/tmp/multipartBody8026253370392725944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_05_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/26/0e7b0f9573ed7f2df0d1a38e707e178a.jpg","text":"TemporaryFile(/tmp/multipartBody8866344365560350520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_05_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/26/39a6df0df2bc593ce3548999c09a15e8.jpg","text":"TemporaryFile(/tmp/multipartBody6264903093144473190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_05_14_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e427bacc7645d4ac8cfc0ccc66431164.jpg","text":"TemporaryFile(/tmp/multipartBody2530710145614884051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_06_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/26/f00032354cd4a64947f98839a8dfe56c.jpg","text":"TemporaryFile(/tmp/multipartBody2977247458618381598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_05_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/baf2975520a0e30e263f846c2e4ad56c.jpg","text":"TemporaryFile(/tmp/multipartBody7685710579336191272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855715960,"filename":"image_23012025_21_05_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519370","file1":"1331519365","file0":"1331519362","file4":"1331519380","file5":"1331519385","file3":"1331519375"},"map_files_photo_id_array":[{"photo_id":"1331519385","filename":"file5"},{"photo_id":"1331519370","filename":"file2"},{"photo_id":"1331519380","filename":"file4"},{"photo_id":"1331519365","filename":"file1"},{"photo_id":"1331519362","filename":"file0"},{"photo_id":"1331519375","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331519365":["hashtag1","hashtag2"]},{"1331519380":["hashtag1","hashtag2"]},{"1331519362":["hashtag1","hashtag2"]},{"1331519385":["hashtag1","hashtag2"]},{"1331519370":["hashtag1","hashtag2"]},{"1331519375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331519365, 1331519380, 1331519362, 1331519385, 1331519370, 1331519375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19770002365112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:41:42.281426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/39/image_26012025_02_39_27_10414.jpg', '/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_17_10423.jpg', '/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_27_10340.jpg', '/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_36_9348.jpg', '/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_56_9333.jpg', '/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_17_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/39/image_26012025_02_39_27_10414.jpg
/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_17_10423.jpg
/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_27_10340.jpg
/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_36_9348.jpg
/home/pi/Desktop/images/26012025/02/40/image_26012025_02_40_56_9333.jpg
/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_17_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":["1331519408","1331519398","1331519401","1331519412","1331519393","1331519405"],"photo_ids_order":["1331519393","1331519398","1331519401","1331519405","1331519408","1331519412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1752dfd6633a1831a37cb3f29728fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6558452174915785151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_40_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c2d898bece0214c4dcdadf2a53ca2fa.jpg","text":"TemporaryFile(/tmp/multipartBody3809272383646502496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_40_17_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/26/dfa626fac2d2006528fd28326cc7a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody7847433263812838163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_40_27_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/26/aa5350ee1a7c3b651a7285490060ce8b.jpg","text":"TemporaryFile(/tmp/multipartBody8156381148430042289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_41_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/26/d2a847aa964ca6c94a0f8310ece8a6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6917265423181809479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_39_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/26/b20c018fc2d8ce6d2dfd1f952a744a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6811348969688642078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855763197,"filename":"image_26012025_02_40_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519401","file1":"1331519398","file0":"1331519393","file4":"1331519408","file5":"1331519412","file3":"1331519405"},"map_files_photo_id_array":[{"photo_id":"1331519412","filename":"file5"},{"photo_id":"1331519401","filename":"file2"},{"photo_id":"1331519408","filename":"file4"},{"photo_id":"1331519398","filename":"file1"},{"photo_id":"1331519393","filename":"file0"},{"photo_id":"1331519405","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519408":["hashtag1","hashtag2"]},{"1331519398":["hashtag1","hashtag2"]},{"1331519401":["hashtag1","hashtag2"]},{"1331519412":["hashtag1","hashtag2"]},{"1331519393":["hashtag1","hashtag2"]},{"1331519405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519408, 1331519398, 1331519401, 1331519412, 1331519393, 1331519405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.141093015670776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:42:32.537145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_47_10342.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_17_10331.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_26_9337.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_47_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_47_10342.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_17_10331.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_26_9337.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_47_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.506594181060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:42:42.497525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_47_10342.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_17_10331.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_26_9337.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_47_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/41/image_26012025_02_41_47_10342.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_17_10331.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_26_9337.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_47_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":["1331519494","1331519458","1331519490","1331519495"],"photo_ids_order":["1331519458","1331519490","1331519494","1331519495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1729621c4fe26eb7eb5a99a35776988e.jpg","text":"TemporaryFile(/tmp/multipartBody48207822135522146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855823466,"filename":"image_26012025_02_42_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96248e53497a582ee20fdd234a480872.jpg","text":"TemporaryFile(/tmp/multipartBody7722154586755749700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855823466,"filename":"image_26012025_02_41_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/adacc08ba0f410c888e97de4ae1002e4.jpg","text":"TemporaryFile(/tmp/multipartBody154478121160530228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855823466,"filename":"image_26012025_02_42_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/26/224672566715c5e75fb606ecb5445010.jpg","text":"TemporaryFile(/tmp/multipartBody4003683569136707824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855823466,"filename":"image_26012025_02_42_47_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519494","file1":"1331519490","file0":"1331519458","file3":"1331519495"},"map_files_photo_id_array":[{"photo_id":"1331519494","filename":"file2"},{"photo_id":"1331519490","filename":"file1"},{"photo_id":"1331519458","filename":"file0"},{"photo_id":"1331519495","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519494":["hashtag1","hashtag2"]},{"1331519458":["hashtag1","hashtag2"]},{"1331519490":["hashtag1","hashtag2"]},{"1331519495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519494, 1331519458, 1331519490, 1331519495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.371110916137695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:43:32.812316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_56_9335.jpg', '/home/pi/Desktop/images/26012025/02/42/image_26012025_02_43_07_10382.jpg', '/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_16_9416.jpg', '/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_27_10470.jpg', '/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_37_10379.jpg', '/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_46_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_42_56_9335.jpg
/home/pi/Desktop/images/26012025/02/42/image_26012025_02_43_07_10382.jpg
/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_16_9416.jpg
/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_27_10470.jpg
/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_37_10379.jpg
/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_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":["1331519507","1331519503","1331519514","1331519523","1331519525","1331519519"],"photo_ids_order":["1331519503","1331519507","1331519514","1331519519","1331519523","1331519525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5fcb19213c59c609b80a1c27c839eba0.jpg","text":"TemporaryFile(/tmp/multipartBody129986701283890928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_43_07_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62a910e65ee47666437209831bd39df3.jpg","text":"TemporaryFile(/tmp/multipartBody1880321454354593945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_42_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/26/484c0104f1fb9effbd8419e59a4d5227.jpg","text":"TemporaryFile(/tmp/multipartBody4051840499193960960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_43_16_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/26/be10ca77f0b0ca80630f5886075bffd6.jpg","text":"TemporaryFile(/tmp/multipartBody8512604886326488363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_43_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/26/0491c728ad61e63813e7bfa1770cf049.jpg","text":"TemporaryFile(/tmp/multipartBody3202209190913280343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_43_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/26/87fe6c8f1472c797556e13f6a5c648f5.jpg","text":"TemporaryFile(/tmp/multipartBody1842297548176585070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855873735,"filename":"image_26012025_02_43_27_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519514","file1":"1331519507","file0":"1331519503","file4":"1331519523","file5":"1331519525","file3":"1331519519"},"map_files_photo_id_array":[{"photo_id":"1331519525","filename":"file5"},{"photo_id":"1331519514","filename":"file2"},{"photo_id":"1331519523","filename":"file4"},{"photo_id":"1331519507","filename":"file1"},{"photo_id":"1331519503","filename":"file0"},{"photo_id":"1331519519","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519507":["hashtag1","hashtag2"]},{"1331519503":["hashtag1","hashtag2"]},{"1331519514":["hashtag1","hashtag2"]},{"1331519523":["hashtag1","hashtag2"]},{"1331519525":["hashtag1","hashtag2"]},{"1331519519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519507, 1331519503, 1331519514, 1331519523, 1331519525, 1331519519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8233802318573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:44:33.018940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_57_10332.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_16_9309.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_27_10324.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_37_10397.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_46_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/43/image_26012025_02_43_57_10332.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_16_9309.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_27_10324.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_37_10397.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_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":["1331519551","1331519560","1331519568","1331519555","1331519564"],"photo_ids_order":["1331519551","1331519555","1331519560","1331519564","1331519568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/860902b25e2ab058a68991226257a527.jpg","text":"TemporaryFile(/tmp/multipartBody5633858273530713655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855933934,"filename":"image_26012025_02_43_57_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/26/18dd1a041817ba0c8d6971cb1ce4b959.jpg","text":"TemporaryFile(/tmp/multipartBody1663746705977972243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855933934,"filename":"image_26012025_02_44_27_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/26/35dde1918f4d4a0c6eb63cbc89cb2966.jpg","text":"TemporaryFile(/tmp/multipartBody5202945985636924265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855933934,"filename":"image_26012025_02_44_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/26/e37c365e0ca1fd2e741c51b2ffc331a4.jpg","text":"TemporaryFile(/tmp/multipartBody7296239503249051740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855933934,"filename":"image_26012025_02_44_16_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/78b1b17fdc6ce80e3dcc75c8c96c8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7704099857927973737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737855933934,"filename":"image_26012025_02_44_37_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519560","file1":"1331519555","file0":"1331519551","file4":"1331519568","file3":"1331519564"},"map_files_photo_id_array":[{"photo_id":"1331519560","filename":"file2"},{"photo_id":"1331519568","filename":"file4"},{"photo_id":"1331519555","filename":"file1"},{"photo_id":"1331519551","filename":"file0"},{"photo_id":"1331519564","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519551":["hashtag1","hashtag2"]},{"1331519560":["hashtag1","hashtag2"]},{"1331519568":["hashtag1","hashtag2"]},{"1331519555":["hashtag1","hashtag2"]},{"1331519564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519551, 1331519560, 1331519568, 1331519555, 1331519564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.20887494087219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:45:32.308940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_57_10346.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_45_07_10288.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_16_9399.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_27_10424.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_47_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_57_10346.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_45_07_10288.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_16_9399.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_27_10424.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_47_10478.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.509498119354248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:45:42.219554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_57_10346.jpg', '/home/pi/Desktop/images/26012025/02/44/image_26012025_02_45_07_10288.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_16_9399.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_27_10424.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_47_10478.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_44_57_10346.jpg
/home/pi/Desktop/images/26012025/02/44/image_26012025_02_45_07_10288.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_16_9399.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_27_10424.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_47_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331519596","1331519599","1331519590","1331519593","1331519598"],"photo_ids_order":["1331519590","1331519593","1331519596","1331519598","1331519599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/397898b541645fe3e99f573a5ecf2c41.jpg","text":"TemporaryFile(/tmp/multipartBody7310526455100846226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856003137,"filename":"image_26012025_02_45_16_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/158c9fbfafc734f81c0b42f5ec57e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody2493664620446741729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856003137,"filename":"image_26012025_02_45_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/44be8f5fe23e845aa569ecbb4d5085a6.jpg","text":"TemporaryFile(/tmp/multipartBody3354741413255074439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856003137,"filename":"image_26012025_02_44_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/26/20a67e78cf0fd1b48db4cc2ae3bc70a1.jpg","text":"TemporaryFile(/tmp/multipartBody7536984512520095614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856003137,"filename":"image_26012025_02_45_07_10288.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39b748c459fb908a0e1429ddd48cd879.jpg","text":"TemporaryFile(/tmp/multipartBody5309932308678165745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856003137,"filename":"image_26012025_02_45_27_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519596","file1":"1331519593","file0":"1331519590","file4":"1331519599","file3":"1331519598"},"map_files_photo_id_array":[{"photo_id":"1331519596","filename":"file2"},{"photo_id":"1331519599","filename":"file4"},{"photo_id":"1331519593","filename":"file1"},{"photo_id":"1331519590","filename":"file0"},{"photo_id":"1331519598","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519596":["hashtag1","hashtag2"]},{"1331519599":["hashtag1","hashtag2"]},{"1331519590":["hashtag1","hashtag2"]},{"1331519593":["hashtag1","hashtag2"]},{"1331519598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519596, 1331519599, 1331519590, 1331519593, 1331519598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.01804327964783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:46:32.432162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_57_10377.jpg', '/home/pi/Desktop/images/26012025/02/45/image_26012025_02_46_06_9380.jpg', '/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_17_10341.jpg', '/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_26_9336.jpg', '/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_37_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_45_57_10377.jpg
/home/pi/Desktop/images/26012025/02/45/image_26012025_02_46_06_9380.jpg
/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_17_10341.jpg
/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_26_9336.jpg
/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_37_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":["1331519612","1331519616","1331519604","1331519621","1331519624"],"photo_ids_order":["1331519604","1331519612","1331519616","1331519621","1331519624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/66bb0da7569c2215a63d00e2ad7d18f7.jpg","text":"TemporaryFile(/tmp/multipartBody5237963576570424927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856053340,"filename":"image_26012025_02_46_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9448101e9a51415a3f1ac99e107e0fea.jpg","text":"TemporaryFile(/tmp/multipartBody2996021187737805107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856053340,"filename":"image_26012025_02_46_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/26/93892e4f203b8d997664b31db9f7aa17.jpg","text":"TemporaryFile(/tmp/multipartBody5271989352110536080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856053340,"filename":"image_26012025_02_45_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/26/bd4921124c7f2d2c9c9df108a6680ede.jpg","text":"TemporaryFile(/tmp/multipartBody1314985200675096155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856053340,"filename":"image_26012025_02_46_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd5176752d54e928893ce670c55a72a9.jpg","text":"TemporaryFile(/tmp/multipartBody1019677803778486328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856053340,"filename":"image_26012025_02_46_37_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331519616","file1":"1331519612","file0":"1331519604","file4":"1331519624","file3":"1331519621"},"map_files_photo_id_array":[{"photo_id":"1331519616","filename":"file2"},{"photo_id":"1331519624","filename":"file4"},{"photo_id":"1331519612","filename":"file1"},{"photo_id":"1331519604","filename":"file0"},{"photo_id":"1331519621","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331519612":["hashtag1","hashtag2"]},{"1331519616":["hashtag1","hashtag2"]},{"1331519604":["hashtag1","hashtag2"]},{"1331519621":["hashtag1","hashtag2"]},{"1331519624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331519612, 1331519616, 1331519604, 1331519621, 1331519624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.319647550582886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:47:32.683080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_47_10356.jpg', '/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_17_10352.jpg', '/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_26_9336.jpg', '/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_37_10342.jpg', '/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_47_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/46/image_26012025_02_46_47_10356.jpg
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_17_10352.jpg
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_26_9336.jpg
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_37_10342.jpg
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_47_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":["1331520047","1331520056","1331520035","1331520051","1331520027"],"photo_ids_order":["1331520027","1331520035","1331520047","1331520051","1331520056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e768b9d3b0cd2491b59eec51132e182.jpg","text":"TemporaryFile(/tmp/multipartBody6040922530475770807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856113593,"filename":"image_26012025_02_47_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef0af1c4c48d3b9ea3a8a56e6426c7da.jpg","text":"TemporaryFile(/tmp/multipartBody6965084789063773195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856113593,"filename":"image_26012025_02_47_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/26/7ce326fb93193b68fa1a16de46db3a52.jpg","text":"TemporaryFile(/tmp/multipartBody2636123596176777914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856113593,"filename":"image_26012025_02_47_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c43a0c90598d58f7e9ad7ed2247b1688.jpg","text":"TemporaryFile(/tmp/multipartBody7396408859470350834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856113593,"filename":"image_26012025_02_47_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/26/8b8bf72242265269aa0f749e5631b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4511583098407318943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856113593,"filename":"image_26012025_02_46_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331520047","file1":"1331520035","file0":"1331520027","file4":"1331520056","file3":"1331520051"},"map_files_photo_id_array":[{"photo_id":"1331520047","filename":"file2"},{"photo_id":"1331520056","filename":"file4"},{"photo_id":"1331520035","filename":"file1"},{"photo_id":"1331520027","filename":"file0"},{"photo_id":"1331520051","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331520047":["hashtag1","hashtag2"]},{"1331520056":["hashtag1","hashtag2"]},{"1331520035":["hashtag1","hashtag2"]},{"1331520051":["hashtag1","hashtag2"]},{"1331520027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331520047, 1331520056, 1331520035, 1331520051, 1331520027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.32720065116882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:48:32.946275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_56_9397.jpg', '/home/pi/Desktop/images/26012025/02/47/image_26012025_02_48_07_10357.jpg', '/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_16_9325.jpg', '/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_26_10340.jpg', '/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_37_10447.jpg', '/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_46_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_47_56_9397.jpg
/home/pi/Desktop/images/26012025/02/47/image_26012025_02_48_07_10357.jpg
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_16_9325.jpg
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_26_10340.jpg
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_37_10447.jpg
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_46_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":["1331520740","1331520697","1331520445","1331520535","1331520618","1331520353"],"photo_ids_order":["1331520353","1331520445","1331520535","1331520618","1331520697","1331520740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ee5d51710ddccf7e63b7480787fd307.jpg","text":"TemporaryFile(/tmp/multipartBody1732939375582915696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_48_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/38ee3c41a4f38c81cb55f14bee76a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody2917301386536390174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_48_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/26/69dc93189546e8e4e595c07b5a4cc8d9.jpg","text":"TemporaryFile(/tmp/multipartBody736781119283714776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_48_07_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b94b55fa1cd486db2d8526f8253a024.jpg","text":"TemporaryFile(/tmp/multipartBody7913144301981629398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_48_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5bbd456aa6b994811316c05d2fdd732b.jpg","text":"TemporaryFile(/tmp/multipartBody6761840144250515571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_48_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/26/b9dd42a920f13499e13f66ed429f2c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1084674131179035116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856173867,"filename":"image_26012025_02_47_56_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331520535","file1":"1331520445","file0":"1331520353","file4":"1331520697","file5":"1331520740","file3":"1331520618"},"map_files_photo_id_array":[{"photo_id":"1331520740","filename":"file5"},{"photo_id":"1331520535","filename":"file2"},{"photo_id":"1331520697","filename":"file4"},{"photo_id":"1331520445","filename":"file1"},{"photo_id":"1331520353","filename":"file0"},{"photo_id":"1331520618","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331520740":["hashtag1","hashtag2"]},{"1331520697":["hashtag1","hashtag2"]},{"1331520445":["hashtag1","hashtag2"]},{"1331520535":["hashtag1","hashtag2"]},{"1331520618":["hashtag1","hashtag2"]},{"1331520353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331520740, 1331520697, 1331520445, 1331520535, 1331520618, 1331520353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56215262413025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:49:33.241201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_57_10430.jpg', '/home/pi/Desktop/images/26012025/02/48/image_26012025_02_49_06_9342.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_16_10335.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_27_10355.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_36_9413.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_47_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_48_57_10430.jpg
/home/pi/Desktop/images/26012025/02/48/image_26012025_02_49_06_9342.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_16_10335.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_27_10355.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_36_9413.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_47_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331522320","1331521903","1331521655","1331522482","1331522138","1331521469"],"photo_ids_order":["1331521469","1331521655","1331521903","1331522138","1331522320","1331522482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15044b7db74b0ccaa3a0d26402931c80.jpg","text":"TemporaryFile(/tmp/multipartBody4498953992484964251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_49_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/26/eb47f4912ab077f1bdc33de311eeadee.jpg","text":"TemporaryFile(/tmp/multipartBody3474624969751749050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_49_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/26/f3e1d61a289a26891a5e988024f9d552.jpg","text":"TemporaryFile(/tmp/multipartBody3209715232898358274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_49_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb7e07a8750b39aa7ec3bf2980ca9a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6162446628730441193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_49_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9615199759f35d7941cf8a5b4679c32.jpg","text":"TemporaryFile(/tmp/multipartBody6697452548497629238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_49_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/26/6239b7d1ea0caa5f2a6a94dca6cd5776.jpg","text":"TemporaryFile(/tmp/multipartBody7374360351638242512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856234173,"filename":"image_26012025_02_48_57_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331521903","file1":"1331521655","file0":"1331521469","file4":"1331522320","file5":"1331522482","file3":"1331522138"},"map_files_photo_id_array":[{"photo_id":"1331522482","filename":"file5"},{"photo_id":"1331521903","filename":"file2"},{"photo_id":"1331522320","filename":"file4"},{"photo_id":"1331521655","filename":"file1"},{"photo_id":"1331521469","filename":"file0"},{"photo_id":"1331522138","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331522320":["hashtag1","hashtag2"]},{"1331521903":["hashtag1","hashtag2"]},{"1331521655":["hashtag1","hashtag2"]},{"1331522482":["hashtag1","hashtag2"]},{"1331522138":["hashtag1","hashtag2"]},{"1331521469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331522320, 1331521903, 1331521655, 1331522482, 1331522138, 1331521469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5981011390686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:50:32.274301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_57_10368.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_50_06_9363.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_17_10349.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_26_9403.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_36_10355.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_57_10368.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_50_06_9363.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_17_10349.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_26_9403.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_36_10355.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_47_10400.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5341587066650391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:50:42.212386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_57_10368.jpg', '/home/pi/Desktop/images/26012025/02/49/image_26012025_02_50_06_9363.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_17_10349.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_26_9403.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_36_10355.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_47_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_49_57_10368.jpg
/home/pi/Desktop/images/26012025/02/49/image_26012025_02_50_06_9363.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_17_10349.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_26_9403.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_36_10355.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_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":["1331522632","1331522722","1331522769","1331522766","1331522768","1331522600"],"photo_ids_order":["1331522600","1331522632","1331522722","1331522766","1331522768","1331522769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab9ea022f8fa5d3448ceb60c3a0782ed.jpg","text":"TemporaryFile(/tmp/multipartBody2695167424321399112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_50_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/26/f45c6fe5bbe0886d207ad65e5bca039a.jpg","text":"TemporaryFile(/tmp/multipartBody502991618899835512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_50_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eabce431668aab5f2d46564cc73dc515.jpg","text":"TemporaryFile(/tmp/multipartBody8685973306205504105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_50_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/26/f754309fcc31ebfe3596cc33a3ef24e8.jpg","text":"TemporaryFile(/tmp/multipartBody3005115153786606815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_50_26_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/26/29f116b537270e713ed027c8ce109391.jpg","text":"TemporaryFile(/tmp/multipartBody5363183339422721202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_50_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/26/09d1a8d938b20f15cf46cf699f3f6ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1990530100314093597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856303156,"filename":"image_26012025_02_49_57_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331522722","file1":"1331522632","file0":"1331522600","file4":"1331522768","file5":"1331522769","file3":"1331522766"},"map_files_photo_id_array":[{"photo_id":"1331522769","filename":"file5"},{"photo_id":"1331522722","filename":"file2"},{"photo_id":"1331522768","filename":"file4"},{"photo_id":"1331522632","filename":"file1"},{"photo_id":"1331522600","filename":"file0"},{"photo_id":"1331522766","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331522632":["hashtag1","hashtag2"]},{"1331522722":["hashtag1","hashtag2"]},{"1331522769":["hashtag1","hashtag2"]},{"1331522766":["hashtag1","hashtag2"]},{"1331522768":["hashtag1","hashtag2"]},{"1331522600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331522632, 1331522722, 1331522769, 1331522766, 1331522768, 1331522600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02769732475281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:51:32.486972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_56_9392.jpg', '/home/pi/Desktop/images/26012025/02/50/image_26012025_02_51_07_10455.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_16_9399.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_27_10488.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_37_10395.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_46_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_50_56_9392.jpg
/home/pi/Desktop/images/26012025/02/50/image_26012025_02_51_07_10455.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_16_9399.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_27_10488.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_37_10395.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_46_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331522800","1331522775","1331522778","1331522795","1331522786","1331522780"],"photo_ids_order":["1331522775","1331522778","1331522780","1331522786","1331522795","1331522800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/825601feb0254e1398334db3de0294c4.jpg","text":"TemporaryFile(/tmp/multipartBody4532706128232246127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_51_46_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30f136059733c27bb3b5747edff797cd.jpg","text":"TemporaryFile(/tmp/multipartBody3070820515632586294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_50_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e9df7f45ec68bac5d9a1d667b66e963.jpg","text":"TemporaryFile(/tmp/multipartBody4234693727884951597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_51_07_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/26/330ccc9bf115d169f3f6e0397c9336ba.jpg","text":"TemporaryFile(/tmp/multipartBody3852403668287413250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_51_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/26/0c9fb4bdf6292d5cac32c7cebf841a56.jpg","text":"TemporaryFile(/tmp/multipartBody4716236593444303768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_51_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/26/bba48aa5570bbeef013320b8fcdee216.jpg","text":"TemporaryFile(/tmp/multipartBody61326950552450846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856353409,"filename":"image_26012025_02_51_16_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331522780","file1":"1331522778","file0":"1331522775","file4":"1331522795","file5":"1331522800","file3":"1331522786"},"map_files_photo_id_array":[{"photo_id":"1331522800","filename":"file5"},{"photo_id":"1331522780","filename":"file2"},{"photo_id":"1331522795","filename":"file4"},{"photo_id":"1331522778","filename":"file1"},{"photo_id":"1331522775","filename":"file0"},{"photo_id":"1331522786","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331522800":["hashtag1","hashtag2"]},{"1331522775":["hashtag1","hashtag2"]},{"1331522778":["hashtag1","hashtag2"]},{"1331522795":["hashtag1","hashtag2"]},{"1331522786":["hashtag1","hashtag2"]},{"1331522780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331522800, 1331522775, 1331522778, 1331522795, 1331522786, 1331522780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.314440965652466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:52:32.806695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_57_10415.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_52_06_9354.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_17_10427.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_27_10336.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_36_9335.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_47_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_57_10415.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_52_06_9354.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_17_10427.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_27_10336.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_36_9335.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_47_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.9072000980377197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:52:42.637375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_57_10415.jpg', '/home/pi/Desktop/images/26012025/02/51/image_26012025_02_52_06_9354.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_17_10427.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_27_10336.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_36_9335.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_47_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_51_57_10415.jpg
/home/pi/Desktop/images/26012025/02/51/image_26012025_02_52_06_9354.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_17_10427.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_27_10336.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_36_9335.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_47_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331523633","1331523630","1331523596","1331523632","1331523623","1331523544"],"photo_ids_order":["1331523544","1331523596","1331523623","1331523630","1331523632","1331523633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1732b81360e421f2e10f36a769a9939c.jpg","text":"TemporaryFile(/tmp/multipartBody4415907779382004605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_52_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2fc26eea8c6f017fdea9a9a4eddf7435.jpg","text":"TemporaryFile(/tmp/multipartBody1807846508877481646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_52_27_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/26/4be519a5446639fe61412620b2e49e27.jpg","text":"TemporaryFile(/tmp/multipartBody1292532760885295924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_52_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/26/80fe17f8df258b379402268643fa21ed.jpg","text":"TemporaryFile(/tmp/multipartBody2635753372674756398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_52_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00052f55cf80b8e6467911cff98204be.jpg","text":"TemporaryFile(/tmp/multipartBody9130316054627527386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_52_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/26/2833875fdb8803e081396d983301411f.jpg","text":"TemporaryFile(/tmp/multipartBody3656654750384691674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856423547,"filename":"image_26012025_02_51_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331523623","file1":"1331523596","file0":"1331523544","file4":"1331523632","file5":"1331523633","file3":"1331523630"},"map_files_photo_id_array":[{"photo_id":"1331523633","filename":"file5"},{"photo_id":"1331523623","filename":"file2"},{"photo_id":"1331523632","filename":"file4"},{"photo_id":"1331523596","filename":"file1"},{"photo_id":"1331523544","filename":"file0"},{"photo_id":"1331523630","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331523633":["hashtag1","hashtag2"]},{"1331523630":["hashtag1","hashtag2"]},{"1331523596":["hashtag1","hashtag2"]},{"1331523632":["hashtag1","hashtag2"]},{"1331523623":["hashtag1","hashtag2"]},{"1331523544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331523633, 1331523630, 1331523596, 1331523632, 1331523623, 1331523544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16162824630737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:53:33.044387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_56_9336.jpg', '/home/pi/Desktop/images/26012025/02/52/image_26012025_02_53_06_10343.jpg', '/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_37_10490.jpg', '/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_46_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_52_56_9336.jpg
/home/pi/Desktop/images/26012025/02/52/image_26012025_02_53_06_10343.jpg
/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_37_10490.jpg
/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_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":["1331523828","1331523639","1331523647","1331523740"],"photo_ids_order":["1331523639","1331523647","1331523740","1331523828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d8f9396a317aa72da131479cc969c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3324548850108991861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856473945,"filename":"image_26012025_02_53_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/26/efea084540a29644108c4dcc3e997a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5949751948212891632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856473945,"filename":"image_26012025_02_52_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b678d29c11c3406ed033b96cfbd2df5.jpg","text":"TemporaryFile(/tmp/multipartBody1255145209309863541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856473945,"filename":"image_26012025_02_53_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/26/83112aab82f271514bc405c07e97dd77.jpg","text":"TemporaryFile(/tmp/multipartBody1397337322663360881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856473945,"filename":"image_26012025_02_53_37_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331523740","file1":"1331523647","file0":"1331523639","file3":"1331523828"},"map_files_photo_id_array":[{"photo_id":"1331523740","filename":"file2"},{"photo_id":"1331523647","filename":"file1"},{"photo_id":"1331523639","filename":"file0"},{"photo_id":"1331523828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331523828":["hashtag1","hashtag2"]},{"1331523639":["hashtag1","hashtag2"]},{"1331523647":["hashtag1","hashtag2"]},{"1331523740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331523828, 1331523639, 1331523647, 1331523740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.22860360145569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:54:03.967584
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_15_10359.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_25_10370.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_35_9346.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_45_10336.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_55_10358.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_07_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_15_10359.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_25_10370.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_35_9346.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_45_10336.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_55_10358.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_07_05_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: 1.2174551486968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:54:33.256032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_57_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/53/image_26012025_02_53_57_10455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331524223"],"photo_id":"1331524223","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/367574acd24aa0dd24033f98d983ffa5.jpg","text":"TemporaryFile(/tmp/multipartBody9207518254523072072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856534075,"filename":"image_26012025_02_53_57_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331524223"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331524223"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.344887733459473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:54:53.159385
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_15_10359.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_25_10370.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_35_9346.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_45_10336.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_55_10358.jpg', '/home/pi/Desktop/images/23012025/21/06/image_23012025_21_07_05_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_15_10359.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_25_10370.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_35_9346.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_45_10336.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_06_55_10358.jpg
/home/pi/Desktop/images/23012025/21/06/image_23012025_21_07_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":["1331524461","1331524614","1331524241","1331524570","1331524294","1331524365"],"photo_ids_order":["1331524241","1331524294","1331524365","1331524461","1331524570","1331524614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/465c1b6449736a832248b2666868a42e.jpg","text":"TemporaryFile(/tmp/multipartBody7556578878634869919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_06_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/26/a0b7c0b64250fbe6b30f2c06c67ae91d.jpg","text":"TemporaryFile(/tmp/multipartBody3447673495890681611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_07_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/26/88e1c3f926d3f2a3db72a0a921b23e88.jpg","text":"TemporaryFile(/tmp/multipartBody20400832033753080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_06_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/26/62faddb7969c0845dc1040101d8b16aa.jpg","text":"TemporaryFile(/tmp/multipartBody8008147482394904937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_06_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/26/d648dc373e513c0446cf98437f40d8d8.jpg","text":"TemporaryFile(/tmp/multipartBody1818016589135195432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_06_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/26/2db8144697c809015b3cc25092b175ff.jpg","text":"TemporaryFile(/tmp/multipartBody5000180511182918969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856555451,"filename":"image_23012025_21_06_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331524365","file1":"1331524294","file0":"1331524241","file4":"1331524570","file5":"1331524614","file3":"1331524461"},"map_files_photo_id_array":[{"photo_id":"1331524614","filename":"file5"},{"photo_id":"1331524365","filename":"file2"},{"photo_id":"1331524570","filename":"file4"},{"photo_id":"1331524294","filename":"file1"},{"photo_id":"1331524241","filename":"file0"},{"photo_id":"1331524461","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331524461":["hashtag1","hashtag2"]},{"1331524614":["hashtag1","hashtag2"]},{"1331524241":["hashtag1","hashtag2"]},{"1331524570":["hashtag1","hashtag2"]},{"1331524294":["hashtag1","hashtag2"]},{"1331524365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331524461, 1331524614, 1331524241, 1331524570, 1331524294, 1331524365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.312273025512695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:55:42.370598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/53/image_26012025_02_54_07_10356.jpg', '/home/pi/Desktop/images/26012025/02/54/image_26012025_02_55_06_9337.jpg', '/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_17_10383.jpg', '/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_27_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/53/image_26012025_02_54_07_10356.jpg
/home/pi/Desktop/images/26012025/02/54/image_26012025_02_55_06_9337.jpg
/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_17_10383.jpg
/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_27_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331524818","1331524852","1331524855","1331524854"],"photo_ids_order":["1331524818","1331524852","1331524854","1331524855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5701dd77526fbb8592b2990b0071a59a.jpg","text":"TemporaryFile(/tmp/multipartBody4870919605685426479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856603267,"filename":"image_26012025_02_54_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/26/7c932b73b98d0e6870a02d2d3af7e71c.jpg","text":"TemporaryFile(/tmp/multipartBody3691816212357473879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856603267,"filename":"image_26012025_02_55_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/26/41220f869c7b25cf87e4a048e6b6710e.jpg","text":"TemporaryFile(/tmp/multipartBody897254738459177616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856603267,"filename":"image_26012025_02_55_27_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/26/c24ffc915c6b9b7e2f9beb81cdd184a9.jpg","text":"TemporaryFile(/tmp/multipartBody4141326993241836742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856603267,"filename":"image_26012025_02_55_17_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331524854","file1":"1331524852","file0":"1331524818","file3":"1331524855"},"map_files_photo_id_array":[{"photo_id":"1331524854","filename":"file2"},{"photo_id":"1331524852","filename":"file1"},{"photo_id":"1331524818","filename":"file0"},{"photo_id":"1331524855","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331524818":["hashtag1","hashtag2"]},{"1331524852":["hashtag1","hashtag2"]},{"1331524855":["hashtag1","hashtag2"]},{"1331524854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331524818, 1331524852, 1331524855, 1331524854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.17077946662903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 02:56:32.769788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_56_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/55/image_26012025_02_55_56_9417.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331525023"],"photo_id":"1331525023","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/013795fb3cc53e383872bdb650a8d420.jpg","text":"TemporaryFile(/tmp/multipartBody1157598115327183828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856653602,"filename":"image_26012025_02_55_56_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331525023"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331525023"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.112048864364624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:56:52.719178
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_15_10422.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_24_9354.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_35_10355.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_45_10420.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_54_9347.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_08_05_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_15_10422.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_24_9354.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_35_10355.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_45_10420.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_54_9347.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_08_05_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: 1.9689581394195557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 02:57:04.687166
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_15_10422.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_24_9354.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_35_10355.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_45_10420.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_54_9347.jpg', '/home/pi/Desktop/images/23012025/21/07/image_23012025_21_08_05_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_15_10422.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_24_9354.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_35_10355.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_45_10420.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_07_54_9347.jpg
/home/pi/Desktop/images/23012025/21/07/image_23012025_21_08_05_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":["1331525050","1331525053","1331525040","1331525043","1331525037","1331525046"],"photo_ids_order":["1331525037","1331525040","1331525043","1331525046","1331525050","1331525053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9fbab931065c62455f2c1c9b62495560.jpg","text":"TemporaryFile(/tmp/multipartBody6159156123706920516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_07_54_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/26/d2a807c8285dcf76497e32327584b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody8912992268636301951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_08_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/26/aa2bcff27ba5a112e363420cc03e04fd.jpg","text":"TemporaryFile(/tmp/multipartBody618277637814168771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_07_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/26/f7b8664b03498706f5088831df505106.jpg","text":"TemporaryFile(/tmp/multipartBody5894851001627040244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_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/26/4c3417c6ce5812ecc60669770f07aa57.jpg","text":"TemporaryFile(/tmp/multipartBody1647776153065701493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_07_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/26/12324b878441ece7e18e5a9724943203.jpg","text":"TemporaryFile(/tmp/multipartBody7187389762992059049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856686716,"filename":"image_23012025_21_07_45_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525043","file1":"1331525040","file0":"1331525037","file4":"1331525050","file5":"1331525053","file3":"1331525046"},"map_files_photo_id_array":[{"photo_id":"1331525053","filename":"file5"},{"photo_id":"1331525043","filename":"file2"},{"photo_id":"1331525050","filename":"file4"},{"photo_id":"1331525040","filename":"file1"},{"photo_id":"1331525037","filename":"file0"},{"photo_id":"1331525046","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331525050":["hashtag1","hashtag2"]},{"1331525053":["hashtag1","hashtag2"]},{"1331525040":["hashtag1","hashtag2"]},{"1331525043":["hashtag1","hashtag2"]},{"1331525037":["hashtag1","hashtag2"]},{"1331525046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331525050, 1331525053, 1331525040, 1331525043, 1331525037, 1331525046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.989920139312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:57:52.902549
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_15_10361.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_25_9357.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_35_10407.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_44_9332.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_55_10380.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_09_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_15_10361.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_25_9357.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_35_10407.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_44_9332.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_55_10380.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_09_05_10339.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-26 02:59:04.347562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/55/image_26012025_02_56_06_10340.jpg', '/home/pi/Desktop/images/26012025/02/56/image_26012025_02_57_07_10386.jpg', '/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_17_10355.jpg', '/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_37_10437.jpg', '/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_46_9391.jpg', '/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_57_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/55/image_26012025_02_56_06_10340.jpg
/home/pi/Desktop/images/26012025/02/56/image_26012025_02_57_07_10386.jpg
/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_17_10355.jpg
/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_37_10437.jpg
/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_46_9391.jpg
/home/pi/Desktop/images/26012025/02/57/image_26012025_02_57_57_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":["1331525131","1331525110","1331525128","1331525121","1331525115","1331525124"],"photo_ids_order":["1331525110","1331525115","1331525121","1331525124","1331525128","1331525131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf19cd67bfa55bacd0d7d9c2074d267c.jpg","text":"TemporaryFile(/tmp/multipartBody3919721403079636539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_57_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d92e295a48692df26eee906850d26e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1859875844810144769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_56_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6a68ccebcda0178cb775337d3e40f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody432494932337556548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_57_46_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/26/7490ed8f8c25c1a2e89149a5ab828af5.jpg","text":"TemporaryFile(/tmp/multipartBody5213088290510189590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_57_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/26/5331b000322a4041809c737939f070bc.jpg","text":"TemporaryFile(/tmp/multipartBody3750057482880709023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_57_07_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/26/fdb0ba41d607f2715479bd283afa3668.jpg","text":"TemporaryFile(/tmp/multipartBody8752822461684549282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856805477,"filename":"image_26012025_02_57_37_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525121","file1":"1331525115","file0":"1331525110","file4":"1331525128","file5":"1331525131","file3":"1331525124"},"map_files_photo_id_array":[{"photo_id":"1331525131","filename":"file5"},{"photo_id":"1331525121","filename":"file2"},{"photo_id":"1331525128","filename":"file4"},{"photo_id":"1331525115","filename":"file1"},{"photo_id":"1331525110","filename":"file0"},{"photo_id":"1331525124","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525131":["hashtag1","hashtag2"]},{"1331525110":["hashtag1","hashtag2"]},{"1331525128":["hashtag1","hashtag2"]},{"1331525121":["hashtag1","hashtag2"]},{"1331525115":["hashtag1","hashtag2"]},{"1331525124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525131, 1331525110, 1331525128, 1331525121, 1331525115, 1331525124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78250789642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 02:59:52.721789
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_15_10361.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_25_9357.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_35_10407.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_44_9332.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_55_10380.jpg', '/home/pi/Desktop/images/23012025/21/08/image_23012025_21_09_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_15_10361.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_25_9357.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_35_10407.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_44_9332.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_08_55_10380.jpg
/home/pi/Desktop/images/23012025/21/08/image_23012025_21_09_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":["1331525304","1331525150","1331525144","1331525302","1331525146","1331525308"],"photo_ids_order":["1331525144","1331525146","1331525150","1331525302","1331525304","1331525308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b6ea60fc0d8f6a6dcfdd458aa94219f.jpg","text":"TemporaryFile(/tmp/multipartBody7425382163682174526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_08_55_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/26/a6341f78e71a012714a5a3112f05dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody562073675987325995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_08_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/26/01e1c7e07a7eb4943ac9064d793a7c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7441595046414215717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_08_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/26/28da782c46df28b78385c707566c8b46.jpg","text":"TemporaryFile(/tmp/multipartBody9160303992253224112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_08_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c22bbb72330c8369e20733766672337.jpg","text":"TemporaryFile(/tmp/multipartBody9138197445394065598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_08_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/26/ee8e6a8aaa69bd16ae71a0dcba6fb659.jpg","text":"TemporaryFile(/tmp/multipartBody1450011708788977189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856855027,"filename":"image_23012025_21_09_05_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525150","file1":"1331525146","file0":"1331525144","file4":"1331525304","file5":"1331525308","file3":"1331525302"},"map_files_photo_id_array":[{"photo_id":"1331525308","filename":"file5"},{"photo_id":"1331525150","filename":"file2"},{"photo_id":"1331525304","filename":"file4"},{"photo_id":"1331525146","filename":"file1"},{"photo_id":"1331525144","filename":"file0"},{"photo_id":"1331525302","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331525304":["hashtag1","hashtag2"]},{"1331525150":["hashtag1","hashtag2"]},{"1331525144":["hashtag1","hashtag2"]},{"1331525302":["hashtag1","hashtag2"]},{"1331525146":["hashtag1","hashtag2"]},{"1331525308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331525304, 1331525150, 1331525144, 1331525302, 1331525146, 1331525308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.935877084732056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:00:42.904982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/57/image_26012025_02_58_07_10334.jpg', '/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_16_9346.jpg', '/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_37_10364.jpg', '/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_46_9415.jpg', '/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_57_10412.jpg', '/home/pi/Desktop/images/26012025/02/58/image_26012025_02_59_06_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/57/image_26012025_02_58_07_10334.jpg
/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_16_9346.jpg
/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_37_10364.jpg
/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_46_9415.jpg
/home/pi/Desktop/images/26012025/02/58/image_26012025_02_58_57_10412.jpg
/home/pi/Desktop/images/26012025/02/58/image_26012025_02_59_06_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":["1331525342","1331525339","1331525320","1331525346","1331525328","1331525337"],"photo_ids_order":["1331525320","1331525328","1331525337","1331525339","1331525342","1331525346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49a98b68ce6b56368191cb47661d5ce1.jpg","text":"TemporaryFile(/tmp/multipartBody2265336388317835076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_58_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/26/2433eb2bae7b273a051f431fe3bb5e3d.jpg","text":"TemporaryFile(/tmp/multipartBody7113477389392817267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_58_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/26/240d6d88a1a039d11a947a4947b1fea1.jpg","text":"TemporaryFile(/tmp/multipartBody707344744599397975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_58_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14ee4ea2302376452a06d8c6ed194037.jpg","text":"TemporaryFile(/tmp/multipartBody4376857602850895855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_59_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/26/c35dc5ecad22ea0796d69bc0c2ca20b1.jpg","text":"TemporaryFile(/tmp/multipartBody2172721361273444094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_58_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/26/de99937be697949d0842b9de0277e399.jpg","text":"TemporaryFile(/tmp/multipartBody6625682390462441477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856903821,"filename":"image_26012025_02_58_37_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525337","file1":"1331525328","file0":"1331525320","file4":"1331525342","file5":"1331525346","file3":"1331525339"},"map_files_photo_id_array":[{"photo_id":"1331525346","filename":"file5"},{"photo_id":"1331525337","filename":"file2"},{"photo_id":"1331525342","filename":"file4"},{"photo_id":"1331525328","filename":"file1"},{"photo_id":"1331525320","filename":"file0"},{"photo_id":"1331525339","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525342":["hashtag1","hashtag2"]},{"1331525339":["hashtag1","hashtag2"]},{"1331525320":["hashtag1","hashtag2"]},{"1331525346":["hashtag1","hashtag2"]},{"1331525328":["hashtag1","hashtag2"]},{"1331525337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525342, 1331525339, 1331525320, 1331525346, 1331525328, 1331525337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26550340652466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:01:33.250563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_17_10397.jpg', '/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_27_10355.jpg', '/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_36_9404.jpg', '/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_47_10429.jpg', '/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_56_9328.jpg', '/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_16_10071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_17_10397.jpg
/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_27_10355.jpg
/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_36_9404.jpg
/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_47_10429.jpg
/home/pi/Desktop/images/26012025/02/59/image_26012025_02_59_56_9328.jpg
/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_16_10071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331525381","1331525378","1331525383","1331525386","1331525376","1331525385"],"photo_ids_order":["1331525376","1331525378","1331525381","1331525383","1331525385","1331525386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/970863abef8ccd6dcd84f4bd59302c03.jpg","text":"TemporaryFile(/tmp/multipartBody1356114634540862957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_02_59_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c43bd03e4d6f6b09bd0e1d7444149d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6136727304001407177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_02_59_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/26/2fcffc8c953e3de9295da09b7f4c6cca.jpg","text":"TemporaryFile(/tmp/multipartBody337978169750436583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_02_59_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/26/78b7aed7685cb53c6f1a9e56c7228471.jpg","text":"TemporaryFile(/tmp/multipartBody6447503899788142397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_03_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04b2dd9196d172774e8c127bc46d32fd.jpg","text":"TemporaryFile(/tmp/multipartBody3443215013844921076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_02_59_17_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/26/7310d84d3c6d85685681cb7781d0f98b.jpg","text":"TemporaryFile(/tmp/multipartBody1277751351932978599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737856954204,"filename":"image_26012025_02_59_56_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525381","file1":"1331525378","file0":"1331525376","file4":"1331525385","file5":"1331525386","file3":"1331525383"},"map_files_photo_id_array":[{"photo_id":"1331525386","filename":"file5"},{"photo_id":"1331525381","filename":"file2"},{"photo_id":"1331525385","filename":"file4"},{"photo_id":"1331525378","filename":"file1"},{"photo_id":"1331525376","filename":"file0"},{"photo_id":"1331525383","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525381":["hashtag1","hashtag2"]},{"1331525378":["hashtag1","hashtag2"]},{"1331525383":["hashtag1","hashtag2"]},{"1331525386":["hashtag1","hashtag2"]},{"1331525376":["hashtag1","hashtag2"]},{"1331525385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525381, 1331525378, 1331525383, 1331525386, 1331525376, 1331525385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9831919670105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:02:32.397425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_26_10419.jpg', '/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_46_9425.jpg', '/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_16_10347.jpg', '/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_27_10431.jpg', '/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_36_9384.jpg', '/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_26_10419.jpg
/home/pi/Desktop/images/26012025/03/00/image_26012025_03_00_46_9425.jpg
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_16_10347.jpg
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_27_10431.jpg
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_36_9384.jpg
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_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":["1331525418","1331525406","1331525398","1331525402","1331525416","1331525412"],"photo_ids_order":["1331525398","1331525402","1331525406","1331525412","1331525416","1331525418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0cdd08d45bd85a7f442e0032a8ab9bea.jpg","text":"TemporaryFile(/tmp/multipartBody4135636563864916063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_01_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/26/8ca35ea01f1ea49f076144d2f626cc38.jpg","text":"TemporaryFile(/tmp/multipartBody550258004606638726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_01_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/26/c873fbb7ff5a9a79ab3f3d750ca12cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8858665383021159177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_00_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/26/2ecc3e5c35ca614e7a3bc8af728bc2e4.jpg","text":"TemporaryFile(/tmp/multipartBody4164112080617385100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_00_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee7cffb6cb590bbc63dfe46008ef3cba.jpg","text":"TemporaryFile(/tmp/multipartBody2488333345924433392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_01_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/26/156150bdea22a1b6a5b5001c69aaed91.jpg","text":"TemporaryFile(/tmp/multipartBody8712924371896894049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857013320,"filename":"image_26012025_03_01_27_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525406","file1":"1331525402","file0":"1331525398","file4":"1331525416","file5":"1331525418","file3":"1331525412"},"map_files_photo_id_array":[{"photo_id":"1331525418","filename":"file5"},{"photo_id":"1331525406","filename":"file2"},{"photo_id":"1331525416","filename":"file4"},{"photo_id":"1331525402","filename":"file1"},{"photo_id":"1331525398","filename":"file0"},{"photo_id":"1331525412","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525418":["hashtag1","hashtag2"]},{"1331525406":["hashtag1","hashtag2"]},{"1331525398":["hashtag1","hashtag2"]},{"1331525402":["hashtag1","hashtag2"]},{"1331525416":["hashtag1","hashtag2"]},{"1331525412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525418, 1331525406, 1331525398, 1331525402, 1331525416, 1331525412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84198451042175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:03:32.547244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_56_9390.jpg', '/home/pi/Desktop/images/26012025/03/01/image_26012025_03_02_06_10412.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_17_10398.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_26_9347.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_36_10371.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_46_9389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_01_56_9390.jpg
/home/pi/Desktop/images/26012025/03/01/image_26012025_03_02_06_10412.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_17_10398.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_26_9347.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_36_10371.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_46_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331525474","1331525452","1331525476","1331525463","1331525457","1331525439"],"photo_ids_order":["1331525439","1331525452","1331525457","1331525463","1331525474","1331525476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93c06b09b15d170d240fd6684e22c682.jpg","text":"TemporaryFile(/tmp/multipartBody251924270458752140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_02_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/26/01a1c36f35828a481704fb78eb074184.jpg","text":"TemporaryFile(/tmp/multipartBody6206641083003560619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_02_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/26/18d11f7ca8c6c4dccfb1b164acd47bed.jpg","text":"TemporaryFile(/tmp/multipartBody1168640324637601111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_02_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/26/f4d32f900c346898c189041927313afc.jpg","text":"TemporaryFile(/tmp/multipartBody3706759717360644711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_02_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/26/616c2a59faaf521a9bf80e02ded773b1.jpg","text":"TemporaryFile(/tmp/multipartBody4032638761436300768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_02_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/26/b9867b15039b5328d628fad1f8bb7aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5130139858204444739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857073539,"filename":"image_26012025_03_01_56_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525457","file1":"1331525452","file0":"1331525439","file4":"1331525474","file5":"1331525476","file3":"1331525463"},"map_files_photo_id_array":[{"photo_id":"1331525476","filename":"file5"},{"photo_id":"1331525457","filename":"file2"},{"photo_id":"1331525474","filename":"file4"},{"photo_id":"1331525452","filename":"file1"},{"photo_id":"1331525439","filename":"file0"},{"photo_id":"1331525463","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525474":["hashtag1","hashtag2"]},{"1331525452":["hashtag1","hashtag2"]},{"1331525476":["hashtag1","hashtag2"]},{"1331525463":["hashtag1","hashtag2"]},{"1331525457":["hashtag1","hashtag2"]},{"1331525439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525474, 1331525452, 1331525476, 1331525463, 1331525457, 1331525439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12289619445801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:04:32.814395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_56_10329.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_03_06_10330.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_16_9327.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_26_10339.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_36_10325.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_46_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_56_10329.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_03_06_10330.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_16_9327.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_26_10339.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_36_10325.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_46_9390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9863796234130859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:04:42.803779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_56_10329.jpg', '/home/pi/Desktop/images/26012025/03/02/image_26012025_03_03_06_10330.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_16_9327.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_26_10339.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_36_10325.jpg', '/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_46_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_02_56_10329.jpg
/home/pi/Desktop/images/26012025/03/02/image_26012025_03_03_06_10330.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_16_9327.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_26_10339.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_36_10325.jpg
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_03_46_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331525525","1331525504","1331525494","1331525527","1331525518","1331525523"],"photo_ids_order":["1331525494","1331525504","1331525518","1331525523","1331525525","1331525527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ded94d46c9b718b33e387fb949ab692a.jpg","text":"TemporaryFile(/tmp/multipartBody1228820150002362786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_03_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1ba6c4110df82777050c221b8f2f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody592215980743599663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_03_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c51e056582724ca5fa599b878c53fba8.jpg","text":"TemporaryFile(/tmp/multipartBody2483301596369015782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_02_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/26/c4882ae5e2a010a3ec9ad6e2b2a4c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody9216458635002796840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_03_46_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/844fc82e5b0c94f1ff7956065f2195d1.jpg","text":"TemporaryFile(/tmp/multipartBody8164237288264515660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_03_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/26/da19c93e8e175558a2fe1d952be1ab21.jpg","text":"TemporaryFile(/tmp/multipartBody3671734874128898091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857143699,"filename":"image_26012025_03_03_26_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525518","file1":"1331525504","file0":"1331525494","file4":"1331525525","file5":"1331525527","file3":"1331525523"},"map_files_photo_id_array":[{"photo_id":"1331525527","filename":"file5"},{"photo_id":"1331525518","filename":"file2"},{"photo_id":"1331525525","filename":"file4"},{"photo_id":"1331525504","filename":"file1"},{"photo_id":"1331525494","filename":"file0"},{"photo_id":"1331525523","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525525":["hashtag1","hashtag2"]},{"1331525504":["hashtag1","hashtag2"]},{"1331525494":["hashtag1","hashtag2"]},{"1331525527":["hashtag1","hashtag2"]},{"1331525518":["hashtag1","hashtag2"]},{"1331525523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525525, 1331525504, 1331525494, 1331525527, 1331525518, 1331525523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.476726055145264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:05:33.160295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/03/image_26012025_03_04_07_10371.jpg', '/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_16_9387.jpg', '/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_26_10399.jpg', '/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_36_9416.jpg', '/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_46_10365.jpg', '/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_56_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/03/image_26012025_03_04_07_10371.jpg
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_16_9387.jpg
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_26_10399.jpg
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_36_9416.jpg
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_46_10365.jpg
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_04_56_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331525624","1331525764","1331525629","1331525766","1331525637","1331525634"],"photo_ids_order":["1331525624","1331525629","1331525634","1331525637","1331525764","1331525766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2da7741b018f79859de07adf67a3356.jpg","text":"TemporaryFile(/tmp/multipartBody2886867466787012674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_04_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/26/ff022332431cd87c3fd1a567838c50b1.jpg","text":"TemporaryFile(/tmp/multipartBody1637010273315260180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_04_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/26/fae2a6b74b6e13cc1804e34514c725af.jpg","text":"TemporaryFile(/tmp/multipartBody7757792375590791355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_04_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/26/f8643d242441c4f0277e5437ff674667.jpg","text":"TemporaryFile(/tmp/multipartBody6092509051308525509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_04_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db6f0586c87ab84abec1f53058cc9f56.jpg","text":"TemporaryFile(/tmp/multipartBody7371413459239200487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_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/26/48fb27a5022de00a9111f980722c1553.jpg","text":"TemporaryFile(/tmp/multipartBody7724097091922542956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857194081,"filename":"image_26012025_03_04_26_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525634","file1":"1331525629","file0":"1331525624","file4":"1331525764","file5":"1331525766","file3":"1331525637"},"map_files_photo_id_array":[{"photo_id":"1331525766","filename":"file5"},{"photo_id":"1331525634","filename":"file2"},{"photo_id":"1331525764","filename":"file4"},{"photo_id":"1331525629","filename":"file1"},{"photo_id":"1331525624","filename":"file0"},{"photo_id":"1331525637","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525624":["hashtag1","hashtag2"]},{"1331525764":["hashtag1","hashtag2"]},{"1331525629":["hashtag1","hashtag2"]},{"1331525766":["hashtag1","hashtag2"]},{"1331525637":["hashtag1","hashtag2"]},{"1331525634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525624, 1331525764, 1331525629, 1331525766, 1331525637, 1331525634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4885196685791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:06:32.194877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/04/image_26012025_03_05_06_9387.jpg', '/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_36_9349.jpg', '/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_46_10341.jpg', '/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_56_9418.jpg', '/home/pi/Desktop/images/26012025/03/05/image_26012025_03_06_06_10406.jpg', '/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_17_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/04/image_26012025_03_05_06_9387.jpg
/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_36_9349.jpg
/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_46_10341.jpg
/home/pi/Desktop/images/26012025/03/05/image_26012025_03_05_56_9418.jpg
/home/pi/Desktop/images/26012025/03/05/image_26012025_03_06_06_10406.jpg
/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_17_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":["1331525849","1331525840","1331525936","1331525816","1331525824","1331525811"],"photo_ids_order":["1331525811","1331525816","1331525824","1331525840","1331525849","1331525936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/024a897cc12939bd44199e574aebc89d.jpg","text":"TemporaryFile(/tmp/multipartBody4210003703462697944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_06_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/26/9092da69446e817f51168bd78b552f80.jpg","text":"TemporaryFile(/tmp/multipartBody6153648300752036313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_05_56_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/26/21e0139d9c1c872842a08d13c8f67ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8780600484749082843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_06_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/26/de0ce022dbc42ab75d791bcad7fc0974.jpg","text":"TemporaryFile(/tmp/multipartBody5814964205759767032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_05_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/26/7ae7601e73fd46342147e9978eaf7d14.jpg","text":"TemporaryFile(/tmp/multipartBody1370952191865717179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_05_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/26/0f1d9b66f71655ab1f943d7ec09fc95a.jpg","text":"TemporaryFile(/tmp/multipartBody2294263718446662027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857253130,"filename":"image_26012025_03_05_06_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331525824","file1":"1331525816","file0":"1331525811","file4":"1331525849","file5":"1331525936","file3":"1331525840"},"map_files_photo_id_array":[{"photo_id":"1331525936","filename":"file5"},{"photo_id":"1331525824","filename":"file2"},{"photo_id":"1331525849","filename":"file4"},{"photo_id":"1331525816","filename":"file1"},{"photo_id":"1331525811","filename":"file0"},{"photo_id":"1331525840","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331525849":["hashtag1","hashtag2"]},{"1331525840":["hashtag1","hashtag2"]},{"1331525936":["hashtag1","hashtag2"]},{"1331525816":["hashtag1","hashtag2"]},{"1331525824":["hashtag1","hashtag2"]},{"1331525811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331525849, 1331525840, 1331525936, 1331525816, 1331525824, 1331525811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10675406455994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:07:32.378983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_36_10328.jpg', '/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_46_9431.jpg', '/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_56_10349.jpg', '/home/pi/Desktop/images/26012025/03/06/image_26012025_03_07_06_10359.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_16_9418.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_26_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_36_10328.jpg
/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_46_9431.jpg
/home/pi/Desktop/images/26012025/03/06/image_26012025_03_06_56_10349.jpg
/home/pi/Desktop/images/26012025/03/06/image_26012025_03_07_06_10359.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_16_9418.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_26_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":["1331526110","1331526154","1331526163","1331526165","1331526159","1331526144"],"photo_ids_order":["1331526110","1331526144","1331526154","1331526159","1331526163","1331526165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d57f564926ce3ecf12375e0dd3569f3.jpg","text":"TemporaryFile(/tmp/multipartBody5537529479712890403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_06_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2154fb01abe763404473c923af7c9995.jpg","text":"TemporaryFile(/tmp/multipartBody3221550487308945406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_06_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/26/9bed62f14185b118a18a1405ffe5c2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4353023974443311811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_07_16_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/26/f26a4c50b6e89a20af1a3f0a5a6fdef7.jpg","text":"TemporaryFile(/tmp/multipartBody2048854858860979832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_07_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/26/9937e4cddbf908919af7a855d4eca763.jpg","text":"TemporaryFile(/tmp/multipartBody4558929740295415896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_07_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/26/ada959fa921cbebb68a8041acc5beb57.jpg","text":"TemporaryFile(/tmp/multipartBody8977582345493700527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857313292,"filename":"image_26012025_03_06_46_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331526154","file1":"1331526144","file0":"1331526110","file4":"1331526163","file5":"1331526165","file3":"1331526159"},"map_files_photo_id_array":[{"photo_id":"1331526165","filename":"file5"},{"photo_id":"1331526154","filename":"file2"},{"photo_id":"1331526163","filename":"file4"},{"photo_id":"1331526144","filename":"file1"},{"photo_id":"1331526110","filename":"file0"},{"photo_id":"1331526159","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331526110":["hashtag1","hashtag2"]},{"1331526154":["hashtag1","hashtag2"]},{"1331526163":["hashtag1","hashtag2"]},{"1331526165":["hashtag1","hashtag2"]},{"1331526159":["hashtag1","hashtag2"]},{"1331526144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331526110, 1331526154, 1331526163, 1331526165, 1331526159, 1331526144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92413544654846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:08:32.607052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_37_10441.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_46_9344.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_56_10349.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_08_07_10337.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_16_9406.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_27_10457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_37_10441.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_46_9344.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_56_10349.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_08_07_10337.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_16_9406.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_27_10457.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5351951122283936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:08:42.521816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_37_10441.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_46_9344.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_56_10349.jpg', '/home/pi/Desktop/images/26012025/03/07/image_26012025_03_08_07_10337.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_16_9406.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_27_10457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_37_10441.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_46_9344.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_07_56_10349.jpg
/home/pi/Desktop/images/26012025/03/07/image_26012025_03_08_07_10337.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_16_9406.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_27_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331526917","1331526278","1331526722","1331527102","1331526543","1331526380"],"photo_ids_order":["1331526278","1331526380","1331526543","1331526722","1331526917","1331527102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d983b00d9307b6545eb2d2921f5a4005.jpg","text":"TemporaryFile(/tmp/multipartBody559484462184679461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_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/26/c33436868a68c5b26e8c089c0ed59cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4306409587015960310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_07_37_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/26/f6317f11bc03c87e949eca33b0f6c905.jpg","text":"TemporaryFile(/tmp/multipartBody4551212198177204369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_08_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/736eaa8cdeddf760f78673708555b7bd.jpg","text":"TemporaryFile(/tmp/multipartBody9140508720422572309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_08_27_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/26/8b662d08b1203c540888a05c0ca6c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1818651331501770670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_07_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/26/36355ca1f888f475149a2ea1ed65416c.jpg","text":"TemporaryFile(/tmp/multipartBody5194234228658814821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857383433,"filename":"image_26012025_03_07_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331526543","file1":"1331526380","file0":"1331526278","file4":"1331526917","file5":"1331527102","file3":"1331526722"},"map_files_photo_id_array":[{"photo_id":"1331527102","filename":"file5"},{"photo_id":"1331526543","filename":"file2"},{"photo_id":"1331526917","filename":"file4"},{"photo_id":"1331526380","filename":"file1"},{"photo_id":"1331526278","filename":"file0"},{"photo_id":"1331526722","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331526917":["hashtag1","hashtag2"]},{"1331526278":["hashtag1","hashtag2"]},{"1331526722":["hashtag1","hashtag2"]},{"1331527102":["hashtag1","hashtag2"]},{"1331526543":["hashtag1","hashtag2"]},{"1331526380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331526917, 1331526278, 1331526722, 1331527102, 1331526543, 1331526380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22790503501892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:09:32.752787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_36_9383.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_46_10420.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_56_9432.jpg', '/home/pi/Desktop/images/26012025/03/08/image_26012025_03_09_06_10420.jpg', '/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_17_10505.jpg', '/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_26_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_36_9383.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_46_10420.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_08_56_9432.jpg
/home/pi/Desktop/images/26012025/03/08/image_26012025_03_09_06_10420.jpg
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_17_10505.jpg
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_26_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331527342","1331527324","1331527296","1331527278","1331527302","1331527343"],"photo_ids_order":["1331527278","1331527296","1331527302","1331527324","1331527342","1331527343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f09afe31d710ae5e130f0748fcca76f3.jpg","text":"TemporaryFile(/tmp/multipartBody5573554657161198651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_09_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/26/c711afb6fb560e124eda0ab3eb0b4fd9.jpg","text":"TemporaryFile(/tmp/multipartBody3298559126653636411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_09_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/26/2076ea35d479b4373cd3abe610d74dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6696252574397115175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_08_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/26/32afa968f150c594800b72715251df55.jpg","text":"TemporaryFile(/tmp/multipartBody8376432826482506022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_08_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/26/fe0b329c996a1652e33db436910e8b81.jpg","text":"TemporaryFile(/tmp/multipartBody6108973383404669224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_08_56_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52a8f8f8b150d64857ecb7ce5fd95693.jpg","text":"TemporaryFile(/tmp/multipartBody8073341596594907667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857433668,"filename":"image_26012025_03_09_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331527302","file1":"1331527296","file0":"1331527278","file4":"1331527342","file5":"1331527343","file3":"1331527324"},"map_files_photo_id_array":[{"photo_id":"1331527343","filename":"file5"},{"photo_id":"1331527302","filename":"file2"},{"photo_id":"1331527342","filename":"file4"},{"photo_id":"1331527296","filename":"file1"},{"photo_id":"1331527278","filename":"file0"},{"photo_id":"1331527324","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331527342":["hashtag1","hashtag2"]},{"1331527324":["hashtag1","hashtag2"]},{"1331527296":["hashtag1","hashtag2"]},{"1331527278":["hashtag1","hashtag2"]},{"1331527302":["hashtag1","hashtag2"]},{"1331527343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331527342, 1331527324, 1331527296, 1331527278, 1331527302, 1331527343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60866141319275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:10:33.059535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_36_10374.jpg', '/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_46_9345.jpg', '/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_56_10408.jpg', '/home/pi/Desktop/images/26012025/03/09/image_26012025_03_10_07_10436.jpg', '/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_16_9367.jpg', '/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_26_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_36_10374.jpg
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_46_9345.jpg
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_09_56_10408.jpg
/home/pi/Desktop/images/26012025/03/09/image_26012025_03_10_07_10436.jpg
/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_16_9367.jpg
/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_26_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":["1331527792","1331527675","1331527494","1331527755","1331527790","1331527760"],"photo_ids_order":["1331527494","1331527675","1331527755","1331527760","1331527790","1331527792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/854c8189cef3e191bcdb75196edf6d17.jpg","text":"TemporaryFile(/tmp/multipartBody4538718558595742336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_10_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/26/d31b1f0ea340c51981a7fd4065e02d19.jpg","text":"TemporaryFile(/tmp/multipartBody1618823532188887365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_09_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bea3cdf3d817576318fcd4e87a3bc5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8379908040340658823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_09_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/26/2fb3bce486e9e596ac9eca925787387f.jpg","text":"TemporaryFile(/tmp/multipartBody3669671619040229557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_09_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c1d9148b21030c0e05b4931a678046d.jpg","text":"TemporaryFile(/tmp/multipartBody344921143307882400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_10_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/814b1674aaebb48bbf45957f7770fede.jpg","text":"TemporaryFile(/tmp/multipartBody3827030919944972201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857494002,"filename":"image_26012025_03_10_07_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331527755","file1":"1331527675","file0":"1331527494","file4":"1331527790","file5":"1331527792","file3":"1331527760"},"map_files_photo_id_array":[{"photo_id":"1331527792","filename":"file5"},{"photo_id":"1331527755","filename":"file2"},{"photo_id":"1331527790","filename":"file4"},{"photo_id":"1331527675","filename":"file1"},{"photo_id":"1331527494","filename":"file0"},{"photo_id":"1331527760","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331527792":["hashtag1","hashtag2"]},{"1331527675":["hashtag1","hashtag2"]},{"1331527494":["hashtag1","hashtag2"]},{"1331527755":["hashtag1","hashtag2"]},{"1331527790":["hashtag1","hashtag2"]},{"1331527760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331527792, 1331527675, 1331527494, 1331527755, 1331527790, 1331527760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25985503196716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:11:32.381023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_46_10362.jpg', '/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_56_10355.jpg', '/home/pi/Desktop/images/26012025/03/10/image_26012025_03_11_06_9367.jpg', '/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_36_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_46_10362.jpg
/home/pi/Desktop/images/26012025/03/10/image_26012025_03_10_56_10355.jpg
/home/pi/Desktop/images/26012025/03/10/image_26012025_03_11_06_9367.jpg
/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_36_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":["1331527907","1331527903","1331527911","1331527916"],"photo_ids_order":["1331527903","1331527907","1331527911","1331527916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ed53ab773d7b7caa0cc33da04c7c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1253900416730339012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857553287,"filename":"image_26012025_03_10_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/26/5fae7d5aee38b9a1e470cdeac0b8c3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2550165501177696273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857553287,"filename":"image_26012025_03_10_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/26/721e0cc8b572e70778570a14862ff3d1.jpg","text":"TemporaryFile(/tmp/multipartBody177283045532486837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857553287,"filename":"image_26012025_03_11_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/26/32b363e887c9ceac5664e9fc5a9d10f3.jpg","text":"TemporaryFile(/tmp/multipartBody8922225518986187350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857553287,"filename":"image_26012025_03_11_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331527911","file1":"1331527907","file0":"1331527903","file3":"1331527916"},"map_files_photo_id_array":[{"photo_id":"1331527911","filename":"file2"},{"photo_id":"1331527907","filename":"file1"},{"photo_id":"1331527903","filename":"file0"},{"photo_id":"1331527916","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331527907":["hashtag1","hashtag2"]},{"1331527903":["hashtag1","hashtag2"]},{"1331527911":["hashtag1","hashtag2"]},{"1331527916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331527907, 1331527903, 1331527911, 1331527916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.18792796134949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:12:32.500960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_46_10364.jpg', '/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_16_10379.jpg', '/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_36_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_46_10364.jpg
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_16_10379.jpg
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_36_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.48482656478881836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:12:42.397414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_46_10364.jpg', '/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_16_10379.jpg', '/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_36_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/11/image_26012025_03_11_46_10364.jpg
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_16_10379.jpg
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_36_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":["1331528110","1331528116","1331528106"],"photo_ids_order":["1331528106","1331528110","1331528116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f504ebd7a626a6e4c5fa9d625773bfae.jpg","text":"TemporaryFile(/tmp/multipartBody4955867375013237692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857623273,"filename":"image_26012025_03_12_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cc9c7cd9b1ff7dd3d16e6fd5797e34ba.jpg","text":"TemporaryFile(/tmp/multipartBody2465792462152914918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857623273,"filename":"image_26012025_03_12_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/26/7e0d94431ad9e3ea103b874b12cf8205.jpg","text":"TemporaryFile(/tmp/multipartBody693501437269493790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857623273,"filename":"image_26012025_03_11_46_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528116","file1":"1331528110","file0":"1331528106"},"map_files_photo_id_array":[{"photo_id":"1331528116","filename":"file2"},{"photo_id":"1331528110","filename":"file1"},{"photo_id":"1331528106","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331528110":["hashtag1","hashtag2"]},{"1331528116":["hashtag1","hashtag2"]},{"1331528106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331528110, 1331528116, 1331528106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.333077907562256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:13:32.836404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_47_10472.jpg', '/home/pi/Desktop/images/26012025/03/12/image_26012025_03_13_06_10326.jpg', '/home/pi/Desktop/images/26012025/03/13/image_26012025_03_13_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_12_47_10472.jpg
/home/pi/Desktop/images/26012025/03/12/image_26012025_03_13_06_10326.jpg
/home/pi/Desktop/images/26012025/03/13/image_26012025_03_13_26_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":["1331528127","1331528130","1331528132"],"photo_ids_order":["1331528127","1331528130","1331528132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f01b3168a7b0590d1b7e40198e1ec63.jpg","text":"TemporaryFile(/tmp/multipartBody4059092428550548881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857673702,"filename":"image_26012025_03_12_47_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/26/d766ed56787769ea9558cb5be05e968c.jpg","text":"TemporaryFile(/tmp/multipartBody3569883031594454303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857673702,"filename":"image_26012025_03_13_06_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/26/ac1a0a674d8fdbdca7a00b578d27bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody2886059663787581930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857673702,"filename":"image_26012025_03_13_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528132","file1":"1331528130","file0":"1331528127"},"map_files_photo_id_array":[{"photo_id":"1331528132","filename":"file2"},{"photo_id":"1331528130","filename":"file1"},{"photo_id":"1331528127","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331528127":["hashtag1","hashtag2"]},{"1331528130":["hashtag1","hashtag2"]},{"1331528132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331528127, 1331528130, 1331528132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.909473180770874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:14:03.844194
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_14_9349.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_25_10354.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_35_10393.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_44_9363.jpg', '/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_55_10370.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_15_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_14_9349.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_25_10354.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_35_10393.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_44_9363.jpg
/home/pi/Desktop/images/23012025/21/09/image_23012025_21_09_55_10370.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_15_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":["1331528242","1331528215","1331528180","1331528237","1331528222","1331528185"],"photo_ids_order":["1331528180","1331528185","1331528215","1331528222","1331528237","1331528242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c1e4e0c4d48a4d3b90254b2d329916a.jpg","text":"TemporaryFile(/tmp/multipartBody9191302599111142604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_10_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/26/04bf6ed85b50a634b8bc8065ffc30018.jpg","text":"TemporaryFile(/tmp/multipartBody4766851116330912769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_09_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/26/a923d25306bddf382c47ea29473a7fc5.jpg","text":"TemporaryFile(/tmp/multipartBody997262998026233409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_09_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/26/80ca606d892119420c29671621b83121.jpg","text":"TemporaryFile(/tmp/multipartBody285680359083536754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_09_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/26/7fc3747a6ad741bb398b03173b37dbac.jpg","text":"TemporaryFile(/tmp/multipartBody8060084009944461352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_09_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/faa837d264643e77dddfe22c68ba5e69.jpg","text":"TemporaryFile(/tmp/multipartBody2200301039577123641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857705497,"filename":"image_23012025_21_09_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528215","file1":"1331528185","file0":"1331528180","file4":"1331528237","file5":"1331528242","file3":"1331528222"},"map_files_photo_id_array":[{"photo_id":"1331528242","filename":"file5"},{"photo_id":"1331528215","filename":"file2"},{"photo_id":"1331528237","filename":"file4"},{"photo_id":"1331528185","filename":"file1"},{"photo_id":"1331528180","filename":"file0"},{"photo_id":"1331528222","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331528242":["hashtag1","hashtag2"]},{"1331528215":["hashtag1","hashtag2"]},{"1331528180":["hashtag1","hashtag2"]},{"1331528237":["hashtag1","hashtag2"]},{"1331528222":["hashtag1","hashtag2"]},{"1331528185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331528242, 1331528215, 1331528180, 1331528237, 1331528222, 1331528185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.240087032318115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:14:52.998287
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_25_10351.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_34_9361.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_45_10353.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_55_10450.jpg', '/home/pi/Desktop/images/23012025/21/10/image_23012025_21_11_04_9330.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_15_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_25_10351.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_34_9361.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_45_10353.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_10_55_10450.jpg
/home/pi/Desktop/images/23012025/21/10/image_23012025_21_11_04_9330.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_15_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":["1331528268","1331528253","1331528282","1331528285","1331528279","1331528251"],"photo_ids_order":["1331528251","1331528253","1331528268","1331528279","1331528282","1331528285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f071632c29234994ffa86e85f7c2f84c.jpg","text":"TemporaryFile(/tmp/multipartBody8068261133280830560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_10_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/26/10ad59a460a0fb9f584fd3e5cc47b974.jpg","text":"TemporaryFile(/tmp/multipartBody1399956766009136992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_10_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/26/ad3ccb2f2ce56e94a08ed9c0cb333b01.jpg","text":"TemporaryFile(/tmp/multipartBody5271641135327756772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_11_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/26/d232bc7ad553f22587dabd87f4941bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1568272580102991651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_11_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/26/8c7ca30a3327212d8b4a7d54882283a4.jpg","text":"TemporaryFile(/tmp/multipartBody3974705125806521432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_10_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/26/57759d4913f4bb2394122f189e4b2047.jpg","text":"TemporaryFile(/tmp/multipartBody7832924891262072038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857755367,"filename":"image_23012025_21_10_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528268","file1":"1331528253","file0":"1331528251","file4":"1331528282","file5":"1331528285","file3":"1331528279"},"map_files_photo_id_array":[{"photo_id":"1331528285","filename":"file5"},{"photo_id":"1331528268","filename":"file2"},{"photo_id":"1331528282","filename":"file4"},{"photo_id":"1331528253","filename":"file1"},{"photo_id":"1331528251","filename":"file0"},{"photo_id":"1331528279","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331528268":["hashtag1","hashtag2"]},{"1331528253":["hashtag1","hashtag2"]},{"1331528282":["hashtag1","hashtag2"]},{"1331528285":["hashtag1","hashtag2"]},{"1331528279":["hashtag1","hashtag2"]},{"1331528251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331528268, 1331528253, 1331528282, 1331528285, 1331528279, 1331528251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65297532081604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:15:42.253917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/13/image_26012025_03_13_46_9365.jpg', '/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_16_10365.jpg', '/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_46_10439.jpg', '/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_56_9367.jpg', '/home/pi/Desktop/images/26012025/03/14/image_26012025_03_15_06_10346.jpg', '/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_16_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/13/image_26012025_03_13_46_9365.jpg
/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_16_10365.jpg
/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_46_10439.jpg
/home/pi/Desktop/images/26012025/03/14/image_26012025_03_14_56_9367.jpg
/home/pi/Desktop/images/26012025/03/14/image_26012025_03_15_06_10346.jpg
/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_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":["1331528443","1331528425","1331528391","1331528472","1331528387","1331528473"],"photo_ids_order":["1331528387","1331528391","1331528425","1331528443","1331528472","1331528473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/85f91ced7aed9f8722dfcdb264a90fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7627352550549666109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_14_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/26/692fa50b27418dd124d8fbf2755d28a0.jpg","text":"TemporaryFile(/tmp/multipartBody8304464591833853585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_14_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/26/3d23f3b5673f17dd44756002a437618d.jpg","text":"TemporaryFile(/tmp/multipartBody663373707512210778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_14_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82d798201ccc991ecf7748c61e67c463.jpg","text":"TemporaryFile(/tmp/multipartBody7281385059510261444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_15_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/26/f1c632d2584b2803277c6f3d51a1c913.jpg","text":"TemporaryFile(/tmp/multipartBody5680720595740367759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_13_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/26/a9a73b58046ac3a317b56fdffecbc93c.jpg","text":"TemporaryFile(/tmp/multipartBody1009459896744416594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857803171,"filename":"image_26012025_03_15_16_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528425","file1":"1331528391","file0":"1331528387","file4":"1331528472","file5":"1331528473","file3":"1331528443"},"map_files_photo_id_array":[{"photo_id":"1331528473","filename":"file5"},{"photo_id":"1331528425","filename":"file2"},{"photo_id":"1331528472","filename":"file4"},{"photo_id":"1331528391","filename":"file1"},{"photo_id":"1331528387","filename":"file0"},{"photo_id":"1331528443","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331528443":["hashtag1","hashtag2"]},{"1331528425":["hashtag1","hashtag2"]},{"1331528391":["hashtag1","hashtag2"]},{"1331528472":["hashtag1","hashtag2"]},{"1331528387":["hashtag1","hashtag2"]},{"1331528473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331528443, 1331528425, 1331528391, 1331528472, 1331528387, 1331528473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.19023585319519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:16:32.394770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_36_10368.jpg', '/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_56_9350.jpg', '/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_17_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_36_10368.jpg
/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_56_9350.jpg
/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_17_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49307918548583984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:16:42.442368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_36_10368.jpg', '/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_56_9350.jpg', '/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_17_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_36_10368.jpg
/home/pi/Desktop/images/26012025/03/15/image_26012025_03_15_56_9350.jpg
/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_17_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":["1331528486","1331528485","1331528488"],"photo_ids_order":["1331528485","1331528486","1331528488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/849fe965f1ba52855246417ebc4a3cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4844867492360213041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857863295,"filename":"image_26012025_03_15_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/26/deb58e90f9ff3b78add466c9515fafd5.jpg","text":"TemporaryFile(/tmp/multipartBody3522143545816537352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857863295,"filename":"image_26012025_03_15_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/26/4d0dfe7a71f5c24404d009984e1d748f.jpg","text":"TemporaryFile(/tmp/multipartBody8807885955837467831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857863295,"filename":"image_26012025_03_16_17_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331528488","file1":"1331528486","file0":"1331528485"},"map_files_photo_id_array":[{"photo_id":"1331528488","filename":"file2"},{"photo_id":"1331528486","filename":"file1"},{"photo_id":"1331528485","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331528486":["hashtag1","hashtag2"]},{"1331528485":["hashtag1","hashtag2"]},{"1331528488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331528486, 1331528485, 1331528488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.24584174156189 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:17:32.673423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_46_9344.jpg', '/home/pi/Desktop/images/26012025/03/17/image_26012025_03_17_16_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/16/image_26012025_03_16_46_9344.jpg
/home/pi/Desktop/images/26012025/03/17/image_26012025_03_17_16_9368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331528858","1331528956"],"photo_ids_order":["1331528858","1331528956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76d85d55eed1811092f2275730e16606.jpg","text":"TemporaryFile(/tmp/multipartBody8595315483919444964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857913518,"filename":"image_26012025_03_16_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/26/d245ec499d0685fc5b31e22b1200a6fa.jpg","text":"TemporaryFile(/tmp/multipartBody9097017187490416786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857913518,"filename":"image_26012025_03_17_16_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331528956","file0":"1331528858"},"map_files_photo_id_array":[{"photo_id":"1331528956","filename":"file1"},{"photo_id":"1331528858","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331528858":["hashtag1","hashtag2"]},{"1331528956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331528858, 1331528956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.179946184158325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:17:52.632726
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_25_10359.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_34_9327.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_45_10333.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_55_10446.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_12_05_9338.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_15_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_25_10359.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_34_9327.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_45_10333.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_55_10446.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_12_05_9338.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_15_10482.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9754369258880615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:18:03.517532
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_25_10359.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_34_9327.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_45_10333.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_55_10446.jpg', '/home/pi/Desktop/images/23012025/21/11/image_23012025_21_12_05_9338.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_15_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_25_10359.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_34_9327.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_45_10333.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_11_55_10446.jpg
/home/pi/Desktop/images/23012025/21/11/image_23012025_21_12_05_9338.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_15_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331529177","1331529114","1331529086","1331529065","1331529175","1331529109"],"photo_ids_order":["1331529065","1331529086","1331529109","1331529114","1331529175","1331529177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2bbfbefe926b549ddf60b053ec7b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody2478497661061262138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_12_15_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6fcf82c95f93563e85f4342ba8fa200.jpg","text":"TemporaryFile(/tmp/multipartBody8704865381456874834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_11_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/26/b4449672994e7e8f226ea4686a98ac3c.jpg","text":"TemporaryFile(/tmp/multipartBody4158392377748023377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_11_34_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/26/a6755ccd7ffcacbeea07a745e2f1485c.jpg","text":"TemporaryFile(/tmp/multipartBody5836812517898374727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_11_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/26/45af51a86662610e5705f6bdd1028d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6908909198203946843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_12_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/26/cfa998b87da16db07af807fb135ca24a.jpg","text":"TemporaryFile(/tmp/multipartBody2815715939297989844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857945044,"filename":"image_23012025_21_11_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331529109","file1":"1331529086","file0":"1331529065","file4":"1331529175","file5":"1331529177","file3":"1331529114"},"map_files_photo_id_array":[{"photo_id":"1331529177","filename":"file5"},{"photo_id":"1331529109","filename":"file2"},{"photo_id":"1331529175","filename":"file4"},{"photo_id":"1331529086","filename":"file1"},{"photo_id":"1331529065","filename":"file0"},{"photo_id":"1331529114","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331529177":["hashtag1","hashtag2"]},{"1331529114":["hashtag1","hashtag2"]},{"1331529086":["hashtag1","hashtag2"]},{"1331529065":["hashtag1","hashtag2"]},{"1331529175":["hashtag1","hashtag2"]},{"1331529109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331529177, 1331529114, 1331529086, 1331529065, 1331529175, 1331529109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.627997636795044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:18:52.862139
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_24_9365.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_35_10370.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_45_10352.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_55_9362.jpg', '/home/pi/Desktop/images/23012025/21/12/image_23012025_21_13_05_10365.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_14_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_24_9365.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_35_10370.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_45_10352.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_12_55_9362.jpg
/home/pi/Desktop/images/23012025/21/12/image_23012025_21_13_05_10365.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_14_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331529211","1331529279","1331529275","1331529209","1331529235","1331529238"],"photo_ids_order":["1331529209","1331529211","1331529235","1331529238","1331529275","1331529279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d75bf3f0774401f70351815b387eb62.jpg","text":"TemporaryFile(/tmp/multipartBody6964666720405431765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_12_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82f4766cb4ddb9fc2f83551554b73c94.jpg","text":"TemporaryFile(/tmp/multipartBody7064797863299821836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_13_14_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/26/c6470283802a12c2c6deaef030cd22b9.jpg","text":"TemporaryFile(/tmp/multipartBody7797425093693375012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_13_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/26/63bf0da8dd7dfca669844a9a69875a65.jpg","text":"TemporaryFile(/tmp/multipartBody8330176996171218321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_12_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca9214b35a3e66cc1ca011ff197eda4b.jpg","text":"TemporaryFile(/tmp/multipartBody5381962275031579599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_12_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/26/8e04999c916143b3eefb50e35cdcd728.jpg","text":"TemporaryFile(/tmp/multipartBody2383581573478071823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737857995230,"filename":"image_23012025_21_12_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331529235","file1":"1331529211","file0":"1331529209","file4":"1331529275","file5":"1331529279","file3":"1331529238"},"map_files_photo_id_array":[{"photo_id":"1331529279","filename":"file5"},{"photo_id":"1331529235","filename":"file2"},{"photo_id":"1331529275","filename":"file4"},{"photo_id":"1331529211","filename":"file1"},{"photo_id":"1331529209","filename":"file0"},{"photo_id":"1331529238","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331529211":["hashtag1","hashtag2"]},{"1331529279":["hashtag1","hashtag2"]},{"1331529275":["hashtag1","hashtag2"]},{"1331529209":["hashtag1","hashtag2"]},{"1331529235":["hashtag1","hashtag2"]},{"1331529238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331529211, 1331529279, 1331529275, 1331529209, 1331529235, 1331529238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88183069229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:19:43.161732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/17/image_26012025_03_17_26_10369.jpg', '/home/pi/Desktop/images/26012025/03/17/image_26012025_03_18_06_9416.jpg', '/home/pi/Desktop/images/26012025/03/18/image_26012025_03_18_36_9335.jpg', '/home/pi/Desktop/images/26012025/03/19/image_26012025_03_19_26_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/17/image_26012025_03_17_26_10369.jpg
/home/pi/Desktop/images/26012025/03/17/image_26012025_03_18_06_9416.jpg
/home/pi/Desktop/images/26012025/03/18/image_26012025_03_18_36_9335.jpg
/home/pi/Desktop/images/26012025/03/19/image_26012025_03_19_26_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":["1331529290","1331529293","1331529287","1331529295"],"photo_ids_order":["1331529287","1331529290","1331529293","1331529295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10b361457fe2896d36703e749afafc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1761470006614761805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858044043,"filename":"image_26012025_03_18_06_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/67e889cfc165aebdc9e7e014d95f2ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1328035573123256033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858044043,"filename":"image_26012025_03_18_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b491470e8354601fdba668dfbb3dc58.jpg","text":"TemporaryFile(/tmp/multipartBody9203676386180906481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858044043,"filename":"image_26012025_03_17_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/26/17709d4f774f3b3fc923252ddcca9e23.jpg","text":"TemporaryFile(/tmp/multipartBody4610114700280560341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858044043,"filename":"image_26012025_03_19_26_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331529293","file1":"1331529290","file0":"1331529287","file3":"1331529295"},"map_files_photo_id_array":[{"photo_id":"1331529293","filename":"file2"},{"photo_id":"1331529290","filename":"file1"},{"photo_id":"1331529287","filename":"file0"},{"photo_id":"1331529295","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331529290":["hashtag1","hashtag2"]},{"1331529293":["hashtag1","hashtag2"]},{"1331529287":["hashtag1","hashtag2"]},{"1331529295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331529290, 1331529293, 1331529287, 1331529295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.97031879425049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:20:32.349708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/19/image_26012025_03_19_56_9382.jpg', '/home/pi/Desktop/images/26012025/03/19/image_26012025_03_20_06_10335.jpg', '/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_16_9407.jpg', '/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_26_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/19/image_26012025_03_19_56_9382.jpg
/home/pi/Desktop/images/26012025/03/19/image_26012025_03_20_06_10335.jpg
/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_16_9407.jpg
/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_26_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331529651","1331529834","1331529551","1331529406"],"photo_ids_order":["1331529406","1331529551","1331529651","1331529834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d15b8dbc0e260ed82ec29e149b948717.jpg","text":"TemporaryFile(/tmp/multipartBody1713360071633287103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858093242,"filename":"image_26012025_03_20_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a9b5b5422f4082c8847478eeb324e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7249612026348870871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858093242,"filename":"image_26012025_03_20_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/26/0e7a15e31ef41f6d69f90b4c3bb478cc.jpg","text":"TemporaryFile(/tmp/multipartBody3337501977888590224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858093242,"filename":"image_26012025_03_20_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/26/aca8fede7b20c3b84c8afba389e66623.jpg","text":"TemporaryFile(/tmp/multipartBody8259294296538581632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858093242,"filename":"image_26012025_03_19_56_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331529651","file1":"1331529551","file0":"1331529406","file3":"1331529834"},"map_files_photo_id_array":[{"photo_id":"1331529651","filename":"file2"},{"photo_id":"1331529551","filename":"file1"},{"photo_id":"1331529406","filename":"file0"},{"photo_id":"1331529834","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331529651":["hashtag1","hashtag2"]},{"1331529834":["hashtag1","hashtag2"]},{"1331529551":["hashtag1","hashtag2"]},{"1331529406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331529651, 1331529834, 1331529551, 1331529406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.1303186416626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:21:32.708960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_37_10450.jpg', '/home/pi/Desktop/images/26012025/03/20/image_26012025_03_21_07_10378.jpg', '/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_26_10381.jpg', '/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_36_9402.jpg', '/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_46_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/20/image_26012025_03_20_37_10450.jpg
/home/pi/Desktop/images/26012025/03/20/image_26012025_03_21_07_10378.jpg
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_26_10381.jpg
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_36_9402.jpg
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_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":["1331530147","1331530114","1331530089","1331530070","1331530144"],"photo_ids_order":["1331530070","1331530089","1331530114","1331530144","1331530147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ecebabce8869634282608b688289f08.jpg","text":"TemporaryFile(/tmp/multipartBody7152259999578416655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858153606,"filename":"image_26012025_03_21_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/26/cb31bfd0e6c46e47bdc9b6384f56005c.jpg","text":"TemporaryFile(/tmp/multipartBody9043835913669338871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858153606,"filename":"image_26012025_03_21_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/26/9cc39814afe37cd377fe070337777709.jpg","text":"TemporaryFile(/tmp/multipartBody4650141936120567251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858153606,"filename":"image_26012025_03_21_07_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c4eb468e0f0cfb7507bb4585889ccbd.jpg","text":"TemporaryFile(/tmp/multipartBody8973004619092403189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858153606,"filename":"image_26012025_03_20_37_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/26/0dfc4e2e850a983646fe2e50183716e2.jpg","text":"TemporaryFile(/tmp/multipartBody4383772938339016601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858153606,"filename":"image_26012025_03_21_36_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530114","file1":"1331530089","file0":"1331530070","file4":"1331530147","file3":"1331530144"},"map_files_photo_id_array":[{"photo_id":"1331530114","filename":"file2"},{"photo_id":"1331530147","filename":"file4"},{"photo_id":"1331530089","filename":"file1"},{"photo_id":"1331530070","filename":"file0"},{"photo_id":"1331530144","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530147":["hashtag1","hashtag2"]},{"1331530114":["hashtag1","hashtag2"]},{"1331530089":["hashtag1","hashtag2"]},{"1331530070":["hashtag1","hashtag2"]},{"1331530144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530147, 1331530114, 1331530089, 1331530070, 1331530144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.68284249305725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:22:32.859453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_57_10425.jpg', '/home/pi/Desktop/images/26012025/03/21/image_26012025_03_22_06_9389.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_16_10400.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_26_9336.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_36_10370.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_46_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_57_10425.jpg
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_22_06_9389.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_16_10400.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_26_9336.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_36_10370.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_46_10377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5446882247924805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:22:42.923982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_57_10425.jpg', '/home/pi/Desktop/images/26012025/03/21/image_26012025_03_22_06_9389.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_16_10400.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_26_9336.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_36_10370.jpg', '/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_46_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_21_57_10425.jpg
/home/pi/Desktop/images/26012025/03/21/image_26012025_03_22_06_9389.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_16_10400.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_26_9336.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_36_10370.jpg
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_46_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":["1331530227","1331530244","1331530253","1331530241","1331530223","1331530255"],"photo_ids_order":["1331530223","1331530227","1331530241","1331530244","1331530253","1331530255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40e66b2265514aed5e06bcdca59622c2.jpg","text":"TemporaryFile(/tmp/multipartBody5440849167168721278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_22_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c7629700f9ba92f5a0f3f36cd0f20f7.jpg","text":"TemporaryFile(/tmp/multipartBody6416614028311183945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_22_26_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/50ff9f0df9c56ee519d1a547924442ed.jpg","text":"TemporaryFile(/tmp/multipartBody2136705694096455438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_22_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/26/2c227fac79063d471f7d2179fb737385.jpg","text":"TemporaryFile(/tmp/multipartBody8767939276867925409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_22_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8fe349e930462061d9ab0926a617d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6220101134797382218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_21_57_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/26/09b557c5474fbe34d86da4ed23fd5df9.jpg","text":"TemporaryFile(/tmp/multipartBody8911374041078183502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858223836,"filename":"image_26012025_03_22_46_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530241","file1":"1331530227","file0":"1331530223","file4":"1331530253","file5":"1331530255","file3":"1331530244"},"map_files_photo_id_array":[{"photo_id":"1331530255","filename":"file5"},{"photo_id":"1331530241","filename":"file2"},{"photo_id":"1331530253","filename":"file4"},{"photo_id":"1331530227","filename":"file1"},{"photo_id":"1331530223","filename":"file0"},{"photo_id":"1331530244","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530227":["hashtag1","hashtag2"]},{"1331530244":["hashtag1","hashtag2"]},{"1331530253":["hashtag1","hashtag2"]},{"1331530241":["hashtag1","hashtag2"]},{"1331530223":["hashtag1","hashtag2"]},{"1331530255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530227, 1331530244, 1331530253, 1331530241, 1331530223, 1331530255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2721209526062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:23:33.132967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_56_9394.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_17_10383.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_26_9344.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_36_10411.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_46_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/22/image_26012025_03_22_56_9394.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_17_10383.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_26_9344.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_36_10411.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_46_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":["1331530287","1331530277","1331530346","1331530340","1331530264"],"photo_ids_order":["1331530264","1331530277","1331530287","1331530340","1331530346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c3d7638c3e8290a60cb9cbbdf22eed0.jpg","text":"TemporaryFile(/tmp/multipartBody4857483303106498677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858274044,"filename":"image_26012025_03_23_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/26/eb4b0cf42c14822163b5394ce79f18c3.jpg","text":"TemporaryFile(/tmp/multipartBody6436516895563806928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858274044,"filename":"image_26012025_03_23_17_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/26/c70ac4d7d9d7a70d9198b46f5cc5b84c.jpg","text":"TemporaryFile(/tmp/multipartBody811345306929475164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858274044,"filename":"image_26012025_03_23_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b101c71e66ddb364242ac28a73ef7902.jpg","text":"TemporaryFile(/tmp/multipartBody5915418698983936351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858274044,"filename":"image_26012025_03_23_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97bb0b0b1086d66c4b7d966163b1ad41.jpg","text":"TemporaryFile(/tmp/multipartBody8181179892009196403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858274044,"filename":"image_26012025_03_22_56_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530287","file1":"1331530277","file0":"1331530264","file4":"1331530346","file3":"1331530340"},"map_files_photo_id_array":[{"photo_id":"1331530287","filename":"file2"},{"photo_id":"1331530346","filename":"file4"},{"photo_id":"1331530277","filename":"file1"},{"photo_id":"1331530264","filename":"file0"},{"photo_id":"1331530340","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530287":["hashtag1","hashtag2"]},{"1331530277":["hashtag1","hashtag2"]},{"1331530346":["hashtag1","hashtag2"]},{"1331530340":["hashtag1","hashtag2"]},{"1331530264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530287, 1331530277, 1331530346, 1331530340, 1331530264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.82917928695679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:24:32.306692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_56_10349.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_24_07_10447.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_16_9327.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_26_10385.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_37_10356.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_56_10349.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_24_07_10447.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_16_9327.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_26_10385.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_37_10356.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_46_9344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5323746204376221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:24:42.205971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_56_10349.jpg', '/home/pi/Desktop/images/26012025/03/23/image_26012025_03_24_07_10447.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_16_9327.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_26_10385.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_37_10356.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_46_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_23_56_10349.jpg
/home/pi/Desktop/images/26012025/03/23/image_26012025_03_24_07_10447.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_16_9327.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_26_10385.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_37_10356.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_46_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530411","1331530414","1331530401","1331530406","1331530421","1331530418"],"photo_ids_order":["1331530401","1331530406","1331530411","1331530414","1331530418","1331530421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f0f5c84d1af4811abed041d60d9302e.jpg","text":"TemporaryFile(/tmp/multipartBody7791168170156561507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_24_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/26/fb4a12d401560e431a5a742f6129897f.jpg","text":"TemporaryFile(/tmp/multipartBody4271181511846719133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_24_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4dcf79c24522d71d5a2850581bf194e.jpg","text":"TemporaryFile(/tmp/multipartBody1526004120303767713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_23_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/26/045c9034709835487f2113727578982d.jpg","text":"TemporaryFile(/tmp/multipartBody1016044401537257999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_24_07_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd707bc6c7d4b451ccb572578b1c2499.jpg","text":"TemporaryFile(/tmp/multipartBody2109220821406433533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_24_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/26/7aba02b65fb81536d1f92135d92fafe6.jpg","text":"TemporaryFile(/tmp/multipartBody9198693300443023461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858343125,"filename":"image_26012025_03_24_37_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530411","file1":"1331530406","file0":"1331530401","file4":"1331530418","file5":"1331530421","file3":"1331530414"},"map_files_photo_id_array":[{"photo_id":"1331530421","filename":"file5"},{"photo_id":"1331530411","filename":"file2"},{"photo_id":"1331530418","filename":"file4"},{"photo_id":"1331530406","filename":"file1"},{"photo_id":"1331530401","filename":"file0"},{"photo_id":"1331530414","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530411":["hashtag1","hashtag2"]},{"1331530414":["hashtag1","hashtag2"]},{"1331530401":["hashtag1","hashtag2"]},{"1331530406":["hashtag1","hashtag2"]},{"1331530421":["hashtag1","hashtag2"]},{"1331530418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530411, 1331530414, 1331530401, 1331530406, 1331530421, 1331530418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14334321022034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:25:32.522090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_56_10347.jpg', '/home/pi/Desktop/images/26012025/03/24/image_26012025_03_25_06_9428.jpg', '/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_16_10340.jpg', '/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_26_10357.jpg', '/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_46_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_24_56_10347.jpg
/home/pi/Desktop/images/26012025/03/24/image_26012025_03_25_06_9428.jpg
/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_16_10340.jpg
/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_26_10357.jpg
/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_46_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530438","1331530446","1331530434","1331530443","1331530430"],"photo_ids_order":["1331530430","1331530434","1331530438","1331530443","1331530446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee493d1f1bac54971ba47773594c0a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6363920791719276698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858393418,"filename":"image_26012025_03_25_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6a8ffc6ca1f9cdf91d1486d0610ea32b.jpg","text":"TemporaryFile(/tmp/multipartBody411804432272025674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858393418,"filename":"image_26012025_03_25_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0bfdcd64800b0251796967957ee53460.jpg","text":"TemporaryFile(/tmp/multipartBody2453341791648261396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858393418,"filename":"image_26012025_03_25_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/26/5d370519c04cfda5a858743c92567ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7199498126777506030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858393418,"filename":"image_26012025_03_25_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d421f295cc9165de7004107eec8dcf2.jpg","text":"TemporaryFile(/tmp/multipartBody7446529775019441103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858393418,"filename":"image_26012025_03_24_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530438","file1":"1331530434","file0":"1331530430","file4":"1331530446","file3":"1331530443"},"map_files_photo_id_array":[{"photo_id":"1331530438","filename":"file2"},{"photo_id":"1331530446","filename":"file4"},{"photo_id":"1331530434","filename":"file1"},{"photo_id":"1331530430","filename":"file0"},{"photo_id":"1331530443","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530438":["hashtag1","hashtag2"]},{"1331530446":["hashtag1","hashtag2"]},{"1331530434":["hashtag1","hashtag2"]},{"1331530443":["hashtag1","hashtag2"]},{"1331530430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530438, 1331530446, 1331530434, 1331530443, 1331530430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.51570773124695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:26:32.739858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_56_9435.jpg', '/home/pi/Desktop/images/26012025/03/26/image_26012025_03_26_36_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/25/image_26012025_03_25_56_9435.jpg
/home/pi/Desktop/images/26012025/03/26/image_26012025_03_26_36_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530505","1331530498"],"photo_ids_order":["1331530498","1331530505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52766bd03ea3a517de8a79694eb09552.jpg","text":"TemporaryFile(/tmp/multipartBody603133476443650886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858453594,"filename":"image_26012025_03_26_36_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b1047e1c5c57bdff329b01b147eb432.jpg","text":"TemporaryFile(/tmp/multipartBody1823371811317673674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858453594,"filename":"image_26012025_03_25_56_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331530505","file0":"1331530498"},"map_files_photo_id_array":[{"photo_id":"1331530505","filename":"file1"},{"photo_id":"1331530498","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530505":["hashtag1","hashtag2"]},{"1331530498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530505, 1331530498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.825061798095703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:27:04.496153
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_25_10346.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_35_10422.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_44_9356.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_55_10482.jpg', '/home/pi/Desktop/images/23012025/21/13/image_23012025_21_14_05_10369.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_15_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_25_10346.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_35_10422.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_44_9356.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_13_55_10482.jpg
/home/pi/Desktop/images/23012025/21/13/image_23012025_21_14_05_10369.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_15_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530531","1331530525","1331530539","1331530521","1331530535","1331530517"],"photo_ids_order":["1331530517","1331530521","1331530525","1331530531","1331530535","1331530539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e475cde54c13f32b70036e4f99ab052.jpg","text":"TemporaryFile(/tmp/multipartBody6420060192358887144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_13_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/26/1cad6bf69f065f59e432076f85b40068.jpg","text":"TemporaryFile(/tmp/multipartBody2910999127915964053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_13_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/26/2ad1e51524d0d1a5247622c669527a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6625455931140122190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_14_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/481bfac0402d48de27615c26cd01a5b5.jpg","text":"TemporaryFile(/tmp/multipartBody140321372847052878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_13_35_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/26/55453c91b0eb1fff508c4b38a58ee093.jpg","text":"TemporaryFile(/tmp/multipartBody2946794453934586496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_14_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/26/96c0fa30725f054a96d224e93c1581b5.jpg","text":"TemporaryFile(/tmp/multipartBody5477519766884670057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858486499,"filename":"image_23012025_21_13_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530525","file1":"1331530521","file0":"1331530517","file4":"1331530535","file5":"1331530539","file3":"1331530531"},"map_files_photo_id_array":[{"photo_id":"1331530539","filename":"file5"},{"photo_id":"1331530525","filename":"file2"},{"photo_id":"1331530535","filename":"file4"},{"photo_id":"1331530521","filename":"file1"},{"photo_id":"1331530517","filename":"file0"},{"photo_id":"1331530531","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331530531":["hashtag1","hashtag2"]},{"1331530525":["hashtag1","hashtag2"]},{"1331530539":["hashtag1","hashtag2"]},{"1331530521":["hashtag1","hashtag2"]},{"1331530535":["hashtag1","hashtag2"]},{"1331530517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331530531, 1331530525, 1331530539, 1331530521, 1331530535, 1331530517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.772966146469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:27:52.874773
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_25_10482.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_34_9367.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_45_10484.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_54_9360.jpg', '/home/pi/Desktop/images/23012025/21/14/image_23012025_21_15_05_10368.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_15_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_25_10482.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_34_9367.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_45_10484.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_14_54_9360.jpg
/home/pi/Desktop/images/23012025/21/14/image_23012025_21_15_05_10368.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_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":["1331530557","1331530655","1331530552","1331530660","1331530561","1331530549"],"photo_ids_order":["1331530549","1331530552","1331530557","1331530561","1331530655","1331530660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/92ebfafb2908d3989b657fe4325801e2.jpg","text":"TemporaryFile(/tmp/multipartBody4453148303068138466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_14_45_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/26/42565c4db9eb1ef271c1023a50316ae2.jpg","text":"TemporaryFile(/tmp/multipartBody382909090467538530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_15_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/26/b2cabed81a80898fa0186c761998f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3481968547870542028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_14_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/26/89ec33a15d6ac4abc6e0691778e70c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1333830120599191400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_15_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/26/9ae1ce4c9ea416bf01be04866a7a63ec.jpg","text":"TemporaryFile(/tmp/multipartBody2254086638435901976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_14_54_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/26/7f550a2cb32a54c6bf0cca37b9f5e0ab.jpg","text":"TemporaryFile(/tmp/multipartBody5568361879639799617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858535265,"filename":"image_23012025_21_14_25_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530557","file1":"1331530552","file0":"1331530549","file4":"1331530655","file5":"1331530660","file3":"1331530561"},"map_files_photo_id_array":[{"photo_id":"1331530660","filename":"file5"},{"photo_id":"1331530557","filename":"file2"},{"photo_id":"1331530655","filename":"file4"},{"photo_id":"1331530552","filename":"file1"},{"photo_id":"1331530549","filename":"file0"},{"photo_id":"1331530561","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331530557":["hashtag1","hashtag2"]},{"1331530655":["hashtag1","hashtag2"]},{"1331530552":["hashtag1","hashtag2"]},{"1331530660":["hashtag1","hashtag2"]},{"1331530561":["hashtag1","hashtag2"]},{"1331530549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331530557, 1331530655, 1331530552, 1331530660, 1331530561, 1331530549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66442680358887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:28:43.073501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/26/image_26012025_03_26_46_9461.jpg', '/home/pi/Desktop/images/26012025/03/26/image_26012025_03_27_07_10416.jpg', '/home/pi/Desktop/images/26012025/03/27/image_26012025_03_27_26_10361.jpg', '/home/pi/Desktop/images/26012025/03/27/image_26012025_03_28_06_9395.jpg', '/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_16_10366.jpg', '/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_36_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/26/image_26012025_03_26_46_9461.jpg
/home/pi/Desktop/images/26012025/03/26/image_26012025_03_27_07_10416.jpg
/home/pi/Desktop/images/26012025/03/27/image_26012025_03_27_26_10361.jpg
/home/pi/Desktop/images/26012025/03/27/image_26012025_03_28_06_9395.jpg
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_16_10366.jpg
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_36_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530688","1331530721","1331530751","1331530745","1331530727","1331530687"],"photo_ids_order":["1331530687","1331530688","1331530721","1331530727","1331530745","1331530751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e371c2cb6f45f49b7b5c0ac4ec6ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody295434779430654617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_27_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/26/5d15a9ceff3f66789d7c35665dd415d3.jpg","text":"TemporaryFile(/tmp/multipartBody2545294214118420928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_27_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/26/c480590c9c9faab293851af5529879f0.jpg","text":"TemporaryFile(/tmp/multipartBody1881348865675285007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_28_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/26/0b3ff7cb80d98772eb91b16e8798bea5.jpg","text":"TemporaryFile(/tmp/multipartBody424800508519482600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_28_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/26/3ad7f3b78ffd559b1b0ea87a570ae8eb.jpg","text":"TemporaryFile(/tmp/multipartBody5901439088118520213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_28_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/26/11a258fb79b924b9bedad1d38c4f41ee.jpg","text":"TemporaryFile(/tmp/multipartBody3832968935681382189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858583976,"filename":"image_26012025_03_26_46_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530721","file1":"1331530688","file0":"1331530687","file4":"1331530745","file5":"1331530751","file3":"1331530727"},"map_files_photo_id_array":[{"photo_id":"1331530751","filename":"file5"},{"photo_id":"1331530721","filename":"file2"},{"photo_id":"1331530745","filename":"file4"},{"photo_id":"1331530688","filename":"file1"},{"photo_id":"1331530687","filename":"file0"},{"photo_id":"1331530727","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530688":["hashtag1","hashtag2"]},{"1331530721":["hashtag1","hashtag2"]},{"1331530751":["hashtag1","hashtag2"]},{"1331530745":["hashtag1","hashtag2"]},{"1331530727":["hashtag1","hashtag2"]},{"1331530687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530688, 1331530721, 1331530751, 1331530745, 1331530727, 1331530687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.17959141731262 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-26 03:29:42.368024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_46_10367.jpg', '/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_56_9333.jpg', '/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_17_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_46_10367.jpg
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_56_9333.jpg
/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_17_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: 3.6924474239349365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:29:52.302197
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_24_9373.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_35_10356.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_45_10443.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_55_9343.jpg', '/home/pi/Desktop/images/23012025/21/15/image_23012025_21_16_05_10409.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_25_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_24_9373.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_35_10356.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_45_10443.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_15_55_9343.jpg
/home/pi/Desktop/images/23012025/21/15/image_23012025_21_16_05_10409.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_25_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530860","1331530853","1331530847","1331530856","1331530850","1331530864"],"photo_ids_order":["1331530847","1331530850","1331530853","1331530856","1331530860","1331530864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5b7ad60dc7d756d438b15c80523315e.jpg","text":"TemporaryFile(/tmp/multipartBody1514321648121278847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_16_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/26/6602ce51871de0a02680a4fb2c2d5433.jpg","text":"TemporaryFile(/tmp/multipartBody7675549870889765385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_15_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bfc53e2d7bc7d8b832792986d2810cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5354171529028576741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_15_24_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/26/efcb54ca83e25769b02d096b82762cab.jpg","text":"TemporaryFile(/tmp/multipartBody1553153023953887925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_15_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a204b18dc2050375e75bdfeb01cb41e.jpg","text":"TemporaryFile(/tmp/multipartBody3374646498075042631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_15_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/26/2c47a8579afa98468902471942e65946.jpg","text":"TemporaryFile(/tmp/multipartBody8588226355568475743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858654661,"filename":"image_23012025_21_16_25_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530853","file1":"1331530850","file0":"1331530847","file4":"1331530860","file5":"1331530864","file3":"1331530856"},"map_files_photo_id_array":[{"photo_id":"1331530864","filename":"file5"},{"photo_id":"1331530853","filename":"file2"},{"photo_id":"1331530860","filename":"file4"},{"photo_id":"1331530850","filename":"file1"},{"photo_id":"1331530847","filename":"file0"},{"photo_id":"1331530856","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331530860":["hashtag1","hashtag2"]},{"1331530853":["hashtag1","hashtag2"]},{"1331530847":["hashtag1","hashtag2"]},{"1331530856":["hashtag1","hashtag2"]},{"1331530850":["hashtag1","hashtag2"]},{"1331530864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331530860, 1331530853, 1331530847, 1331530856, 1331530850, 1331530864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.18216872215271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:30:42.480173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_46_10367.jpg', '/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_56_9333.jpg', '/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_17_10431.jpg', '/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_46_9384.jpg', '/home/pi/Desktop/images/26012025/03/29/image_26012025_03_30_07_10393.jpg', '/home/pi/Desktop/images/26012025/03/30/image_26012025_03_30_37_10315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_46_10367.jpg
/home/pi/Desktop/images/26012025/03/28/image_26012025_03_28_56_9333.jpg
/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_17_10431.jpg
/home/pi/Desktop/images/26012025/03/29/image_26012025_03_29_46_9384.jpg
/home/pi/Desktop/images/26012025/03/29/image_26012025_03_30_07_10393.jpg
/home/pi/Desktop/images/26012025/03/30/image_26012025_03_30_37_10315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331530950","1331530923","1331530911","1331530905","1331530908","1331530931"],"photo_ids_order":["1331530905","1331530908","1331530911","1331530923","1331530931","1331530950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45753cdd81ee2a4ed016ae47243ca19d.jpg","text":"TemporaryFile(/tmp/multipartBody7377228196960953325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_30_37_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1161c235792c80152b5343a8397725b7.jpg","text":"TemporaryFile(/tmp/multipartBody6920908255217751438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_29_46_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2989ea65cf469fbce0e3334f98b72e11.jpg","text":"TemporaryFile(/tmp/multipartBody1062209894846840314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_29_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/26/5ff51e897ce28eefd4aebabeea86ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody2799721705197232138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_28_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/26/a814a5b12eb26d36763a1bd954fbd2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2046614700901155544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_28_56_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6420158b49afb583ae40a3bdb5ff38b7.jpg","text":"TemporaryFile(/tmp/multipartBody8933053280058928480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858704471,"filename":"image_26012025_03_30_07_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331530911","file1":"1331530908","file0":"1331530905","file4":"1331530931","file5":"1331530950","file3":"1331530923"},"map_files_photo_id_array":[{"photo_id":"1331530950","filename":"file5"},{"photo_id":"1331530911","filename":"file2"},{"photo_id":"1331530931","filename":"file4"},{"photo_id":"1331530908","filename":"file1"},{"photo_id":"1331530905","filename":"file0"},{"photo_id":"1331530923","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530950":["hashtag1","hashtag2"]},{"1331530923":["hashtag1","hashtag2"]},{"1331530911":["hashtag1","hashtag2"]},{"1331530905":["hashtag1","hashtag2"]},{"1331530908":["hashtag1","hashtag2"]},{"1331530931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530950, 1331530923, 1331530911, 1331530905, 1331530908, 1331530931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70180678367615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:31:32.707290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/30/image_26012025_03_30_56_9924.jpg', '/home/pi/Desktop/images/26012025/03/30/image_26012025_03_31_06_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/30/image_26012025_03_30_56_9924.jpg
/home/pi/Desktop/images/26012025/03/30/image_26012025_03_31_06_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":["1331530971","1331530967"],"photo_ids_order":["1331530967","1331530971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fca69a9d2667321bd7ea4b0f90a97bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4507536749924182426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858753559,"filename":"image_26012025_03_31_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/26/a79308fe73dc1685e7461492a0b17aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3992950780178778033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858753559,"filename":"image_26012025_03_30_56_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331530971","file0":"1331530967"},"map_files_photo_id_array":[{"photo_id":"1331530971","filename":"file1"},{"photo_id":"1331530967","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331530971":["hashtag1","hashtag2"]},{"1331530967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331530971, 1331530967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.21429443359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:32:03.799718
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_35_10362.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_44_9402.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_55_10496.jpg', '/home/pi/Desktop/images/23012025/21/16/image_23012025_21_17_04_9434.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_15_10341.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_25_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_35_10362.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_44_9402.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_16_55_10496.jpg
/home/pi/Desktop/images/23012025/21/16/image_23012025_21_17_04_9434.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_15_10341.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_25_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":["1331531064","1331530977","1331531060","1331531056","1331530981","1331531032"],"photo_ids_order":["1331530977","1331530981","1331531032","1331531056","1331531060","1331531064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/858fa474bc1222f28707ca33f373769d.jpg","text":"TemporaryFile(/tmp/multipartBody7946270322085394634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_17_25_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/26/62b5eed6f5d24edcf8ddbd1a6e71ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody529930156316097075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_16_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/26/ccb76c163a1ccfefc219d1044c1ae367.jpg","text":"TemporaryFile(/tmp/multipartBody7011262822537748329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_17_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/26/815a48dcf00fddcebdbe20a49b0bc53e.jpg","text":"TemporaryFile(/tmp/multipartBody4845423946697552354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_17_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9965b664a94e377f7196f47ae54dd78c.jpg","text":"TemporaryFile(/tmp/multipartBody5853302883436109368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_16_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/26/6e71a44e6e0ee22f29af305a23a12a05.jpg","text":"TemporaryFile(/tmp/multipartBody4460867741595268331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858785543,"filename":"image_23012025_21_16_55_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331531032","file1":"1331530981","file0":"1331530977","file4":"1331531060","file5":"1331531064","file3":"1331531056"},"map_files_photo_id_array":[{"photo_id":"1331531064","filename":"file5"},{"photo_id":"1331531032","filename":"file2"},{"photo_id":"1331531060","filename":"file4"},{"photo_id":"1331530981","filename":"file1"},{"photo_id":"1331530977","filename":"file0"},{"photo_id":"1331531056","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331531064":["hashtag1","hashtag2"]},{"1331530977":["hashtag1","hashtag2"]},{"1331531060":["hashtag1","hashtag2"]},{"1331531056":["hashtag1","hashtag2"]},{"1331530981":["hashtag1","hashtag2"]},{"1331531032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331531064, 1331530977, 1331531060, 1331531056, 1331530981, 1331531032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.39782524108887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:32:52.853215
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_35_9330.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_45_10408.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_54_9401.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_18_05_10360.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_15_10432.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_25_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_35_9330.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_45_10408.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_54_9401.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_18_05_10360.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_15_10432.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_25_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: 1.9680557250976562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:33:04.852157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/31/image_26012025_03_31_36_10336.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_06_9595.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_16_10328.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_27_10448.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_36_9348.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/31/image_26012025_03_31_36_10336.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_06_9595.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_16_10328.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_27_10448.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_36_9348.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_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":["1331531463","1331531148","1331531106","1331531120","1331531125","1331531233"],"photo_ids_order":["1331531106","1331531120","1331531125","1331531148","1331531233","1331531463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a706aa9647c48a2b95bade56363fda20.jpg","text":"TemporaryFile(/tmp/multipartBody6859496197842018304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_32_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/26/ff9959d439742dce8e8508f9df502e38.jpg","text":"TemporaryFile(/tmp/multipartBody5110216328432904667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_32_27_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/26/201d224b348d07be0240ddfdb1c19201.jpg","text":"TemporaryFile(/tmp/multipartBody2890646437921022783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_31_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8d960c935210ae6f46cf15e618505ad.jpg","text":"TemporaryFile(/tmp/multipartBody1338848337867119173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_32_06_9595.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/236c1a33c46bbea7acf5f7d839cb7d38.jpg","text":"TemporaryFile(/tmp/multipartBody6492142800887766957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_32_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/26/e55da9286979f53bd1ad8c069d82cc28.jpg","text":"TemporaryFile(/tmp/multipartBody6031118866515974056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858846065,"filename":"image_26012025_03_32_36_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331531125","file1":"1331531120","file0":"1331531106","file4":"1331531233","file5":"1331531463","file3":"1331531148"},"map_files_photo_id_array":[{"photo_id":"1331531463","filename":"file5"},{"photo_id":"1331531125","filename":"file2"},{"photo_id":"1331531233","filename":"file4"},{"photo_id":"1331531120","filename":"file1"},{"photo_id":"1331531106","filename":"file0"},{"photo_id":"1331531148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331531463":["hashtag1","hashtag2"]},{"1331531148":["hashtag1","hashtag2"]},{"1331531106":["hashtag1","hashtag2"]},{"1331531120":["hashtag1","hashtag2"]},{"1331531125":["hashtag1","hashtag2"]},{"1331531233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331531463, 1331531148, 1331531106, 1331531120, 1331531125, 1331531233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.895915031433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:33:53.144539
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_35_9330.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_45_10408.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_54_9401.jpg', '/home/pi/Desktop/images/23012025/21/17/image_23012025_21_18_05_10360.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_15_10432.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_25_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_35_9330.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_45_10408.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_17_54_9401.jpg
/home/pi/Desktop/images/23012025/21/17/image_23012025_21_18_05_10360.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_15_10432.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_25_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":["1331531814","1331531817","1331531811","1331531805","1331531807","1331531837"],"photo_ids_order":["1331531805","1331531807","1331531811","1331531814","1331531817","1331531837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be918326464bcac2e5cd5a8f8f08eab9.jpg","text":"TemporaryFile(/tmp/multipartBody3949387903367244253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_18_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/26/7d8fbd52779db985e7148db6f01f690d.jpg","text":"TemporaryFile(/tmp/multipartBody7025768782818629664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_18_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/26/6f2a134a2f2191cf91e0a46686913982.jpg","text":"TemporaryFile(/tmp/multipartBody7598972547887086483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_17_54_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f92a11daf72082a7e29c0e49b93e325a.jpg","text":"TemporaryFile(/tmp/multipartBody5541303661415208346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_17_35_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a9bc36d154a6dac7abcc181a71ec001.jpg","text":"TemporaryFile(/tmp/multipartBody5773755287445585975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_17_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/26/9c57dd9ef7538a379eed5c7e081a9bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8622541169656279771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858895433,"filename":"image_23012025_21_18_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331531811","file1":"1331531807","file0":"1331531805","file4":"1331531817","file5":"1331531837","file3":"1331531814"},"map_files_photo_id_array":[{"photo_id":"1331531837","filename":"file5"},{"photo_id":"1331531811","filename":"file2"},{"photo_id":"1331531817","filename":"file4"},{"photo_id":"1331531807","filename":"file1"},{"photo_id":"1331531805","filename":"file0"},{"photo_id":"1331531814","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331531814":["hashtag1","hashtag2"]},{"1331531817":["hashtag1","hashtag2"]},{"1331531811":["hashtag1","hashtag2"]},{"1331531805":["hashtag1","hashtag2"]},{"1331531807":["hashtag1","hashtag2"]},{"1331531837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331531814, 1331531817, 1331531811, 1331531805, 1331531807, 1331531837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.407981872558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:34:42.328396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_56_9449.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_33_06_10337.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_17_10483.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_26_9381.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_36_10418.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_46_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_56_9449.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_33_06_10337.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_17_10483.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_26_9381.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_36_10418.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_46_9428.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5933449268341064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 03:34:52.301502
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_35_10350.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_45_10348.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_55_9350.jpg', '/home/pi/Desktop/images/23012025/21/18/image_23012025_21_19_05_10420.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_14_9402.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_25_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_35_10350.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_45_10348.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_18_55_9350.jpg
/home/pi/Desktop/images/23012025/21/18/image_23012025_21_19_05_10420.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_14_9402.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_25_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":["1331532122","1331532134","1331532116","1331532109","1331532112","1331532106"],"photo_ids_order":["1331532106","1331532109","1331532112","1331532116","1331532122","1331532134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d29cb4eada7d41e15ed6942ad65ae23.jpg","text":"TemporaryFile(/tmp/multipartBody8920123785039961562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_19_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/26/08b1335a514b31e9d536da7575f5f327.jpg","text":"TemporaryFile(/tmp/multipartBody5293606109732912671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_19_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/26/50caa7d3a5660c20b642a486f3181452.jpg","text":"TemporaryFile(/tmp/multipartBody2049018944633892022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_19_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0a53cb2188faaa681adf40d02c0004d6.jpg","text":"TemporaryFile(/tmp/multipartBody5881631130684520899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_18_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/26/9ee020f138b0798a544f0dfe677d2411.jpg","text":"TemporaryFile(/tmp/multipartBody7465801764606567943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_18_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/26/bbd81070f1e6895a6d8f6a8b3db3cd74.jpg","text":"TemporaryFile(/tmp/multipartBody7330802488212343449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737858954657,"filename":"image_23012025_21_18_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532112","file1":"1331532109","file0":"1331532106","file4":"1331532122","file5":"1331532134","file3":"1331532116"},"map_files_photo_id_array":[{"photo_id":"1331532134","filename":"file5"},{"photo_id":"1331532112","filename":"file2"},{"photo_id":"1331532122","filename":"file4"},{"photo_id":"1331532109","filename":"file1"},{"photo_id":"1331532106","filename":"file0"},{"photo_id":"1331532116","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331532122":["hashtag1","hashtag2"]},{"1331532134":["hashtag1","hashtag2"]},{"1331532116":["hashtag1","hashtag2"]},{"1331532109":["hashtag1","hashtag2"]},{"1331532112":["hashtag1","hashtag2"]},{"1331532106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331532122, 1331532134, 1331532116, 1331532109, 1331532112, 1331532106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4480357170105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:35:42.642979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_56_9449.jpg', '/home/pi/Desktop/images/26012025/03/32/image_26012025_03_33_06_10337.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_17_10483.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_26_9381.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_36_10418.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_46_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_32_56_9449.jpg
/home/pi/Desktop/images/26012025/03/32/image_26012025_03_33_06_10337.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_17_10483.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_26_9381.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_36_10418.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_46_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331532153","1331532151","1331532148","1331532156","1331532159","1331532144"],"photo_ids_order":["1331532144","1331532148","1331532151","1331532153","1331532156","1331532159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/362a9c1005d949b17c4c44bb3f2584e2.jpg","text":"TemporaryFile(/tmp/multipartBody8193490052549870997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_33_26_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c717e6b00b63e0325f9c20da3d15dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8415310210657054878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_33_17_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/26/6b721ff548be0b44ecfde04163463af4.jpg","text":"TemporaryFile(/tmp/multipartBody8518593759432628383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_33_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d37679b3b4ec98afb03787ab0ee3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8401825051012144222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_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/26/16fd4cae4731b3112f51a8c4fb8e8038.jpg","text":"TemporaryFile(/tmp/multipartBody1065075252328723639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_33_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/65d34c155098626949c150de04b6927a.jpg","text":"TemporaryFile(/tmp/multipartBody6476064212742554175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859003556,"filename":"image_26012025_03_32_56_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532151","file1":"1331532148","file0":"1331532144","file4":"1331532156","file5":"1331532159","file3":"1331532153"},"map_files_photo_id_array":[{"photo_id":"1331532159","filename":"file5"},{"photo_id":"1331532151","filename":"file2"},{"photo_id":"1331532156","filename":"file4"},{"photo_id":"1331532148","filename":"file1"},{"photo_id":"1331532144","filename":"file0"},{"photo_id":"1331532153","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532153":["hashtag1","hashtag2"]},{"1331532151":["hashtag1","hashtag2"]},{"1331532148":["hashtag1","hashtag2"]},{"1331532156":["hashtag1","hashtag2"]},{"1331532159":["hashtag1","hashtag2"]},{"1331532144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532153, 1331532151, 1331532148, 1331532156, 1331532159, 1331532144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59138107299805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:36:32.909085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_56_10340.jpg', '/home/pi/Desktop/images/26012025/03/33/image_26012025_03_34_07_10386.jpg', '/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_16_9327.jpg', '/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_26_10369.jpg', '/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_46_9344.jpg', '/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_56_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_33_56_10340.jpg
/home/pi/Desktop/images/26012025/03/33/image_26012025_03_34_07_10386.jpg
/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_16_9327.jpg
/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_26_10369.jpg
/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_46_9344.jpg
/home/pi/Desktop/images/26012025/03/34/image_26012025_03_34_56_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":["1331532168","1331532176","1331532178","1331532172","1331532180","1331532165"],"photo_ids_order":["1331532165","1331532168","1331532172","1331532176","1331532178","1331532180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3346fa89cd6fa9332d37e633a550cc81.jpg","text":"TemporaryFile(/tmp/multipartBody256144875230007168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_34_07_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/26/35e48c4cef9b9fa5108f1dc5b557de25.jpg","text":"TemporaryFile(/tmp/multipartBody2720636140057654256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_34_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/26/65f193cc8ab8fd9fd909697926a920d3.jpg","text":"TemporaryFile(/tmp/multipartBody4415716612825224979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_34_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/26/ee3589a50d130fe8fe8c410db9f44900.jpg","text":"TemporaryFile(/tmp/multipartBody4069502290336812347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_34_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/26/79b0fe565bfd9c794f2802602e959d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7368126730595640884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_34_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/26/999b50ee45acb95d9e20fac58137d592.jpg","text":"TemporaryFile(/tmp/multipartBody7142642840446984375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859053844,"filename":"image_26012025_03_33_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532172","file1":"1331532168","file0":"1331532165","file4":"1331532178","file5":"1331532180","file3":"1331532176"},"map_files_photo_id_array":[{"photo_id":"1331532180","filename":"file5"},{"photo_id":"1331532172","filename":"file2"},{"photo_id":"1331532178","filename":"file4"},{"photo_id":"1331532168","filename":"file1"},{"photo_id":"1331532165","filename":"file0"},{"photo_id":"1331532176","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532168":["hashtag1","hashtag2"]},{"1331532176":["hashtag1","hashtag2"]},{"1331532178":["hashtag1","hashtag2"]},{"1331532172":["hashtag1","hashtag2"]},{"1331532180":["hashtag1","hashtag2"]},{"1331532165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532168, 1331532176, 1331532178, 1331532172, 1331532180, 1331532165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29602026939392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:37:33.176072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/34/image_26012025_03_35_06_9367.jpg', '/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_16_10339.jpg', '/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_26_10416.jpg', '/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_36_9396.jpg', '/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_46_10350.jpg', '/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_57_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/34/image_26012025_03_35_06_9367.jpg
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_16_10339.jpg
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_26_10416.jpg
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_36_9396.jpg
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_46_10350.jpg
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_35_57_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":["1331532201","1331532215","1331532212","1331532209","1331532217","1331532205"],"photo_ids_order":["1331532201","1331532205","1331532209","1331532212","1331532215","1331532217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/687fbea79b08163c2491183105330717.jpg","text":"TemporaryFile(/tmp/multipartBody1734510674945539520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_35_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/26/bfe6982206fce4ea429358ba5302a329.jpg","text":"TemporaryFile(/tmp/multipartBody2891321686528339957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_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/26/f655bed66e5e77551cda6e0910a07744.jpg","text":"TemporaryFile(/tmp/multipartBody1867687955269362188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_35_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/26/e5bdfa6ba027861584f90385c354c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8267076485966223805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_35_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/26/474262d5d89babfeb75b2aca82ff4de7.jpg","text":"TemporaryFile(/tmp/multipartBody1599849429962994588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_35_57_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64231b1ca8c0aeb4dead2aca379000e6.jpg","text":"TemporaryFile(/tmp/multipartBody203133957693150485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859114117,"filename":"image_26012025_03_35_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532209","file1":"1331532205","file0":"1331532201","file4":"1331532215","file5":"1331532217","file3":"1331532212"},"map_files_photo_id_array":[{"photo_id":"1331532217","filename":"file5"},{"photo_id":"1331532209","filename":"file2"},{"photo_id":"1331532215","filename":"file4"},{"photo_id":"1331532205","filename":"file1"},{"photo_id":"1331532201","filename":"file0"},{"photo_id":"1331532212","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532201":["hashtag1","hashtag2"]},{"1331532215":["hashtag1","hashtag2"]},{"1331532212":["hashtag1","hashtag2"]},{"1331532209":["hashtag1","hashtag2"]},{"1331532217":["hashtag1","hashtag2"]},{"1331532205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532201, 1331532215, 1331532212, 1331532209, 1331532217, 1331532205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40114402770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:38:32.303345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/35/image_26012025_03_36_06_9358.jpg', '/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_16_10354.jpg', '/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_27_10397.jpg', '/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_36_9362.jpg', '/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_46_10334.jpg', '/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_56_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/35/image_26012025_03_36_06_9358.jpg
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_16_10354.jpg
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_27_10397.jpg
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_36_9362.jpg
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_46_10334.jpg
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_36_56_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331532278","1331532245","1331532280","1331532253","1331532261","1331532258"],"photo_ids_order":["1331532245","1331532253","1331532258","1331532261","1331532278","1331532280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86bfff19691080fe65e2d4cbbb1ac882.jpg","text":"TemporaryFile(/tmp/multipartBody4470456589715282164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_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/26/fe3374319ff1d9dac1a1ca8340a140b0.jpg","text":"TemporaryFile(/tmp/multipartBody7618210214653853761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_06_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be9fe92c4a7a433e724ed34f0f45625e.jpg","text":"TemporaryFile(/tmp/multipartBody4070022462317387654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_56_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea4122e1d3bca4a07e1f89b999ac59c7.jpg","text":"TemporaryFile(/tmp/multipartBody6101850147579764999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_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/26/18d6a2015440e9b9a356a32a291eaa3d.jpg","text":"TemporaryFile(/tmp/multipartBody734105434563071985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_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/26/6881af26f749b8a8e110e55b41e01b55.jpg","text":"TemporaryFile(/tmp/multipartBody3938486649980591814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859173216,"filename":"image_26012025_03_36_27_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532258","file1":"1331532253","file0":"1331532245","file4":"1331532278","file5":"1331532280","file3":"1331532261"},"map_files_photo_id_array":[{"photo_id":"1331532280","filename":"file5"},{"photo_id":"1331532258","filename":"file2"},{"photo_id":"1331532278","filename":"file4"},{"photo_id":"1331532253","filename":"file1"},{"photo_id":"1331532245","filename":"file0"},{"photo_id":"1331532261","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532278":["hashtag1","hashtag2"]},{"1331532245":["hashtag1","hashtag2"]},{"1331532280":["hashtag1","hashtag2"]},{"1331532253":["hashtag1","hashtag2"]},{"1331532261":["hashtag1","hashtag2"]},{"1331532258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532278, 1331532245, 1331532280, 1331532253, 1331532261, 1331532258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.95941615104675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:39:32.524304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/36/image_26012025_03_37_06_10332.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_17_10418.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_26_9357.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_36_10339.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_46_9423.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_56_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_37_06_10332.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_17_10418.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_26_9357.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_36_10339.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_46_9423.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_56_10333.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5253567695617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:39:42.434359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/36/image_26012025_03_37_06_10332.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_17_10418.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_26_9357.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_36_10339.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_46_9423.jpg', '/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_56_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/36/image_26012025_03_37_06_10332.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_17_10418.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_26_9357.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_36_10339.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_46_9423.jpg
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_37_56_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":["1331532333","1331532329","1331532355","1331532313","1331532322","1331532336"],"photo_ids_order":["1331532313","1331532322","1331532329","1331532333","1331532336","1331532355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2501f75bef646317b1e7e2f5be12693b.jpg","text":"TemporaryFile(/tmp/multipartBody1974759719875422235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_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/26/1eca92c1070fb29f20293f5e30d3b72a.jpg","text":"TemporaryFile(/tmp/multipartBody3692442753738807330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_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/26/d97dc8903ab4faa5cbfe9152b39bfe10.jpg","text":"TemporaryFile(/tmp/multipartBody6627834800916015383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_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/26/1ec09b74d17ed757281c28bb8a52dee1.jpg","text":"TemporaryFile(/tmp/multipartBody8804902742996171520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_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/26/4b670aec5cabdc35447a51f4090e6918.jpg","text":"TemporaryFile(/tmp/multipartBody2731712280261802869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_17_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/26/6da253b32a72386616db90e57b6e53b7.jpg","text":"TemporaryFile(/tmp/multipartBody2765379812884288731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859243342,"filename":"image_26012025_03_37_46_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532329","file1":"1331532322","file0":"1331532313","file4":"1331532336","file5":"1331532355","file3":"1331532333"},"map_files_photo_id_array":[{"photo_id":"1331532355","filename":"file5"},{"photo_id":"1331532329","filename":"file2"},{"photo_id":"1331532336","filename":"file4"},{"photo_id":"1331532322","filename":"file1"},{"photo_id":"1331532313","filename":"file0"},{"photo_id":"1331532333","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532333":["hashtag1","hashtag2"]},{"1331532329":["hashtag1","hashtag2"]},{"1331532355":["hashtag1","hashtag2"]},{"1331532313":["hashtag1","hashtag2"]},{"1331532322":["hashtag1","hashtag2"]},{"1331532336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532333, 1331532329, 1331532355, 1331532313, 1331532322, 1331532336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.836278676986694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:40:32.772127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/37/image_26012025_03_38_07_10501.jpg', '/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_16_9456.jpg', '/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_26_10371.jpg', '/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_36_9322.jpg', '/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_46_10366.jpg', '/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_56_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/37/image_26012025_03_38_07_10501.jpg
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_16_9456.jpg
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_26_10371.jpg
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_36_9322.jpg
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_46_10366.jpg
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_38_56_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331532413","1331532457","1331532442","1331532430","1331532454","1331532406"],"photo_ids_order":["1331532406","1331532413","1331532430","1331532442","1331532454","1331532457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91effae23ffdecca4616f7c95bc10731.jpg","text":"TemporaryFile(/tmp/multipartBody3119744459757555914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_16_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/26/08412c59d7306c5dc2b0d053cd74c897.jpg","text":"TemporaryFile(/tmp/multipartBody4087450307306791081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_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/26/8eb079b22086675a79f4ea5f694c1f83.jpg","text":"TemporaryFile(/tmp/multipartBody479489085884752918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_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/26/ab21a734b1fc62baf5f15393d4720bf8.jpg","text":"TemporaryFile(/tmp/multipartBody9184664997639579836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4adcbe31a38b80c8a8bc70f44a914530.jpg","text":"TemporaryFile(/tmp/multipartBody2645326951306063642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_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/26/2ddef34f1bf6d9224f6afd46e3100c05.jpg","text":"TemporaryFile(/tmp/multipartBody1280988491552184164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859293705,"filename":"image_26012025_03_38_07_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532430","file1":"1331532413","file0":"1331532406","file4":"1331532454","file5":"1331532457","file3":"1331532442"},"map_files_photo_id_array":[{"photo_id":"1331532457","filename":"file5"},{"photo_id":"1331532430","filename":"file2"},{"photo_id":"1331532454","filename":"file4"},{"photo_id":"1331532413","filename":"file1"},{"photo_id":"1331532406","filename":"file0"},{"photo_id":"1331532442","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532413":["hashtag1","hashtag2"]},{"1331532457":["hashtag1","hashtag2"]},{"1331532442":["hashtag1","hashtag2"]},{"1331532430":["hashtag1","hashtag2"]},{"1331532454":["hashtag1","hashtag2"]},{"1331532406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532413, 1331532457, 1331532442, 1331532430, 1331532454, 1331532406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.508594036102295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:41:32.973957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/38/image_26012025_03_39_06_9411.jpg', '/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_16_10346.jpg', '/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_27_10398.jpg', '/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_36_9352.jpg', '/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_46_10354.jpg', '/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_56_9466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/38/image_26012025_03_39_06_9411.jpg
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_16_10346.jpg
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_27_10398.jpg
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_36_9352.jpg
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_46_10354.jpg
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_39_56_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":["1331532500","1331532503","1331532493","1331532506","1331532496","1331532508"],"photo_ids_order":["1331532493","1331532496","1331532500","1331532503","1331532506","1331532508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/598c438b883d8f37e244c128531e2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7445665084622221114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_39_27_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/26/be72cfc185ca55490490aa3609efeb7d.jpg","text":"TemporaryFile(/tmp/multipartBody8607816959322503735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_39_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/26/7a976d424fe83201d9823761ed6e1fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7503960164103880934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_39_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/26/e96c1f1593566c56b874602b159e336d.jpg","text":"TemporaryFile(/tmp/multipartBody2641470571915163438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_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/26/253ac60d5deffad98bd3812feb47a505.jpg","text":"TemporaryFile(/tmp/multipartBody4158791354966997757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_39_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/26/2be9d5774d4da41342cc33e34eba95a7.jpg","text":"TemporaryFile(/tmp/multipartBody871624004040774553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859353889,"filename":"image_26012025_03_39_56_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532500","file1":"1331532496","file0":"1331532493","file4":"1331532506","file5":"1331532508","file3":"1331532503"},"map_files_photo_id_array":[{"photo_id":"1331532508","filename":"file5"},{"photo_id":"1331532500","filename":"file2"},{"photo_id":"1331532506","filename":"file4"},{"photo_id":"1331532496","filename":"file1"},{"photo_id":"1331532493","filename":"file0"},{"photo_id":"1331532503","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532500":["hashtag1","hashtag2"]},{"1331532503":["hashtag1","hashtag2"]},{"1331532493":["hashtag1","hashtag2"]},{"1331532506":["hashtag1","hashtag2"]},{"1331532496":["hashtag1","hashtag2"]},{"1331532508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532500, 1331532503, 1331532493, 1331532506, 1331532496, 1331532508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02507257461548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:42:32.134086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/39/image_26012025_03_40_06_10335.jpg', '/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_16_10334.jpg', '/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_26_9391.jpg', '/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_36_10348.jpg', '/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_17_10334.jpg', '/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_26_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/39/image_26012025_03_40_06_10335.jpg
/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_16_10334.jpg
/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_26_9391.jpg
/home/pi/Desktop/images/26012025/03/40/image_26012025_03_40_36_10348.jpg
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_17_10334.jpg
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_26_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":["1331532516","1331532539","1331532533","1331532521","1331532553","1331532555"],"photo_ids_order":["1331532516","1331532521","1331532533","1331532539","1331532553","1331532555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0af9ffa24986b44fd76fc92c3081467b.jpg","text":"TemporaryFile(/tmp/multipartBody6403844350221795408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_40_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/26/3067bba8a08e7bf53c277e08a1863b40.jpg","text":"TemporaryFile(/tmp/multipartBody5837239896491011446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_40_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/26/ed004b89ac5cbf4c3b099dd87c317081.jpg","text":"TemporaryFile(/tmp/multipartBody3914070371937225971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_40_26_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/26/fcff5b960ec85a2fcd1f41c73a5bcb40.jpg","text":"TemporaryFile(/tmp/multipartBody4042068135821795661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_40_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/26/45cbad353dce55441c6e0a8a5f4b4c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7659189060495286036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_41_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/26/a9a25df3db5de3500c7eeb03c7370124.jpg","text":"TemporaryFile(/tmp/multipartBody7896481145519490504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859413033,"filename":"image_26012025_03_41_26_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532533","file1":"1331532521","file0":"1331532516","file4":"1331532553","file5":"1331532555","file3":"1331532539"},"map_files_photo_id_array":[{"photo_id":"1331532555","filename":"file5"},{"photo_id":"1331532533","filename":"file2"},{"photo_id":"1331532553","filename":"file4"},{"photo_id":"1331532521","filename":"file1"},{"photo_id":"1331532516","filename":"file0"},{"photo_id":"1331532539","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532516":["hashtag1","hashtag2"]},{"1331532539":["hashtag1","hashtag2"]},{"1331532533":["hashtag1","hashtag2"]},{"1331532521":["hashtag1","hashtag2"]},{"1331532553":["hashtag1","hashtag2"]},{"1331532555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532516, 1331532539, 1331532533, 1331532521, 1331532553, 1331532555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60584902763367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:43:32.351818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_36_10360.jpg', '/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_47_10354.jpg', '/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_56_9343.jpg', '/home/pi/Desktop/images/26012025/03/41/image_26012025_03_42_06_10331.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_16_9439.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_37_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_36_10360.jpg
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_47_10354.jpg
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_41_56_9343.jpg
/home/pi/Desktop/images/26012025/03/41/image_26012025_03_42_06_10331.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_16_9439.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_37_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":["1331532763","1331532616","1331532604","1331532607","1331532759","1331532753"],"photo_ids_order":["1331532604","1331532607","1331532616","1331532753","1331532759","1331532763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6706da8813a149fc58fe2b29cf5ed34a.jpg","text":"TemporaryFile(/tmp/multipartBody5216574238364706061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_42_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/26/ff310433075dfd585083a0a1cae3a579.jpg","text":"TemporaryFile(/tmp/multipartBody5785864775632444540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_41_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3910549950154105bc863162b6229e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2312170943886038019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_41_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/26/cd912dc2ace4954756e7686db678731c.jpg","text":"TemporaryFile(/tmp/multipartBody3666182039597669668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_41_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/26/8a7344aee3f8cb09e410571153b62960.jpg","text":"TemporaryFile(/tmp/multipartBody8772365773025018519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_42_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/26/3288986fa9dd89379fd9d8d8d98bf7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7990650134704106248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859473278,"filename":"image_26012025_03_42_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532616","file1":"1331532607","file0":"1331532604","file4":"1331532759","file5":"1331532763","file3":"1331532753"},"map_files_photo_id_array":[{"photo_id":"1331532763","filename":"file5"},{"photo_id":"1331532616","filename":"file2"},{"photo_id":"1331532759","filename":"file4"},{"photo_id":"1331532607","filename":"file1"},{"photo_id":"1331532604","filename":"file0"},{"photo_id":"1331532753","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532763":["hashtag1","hashtag2"]},{"1331532616":["hashtag1","hashtag2"]},{"1331532604":["hashtag1","hashtag2"]},{"1331532607":["hashtag1","hashtag2"]},{"1331532759":["hashtag1","hashtag2"]},{"1331532753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532763, 1331532616, 1331532604, 1331532607, 1331532759, 1331532753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85508322715759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:44:32.540120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_46_9337.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_56_10431.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_43_06_9327.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_46_10363.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_57_10432.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_44_06_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_46_9337.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_56_10431.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_43_06_9327.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_46_10363.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_57_10432.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_44_06_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.532318115234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:44:42.540509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_46_9337.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_56_10431.jpg', '/home/pi/Desktop/images/26012025/03/42/image_26012025_03_43_06_9327.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_46_10363.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_57_10432.jpg', '/home/pi/Desktop/images/26012025/03/43/image_26012025_03_44_06_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_46_9337.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_42_56_10431.jpg
/home/pi/Desktop/images/26012025/03/42/image_26012025_03_43_06_9327.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_46_10363.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_43_57_10432.jpg
/home/pi/Desktop/images/26012025/03/43/image_26012025_03_44_06_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":["1331532834","1331532860","1331532821","1331532833","1331532815","1331532831"],"photo_ids_order":["1331532815","1331532821","1331532831","1331532833","1331532834","1331532860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6fcfaec9f48c85b415f0def457a83d59.jpg","text":"TemporaryFile(/tmp/multipartBody2477819535855508471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_43_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/26/eddc86da83dfd7544a2ea6b8184f3abe.jpg","text":"TemporaryFile(/tmp/multipartBody1961734188341266874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_44_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6c7991a0453686cb5c78feff0643d09a.jpg","text":"TemporaryFile(/tmp/multipartBody1638164004476704281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_42_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/885bde29549fb36cb1280d5cc889ded5.jpg","text":"TemporaryFile(/tmp/multipartBody3509208223459546498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_43_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/26/8e6106c552b73ef456f0da62006add22.jpg","text":"TemporaryFile(/tmp/multipartBody1563793181523823426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_42_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f9440197eeb98ffb95ae8d6c42ae98d.jpg","text":"TemporaryFile(/tmp/multipartBody4349834304918369597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859543462,"filename":"image_26012025_03_43_06_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532831","file1":"1331532821","file0":"1331532815","file4":"1331532834","file5":"1331532860","file3":"1331532833"},"map_files_photo_id_array":[{"photo_id":"1331532860","filename":"file5"},{"photo_id":"1331532831","filename":"file2"},{"photo_id":"1331532834","filename":"file4"},{"photo_id":"1331532821","filename":"file1"},{"photo_id":"1331532815","filename":"file0"},{"photo_id":"1331532833","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532834":["hashtag1","hashtag2"]},{"1331532860":["hashtag1","hashtag2"]},{"1331532821":["hashtag1","hashtag2"]},{"1331532833":["hashtag1","hashtag2"]},{"1331532815":["hashtag1","hashtag2"]},{"1331532831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532834, 1331532860, 1331532821, 1331532833, 1331532815, 1331532831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96929454803467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:45:32.786460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/44/image_26012025_03_44_27_10403.jpg', '/home/pi/Desktop/images/26012025/03/44/image_26012025_03_44_36_9356.jpg', '/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_16_9432.jpg', '/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_46_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/44/image_26012025_03_44_27_10403.jpg
/home/pi/Desktop/images/26012025/03/44/image_26012025_03_44_36_9356.jpg
/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_16_9432.jpg
/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_46_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":["1331532883","1331532871","1331532888","1331532879"],"photo_ids_order":["1331532871","1331532879","1331532883","1331532888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/638890be5f4ce3681fddb8fa09c15d0c.jpg","text":"TemporaryFile(/tmp/multipartBody671113942090605953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859593674,"filename":"image_26012025_03_45_16_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/26/b04aae51674de66b44ed60707db1eaec.jpg","text":"TemporaryFile(/tmp/multipartBody7284222027761502207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859593674,"filename":"image_26012025_03_44_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/26/e1e4cb416b24aa46ce66cfe89b9d92d8.jpg","text":"TemporaryFile(/tmp/multipartBody2400005273449180828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859593674,"filename":"image_26012025_03_45_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb847c3e7a50e036f2d9f2e7a3290205.jpg","text":"TemporaryFile(/tmp/multipartBody7530733422606962592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859593674,"filename":"image_26012025_03_44_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532883","file1":"1331532879","file0":"1331532871","file3":"1331532888"},"map_files_photo_id_array":[{"photo_id":"1331532883","filename":"file2"},{"photo_id":"1331532879","filename":"file1"},{"photo_id":"1331532871","filename":"file0"},{"photo_id":"1331532888","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532883":["hashtag1","hashtag2"]},{"1331532871":["hashtag1","hashtag2"]},{"1331532888":["hashtag1","hashtag2"]},{"1331532879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532883, 1331532871, 1331532888, 1331532879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.274718761444092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:46:32.963044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_56_10351.jpg', '/home/pi/Desktop/images/26012025/03/45/image_26012025_03_46_07_10407.jpg', '/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_16_9331.jpg', '/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_37_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/45/image_26012025_03_45_56_10351.jpg
/home/pi/Desktop/images/26012025/03/45/image_26012025_03_46_07_10407.jpg
/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_16_9331.jpg
/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_37_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":["1331532912","1331532915","1331532920","1331532917"],"photo_ids_order":["1331532912","1331532915","1331532917","1331532920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46b6bce389fa6941204429c93a461e00.jpg","text":"TemporaryFile(/tmp/multipartBody7688299516591077312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859653850,"filename":"image_26012025_03_45_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a640c5c7703aa1e989d91ad9b8c6ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody6931526032172441926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859653850,"filename":"image_26012025_03_46_07_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3509e97a196e90446ad3f9633ca01d17.jpg","text":"TemporaryFile(/tmp/multipartBody5631270761809008570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859653850,"filename":"image_26012025_03_46_37_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d7f2b618508013cf6837063d3a07b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4253497808915992202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859653850,"filename":"image_26012025_03_46_16_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532917","file1":"1331532915","file0":"1331532912","file3":"1331532920"},"map_files_photo_id_array":[{"photo_id":"1331532917","filename":"file2"},{"photo_id":"1331532915","filename":"file1"},{"photo_id":"1331532912","filename":"file0"},{"photo_id":"1331532920","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532912":["hashtag1","hashtag2"]},{"1331532915":["hashtag1","hashtag2"]},{"1331532920":["hashtag1","hashtag2"]},{"1331532917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532912, 1331532915, 1331532920, 1331532917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.45520567893982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:47:32.218400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_46_9438.jpg', '/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_16_10422.jpg', '/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_36_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/46/image_26012025_03_46_46_9438.jpg
/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_16_10422.jpg
/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_36_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":["1331532942","1331532936","1331532939"],"photo_ids_order":["1331532936","1331532939","1331532942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5c7eb1a495662746d28254c30f8926b.jpg","text":"TemporaryFile(/tmp/multipartBody3644041021898640594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859713086,"filename":"image_26012025_03_47_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/26/ed29361342a04de53084af29b701bbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6690023830057031498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859713086,"filename":"image_26012025_03_46_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/26/05637a1e444b7cf7cd77056e20cdb83c.jpg","text":"TemporaryFile(/tmp/multipartBody815321813091490770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859713086,"filename":"image_26012025_03_47_16_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532942","file1":"1331532939","file0":"1331532936"},"map_files_photo_id_array":[{"photo_id":"1331532942","filename":"file2"},{"photo_id":"1331532939","filename":"file1"},{"photo_id":"1331532936","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532942":["hashtag1","hashtag2"]},{"1331532936":["hashtag1","hashtag2"]},{"1331532939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532942, 1331532936, 1331532939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.525819063186646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:48:03.065521
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_10501.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2351977825164795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:48:32.314628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_47_10415.jpg', '/home/pi/Desktop/images/26012025/03/47/image_26012025_03_48_06_10364.jpg', '/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_26_10344.jpg', '/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_37_10481.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/47/image_26012025_03_47_47_10415.jpg
/home/pi/Desktop/images/26012025/03/47/image_26012025_03_48_06_10364.jpg
/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_26_10344.jpg
/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_37_10481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331532970","1331532973","1331532967","1331532975"],"photo_ids_order":["1331532967","1331532970","1331532973","1331532975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26276cc4a0fbbffdc93f3232d840283c.jpg","text":"TemporaryFile(/tmp/multipartBody896093200368450002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859773220,"filename":"image_26012025_03_48_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/26/48e9ed6ad5d104792996bd0659311ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1431783985119502599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859773220,"filename":"image_26012025_03_48_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/26/ced774b6dc33516ee18a1de090418f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5735295909693972196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859773220,"filename":"image_26012025_03_47_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/26/de6fc42e1beeaff64768e97308cc5c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3836463477285563184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859773220,"filename":"image_26012025_03_48_37_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331532973","file1":"1331532970","file0":"1331532967","file3":"1331532975"},"map_files_photo_id_array":[{"photo_id":"1331532973","filename":"file2"},{"photo_id":"1331532970","filename":"file1"},{"photo_id":"1331532967","filename":"file0"},{"photo_id":"1331532975","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331532970":["hashtag1","hashtag2"]},{"1331532973":["hashtag1","hashtag2"]},{"1331532967":["hashtag1","hashtag2"]},{"1331532975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331532970, 1331532973, 1331532967, 1331532975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.202202558517456 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-26 03:49:32.477802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_46_9359.jpg', '/home/pi/Desktop/images/26012025/03/48/image_26012025_03_49_06_9330.jpg', '/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_16_10359.jpg', '/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_26_10341.jpg', '/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_36_9443.jpg', '/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_46_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/48/image_26012025_03_48_46_9359.jpg
/home/pi/Desktop/images/26012025/03/48/image_26012025_03_49_06_9330.jpg
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_16_10359.jpg
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_26_10341.jpg
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_36_9443.jpg
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_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":["1331533145","1331533142","1331533144","1331533140","1331533143","1331533137"],"photo_ids_order":["1331533137","1331533140","1331533142","1331533143","1331533144","1331533145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34c85c4b676429591fd31b843401e33e.jpg","text":"TemporaryFile(/tmp/multipartBody3194894289511828673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_49_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/26/ed1cace56817463de4f446062d43021e.jpg","text":"TemporaryFile(/tmp/multipartBody1458023771913038053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_49_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/26/5748ad22233a005b622633d5f6d65b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7627247031575512605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_49_36_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/26/1619a052c7715d97baf628bea36176d2.jpg","text":"TemporaryFile(/tmp/multipartBody2527793355138884735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_49_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d659414b94439d046e9a4059e4b55d2.jpg","text":"TemporaryFile(/tmp/multipartBody8022966362088547457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_49_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/26/8ffd65dd8c5d9fdf6fd4ebaf771fd4af.jpg","text":"TemporaryFile(/tmp/multipartBody8711460272229821977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859833403,"filename":"image_26012025_03_48_46_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331533142","file1":"1331533140","file0":"1331533137","file4":"1331533144","file5":"1331533145","file3":"1331533143"},"map_files_photo_id_array":[{"photo_id":"1331533145","filename":"file5"},{"photo_id":"1331533142","filename":"file2"},{"photo_id":"1331533144","filename":"file4"},{"photo_id":"1331533140","filename":"file1"},{"photo_id":"1331533137","filename":"file0"},{"photo_id":"1331533143","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331533145":["hashtag1","hashtag2"]},{"1331533142":["hashtag1","hashtag2"]},{"1331533144":["hashtag1","hashtag2"]},{"1331533140":["hashtag1","hashtag2"]},{"1331533143":["hashtag1","hashtag2"]},{"1331533137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331533145, 1331533142, 1331533144, 1331533140, 1331533143, 1331533137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.196577072143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:50:32.802113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_56_9505.jpg', '/home/pi/Desktop/images/26012025/03/49/image_26012025_03_50_06_10344.jpg', '/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_16_10342.jpg', '/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_26_9405.jpg', '/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_49_56_9505.jpg
/home/pi/Desktop/images/26012025/03/49/image_26012025_03_50_06_10344.jpg
/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_16_10342.jpg
/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_26_9405.jpg
/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_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":["1331533209","1331533201","1331533185","1331533215","1331533230"],"photo_ids_order":["1331533185","1331533201","1331533209","1331533215","1331533230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fff84e752d2b38bc171a8406eb36aab3.jpg","text":"TemporaryFile(/tmp/multipartBody28476642600654620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859894342,"filename":"image_26012025_03_50_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/26/0dc1f1fca63b2686ec3678e2a6a51182.jpg","text":"TemporaryFile(/tmp/multipartBody7316839290130083311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859894342,"filename":"image_26012025_03_50_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab1cd2c04869bcbf088633b603329868.jpg","text":"TemporaryFile(/tmp/multipartBody6856413869298840686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859894342,"filename":"image_26012025_03_49_56_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d2922ecd8a580270c4d8b2771586a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7646148955794056867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859894342,"filename":"image_26012025_03_50_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/26/119513cf5a757c399419ea53c56a711c.jpg","text":"TemporaryFile(/tmp/multipartBody5961278421527434863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859894342,"filename":"image_26012025_03_50_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331533209","file1":"1331533201","file0":"1331533185","file4":"1331533230","file3":"1331533215"},"map_files_photo_id_array":[{"photo_id":"1331533209","filename":"file2"},{"photo_id":"1331533230","filename":"file4"},{"photo_id":"1331533201","filename":"file1"},{"photo_id":"1331533185","filename":"file0"},{"photo_id":"1331533215","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331533209":["hashtag1","hashtag2"]},{"1331533201":["hashtag1","hashtag2"]},{"1331533185":["hashtag1","hashtag2"]},{"1331533215":["hashtag1","hashtag2"]},{"1331533230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331533209, 1331533201, 1331533185, 1331533215, 1331533230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.892417669296265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:51:33.078787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_56_9350.jpg', '/home/pi/Desktop/images/26012025/03/51/image_26012025_03_51_46_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/50/image_26012025_03_50_56_9350.jpg
/home/pi/Desktop/images/26012025/03/51/image_26012025_03_51_46_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":["1331533313","1331533311"],"photo_ids_order":["1331533311","1331533313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91d6f8753d5687b5e38174923294dd03.jpg","text":"TemporaryFile(/tmp/multipartBody2618665278810564103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859953937,"filename":"image_26012025_03_51_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/26/42ab706d9648ebacad1d87a2e2d20cce.jpg","text":"TemporaryFile(/tmp/multipartBody4807355858944146902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737859953937,"filename":"image_26012025_03_50_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331533313","file0":"1331533311"},"map_files_photo_id_array":[{"photo_id":"1331533313","filename":"file1"},{"photo_id":"1331533311","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331533313":["hashtag1","hashtag2"]},{"1331533311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331533313, 1331533311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.28489112854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:52:02.878465
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_10501.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.172835111618042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:52:32.224738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/51/image_26012025_03_51_56_10337.jpg', '/home/pi/Desktop/images/26012025/03/51/image_26012025_03_52_06_10339.jpg', '/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_16_9409.jpg', '/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_26_10347.jpg', '/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_37_10433.jpg', '/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_46_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/51/image_26012025_03_51_56_10337.jpg
/home/pi/Desktop/images/26012025/03/51/image_26012025_03_52_06_10339.jpg
/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_16_9409.jpg
/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_26_10347.jpg
/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_37_10433.jpg
/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331533649","1331534041","1331533834","1331534226","1331533473","1331533356"],"photo_ids_order":["1331533356","1331533473","1331533649","1331533834","1331534041","1331534226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2cc387e8339fdc5f893444b3d568f61.jpg","text":"TemporaryFile(/tmp/multipartBody2531432882708799331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_52_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/26/0f14ae05e152f4c69c008616c832a401.jpg","text":"TemporaryFile(/tmp/multipartBody7422923119755147371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_52_37_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/26/2c5454a0dee1c573370dbfdd31ad76fd.jpg","text":"TemporaryFile(/tmp/multipartBody765879801196736661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_52_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/26/038ae681c579e5b159733c837172cbcd.jpg","text":"TemporaryFile(/tmp/multipartBody2979159041086536860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_52_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/483666b9efa99dacdc944e59d0ffea7e.jpg","text":"TemporaryFile(/tmp/multipartBody8398782178697643115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_52_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/26/3689e42f48c94cd94d20b73b86f5cee3.jpg","text":"TemporaryFile(/tmp/multipartBody8646861414600121576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860013141,"filename":"image_26012025_03_51_56_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331533649","file1":"1331533473","file0":"1331533356","file4":"1331534041","file5":"1331534226","file3":"1331533834"},"map_files_photo_id_array":[{"photo_id":"1331534226","filename":"file5"},{"photo_id":"1331533649","filename":"file2"},{"photo_id":"1331534041","filename":"file4"},{"photo_id":"1331533473","filename":"file1"},{"photo_id":"1331533356","filename":"file0"},{"photo_id":"1331533834","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331533649":["hashtag1","hashtag2"]},{"1331534041":["hashtag1","hashtag2"]},{"1331533834":["hashtag1","hashtag2"]},{"1331534226":["hashtag1","hashtag2"]},{"1331533473":["hashtag1","hashtag2"]},{"1331533356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331533649, 1331534041, 1331533834, 1331534226, 1331533473, 1331533356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.399749994277954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:53:32.377024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_56_10334.jpg', '/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_16_10356.jpg', '/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_26_10336.jpg', '/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_36_9426.jpg', '/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/52/image_26012025_03_52_56_10334.jpg
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_16_10356.jpg
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_26_10336.jpg
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_36_9426.jpg
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_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":["1331534735","1331534729","1331534723","1331534732","1331534726"],"photo_ids_order":["1331534723","1331534726","1331534729","1331534732","1331534735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b95aa02e1c0ccbcea5a5a00c7bb3039c.jpg","text":"TemporaryFile(/tmp/multipartBody1519870512638395813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860073274,"filename":"image_26012025_03_53_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a3f26160d4b7b2e6cb00d634d0c0a45.jpg","text":"TemporaryFile(/tmp/multipartBody4366534793903504737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860073274,"filename":"image_26012025_03_53_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/26/3773dfc58fe281609f2f3eadc4cc6f0a.jpg","text":"TemporaryFile(/tmp/multipartBody980996331756157456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860073274,"filename":"image_26012025_03_52_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/26/9bd571f731ceb60e407c226d0102c597.jpg","text":"TemporaryFile(/tmp/multipartBody4948340153356187691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860073274,"filename":"image_26012025_03_53_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3db8b50d0de23705848db704158b6868.jpg","text":"TemporaryFile(/tmp/multipartBody5874521666860201828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860073274,"filename":"image_26012025_03_53_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331534729","file1":"1331534726","file0":"1331534723","file4":"1331534735","file3":"1331534732"},"map_files_photo_id_array":[{"photo_id":"1331534729","filename":"file2"},{"photo_id":"1331534735","filename":"file4"},{"photo_id":"1331534726","filename":"file1"},{"photo_id":"1331534723","filename":"file0"},{"photo_id":"1331534732","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331534735":["hashtag1","hashtag2"]},{"1331534729":["hashtag1","hashtag2"]},{"1331534723":["hashtag1","hashtag2"]},{"1331534732":["hashtag1","hashtag2"]},{"1331534726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331534735, 1331534729, 1331534723, 1331534732, 1331534726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.17589497566223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:54:32.532793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_57_10398.jpg', '/home/pi/Desktop/images/26012025/03/53/image_26012025_03_54_06_9434.jpg', '/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_16_10344.jpg', '/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_26_9437.jpg', '/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_36_10357.jpg', '/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_47_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_53_57_10398.jpg
/home/pi/Desktop/images/26012025/03/53/image_26012025_03_54_06_9434.jpg
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_16_10344.jpg
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_26_9437.jpg
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_36_10357.jpg
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_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":["1331534801","1331534804","1331534799","1331534946","1331534868","1331534795"],"photo_ids_order":["1331534795","1331534799","1331534801","1331534804","1331534868","1331534946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b897292f0bd3e13d4b01d888c2920fa.jpg","text":"TemporaryFile(/tmp/multipartBody1191803089298367900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_54_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/26/9b8b0f5158158275d8b54b63b458e049.jpg","text":"TemporaryFile(/tmp/multipartBody3918487969518200692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_54_26_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/562f6e12125fc611b73fcd1ff0772bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6199768394490993167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_54_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/26/1df2ba52b3ef07f7a27e834de9a03a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2795221624867884493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_54_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/728cb2c535609562a5dd064f3b1fa6ee.jpg","text":"TemporaryFile(/tmp/multipartBody7472809963069279086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_54_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/26/17c4ce96e430c401915aec647e01403d.jpg","text":"TemporaryFile(/tmp/multipartBody3546048456717328165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860133447,"filename":"image_26012025_03_53_57_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331534801","file1":"1331534799","file0":"1331534795","file4":"1331534868","file5":"1331534946","file3":"1331534804"},"map_files_photo_id_array":[{"photo_id":"1331534946","filename":"file5"},{"photo_id":"1331534801","filename":"file2"},{"photo_id":"1331534868","filename":"file4"},{"photo_id":"1331534799","filename":"file1"},{"photo_id":"1331534795","filename":"file0"},{"photo_id":"1331534804","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331534801":["hashtag1","hashtag2"]},{"1331534804":["hashtag1","hashtag2"]},{"1331534799":["hashtag1","hashtag2"]},{"1331534946":["hashtag1","hashtag2"]},{"1331534868":["hashtag1","hashtag2"]},{"1331534795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331534801, 1331534804, 1331534799, 1331534946, 1331534868, 1331534795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.624982595443726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:55:32.779343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_56_9380.jpg', '/home/pi/Desktop/images/26012025/03/54/image_26012025_03_55_06_10340.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_17_10352.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_27_9861.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_36_9357.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_54_56_9380.jpg
/home/pi/Desktop/images/26012025/03/54/image_26012025_03_55_06_10340.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_17_10352.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_27_9861.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_36_9357.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_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":["1331535489","1331535468","1331535528","1331535531","1331535386","1331535524"],"photo_ids_order":["1331535386","1331535468","1331535489","1331535524","1331535528","1331535531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0cb64a4c2c6c1c98037e7460723c6046.jpg","text":"TemporaryFile(/tmp/multipartBody8484147947913531752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_55_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72a2b6b8d5a09b2f06f3f47a2d215548.jpg","text":"TemporaryFile(/tmp/multipartBody6090398152235981200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_55_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/26/02ad86cd5c6a3078ea9d4ce9656a2f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1606927570372023492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_55_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/26/2ccdcc49e750eef2843605c3e28e5af1.jpg","text":"TemporaryFile(/tmp/multipartBody3627679517765627166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_55_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/26/6e349adc2c8dfb6b1b700c36076eda93.jpg","text":"TemporaryFile(/tmp/multipartBody5170971458803314771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_54_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/26/0e38f8f48ccb6e32aba9361b70ea70dc.jpg","text":"TemporaryFile(/tmp/multipartBody3494199153244258275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860193694,"filename":"image_26012025_03_55_27_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331535489","file1":"1331535468","file0":"1331535386","file4":"1331535528","file5":"1331535531","file3":"1331535524"},"map_files_photo_id_array":[{"photo_id":"1331535531","filename":"file5"},{"photo_id":"1331535489","filename":"file2"},{"photo_id":"1331535528","filename":"file4"},{"photo_id":"1331535468","filename":"file1"},{"photo_id":"1331535386","filename":"file0"},{"photo_id":"1331535524","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331535489":["hashtag1","hashtag2"]},{"1331535468":["hashtag1","hashtag2"]},{"1331535528":["hashtag1","hashtag2"]},{"1331535531":["hashtag1","hashtag2"]},{"1331535386":["hashtag1","hashtag2"]},{"1331535524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331535489, 1331535468, 1331535528, 1331535531, 1331535386, 1331535524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.43110942840576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:56:33.119857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_56_9585.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_56_06_10327.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_17_10409.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_26_9331.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_56_9585.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_56_06_10327.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_17_10409.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_26_9331.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_47_10445.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5326533317565918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 03:56:42.971278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_56_9585.jpg', '/home/pi/Desktop/images/26012025/03/55/image_26012025_03_56_06_10327.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_17_10409.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_26_9331.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_47_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_55_56_9585.jpg
/home/pi/Desktop/images/26012025/03/55/image_26012025_03_56_06_10327.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_17_10409.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_26_9331.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_47_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331535643","1331535637","1331535641","1331535647","1331535632"],"photo_ids_order":["1331535632","1331535637","1331535641","1331535643","1331535647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7115a97c41e23f679fbe0032d39d9585.jpg","text":"TemporaryFile(/tmp/multipartBody7727313491503551505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860263879,"filename":"image_26012025_03_56_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/26/7771596bfa8ee4cddde8b037d97a04b0.jpg","text":"TemporaryFile(/tmp/multipartBody1198286427826547850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860263879,"filename":"image_26012025_03_56_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/26/09c8a6ee4989ec29891b0d3be387bb5d.jpg","text":"TemporaryFile(/tmp/multipartBody6639750602302650995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860263879,"filename":"image_26012025_03_56_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/428d1667cf418bf374accd582f871976.jpg","text":"TemporaryFile(/tmp/multipartBody3943992402610519339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860263879,"filename":"image_26012025_03_56_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/26/9f153b5375afac222f24278f7d08c109.jpg","text":"TemporaryFile(/tmp/multipartBody4691191947702850168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860263879,"filename":"image_26012025_03_55_56_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331535641","file1":"1331535637","file0":"1331535632","file4":"1331535647","file3":"1331535643"},"map_files_photo_id_array":[{"photo_id":"1331535641","filename":"file2"},{"photo_id":"1331535647","filename":"file4"},{"photo_id":"1331535637","filename":"file1"},{"photo_id":"1331535632","filename":"file0"},{"photo_id":"1331535643","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331535643":["hashtag1","hashtag2"]},{"1331535637":["hashtag1","hashtag2"]},{"1331535641":["hashtag1","hashtag2"]},{"1331535647":["hashtag1","hashtag2"]},{"1331535632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331535643, 1331535637, 1331535641, 1331535647, 1331535632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.50532007217407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:57:32.337454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_46_9416.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-26 03:59:04.474764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_46_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.6822123527526855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 03:59:33.011775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg', '/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_46_9416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_56_56_9352.jpg
/home/pi/Desktop/images/26012025/03/56/image_26012025_03_57_06_10356.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_16_9323.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_26_10352.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_36_10341.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_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":["1331535751","1331535757","1331535747","1331535761","1331535755","1331535734"],"photo_ids_order":["1331535734","1331535747","1331535751","1331535755","1331535757","1331535761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6286bfb9f7947637f240e6af4d124c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3903006635572598762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_57_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c46cd8b541a1845ef05f4385f9ab020d.jpg","text":"TemporaryFile(/tmp/multipartBody4944621753552189891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_57_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/26/e3ddbc7692e02022646d8a5f07a8d499.jpg","text":"TemporaryFile(/tmp/multipartBody5654563756445111860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_57_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/26/2dcef1afbd7550d7961f375568bf0d83.jpg","text":"TemporaryFile(/tmp/multipartBody1851024259936509018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_57_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/26/c37f12cf27ca15824b6e26fb04f43510.jpg","text":"TemporaryFile(/tmp/multipartBody246646296290257087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_57_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/26/8696dcf6c4cb2f91c56d144881bfe349.jpg","text":"TemporaryFile(/tmp/multipartBody5878620050038558312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860433926,"filename":"image_26012025_03_56_56_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331535751","file1":"1331535747","file0":"1331535734","file4":"1331535757","file5":"1331535761","file3":"1331535755"},"map_files_photo_id_array":[{"photo_id":"1331535761","filename":"file5"},{"photo_id":"1331535751","filename":"file2"},{"photo_id":"1331535757","filename":"file4"},{"photo_id":"1331535747","filename":"file1"},{"photo_id":"1331535734","filename":"file0"},{"photo_id":"1331535755","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331535751":["hashtag1","hashtag2"]},{"1331535757":["hashtag1","hashtag2"]},{"1331535747":["hashtag1","hashtag2"]},{"1331535761":["hashtag1","hashtag2"]},{"1331535755":["hashtag1","hashtag2"]},{"1331535734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331535751, 1331535757, 1331535747, 1331535761, 1331535755, 1331535734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60568356513977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:00:32.175760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_56_10367.jpg', '/home/pi/Desktop/images/26012025/03/57/image_26012025_03_58_07_10393.jpg', '/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_16_9355.jpg', '/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_26_10371.jpg', '/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_37_10354.jpg', '/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_46_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_57_56_10367.jpg
/home/pi/Desktop/images/26012025/03/57/image_26012025_03_58_07_10393.jpg
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_16_9355.jpg
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_26_10371.jpg
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_37_10354.jpg
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_46_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":["1331536122","1331536026","1331536163","1331536004","1331536063","1331535926"],"photo_ids_order":["1331535926","1331536004","1331536026","1331536063","1331536122","1331536163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c08f6c1a1ffed6f51dddcfbe5ab09860.jpg","text":"TemporaryFile(/tmp/multipartBody8803778689171956635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_58_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/26/d918a3da9727716ec421c3ca0e69ef16.jpg","text":"TemporaryFile(/tmp/multipartBody6949777564662154332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_58_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/26/13e614294351245cbefeb4bd8032addf.jpg","text":"TemporaryFile(/tmp/multipartBody4753108520371166279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_58_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eaae6f8e310d0836b693452863717bfa.jpg","text":"TemporaryFile(/tmp/multipartBody7612549466561864937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_58_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c06a3fb87281b9b3fd0348a68fdf66b2.jpg","text":"TemporaryFile(/tmp/multipartBody6039415722717028329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_58_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4d63d37e50ce25cb7fbf222c58f5d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody763947505951675274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860493104,"filename":"image_26012025_03_57_56_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331536026","file1":"1331536004","file0":"1331535926","file4":"1331536122","file5":"1331536163","file3":"1331536063"},"map_files_photo_id_array":[{"photo_id":"1331536163","filename":"file5"},{"photo_id":"1331536026","filename":"file2"},{"photo_id":"1331536122","filename":"file4"},{"photo_id":"1331536004","filename":"file1"},{"photo_id":"1331535926","filename":"file0"},{"photo_id":"1331536063","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331536122":["hashtag1","hashtag2"]},{"1331536026":["hashtag1","hashtag2"]},{"1331536163":["hashtag1","hashtag2"]},{"1331536004":["hashtag1","hashtag2"]},{"1331536063":["hashtag1","hashtag2"]},{"1331535926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331536122, 1331536026, 1331536163, 1331536004, 1331536063, 1331535926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.66236138343811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:01:32.435841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_56_10344.jpg', '/home/pi/Desktop/images/26012025/03/58/image_26012025_03_59_06_9391.jpg', '/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_16_10365.jpg', '/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_46_10435.jpg', '/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_57_10359.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_14_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_58_56_10344.jpg
/home/pi/Desktop/images/26012025/03/58/image_26012025_03_59_06_9391.jpg
/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_16_10365.jpg
/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_46_10435.jpg
/home/pi/Desktop/images/26012025/03/59/image_26012025_03_59_57_10359.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_14_10075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331536677","1331536626","1331536382","1331536556","1331536607","1331536465"],"photo_ids_order":["1331536382","1331536465","1331536556","1331536607","1331536626","1331536677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cedaeeda3e2c8291beea2ef21433b179.jpg","text":"TemporaryFile(/tmp/multipartBody6002246999103328370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_04_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f9089ba2e8bc5e6cde886aa883f412f3.jpg","text":"TemporaryFile(/tmp/multipartBody5441829599105631225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_03_59_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/26/92714c810dfbb50749d728958b6ab713.jpg","text":"TemporaryFile(/tmp/multipartBody7451735553374174187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_03_58_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/26/89ff71efec812d768f9b416e194f3238.jpg","text":"TemporaryFile(/tmp/multipartBody1214267055615055723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_03_59_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e9676ca337900ceb8a72b25acf405b6.jpg","text":"TemporaryFile(/tmp/multipartBody6139585162082287048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_03_59_46_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/26/a202eda383b5560da2bb5e6df60b2679.jpg","text":"TemporaryFile(/tmp/multipartBody8115112927280853039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860553396,"filename":"image_26012025_03_59_06_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331536556","file1":"1331536465","file0":"1331536382","file4":"1331536626","file5":"1331536677","file3":"1331536607"},"map_files_photo_id_array":[{"photo_id":"1331536677","filename":"file5"},{"photo_id":"1331536556","filename":"file2"},{"photo_id":"1331536626","filename":"file4"},{"photo_id":"1331536465","filename":"file1"},{"photo_id":"1331536382","filename":"file0"},{"photo_id":"1331536607","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331536677":["hashtag1","hashtag2"]},{"1331536626":["hashtag1","hashtag2"]},{"1331536382":["hashtag1","hashtag2"]},{"1331536556":["hashtag1","hashtag2"]},{"1331536607":["hashtag1","hashtag2"]},{"1331536465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331536677, 1331536626, 1331536382, 1331536556, 1331536607, 1331536465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.38571047782898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:02:32.696673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_35_10336.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_44_9354.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_54_10353.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_02_05_10378.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_14_9327.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_34_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_35_10336.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_44_9354.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_54_10353.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_02_05_10378.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_14_9327.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_34_9390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.546727180480957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:02:42.550346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_35_10336.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_44_9354.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_54_10353.jpg', '/home/pi/Desktop/images/26012025/04/01/image_26012025_04_02_05_10378.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_14_9327.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_34_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_35_10336.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_44_9354.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_01_54_10353.jpg
/home/pi/Desktop/images/26012025/04/01/image_26012025_04_02_05_10378.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_14_9327.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_34_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331537127","1331537186","1331537234","1331537516","1331537287","1331537487"],"photo_ids_order":["1331537127","1331537186","1331537234","1331537287","1331537487","1331537516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0ed7cdeb71fbaca4bb94beb48464a62.jpg","text":"TemporaryFile(/tmp/multipartBody1829706961126594378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_01_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/26/03f7709a5350f573f503ba26f3246433.jpg","text":"TemporaryFile(/tmp/multipartBody4519002091296875734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_01_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95031002b489b8a1de0f1bc555f8ffd9.jpg","text":"TemporaryFile(/tmp/multipartBody1029801315983749733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_01_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/26/a709fd0f7ac4de7a35ea1a6cb3cfee5d.jpg","text":"TemporaryFile(/tmp/multipartBody6259684958917277107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_02_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e938880c783df76ec1c234f3d8569850.jpg","text":"TemporaryFile(/tmp/multipartBody4411104837176630882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_02_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/26/31135c7763d1252048fbca1426f63ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8362621399733381506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860623455,"filename":"image_26012025_04_02_14_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331537234","file1":"1331537186","file0":"1331537127","file4":"1331537487","file5":"1331537516","file3":"1331537287"},"map_files_photo_id_array":[{"photo_id":"1331537516","filename":"file5"},{"photo_id":"1331537234","filename":"file2"},{"photo_id":"1331537487","filename":"file4"},{"photo_id":"1331537186","filename":"file1"},{"photo_id":"1331537127","filename":"file0"},{"photo_id":"1331537287","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331537127":["hashtag1","hashtag2"]},{"1331537186":["hashtag1","hashtag2"]},{"1331537234":["hashtag1","hashtag2"]},{"1331537516":["hashtag1","hashtag2"]},{"1331537287":["hashtag1","hashtag2"]},{"1331537487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331537127, 1331537186, 1331537234, 1331537516, 1331537287, 1331537487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.644174098968506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:03:32.903284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_44_10372.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_55_10362.jpg', '/home/pi/Desktop/images/26012025/04/02/image_26012025_04_03_04_9366.jpg', '/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_14_10340.jpg', '/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_25_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_44_10372.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_02_55_10362.jpg
/home/pi/Desktop/images/26012025/04/02/image_26012025_04_03_04_9366.jpg
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_14_10340.jpg
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_25_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":["1331537894","1331537831","1331537732","1331537692","1331537973"],"photo_ids_order":["1331537692","1331537732","1331537831","1331537894","1331537973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/389bbb8511fd261aa7ac00a8fee91a52.jpg","text":"TemporaryFile(/tmp/multipartBody4376898338515444213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860673819,"filename":"image_26012025_04_03_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/26/926979b0db6e80d5e0a4f32bba64da41.jpg","text":"TemporaryFile(/tmp/multipartBody8973360980152049592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860673819,"filename":"image_26012025_04_03_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f0481fa31d80c1ab4408973802fdf4b.jpg","text":"TemporaryFile(/tmp/multipartBody2959704608662712608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860673819,"filename":"image_26012025_04_02_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/26/faf06e82e9144db17b8851eee0ed843f.jpg","text":"TemporaryFile(/tmp/multipartBody711681347017307654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860673819,"filename":"image_26012025_04_02_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29ee853aa07543c8fb622201825addee.jpg","text":"TemporaryFile(/tmp/multipartBody6717533943605172718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860673819,"filename":"image_26012025_04_03_25_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331537831","file1":"1331537732","file0":"1331537692","file4":"1331537973","file3":"1331537894"},"map_files_photo_id_array":[{"photo_id":"1331537831","filename":"file2"},{"photo_id":"1331537973","filename":"file4"},{"photo_id":"1331537732","filename":"file1"},{"photo_id":"1331537692","filename":"file0"},{"photo_id":"1331537894","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331537894":["hashtag1","hashtag2"]},{"1331537831":["hashtag1","hashtag2"]},{"1331537732":["hashtag1","hashtag2"]},{"1331537692":["hashtag1","hashtag2"]},{"1331537973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331537894, 1331537831, 1331537732, 1331537692, 1331537973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.49719047546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:04:33.154500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_34_9346.jpg', '/home/pi/Desktop/images/26012025/04/03/image_26012025_04_04_05_10441.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_14_9425.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_35_10331.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_44_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_34_9346.jpg
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_04_05_10441.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_14_9425.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_35_10331.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_44_9384.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5184786319732666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:04:43.139438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_34_9346.jpg', '/home/pi/Desktop/images/26012025/04/03/image_26012025_04_04_05_10441.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_14_9425.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_35_10331.jpg', '/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_44_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_03_34_9346.jpg
/home/pi/Desktop/images/26012025/04/03/image_26012025_04_04_05_10441.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_14_9425.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_35_10331.jpg
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_44_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":["1331538641","1331538548","1331538829","1331538531","1331538918"],"photo_ids_order":["1331538531","1331538548","1331538641","1331538829","1331538918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5b6c2a8a111adba8cf41bd8e5f13943.jpg","text":"TemporaryFile(/tmp/multipartBody1454185621645523274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860744102,"filename":"image_26012025_04_04_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/26/bca0637931bd8f6a3421bfb1fbb2731f.jpg","text":"TemporaryFile(/tmp/multipartBody8661611308484722945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860744102,"filename":"image_26012025_04_04_05_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/26/badf6cf6f0e3f49da208d6763b6d85f4.jpg","text":"TemporaryFile(/tmp/multipartBody7527758304140402249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860744102,"filename":"image_26012025_04_04_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d100a2fbc23215ba07602499e942502b.jpg","text":"TemporaryFile(/tmp/multipartBody6348957269779205778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860744102,"filename":"image_26012025_04_03_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/26/e3427d7739022228035f2fa8aeaf1cab.jpg","text":"TemporaryFile(/tmp/multipartBody8978942175459585905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860744102,"filename":"image_26012025_04_04_44_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331538641","file1":"1331538548","file0":"1331538531","file4":"1331538918","file3":"1331538829"},"map_files_photo_id_array":[{"photo_id":"1331538641","filename":"file2"},{"photo_id":"1331538918","filename":"file4"},{"photo_id":"1331538548","filename":"file1"},{"photo_id":"1331538531","filename":"file0"},{"photo_id":"1331538829","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331538641":["hashtag1","hashtag2"]},{"1331538548":["hashtag1","hashtag2"]},{"1331538829":["hashtag1","hashtag2"]},{"1331538531":["hashtag1","hashtag2"]},{"1331538918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331538641, 1331538548, 1331538829, 1331538531, 1331538918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.07328677177429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:05:42.412817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_55_10418.jpg', '/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_14_9338.jpg', '/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_25_10389.jpg', '/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_34_9352.jpg', '/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_44_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/04/image_26012025_04_04_55_10418.jpg
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_14_9338.jpg
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_25_10389.jpg
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_34_9352.jpg
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_44_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":["1331539241","1331539172","1331539258","1331539407","1331539311"],"photo_ids_order":["1331539172","1331539241","1331539258","1331539311","1331539407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ba6cd69b14009918477670dbba942a4.jpg","text":"TemporaryFile(/tmp/multipartBody1758924164185202647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860803318,"filename":"image_26012025_04_05_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/26/6585a18c84a86df477507f708da4d06c.jpg","text":"TemporaryFile(/tmp/multipartBody857392429026630348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860803318,"filename":"image_26012025_04_04_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/26/60c082ebaedbb38f4e4c72d29a765514.jpg","text":"TemporaryFile(/tmp/multipartBody3735078008027952509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860803318,"filename":"image_26012025_04_05_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/26/cdd46d37713e5f5a9414a704bbd86702.jpg","text":"TemporaryFile(/tmp/multipartBody1910088213570880327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860803318,"filename":"image_26012025_04_05_44_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee601e48306591f7416af2d9101e2c85.jpg","text":"TemporaryFile(/tmp/multipartBody782373699865704895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860803318,"filename":"image_26012025_04_05_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331539258","file1":"1331539241","file0":"1331539172","file4":"1331539407","file3":"1331539311"},"map_files_photo_id_array":[{"photo_id":"1331539258","filename":"file2"},{"photo_id":"1331539407","filename":"file4"},{"photo_id":"1331539241","filename":"file1"},{"photo_id":"1331539172","filename":"file0"},{"photo_id":"1331539311","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331539241":["hashtag1","hashtag2"]},{"1331539172":["hashtag1","hashtag2"]},{"1331539258":["hashtag1","hashtag2"]},{"1331539407":["hashtag1","hashtag2"]},{"1331539311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331539241, 1331539172, 1331539258, 1331539407, 1331539311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.37727427482605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:06:32.670988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_55_10353.jpg', '/home/pi/Desktop/images/26012025/04/05/image_26012025_04_06_04_9337.jpg', '/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_14_10370.jpg', '/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_25_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_05_55_10353.jpg
/home/pi/Desktop/images/26012025/04/05/image_26012025_04_06_04_9337.jpg
/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_14_10370.jpg
/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_25_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331540446","1331540329","1331540209","1331540169"],"photo_ids_order":["1331540169","1331540209","1331540329","1331540446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97fad9b6ac3f453c48ede1c40caec977.jpg","text":"TemporaryFile(/tmp/multipartBody3660460126890919196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860853556,"filename":"image_26012025_04_06_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8bd5fa8ae5f4eedf2313ef8696282621.jpg","text":"TemporaryFile(/tmp/multipartBody3566725178676149945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860853556,"filename":"image_26012025_04_06_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e76e0dc6894c6ca8515adac1630eea1.jpg","text":"TemporaryFile(/tmp/multipartBody5827089797412137977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860853556,"filename":"image_26012025_04_06_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1429488b45cff581508900275530469f.jpg","text":"TemporaryFile(/tmp/multipartBody2063776772365744086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860853556,"filename":"image_26012025_04_05_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331540329","file1":"1331540209","file0":"1331540169","file3":"1331540446"},"map_files_photo_id_array":[{"photo_id":"1331540329","filename":"file2"},{"photo_id":"1331540209","filename":"file1"},{"photo_id":"1331540169","filename":"file0"},{"photo_id":"1331540446","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331540446":["hashtag1","hashtag2"]},{"1331540329":["hashtag1","hashtag2"]},{"1331540209":["hashtag1","hashtag2"]},{"1331540169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331540446, 1331540329, 1331540209, 1331540169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.31088328361511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:07:33.129285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_45_10489.jpg', '/home/pi/Desktop/images/26012025/04/06/image_26012025_04_07_04_10348.jpg', '/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_15_10347.jpg', '/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_24_9333.jpg', '/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_35_10508.jpg', '/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/06/image_26012025_04_06_45_10489.jpg
/home/pi/Desktop/images/26012025/04/06/image_26012025_04_07_04_10348.jpg
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_15_10347.jpg
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_24_9333.jpg
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_35_10508.jpg
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_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":["1331541428","1331541215","1331541079","1331541390","1331541294","1331541168"],"photo_ids_order":["1331541079","1331541168","1331541215","1331541294","1331541390","1331541428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c743f8ee282ba73e4b7ce1a54d28bba3.jpg","text":"TemporaryFile(/tmp/multipartBody8370010541492602357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_07_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/26/6f7aff96a00c7243491e6c614e1fc221.jpg","text":"TemporaryFile(/tmp/multipartBody9086841942668621382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_07_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/984be77b3f69df1ee1e27baad7639519.jpg","text":"TemporaryFile(/tmp/multipartBody57736398738247263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_06_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/26/793d9d3174c7725d8df56d0ead91a8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7081257839174596713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_07_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/26/b370eb1e6162b3f43aaa74b50354c93b.jpg","text":"TemporaryFile(/tmp/multipartBody8898213519932281758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_07_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f86b48a663cd258b892a83fa2ddd833d.jpg","text":"TemporaryFile(/tmp/multipartBody926410553878460035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860914049,"filename":"image_26012025_04_07_04_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331541215","file1":"1331541168","file0":"1331541079","file4":"1331541390","file5":"1331541428","file3":"1331541294"},"map_files_photo_id_array":[{"photo_id":"1331541428","filename":"file5"},{"photo_id":"1331541215","filename":"file2"},{"photo_id":"1331541390","filename":"file4"},{"photo_id":"1331541168","filename":"file1"},{"photo_id":"1331541079","filename":"file0"},{"photo_id":"1331541294","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331541428":["hashtag1","hashtag2"]},{"1331541215":["hashtag1","hashtag2"]},{"1331541079":["hashtag1","hashtag2"]},{"1331541390":["hashtag1","hashtag2"]},{"1331541294":["hashtag1","hashtag2"]},{"1331541168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331541428, 1331541215, 1331541079, 1331541390, 1331541294, 1331541168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19872212409973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:08:32.227537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_54_9350.jpg', '/home/pi/Desktop/images/26012025/04/07/image_26012025_04_08_05_10413.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_14_9381.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_24_10361.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_35_10412.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_44_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_07_54_9350.jpg
/home/pi/Desktop/images/26012025/04/07/image_26012025_04_08_05_10413.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_14_9381.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_24_10361.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_35_10412.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_44_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":["1331541496","1331541442","1331541693","1331541498","1331541588","1331541438"],"photo_ids_order":["1331541438","1331541442","1331541496","1331541498","1331541588","1331541693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/987d628f2d76abfde07acdb64a36141e.jpg","text":"TemporaryFile(/tmp/multipartBody8922559463566919840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_08_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/26/49be37d090b51a6fa2565ef7fc44c314.jpg","text":"TemporaryFile(/tmp/multipartBody8040068500060946525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_08_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/26/e69ddbba39fa307806e194aab2c0352d.jpg","text":"TemporaryFile(/tmp/multipartBody8972634658183066315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_08_44_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/26/f3e0a6c53d66eaa747c6113c70491ee2.jpg","text":"TemporaryFile(/tmp/multipartBody337265076800718692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_08_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/26/fb558a36070e6965813a87926b4cc714.jpg","text":"TemporaryFile(/tmp/multipartBody1455668065185603416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_08_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/26/f048392ecebd7f2c8d581942aae02e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1378028293698267796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737860973139,"filename":"image_26012025_04_07_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331541496","file1":"1331541442","file0":"1331541438","file4":"1331541588","file5":"1331541693","file3":"1331541498"},"map_files_photo_id_array":[{"photo_id":"1331541693","filename":"file5"},{"photo_id":"1331541496","filename":"file2"},{"photo_id":"1331541588","filename":"file4"},{"photo_id":"1331541442","filename":"file1"},{"photo_id":"1331541438","filename":"file0"},{"photo_id":"1331541498","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331541496":["hashtag1","hashtag2"]},{"1331541442":["hashtag1","hashtag2"]},{"1331541693":["hashtag1","hashtag2"]},{"1331541498":["hashtag1","hashtag2"]},{"1331541588":["hashtag1","hashtag2"]},{"1331541438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331541496, 1331541442, 1331541693, 1331541498, 1331541588, 1331541438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19401454925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:09:32.480797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_55_10407.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_09_04_9348.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_14_10360.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_25_10355.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_34_9344.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_44_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_55_10407.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_09_04_9348.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_14_10360.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_25_10355.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_34_9344.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_44_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.5279357433319092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:09:42.397742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_55_10407.jpg', '/home/pi/Desktop/images/26012025/04/08/image_26012025_04_09_04_9348.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_14_10360.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_25_10355.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_34_9344.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_44_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_08_55_10407.jpg
/home/pi/Desktop/images/26012025/04/08/image_26012025_04_09_04_9348.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_14_10360.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_25_10355.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_34_9344.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_44_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":["1331541902","1331541892","1331541905","1331541896","1331541899","1331541887"],"photo_ids_order":["1331541887","1331541892","1331541896","1331541899","1331541902","1331541905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/615b51caf9dd8119797d35be23875091.jpg","text":"TemporaryFile(/tmp/multipartBody2805975232446595074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_09_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/26/965dba517b7dd041c24d53470556509b.jpg","text":"TemporaryFile(/tmp/multipartBody2945358704861535748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_09_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/26/741e163227c0057940924d9173622daa.jpg","text":"TemporaryFile(/tmp/multipartBody7745711292799643814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_09_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb9b6f54b2697803b20962d158fe800f.jpg","text":"TemporaryFile(/tmp/multipartBody6502532992241626938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_09_14_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/26/4c453b1148cffd071a61cdd640404699.jpg","text":"TemporaryFile(/tmp/multipartBody2613215217452552940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_09_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/26/7bee2cda3d13a467fa158ddf64815dd3.jpg","text":"TemporaryFile(/tmp/multipartBody8564243201067007244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861043315,"filename":"image_26012025_04_08_55_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331541896","file1":"1331541892","file0":"1331541887","file4":"1331541902","file5":"1331541905","file3":"1331541899"},"map_files_photo_id_array":[{"photo_id":"1331541905","filename":"file5"},{"photo_id":"1331541896","filename":"file2"},{"photo_id":"1331541902","filename":"file4"},{"photo_id":"1331541892","filename":"file1"},{"photo_id":"1331541887","filename":"file0"},{"photo_id":"1331541899","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331541902":["hashtag1","hashtag2"]},{"1331541892":["hashtag1","hashtag2"]},{"1331541905":["hashtag1","hashtag2"]},{"1331541896":["hashtag1","hashtag2"]},{"1331541899":["hashtag1","hashtag2"]},{"1331541887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331541902, 1331541892, 1331541905, 1331541896, 1331541899, 1331541887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.115315437316895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:10:32.663967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_55_10446.jpg', '/home/pi/Desktop/images/26012025/04/09/image_26012025_04_10_04_9340.jpg', '/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_15_10398.jpg', '/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_25_10373.jpg', '/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_34_9394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_09_55_10446.jpg
/home/pi/Desktop/images/26012025/04/09/image_26012025_04_10_04_9340.jpg
/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_15_10398.jpg
/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_25_10373.jpg
/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_34_9394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331542021","1331541919","1331541996","1331541942","1331541933"],"photo_ids_order":["1331541919","1331541933","1331541942","1331541996","1331542021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c87c49757ffcb0a210e1dbc98989c80e.jpg","text":"TemporaryFile(/tmp/multipartBody3305304546631942436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861093566,"filename":"image_26012025_04_10_34_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/26/49efe1b5e4f5180ec8c49d56c3be814c.jpg","text":"TemporaryFile(/tmp/multipartBody6724290975549878836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861093566,"filename":"image_26012025_04_09_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/26/3a9a1619c4e3f1ea996c3c7b65944ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3131615881761139675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861093566,"filename":"image_26012025_04_10_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/26/991eece0e81c1fc1b74b66332e1552a4.jpg","text":"TemporaryFile(/tmp/multipartBody5197097037085979933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861093566,"filename":"image_26012025_04_10_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/26/a042004e14381afc6585dd179186d53e.jpg","text":"TemporaryFile(/tmp/multipartBody8662406758999213680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861093566,"filename":"image_26012025_04_10_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331541942","file1":"1331541933","file0":"1331541919","file4":"1331542021","file3":"1331541996"},"map_files_photo_id_array":[{"photo_id":"1331541942","filename":"file2"},{"photo_id":"1331542021","filename":"file4"},{"photo_id":"1331541933","filename":"file1"},{"photo_id":"1331541919","filename":"file0"},{"photo_id":"1331541996","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331542021":["hashtag1","hashtag2"]},{"1331541919":["hashtag1","hashtag2"]},{"1331541996":["hashtag1","hashtag2"]},{"1331541942":["hashtag1","hashtag2"]},{"1331541933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331542021, 1331541919, 1331541996, 1331541942, 1331541933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.72294235229492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:11:32.895819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_45_10400.jpg', '/home/pi/Desktop/images/26012025/04/10/image_26012025_04_11_05_10411.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_15_10332.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_24_9324.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_35_10397.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_44_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/10/image_26012025_04_10_45_10400.jpg
/home/pi/Desktop/images/26012025/04/10/image_26012025_04_11_05_10411.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_15_10332.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_24_9324.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_35_10397.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_44_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":["1331542610","1331542511","1331542645","1331542282","1331542414","1331542340"],"photo_ids_order":["1331542282","1331542340","1331542414","1331542511","1331542610","1331542645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fbfb602079f869be6ac5e92684bb5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody2648442078811963841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_11_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/26/a8134dd6749522262b1dbc8a7c327e60.jpg","text":"TemporaryFile(/tmp/multipartBody2135514914808130024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_11_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/26/34c574633c0174f3157e5c9e12f34edd.jpg","text":"TemporaryFile(/tmp/multipartBody8782580493840212640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_11_44_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1bc93e34bbaf98a345fb8d126a7d791.jpg","text":"TemporaryFile(/tmp/multipartBody6172285424398707724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_10_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/26/c1b421679569e2ef0cc80346d893d280.jpg","text":"TemporaryFile(/tmp/multipartBody9161348596744859112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_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/26/88801fa95675e425a17d92165c121584.jpg","text":"TemporaryFile(/tmp/multipartBody3174248695493732854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861153832,"filename":"image_26012025_04_11_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331542414","file1":"1331542340","file0":"1331542282","file4":"1331542610","file5":"1331542645","file3":"1331542511"},"map_files_photo_id_array":[{"photo_id":"1331542645","filename":"file5"},{"photo_id":"1331542414","filename":"file2"},{"photo_id":"1331542610","filename":"file4"},{"photo_id":"1331542340","filename":"file1"},{"photo_id":"1331542282","filename":"file0"},{"photo_id":"1331542511","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331542610":["hashtag1","hashtag2"]},{"1331542511":["hashtag1","hashtag2"]},{"1331542645":["hashtag1","hashtag2"]},{"1331542282":["hashtag1","hashtag2"]},{"1331542414":["hashtag1","hashtag2"]},{"1331542340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331542610, 1331542511, 1331542645, 1331542282, 1331542414, 1331542340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.46782350540161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:12:33.173364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_54_10359.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_12_05_10353.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_14_9337.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_24_10357.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_35_10399.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_54_10359.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_12_05_10353.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_14_9337.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_24_10357.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_35_10399.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_44_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.5295708179473877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:12:43.009271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_54_10359.jpg', '/home/pi/Desktop/images/26012025/04/11/image_26012025_04_12_05_10353.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_14_9337.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_24_10357.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_35_10399.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_11_54_10359.jpg
/home/pi/Desktop/images/26012025/04/11/image_26012025_04_12_05_10353.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_14_9337.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_24_10357.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_35_10399.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_44_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":["1331543002","1331542996","1331543032","1331543022","1331543024","1331543006"],"photo_ids_order":["1331542996","1331543002","1331543006","1331543022","1331543024","1331543032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b51a7bdb453cca90f4486d00483c743.jpg","text":"TemporaryFile(/tmp/multipartBody5252722247638584590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_12_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/26/25a87dcc1c9ab1c6c537d95994b6b97c.jpg","text":"TemporaryFile(/tmp/multipartBody4380965921496794152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_11_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a396fefeaeb49ee12d744d7f04f4273.jpg","text":"TemporaryFile(/tmp/multipartBody5099788398847951553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_12_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/26/efdc3d33459e8acf9921b5c984ce3576.jpg","text":"TemporaryFile(/tmp/multipartBody4316123322802729568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_12_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/26/65ef01c79a10929809d07b1e638c52c2.jpg","text":"TemporaryFile(/tmp/multipartBody4985607291440232208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_12_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/26/0fd8fb13f62cb2ef66509abcceba3a67.jpg","text":"TemporaryFile(/tmp/multipartBody5469383603536528220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861223913,"filename":"image_26012025_04_12_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543006","file1":"1331543002","file0":"1331542996","file4":"1331543024","file5":"1331543032","file3":"1331543022"},"map_files_photo_id_array":[{"photo_id":"1331543032","filename":"file5"},{"photo_id":"1331543006","filename":"file2"},{"photo_id":"1331543024","filename":"file4"},{"photo_id":"1331543002","filename":"file1"},{"photo_id":"1331542996","filename":"file0"},{"photo_id":"1331543022","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543002":["hashtag1","hashtag2"]},{"1331542996":["hashtag1","hashtag2"]},{"1331543032":["hashtag1","hashtag2"]},{"1331543022":["hashtag1","hashtag2"]},{"1331543024":["hashtag1","hashtag2"]},{"1331543006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543002, 1331542996, 1331543032, 1331543022, 1331543024, 1331543006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.3900511264801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:13:32.383802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_54_10353.jpg', '/home/pi/Desktop/images/26012025/04/12/image_26012025_04_13_05_10355.jpg', '/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_14_9316.jpg', '/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_25_10528.jpg', '/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_34_9368.jpg', '/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_44_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_12_54_10353.jpg
/home/pi/Desktop/images/26012025/04/12/image_26012025_04_13_05_10355.jpg
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_14_9316.jpg
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_25_10528.jpg
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_34_9368.jpg
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_44_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331543295","1331543107","1331543298","1331543285","1331543202","1331543339"],"photo_ids_order":["1331543107","1331543202","1331543285","1331543295","1331543298","1331543339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6c415b8b701a99d24902754c7408993.jpg","text":"TemporaryFile(/tmp/multipartBody2812327159472078996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_13_25_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7121c39075acaf8badaa132e5c2e775.jpg","text":"TemporaryFile(/tmp/multipartBody8768149955205664920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_12_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/26/03054da12784209efebcff2964cbc729.jpg","text":"TemporaryFile(/tmp/multipartBody4069296711052118856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_13_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb4d095879da17d64ce77ca7abb5a120.jpg","text":"TemporaryFile(/tmp/multipartBody7146431741006378601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_13_14_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a67677bd595245f5eaec454b6086b43.jpg","text":"TemporaryFile(/tmp/multipartBody5000988837565398232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_13_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/26/447d121ab3246d2d5d53b5c60ae1367a.jpg","text":"TemporaryFile(/tmp/multipartBody8098303300307634019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861273310,"filename":"image_26012025_04_13_44_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543285","file1":"1331543202","file0":"1331543107","file4":"1331543298","file5":"1331543339","file3":"1331543295"},"map_files_photo_id_array":[{"photo_id":"1331543339","filename":"file5"},{"photo_id":"1331543285","filename":"file2"},{"photo_id":"1331543298","filename":"file4"},{"photo_id":"1331543202","filename":"file1"},{"photo_id":"1331543107","filename":"file0"},{"photo_id":"1331543295","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543295":["hashtag1","hashtag2"]},{"1331543107":["hashtag1","hashtag2"]},{"1331543298":["hashtag1","hashtag2"]},{"1331543285":["hashtag1","hashtag2"]},{"1331543202":["hashtag1","hashtag2"]},{"1331543339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543295, 1331543107, 1331543298, 1331543285, 1331543202, 1331543339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.95959520339966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:14:32.672713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_55_10451.jpg', '/home/pi/Desktop/images/26012025/04/13/image_26012025_04_14_04_9338.jpg', '/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_15_10391.jpg', '/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_25_10365.jpg', '/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_34_9308.jpg', '/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_45_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_13_55_10451.jpg
/home/pi/Desktop/images/26012025/04/13/image_26012025_04_14_04_9338.jpg
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_15_10391.jpg
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_25_10365.jpg
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_34_9308.jpg
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_45_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":["1331543413","1331543422","1331543416","1331543403","1331543409","1331543420"],"photo_ids_order":["1331543403","1331543409","1331543413","1331543416","1331543420","1331543422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/205dd35da94cd7e2d0797932b4d34f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5780124506954330253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_14_15_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/26/54dc6bbfcf79589f50872884d7e39fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4687797121637254329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_14_45_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/26/39cc4847560d880d76be83dd6b12802f.jpg","text":"TemporaryFile(/tmp/multipartBody6686545180670137118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_14_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/26/6480be4d27f14b44230d01a3b4a0fa9a.jpg","text":"TemporaryFile(/tmp/multipartBody3111320509631993886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_13_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/26/f94058b761ca1223d8ac037705c01b9c.jpg","text":"TemporaryFile(/tmp/multipartBody697257521013408797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_14_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ed0856f4791836cb3925d52e757a5c8.jpg","text":"TemporaryFile(/tmp/multipartBody4702617139167086020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861333609,"filename":"image_26012025_04_14_34_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543413","file1":"1331543409","file0":"1331543403","file4":"1331543420","file5":"1331543422","file3":"1331543416"},"map_files_photo_id_array":[{"photo_id":"1331543422","filename":"file5"},{"photo_id":"1331543413","filename":"file2"},{"photo_id":"1331543420","filename":"file4"},{"photo_id":"1331543409","filename":"file1"},{"photo_id":"1331543403","filename":"file0"},{"photo_id":"1331543416","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543413":["hashtag1","hashtag2"]},{"1331543422":["hashtag1","hashtag2"]},{"1331543416":["hashtag1","hashtag2"]},{"1331543403":["hashtag1","hashtag2"]},{"1331543409":["hashtag1","hashtag2"]},{"1331543420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543413, 1331543422, 1331543416, 1331543403, 1331543409, 1331543420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.469993591308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:15:32.817279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_54_9364.jpg', '/home/pi/Desktop/images/26012025/04/14/image_26012025_04_15_04_10339.jpg', '/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_15_10337.jpg', '/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_24_9346.jpg', '/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_34_10343.jpg', '/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_14_54_9364.jpg
/home/pi/Desktop/images/26012025/04/14/image_26012025_04_15_04_10339.jpg
/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_15_10337.jpg
/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_24_9346.jpg
/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_34_10343.jpg
/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_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":["1331543452","1331543449","1331543447","1331543441","1331543444","1331543438"],"photo_ids_order":["1331543438","1331543441","1331543444","1331543447","1331543449","1331543452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5062b67cd6bf7a11acf9434b351f9bba.jpg","text":"TemporaryFile(/tmp/multipartBody6540190402532719612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_15_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/26/618b7e63f1021a42496c85f31b53e147.jpg","text":"TemporaryFile(/tmp/multipartBody6562510085640537385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_15_34_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/26/60f15db6abd845e696d614eb3cd2a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody1652426010404638597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_15_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/26/fd4792087569b87b4beacf29e7ac2c41.jpg","text":"TemporaryFile(/tmp/multipartBody5673833911424900335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_15_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/26/932dfffc9c8eec6edc695dcb57ed8e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4287187379605296678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_15_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/26/214418eb41d8d18db2646ebcbecd37bd.jpg","text":"TemporaryFile(/tmp/multipartBody2795573697767325869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861393733,"filename":"image_26012025_04_14_54_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543444","file1":"1331543441","file0":"1331543438","file4":"1331543449","file5":"1331543452","file3":"1331543447"},"map_files_photo_id_array":[{"photo_id":"1331543452","filename":"file5"},{"photo_id":"1331543444","filename":"file2"},{"photo_id":"1331543449","filename":"file4"},{"photo_id":"1331543441","filename":"file1"},{"photo_id":"1331543438","filename":"file0"},{"photo_id":"1331543447","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543452":["hashtag1","hashtag2"]},{"1331543449":["hashtag1","hashtag2"]},{"1331543447":["hashtag1","hashtag2"]},{"1331543441":["hashtag1","hashtag2"]},{"1331543444":["hashtag1","hashtag2"]},{"1331543438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543452, 1331543449, 1331543447, 1331543441, 1331543444, 1331543438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.667813777923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:16:33.024762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_54_9348.jpg', '/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_24_9351.jpg', '/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_35_10406.jpg', '/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/15/image_26012025_04_15_54_9348.jpg
/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_24_9351.jpg
/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_35_10406.jpg
/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_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":["1331543474","1331543462","1331543501","1331543504"],"photo_ids_order":["1331543462","1331543474","1331543501","1331543504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ebcbd88305a077614efc82deab194fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1028545156622718939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861453924,"filename":"image_26012025_04_16_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/26/421395645e21025a9cfca266085cb94b.jpg","text":"TemporaryFile(/tmp/multipartBody1303765088629611378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861453924,"filename":"image_26012025_04_15_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/26/86122bf84ae11f4a88b1197319181de0.jpg","text":"TemporaryFile(/tmp/multipartBody5719715716212105292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861453924,"filename":"image_26012025_04_16_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/26/d4f53170c14a4a6d43ec37f25bdac367.jpg","text":"TemporaryFile(/tmp/multipartBody3225772210754901422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861453924,"filename":"image_26012025_04_16_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543501","file1":"1331543474","file0":"1331543462","file3":"1331543504"},"map_files_photo_id_array":[{"photo_id":"1331543501","filename":"file2"},{"photo_id":"1331543474","filename":"file1"},{"photo_id":"1331543462","filename":"file0"},{"photo_id":"1331543504","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543474":["hashtag1","hashtag2"]},{"1331543462":["hashtag1","hashtag2"]},{"1331543501":["hashtag1","hashtag2"]},{"1331543504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543474, 1331543462, 1331543501, 1331543504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.261354207992554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:17:32.181225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_54_10362.jpg', '/home/pi/Desktop/images/26012025/04/16/image_26012025_04_17_05_10336.jpg', '/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_14_9328.jpg', '/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_24_10337.jpg', '/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_35_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/16/image_26012025_04_16_54_10362.jpg
/home/pi/Desktop/images/26012025/04/16/image_26012025_04_17_05_10336.jpg
/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_14_9328.jpg
/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_24_10337.jpg
/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_35_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":["1331543536","1331543754","1331543544","1331543540","1331543986"],"photo_ids_order":["1331543536","1331543540","1331543544","1331543754","1331543986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8306754c74e1024a30f98976e6978cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3865140388440977310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861513097,"filename":"image_26012025_04_16_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/26/77c6e61a92f90569b157f85516041fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8002794216052104489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861513097,"filename":"image_26012025_04_17_24_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/26/d329f4e1cdcf1318aec553db0b65bf45.jpg","text":"TemporaryFile(/tmp/multipartBody4691863093570700506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861513097,"filename":"image_26012025_04_17_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d02ca090153c76518bbe8a64c30287f.jpg","text":"TemporaryFile(/tmp/multipartBody2755584411312059334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861513097,"filename":"image_26012025_04_17_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/26/ebcecf280f500afe9cbff84be853bdaa.jpg","text":"TemporaryFile(/tmp/multipartBody6896737026892304138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861513097,"filename":"image_26012025_04_17_35_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331543544","file1":"1331543540","file0":"1331543536","file4":"1331543986","file3":"1331543754"},"map_files_photo_id_array":[{"photo_id":"1331543544","filename":"file2"},{"photo_id":"1331543986","filename":"file4"},{"photo_id":"1331543540","filename":"file1"},{"photo_id":"1331543536","filename":"file0"},{"photo_id":"1331543754","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331543536":["hashtag1","hashtag2"]},{"1331543754":["hashtag1","hashtag2"]},{"1331543544":["hashtag1","hashtag2"]},{"1331543540":["hashtag1","hashtag2"]},{"1331543986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331543536, 1331543754, 1331543544, 1331543540, 1331543986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.06602430343628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:18:32.416522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_44_9345.jpg', '/home/pi/Desktop/images/26012025/04/18/image_26012025_04_18_25_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/17/image_26012025_04_17_44_9345.jpg
/home/pi/Desktop/images/26012025/04/18/image_26012025_04_18_25_10470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331544312","1331544308"],"photo_ids_order":["1331544308","1331544312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb2f733e94ade501a177020291e2e193.jpg","text":"TemporaryFile(/tmp/multipartBody810827020880198899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861573280,"filename":"image_26012025_04_18_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/26/5d574c6ea0f9f3f9e0422dcf204fb252.jpg","text":"TemporaryFile(/tmp/multipartBody4897121542490875231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861573280,"filename":"image_26012025_04_17_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331544312","file0":"1331544308"},"map_files_photo_id_array":[{"photo_id":"1331544312","filename":"file1"},{"photo_id":"1331544308","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331544312":["hashtag1","hashtag2"]},{"1331544308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331544312, 1331544308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.642699718475342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 04:18:52.392448
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg', '/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_10501.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_35_10432.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_45_9349.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_19_55_10375.jpg
/home/pi/Desktop/images/23012025/21/19/image_23012025_21_20_05_10357.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_15_9378.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_25_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":["1331544387","1331544392","1331544389","1331544397","1331544401","1331544421"],"photo_ids_order":["1331544387","1331544389","1331544392","1331544397","1331544401","1331544421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95411ead5dfcd27e2a8a9e45e2d5e040.jpg","text":"TemporaryFile(/tmp/multipartBody5831982388970914823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_19_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/26/fc404cd0a856ec37ea720b70580fec51.jpg","text":"TemporaryFile(/tmp/multipartBody3104447618232865909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_19_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/26/7a7a5cec754dc102baedb7b5d3799182.jpg","text":"TemporaryFile(/tmp/multipartBody7017714947304612663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_19_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/26/4d713935b6544fb6cf9535facc3cb88f.jpg","text":"TemporaryFile(/tmp/multipartBody241765079199853392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_20_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/26/52b1968bddf06c2c263dd0f1247e9e99.jpg","text":"TemporaryFile(/tmp/multipartBody2466176764015530880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_20_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9951bd3a222d107aa894bb3eb865450d.jpg","text":"TemporaryFile(/tmp/multipartBody1811441526991604902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861594692,"filename":"image_23012025_21_20_25_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331544392","file1":"1331544389","file0":"1331544387","file4":"1331544401","file5":"1331544421","file3":"1331544397"},"map_files_photo_id_array":[{"photo_id":"1331544421","filename":"file5"},{"photo_id":"1331544392","filename":"file2"},{"photo_id":"1331544401","filename":"file4"},{"photo_id":"1331544389","filename":"file1"},{"photo_id":"1331544387","filename":"file0"},{"photo_id":"1331544397","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331544387":["hashtag1","hashtag2"]},{"1331544392":["hashtag1","hashtag2"]},{"1331544389":["hashtag1","hashtag2"]},{"1331544397":["hashtag1","hashtag2"]},{"1331544401":["hashtag1","hashtag2"]},{"1331544421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331544387, 1331544392, 1331544389, 1331544397, 1331544401, 1331544421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42075228691101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:19:42.651613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/18/image_26012025_04_18_55_10445.jpg', '/home/pi/Desktop/images/26012025/04/18/image_26012025_04_19_04_9335.jpg', '/home/pi/Desktop/images/26012025/04/19/image_26012025_04_19_15_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/18/image_26012025_04_18_55_10445.jpg
/home/pi/Desktop/images/26012025/04/18/image_26012025_04_19_04_9335.jpg
/home/pi/Desktop/images/26012025/04/19/image_26012025_04_19_15_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":["1331544805","1331544903","1331545006"],"photo_ids_order":["1331544805","1331544903","1331545006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be465dec229ae964349ffc54b5a5c7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1842716514935994397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861643512,"filename":"image_26012025_04_18_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/26/99d0a7b8b0ae29fd919cffc974ac0d44.jpg","text":"TemporaryFile(/tmp/multipartBody8187525456187875072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861643512,"filename":"image_26012025_04_19_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/26/b5024ec3e839e6a992d8cac68de9f39e.jpg","text":"TemporaryFile(/tmp/multipartBody4168498702769167058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861643512,"filename":"image_26012025_04_19_15_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331545006","file1":"1331544903","file0":"1331544805"},"map_files_photo_id_array":[{"photo_id":"1331545006","filename":"file2"},{"photo_id":"1331544903","filename":"file1"},{"photo_id":"1331544805","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331544805":["hashtag1","hashtag2"]},{"1331544903":["hashtag1","hashtag2"]},{"1331545006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331544805, 1331544903, 1331545006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.349172115325928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:20:32.940399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/19/image_26012025_04_19_25_10361.jpg', '/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_15_10365.jpg', '/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_35_10463.jpg', '/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_44_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/19/image_26012025_04_19_25_10361.jpg
/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_15_10365.jpg
/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_35_10463.jpg
/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_44_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331545598","1331545597","1331545599","1331545596"],"photo_ids_order":["1331545596","1331545597","1331545598","1331545599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27d0ebe10e01a39c1a1228377db5122d.jpg","text":"TemporaryFile(/tmp/multipartBody6324287954335568883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861693841,"filename":"image_26012025_04_20_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/26/a516afd50ff49f5047f022d49cb980df.jpg","text":"TemporaryFile(/tmp/multipartBody6382997375139742388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861693841,"filename":"image_26012025_04_20_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/26/44f2e4b9802ecbd03514fa6a642d322a.jpg","text":"TemporaryFile(/tmp/multipartBody5192185102874432356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861693841,"filename":"image_26012025_04_20_44_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aae3ec06b01056e7513192fbc96df673.jpg","text":"TemporaryFile(/tmp/multipartBody3472695071210695341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861693841,"filename":"image_26012025_04_19_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331545598","file1":"1331545597","file0":"1331545596","file3":"1331545599"},"map_files_photo_id_array":[{"photo_id":"1331545598","filename":"file2"},{"photo_id":"1331545597","filename":"file1"},{"photo_id":"1331545596","filename":"file0"},{"photo_id":"1331545599","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331545598":["hashtag1","hashtag2"]},{"1331545597":["hashtag1","hashtag2"]},{"1331545599":["hashtag1","hashtag2"]},{"1331545596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331545598, 1331545597, 1331545599, 1331545596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.690056324005127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:21:04.654059
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_34_9348.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_45_10353.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_55_10372.jpg', '/home/pi/Desktop/images/23012025/21/20/image_23012025_21_21_05_9344.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_15_10406.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_24_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_34_9348.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_45_10353.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_20_55_10372.jpg
/home/pi/Desktop/images/23012025/21/20/image_23012025_21_21_05_9344.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_15_10406.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_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":["1331545679","1331545841","1331545835","1331545770","1331545603","1331545872"],"photo_ids_order":["1331545603","1331545679","1331545770","1331545835","1331545841","1331545872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58c0b5d73da6689ea50d9a6de6b17b1d.jpg","text":"TemporaryFile(/tmp/multipartBody318712170669777391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_20_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f1fcce0634483e5d23be73848e315fca.jpg","text":"TemporaryFile(/tmp/multipartBody6362498803338837318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_21_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/26/cd9f638aea53b68a720b22d81aedd3e6.jpg","text":"TemporaryFile(/tmp/multipartBody1148720630961667371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_21_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/26/e47f0579d947b23123e782a84b48160f.jpg","text":"TemporaryFile(/tmp/multipartBody870987389840033215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_20_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/26/c6ac93b94c0af140f352cb853ea5593d.jpg","text":"TemporaryFile(/tmp/multipartBody1151046872058643583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_20_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7c596f8bcba7294a96089fbf1740548.jpg","text":"TemporaryFile(/tmp/multipartBody2032383393865743290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861726710,"filename":"image_23012025_21_21_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331545770","file1":"1331545679","file0":"1331545603","file4":"1331545841","file5":"1331545872","file3":"1331545835"},"map_files_photo_id_array":[{"photo_id":"1331545872","filename":"file5"},{"photo_id":"1331545770","filename":"file2"},{"photo_id":"1331545841","filename":"file4"},{"photo_id":"1331545679","filename":"file1"},{"photo_id":"1331545603","filename":"file0"},{"photo_id":"1331545835","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331545679":["hashtag1","hashtag2"]},{"1331545841":["hashtag1","hashtag2"]},{"1331545835":["hashtag1","hashtag2"]},{"1331545770":["hashtag1","hashtag2"]},{"1331545603":["hashtag1","hashtag2"]},{"1331545872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331545679, 1331545841, 1331545835, 1331545770, 1331545603, 1331545872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12096691131592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 04:21:53.063129
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_45_10371.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_54_9357.jpg', '/home/pi/Desktop/images/23012025/21/21/image_23012025_21_22_05_10343.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_15_10351.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_24_9341.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_35_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_45_10371.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_21_54_9357.jpg
/home/pi/Desktop/images/23012025/21/21/image_23012025_21_22_05_10343.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_15_10351.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_24_9341.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_35_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":["1331546121","1331546117","1331546065","1331545928","1331545966","1331545945"],"photo_ids_order":["1331545928","1331545945","1331545966","1331546065","1331546117","1331546121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f7b66195143cf725984f57c8b339bc1.jpg","text":"TemporaryFile(/tmp/multipartBody5319709827418956982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_22_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/26/7be39d20ffd6b5f2614ce860d293833d.jpg","text":"TemporaryFile(/tmp/multipartBody2282667340551598874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_22_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c2378c827cf048f7031aa5353a9b85e.jpg","text":"TemporaryFile(/tmp/multipartBody8274760801877016543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_22_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/26/0d5c1413003138f1e14d77ca6f6ecc52.jpg","text":"TemporaryFile(/tmp/multipartBody6410593059480644861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_21_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/26/e1bf9a972df620df3fa403ff15ef53fa.jpg","text":"TemporaryFile(/tmp/multipartBody3034841119982038195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_22_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/26/a1a0bba2cdd974f11c345020b5dea608.jpg","text":"TemporaryFile(/tmp/multipartBody9175710689673262065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861775444,"filename":"image_23012025_21_21_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331545966","file1":"1331545945","file0":"1331545928","file4":"1331546117","file5":"1331546121","file3":"1331546065"},"map_files_photo_id_array":[{"photo_id":"1331546121","filename":"file5"},{"photo_id":"1331545966","filename":"file2"},{"photo_id":"1331546117","filename":"file4"},{"photo_id":"1331545945","filename":"file1"},{"photo_id":"1331545928","filename":"file0"},{"photo_id":"1331546065","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331546121":["hashtag1","hashtag2"]},{"1331546117":["hashtag1","hashtag2"]},{"1331546065":["hashtag1","hashtag2"]},{"1331545928":["hashtag1","hashtag2"]},{"1331545966":["hashtag1","hashtag2"]},{"1331545945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331546121, 1331546117, 1331546065, 1331545928, 1331545966, 1331545945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96011805534363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:22:42.266682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_54_10390.jpg', '/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_35_10330.jpg', '/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_44_9336.jpg', '/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_55_10357.jpg', '/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_14_10358.jpg', '/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_25_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/20/image_26012025_04_20_54_10390.jpg
/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_35_10330.jpg
/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_44_9336.jpg
/home/pi/Desktop/images/26012025/04/21/image_26012025_04_21_55_10357.jpg
/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_14_10358.jpg
/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_25_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331546195","1331546177","1331546194","1331546191","1331546167","1331546200"],"photo_ids_order":["1331546167","1331546177","1331546191","1331546194","1331546195","1331546200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d3b3d80a9b3454e9c22eaf078f98a2a.jpg","text":"TemporaryFile(/tmp/multipartBody3551021443292596869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_22_14_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/26/d0ade050c93992bd3ebe653e65165cac.jpg","text":"TemporaryFile(/tmp/multipartBody2785614231711151218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_21_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6e0e238abe79b2141e66aaf58d353cd.jpg","text":"TemporaryFile(/tmp/multipartBody4444142517343821308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_21_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/26/93c73b58b52d04ea9db4b323967c2f23.jpg","text":"TemporaryFile(/tmp/multipartBody4664780721412638470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_21_44_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/26/84e92b33bb2cfd4e4eb8894b599da784.jpg","text":"TemporaryFile(/tmp/multipartBody1924364671630338482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_20_54_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/26/c8ee9759fc7fbc58f570dde4753eea0d.jpg","text":"TemporaryFile(/tmp/multipartBody7974211027493323811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861823197,"filename":"image_26012025_04_22_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546191","file1":"1331546177","file0":"1331546167","file4":"1331546195","file5":"1331546200","file3":"1331546194"},"map_files_photo_id_array":[{"photo_id":"1331546200","filename":"file5"},{"photo_id":"1331546191","filename":"file2"},{"photo_id":"1331546195","filename":"file4"},{"photo_id":"1331546177","filename":"file1"},{"photo_id":"1331546167","filename":"file0"},{"photo_id":"1331546194","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331546195":["hashtag1","hashtag2"]},{"1331546177":["hashtag1","hashtag2"]},{"1331546194":["hashtag1","hashtag2"]},{"1331546191":["hashtag1","hashtag2"]},{"1331546167":["hashtag1","hashtag2"]},{"1331546200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331546195, 1331546177, 1331546194, 1331546191, 1331546167, 1331546200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28178644180298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:23:32.530817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_34_9340.jpg', '/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_44_10358.jpg', '/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_55_10319.jpg', '/home/pi/Desktop/images/26012025/04/23/image_26012025_04_23_14_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_34_9340.jpg
/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_44_10358.jpg
/home/pi/Desktop/images/26012025/04/22/image_26012025_04_22_55_10319.jpg
/home/pi/Desktop/images/26012025/04/23/image_26012025_04_23_14_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":["1331546227","1331546221","1331546224","1331546217"],"photo_ids_order":["1331546217","1331546221","1331546224","1331546227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7cfc30ee1490d3b9c3427e4820a2ac3.jpg","text":"TemporaryFile(/tmp/multipartBody791699848557503386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861873422,"filename":"image_26012025_04_23_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/21b85df17152e369df68a9ca0249712e.jpg","text":"TemporaryFile(/tmp/multipartBody4888256654377089072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861873422,"filename":"image_26012025_04_22_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/26/a266b679a1fda29f9d6668675e409bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2317231243826445922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861873422,"filename":"image_26012025_04_22_55_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/26/06f1c80795ec99e233e5bca2e6e61d75.jpg","text":"TemporaryFile(/tmp/multipartBody3031054082458193268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861873422,"filename":"image_26012025_04_22_34_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546224","file1":"1331546221","file0":"1331546217","file3":"1331546227"},"map_files_photo_id_array":[{"photo_id":"1331546224","filename":"file2"},{"photo_id":"1331546221","filename":"file1"},{"photo_id":"1331546217","filename":"file0"},{"photo_id":"1331546227","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331546227":["hashtag1","hashtag2"]},{"1331546221":["hashtag1","hashtag2"]},{"1331546224":["hashtag1","hashtag2"]},{"1331546217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331546227, 1331546221, 1331546224, 1331546217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.117902517318726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:24:32.882156
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_44_9410.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_55_10407.jpg', '/home/pi/Desktop/images/23012025/21/22/image_23012025_21_23_05_10367.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_14_9353.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_25_10353.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_35_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_44_9410.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_22_55_10407.jpg
/home/pi/Desktop/images/23012025/21/22/image_23012025_21_23_05_10367.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_14_9353.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_25_10353.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_35_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":["1331546252","1331546257","1331546251","1331546254","1331546248","1331546250"],"photo_ids_order":["1331546248","1331546250","1331546251","1331546252","1331546254","1331546257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32cea77f8070045354655c2765ef4de3.jpg","text":"TemporaryFile(/tmp/multipartBody7625226484342707835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_23_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/26/f6aac3efcf0d7af95e485c53758d4496.jpg","text":"TemporaryFile(/tmp/multipartBody1681422086389642587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_23_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/26/150132e10384b781a3a9c7fec8776555.jpg","text":"TemporaryFile(/tmp/multipartBody8991731766516837708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_23_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/26/e3524fac79d4d3bb29903d2317133b8b.jpg","text":"TemporaryFile(/tmp/multipartBody7171704119878269237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_23_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/26/1e1c13e0c8e957f429ef8f8019399942.jpg","text":"TemporaryFile(/tmp/multipartBody4820729437780409672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_22_44_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/26/e3a66a1267e43d019be37b0f94fd8741.jpg","text":"TemporaryFile(/tmp/multipartBody1222179830827017794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861935270,"filename":"image_23012025_21_22_55_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546251","file1":"1331546250","file0":"1331546248","file4":"1331546254","file5":"1331546257","file3":"1331546252"},"map_files_photo_id_array":[{"photo_id":"1331546257","filename":"file5"},{"photo_id":"1331546251","filename":"file2"},{"photo_id":"1331546254","filename":"file4"},{"photo_id":"1331546250","filename":"file1"},{"photo_id":"1331546248","filename":"file0"},{"photo_id":"1331546252","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331546252":["hashtag1","hashtag2"]},{"1331546257":["hashtag1","hashtag2"]},{"1331546251":["hashtag1","hashtag2"]},{"1331546254":["hashtag1","hashtag2"]},{"1331546248":["hashtag1","hashtag2"]},{"1331546250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331546252, 1331546257, 1331546251, 1331546254, 1331546248, 1331546250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.724148988723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:25:33.302691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/23/image_26012025_04_23_34_9318.jpg', '/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_15_10349.jpg', '/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_24_9405.jpg', '/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_45_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/23/image_26012025_04_23_34_9318.jpg
/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_15_10349.jpg
/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_24_9405.jpg
/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_45_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331546282","1331546303","1331546299","1331546274"],"photo_ids_order":["1331546274","1331546282","1331546299","1331546303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1d448660ca2bcd410f3402a8e609384.jpg","text":"TemporaryFile(/tmp/multipartBody2602255901631815043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861994199,"filename":"image_26012025_04_25_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/26/85b9ef8fefb8a4ba0eb9897de17e26ad.jpg","text":"TemporaryFile(/tmp/multipartBody4471851481766597370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861994199,"filename":"image_26012025_04_25_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42a81e0c72d510377430e07d35735f82.jpg","text":"TemporaryFile(/tmp/multipartBody1536102497239966956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861994199,"filename":"image_26012025_04_25_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/26/43100d89570de5d78e47aa103d7b59ec.jpg","text":"TemporaryFile(/tmp/multipartBody1768413010039641516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737861994199,"filename":"image_26012025_04_23_34_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546299","file1":"1331546282","file0":"1331546274","file3":"1331546303"},"map_files_photo_id_array":[{"photo_id":"1331546299","filename":"file2"},{"photo_id":"1331546282","filename":"file1"},{"photo_id":"1331546274","filename":"file0"},{"photo_id":"1331546303","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331546282":["hashtag1","hashtag2"]},{"1331546303":["hashtag1","hashtag2"]},{"1331546299":["hashtag1","hashtag2"]},{"1331546274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331546282, 1331546303, 1331546299, 1331546274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.382941484451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:26:32.516395
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_45_9340.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_55_10417.jpg', '/home/pi/Desktop/images/23012025/21/23/image_23012025_21_24_04_9380.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_15_10341.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_25_10365.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_34_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_45_9340.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_23_55_10417.jpg
/home/pi/Desktop/images/23012025/21/23/image_23012025_21_24_04_9380.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_15_10341.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_25_10365.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_34_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":["1331546348","1331546342","1331546336","1331546344","1331546340","1331546346"],"photo_ids_order":["1331546336","1331546340","1331546342","1331546344","1331546346","1331546348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0c549126efeac54758f4cb924aeaef2.jpg","text":"TemporaryFile(/tmp/multipartBody8806937422313875765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_24_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/26/12c32996425d638ddb4498d601566a1c.jpg","text":"TemporaryFile(/tmp/multipartBody3412111070531748260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_24_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c8f00e8e1ba661a5d638d04d925962c.jpg","text":"TemporaryFile(/tmp/multipartBody3585630753280160859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_23_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/26/e822078cf6be77dc87257fff22e1cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody6854502705779544827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_24_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/26/4d73ee6e8eaccc291096813df035d829.jpg","text":"TemporaryFile(/tmp/multipartBody8823582745419361883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_23_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/26/9cd2a0e99929fab25bd13ea55aaa031f.jpg","text":"TemporaryFile(/tmp/multipartBody2517467682330816582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862054922,"filename":"image_23012025_21_24_25_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546342","file1":"1331546340","file0":"1331546336","file4":"1331546346","file5":"1331546348","file3":"1331546344"},"map_files_photo_id_array":[{"photo_id":"1331546348","filename":"file5"},{"photo_id":"1331546342","filename":"file2"},{"photo_id":"1331546346","filename":"file4"},{"photo_id":"1331546340","filename":"file1"},{"photo_id":"1331546336","filename":"file0"},{"photo_id":"1331546344","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331546348":["hashtag1","hashtag2"]},{"1331546342":["hashtag1","hashtag2"]},{"1331546336":["hashtag1","hashtag2"]},{"1331546344":["hashtag1","hashtag2"]},{"1331546340":["hashtag1","hashtag2"]},{"1331546346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331546348, 1331546342, 1331546336, 1331546344, 1331546340, 1331546346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72708034515381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:27:33.025214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_54_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/25/image_26012025_04_25_54_9335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331546369"],"photo_id":"1331546369","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/51891d6ec672ec3c493a3973ed3e232b.jpg","text":"TemporaryFile(/tmp/multipartBody2315838292451911555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862113855,"filename":"image_26012025_04_25_54_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331546369"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331546369"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.339208602905273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 04:27:52.818212
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_45_10369.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_55_10487.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_25_05_9349.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_15_10412.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_24_9350.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_45_10369.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_55_10487.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_25_05_9349.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_15_10412.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_24_9350.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_35_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.014216184616089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:28:03.827737
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_45_10369.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_55_10487.jpg', '/home/pi/Desktop/images/23012025/21/24/image_23012025_21_25_05_9349.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_15_10412.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_24_9350.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_35_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_45_10369.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_24_55_10487.jpg
/home/pi/Desktop/images/23012025/21/24/image_23012025_21_25_05_9349.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_15_10412.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_24_9350.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_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":["1331546901","1331547286","1331546991","1331546806","1331547191","1331547092"],"photo_ids_order":["1331546806","1331546901","1331546991","1331547092","1331547191","1331547286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f930204f97e1512e38a54601a3fab005.jpg","text":"TemporaryFile(/tmp/multipartBody5344106309807347097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_21_24_55_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/26/c97af65d347d49d59e7f6d3ac3750f04.jpg","text":"TemporaryFile(/tmp/multipartBody8269488355947236674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_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/26/a614cd067efb48e19f5bc3f75c29888d.jpg","text":"TemporaryFile(/tmp/multipartBody4719093116878502816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_21_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/26/560f39793f64539269ff3be0d4999d3e.jpg","text":"TemporaryFile(/tmp/multipartBody9034433254573380707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_21_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/26/330e6b439e2e1f8806602daf17f2f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody6179668650772859284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_21_25_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/864e8eb6ab2d68d44cc01af17a9688a4.jpg","text":"TemporaryFile(/tmp/multipartBody7565307986273332342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862145364,"filename":"image_23012025_21_25_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331546991","file1":"1331546901","file0":"1331546806","file4":"1331547191","file5":"1331547286","file3":"1331547092"},"map_files_photo_id_array":[{"photo_id":"1331547286","filename":"file5"},{"photo_id":"1331546991","filename":"file2"},{"photo_id":"1331547191","filename":"file4"},{"photo_id":"1331546901","filename":"file1"},{"photo_id":"1331546806","filename":"file0"},{"photo_id":"1331547092","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331546901":["hashtag1","hashtag2"]},{"1331547286":["hashtag1","hashtag2"]},{"1331546991":["hashtag1","hashtag2"]},{"1331546806":["hashtag1","hashtag2"]},{"1331547191":["hashtag1","hashtag2"]},{"1331547092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331546901, 1331547286, 1331546991, 1331546806, 1331547191, 1331547092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.760289907455444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 04:28:53.000790
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_45_10448.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_55_9348.jpg', '/home/pi/Desktop/images/23012025/21/25/image_23012025_21_26_05_10463.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_14_9332.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_25_10430.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_35_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_45_10448.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_25_55_9348.jpg
/home/pi/Desktop/images/23012025/21/25/image_23012025_21_26_05_10463.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_14_9332.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_25_10430.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_35_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":["1331547481","1331547529","1331547526","1331547489","1331547519","1331547534"],"photo_ids_order":["1331547481","1331547489","1331547519","1331547526","1331547529","1331547534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4d08032b55a3200ac61fbb1a37c3271.jpg","text":"TemporaryFile(/tmp/multipartBody5199353094386986182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_25_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/26/4cc4ae70ce5ac88490661fa49b82a52b.jpg","text":"TemporaryFile(/tmp/multipartBody8582587864008872469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_26_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18a4d00a26c914270ae93e141260cbed.jpg","text":"TemporaryFile(/tmp/multipartBody6811455889178513317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_26_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/26/62f286754f7d4c8f03f2b3b16bfbb309.jpg","text":"TemporaryFile(/tmp/multipartBody4269486983472983490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_25_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/26/0d300022109abf26dc05129c90f6f00c.jpg","text":"TemporaryFile(/tmp/multipartBody6433135731221278100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_26_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/26/04ad4f6effce97270741e8e15cfe9b43.jpg","text":"TemporaryFile(/tmp/multipartBody6833316536417344310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862195369,"filename":"image_23012025_21_26_35_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331547519","file1":"1331547489","file0":"1331547481","file4":"1331547529","file5":"1331547534","file3":"1331547526"},"map_files_photo_id_array":[{"photo_id":"1331547534","filename":"file5"},{"photo_id":"1331547519","filename":"file2"},{"photo_id":"1331547529","filename":"file4"},{"photo_id":"1331547489","filename":"file1"},{"photo_id":"1331547481","filename":"file0"},{"photo_id":"1331547526","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331547481":["hashtag1","hashtag2"]},{"1331547529":["hashtag1","hashtag2"]},{"1331547526":["hashtag1","hashtag2"]},{"1331547489":["hashtag1","hashtag2"]},{"1331547519":["hashtag1","hashtag2"]},{"1331547534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331547481, 1331547529, 1331547526, 1331547489, 1331547519, 1331547534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.841150999069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:29:42.201267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/27/image_26012025_04_27_54_9369.jpg', '/home/pi/Desktop/images/26012025/04/27/image_26012025_04_28_04_10361.jpg', '/home/pi/Desktop/images/26012025/04/28/image_26012025_04_28_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/27/image_26012025_04_27_54_9369.jpg
/home/pi/Desktop/images/26012025/04/27/image_26012025_04_28_04_10361.jpg
/home/pi/Desktop/images/26012025/04/28/image_26012025_04_28_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":["1331547545","1331547550","1331547547"],"photo_ids_order":["1331547545","1331547547","1331547550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e5178d635216f21c568f3c43fb8ea40.jpg","text":"TemporaryFile(/tmp/multipartBody3663158540215713559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862243082,"filename":"image_26012025_04_27_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0bce0b0057a59038eff14ea990915ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2575321981894752667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862243082,"filename":"image_26012025_04_28_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/26/36c5700f9d766358d453b8e41639155b.jpg","text":"TemporaryFile(/tmp/multipartBody1863857033809389430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862243082,"filename":"image_26012025_04_28_04_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331547550","file1":"1331547547","file0":"1331547545"},"map_files_photo_id_array":[{"photo_id":"1331547550","filename":"file2"},{"photo_id":"1331547547","filename":"file1"},{"photo_id":"1331547545","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331547545":["hashtag1","hashtag2"]},{"1331547550":["hashtag1","hashtag2"]},{"1331547547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331547545, 1331547550, 1331547547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.320050477981567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:30:32.420023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/29/image_26012025_04_29_44_9358.jpg', '/home/pi/Desktop/images/26012025/04/29/image_26012025_04_30_04_9356.jpg', '/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_14_10377.jpg', '/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_25_10423.jpg', '/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_34_9379.jpg', '/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_45_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/29/image_26012025_04_29_44_9358.jpg
/home/pi/Desktop/images/26012025/04/29/image_26012025_04_30_04_9356.jpg
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_14_10377.jpg
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_25_10423.jpg
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_34_9379.jpg
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_45_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":["1331547850","1331548009","1331547993","1331547972","1331548011","1331547942"],"photo_ids_order":["1331547850","1331547942","1331547972","1331547993","1331548009","1331548011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d006c0b48a863409975a37063b33b0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2950355353161781189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_29_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/26/4b3e574d4b6363a23b4ff05325cb8d53.jpg","text":"TemporaryFile(/tmp/multipartBody887444507621495583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_30_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/26/99cac35cdd38b269eb75702d67b2cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody718045136666755113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_30_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/26/25688a61d659756071fcd21f71b1180b.jpg","text":"TemporaryFile(/tmp/multipartBody8819498437764910248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_30_14_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/26/d619c34894a6ba3431869b4670a8d26e.jpg","text":"TemporaryFile(/tmp/multipartBody6342752856245875310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_30_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/26/0d5880131a6fb9d8187bb767f00ac258.jpg","text":"TemporaryFile(/tmp/multipartBody243657860731398876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862293357,"filename":"image_26012025_04_30_04_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331547972","file1":"1331547942","file0":"1331547850","file4":"1331548009","file5":"1331548011","file3":"1331547993"},"map_files_photo_id_array":[{"photo_id":"1331548011","filename":"file5"},{"photo_id":"1331547972","filename":"file2"},{"photo_id":"1331548009","filename":"file4"},{"photo_id":"1331547942","filename":"file1"},{"photo_id":"1331547850","filename":"file0"},{"photo_id":"1331547993","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331547850":["hashtag1","hashtag2"]},{"1331548009":["hashtag1","hashtag2"]},{"1331547993":["hashtag1","hashtag2"]},{"1331547972":["hashtag1","hashtag2"]},{"1331548011":["hashtag1","hashtag2"]},{"1331547942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331547850, 1331548009, 1331547993, 1331547972, 1331548011, 1331547942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52401542663574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:31:32.708838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_54_9354.jpg', '/home/pi/Desktop/images/26012025/04/30/image_26012025_04_31_04_10395.jpg', '/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_15_10409.jpg', '/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_24_9357.jpg', '/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_35_10444.jpg', '/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_44_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_30_54_9354.jpg
/home/pi/Desktop/images/26012025/04/30/image_26012025_04_31_04_10395.jpg
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_15_10409.jpg
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_24_9357.jpg
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_35_10444.jpg
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331548135","1331548129","1331548207","1331548131","1331548125","1331548127"],"photo_ids_order":["1331548125","1331548127","1331548129","1331548131","1331548135","1331548207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95e9ef0ee8dc97b2f51dadd16918bc33.jpg","text":"TemporaryFile(/tmp/multipartBody8304768418141420224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_31_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/26/26f5ca895f3e66339abc5c307be6f8f8.jpg","text":"TemporaryFile(/tmp/multipartBody4847768644180831163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_31_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/26/659a6659e65d0ebc1ea642c729fd7130.jpg","text":"TemporaryFile(/tmp/multipartBody2794218957395764049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_31_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4aee6b8d7dd431c4fc3ca33101faac31.jpg","text":"TemporaryFile(/tmp/multipartBody1249835487630774307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_31_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efd4cc25f192cb0b6a6c799d3b4c489b.jpg","text":"TemporaryFile(/tmp/multipartBody3599107982716170984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_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/26/4aca7ef98ce3b6331b66d9f377e5597f.jpg","text":"TemporaryFile(/tmp/multipartBody2920181806539522284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862353655,"filename":"image_26012025_04_31_04_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331548129","file1":"1331548127","file0":"1331548125","file4":"1331548135","file5":"1331548207","file3":"1331548131"},"map_files_photo_id_array":[{"photo_id":"1331548207","filename":"file5"},{"photo_id":"1331548129","filename":"file2"},{"photo_id":"1331548135","filename":"file4"},{"photo_id":"1331548127","filename":"file1"},{"photo_id":"1331548125","filename":"file0"},{"photo_id":"1331548131","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331548135":["hashtag1","hashtag2"]},{"1331548129":["hashtag1","hashtag2"]},{"1331548207":["hashtag1","hashtag2"]},{"1331548131":["hashtag1","hashtag2"]},{"1331548125":["hashtag1","hashtag2"]},{"1331548127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331548135, 1331548129, 1331548207, 1331548131, 1331548125, 1331548127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13813495635986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:32:32.916042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_54_10343.jpg', '/home/pi/Desktop/images/26012025/04/31/image_26012025_04_32_05_10328.jpg', '/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_14_9318.jpg', '/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_24_10353.jpg', '/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_35_10295.jpg', '/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_44_9496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_31_54_10343.jpg
/home/pi/Desktop/images/26012025/04/31/image_26012025_04_32_05_10328.jpg
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_14_9318.jpg
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_24_10353.jpg
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_35_10295.jpg
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_44_9496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331549119","1331549082","1331548875","1331549103","1331548982","1331548745"],"photo_ids_order":["1331548745","1331548875","1331548982","1331549082","1331549103","1331549119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aedee41d828e8ca3648d25eccd4f9d90.jpg","text":"TemporaryFile(/tmp/multipartBody5347514265469603818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_32_44_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/104f5f680436ceebd2010c0303c2cd08.jpg","text":"TemporaryFile(/tmp/multipartBody5244649210317735424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_32_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/26/d10aa99518cc2fcc608fece5132aa63b.jpg","text":"TemporaryFile(/tmp/multipartBody8429390833107896479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_32_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac9ce7346569b1c2f72e3a9e7d5fe146.jpg","text":"TemporaryFile(/tmp/multipartBody1717953805269877670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_32_35_10295.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3e531cad3aa16b30ca04c97f9dde30d.jpg","text":"TemporaryFile(/tmp/multipartBody3910227622744812764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_32_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/26/36f7de25859b38cac5e66396be97f4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4776628989336106085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862413838,"filename":"image_26012025_04_31_54_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331548982","file1":"1331548875","file0":"1331548745","file4":"1331549103","file5":"1331549119","file3":"1331549082"},"map_files_photo_id_array":[{"photo_id":"1331549119","filename":"file5"},{"photo_id":"1331548982","filename":"file2"},{"photo_id":"1331549103","filename":"file4"},{"photo_id":"1331548875","filename":"file1"},{"photo_id":"1331548745","filename":"file0"},{"photo_id":"1331549082","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331549119":["hashtag1","hashtag2"]},{"1331549082":["hashtag1","hashtag2"]},{"1331548875":["hashtag1","hashtag2"]},{"1331549103":["hashtag1","hashtag2"]},{"1331548982":["hashtag1","hashtag2"]},{"1331548745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331549119, 1331549082, 1331548875, 1331549103, 1331548982, 1331548745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48241472244263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:33:33.241310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_55_10462.jpg', '/home/pi/Desktop/images/26012025/04/32/image_26012025_04_33_05_10364.jpg', '/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_14_9328.jpg', '/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_25_10467.jpg', '/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_34_9352.jpg', '/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_44_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_32_55_10462.jpg
/home/pi/Desktop/images/26012025/04/32/image_26012025_04_33_05_10364.jpg
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_14_9328.jpg
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_25_10467.jpg
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_34_9352.jpg
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_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":["1331549140","1331549137","1331549145","1331549130","1331549133","1331549143"],"photo_ids_order":["1331549130","1331549133","1331549137","1331549140","1331549143","1331549145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/157f97b05c4538bbc4d23209f21acde3.jpg","text":"TemporaryFile(/tmp/multipartBody785141169518190842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_33_25_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efc1e7188059d340683294bdd93c9339.jpg","text":"TemporaryFile(/tmp/multipartBody6516468001610822762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_33_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c8ee1ce4699b34e0ccad9abb4d9cc2d.jpg","text":"TemporaryFile(/tmp/multipartBody171038113243192984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_33_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/26/24e72360a691c6a50f6318d348ad6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8917457875456947403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_32_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/26/de93651370439ff0341213fdbdabd5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7497453944401781727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_33_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/26/e620039af60925c493b5ea366b02692b.jpg","text":"TemporaryFile(/tmp/multipartBody6236873967370855133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862474173,"filename":"image_26012025_04_33_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331549137","file1":"1331549133","file0":"1331549130","file4":"1331549143","file5":"1331549145","file3":"1331549140"},"map_files_photo_id_array":[{"photo_id":"1331549145","filename":"file5"},{"photo_id":"1331549137","filename":"file2"},{"photo_id":"1331549143","filename":"file4"},{"photo_id":"1331549133","filename":"file1"},{"photo_id":"1331549130","filename":"file0"},{"photo_id":"1331549140","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331549140":["hashtag1","hashtag2"]},{"1331549137":["hashtag1","hashtag2"]},{"1331549145":["hashtag1","hashtag2"]},{"1331549130":["hashtag1","hashtag2"]},{"1331549133":["hashtag1","hashtag2"]},{"1331549143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331549140, 1331549137, 1331549145, 1331549130, 1331549133, 1331549143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09680795669556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:34:32.420037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_55_10439.jpg', '/home/pi/Desktop/images/26012025/04/33/image_26012025_04_34_04_9382.jpg', '/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_15_10388.jpg', '/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_24_9351.jpg', '/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_34_10350.jpg', '/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_45_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_33_55_10439.jpg
/home/pi/Desktop/images/26012025/04/33/image_26012025_04_34_04_9382.jpg
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_15_10388.jpg
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_24_9351.jpg
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_34_10350.jpg
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_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":["1331549580","1331550106","1331550201","1331549861","1331549762","1331549965"],"photo_ids_order":["1331549580","1331549762","1331549861","1331549965","1331550106","1331550201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1d6ac22f1d680c2d294545045d19a881.jpg","text":"TemporaryFile(/tmp/multipartBody8954510854453655166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_33_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/26/0fa3dcef77c485b0c26b05e55c7da749.jpg","text":"TemporaryFile(/tmp/multipartBody4501448842002287037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_34_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/26/ef3d3325219f23b9caad7b5208de17b3.jpg","text":"TemporaryFile(/tmp/multipartBody2868164802767419986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_34_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/26/4a681aa0b12b5362659b5e7cca491bc1.jpg","text":"TemporaryFile(/tmp/multipartBody248638409923452968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_34_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/26/4e4a15af05774a61ceba9046b11b12ab.jpg","text":"TemporaryFile(/tmp/multipartBody165428376076828872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_34_04_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2422768c80e2d2bdf113a31c79fb7e30.jpg","text":"TemporaryFile(/tmp/multipartBody4617959717110752150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862533362,"filename":"image_26012025_04_34_24_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331549861","file1":"1331549762","file0":"1331549580","file4":"1331550106","file5":"1331550201","file3":"1331549965"},"map_files_photo_id_array":[{"photo_id":"1331550201","filename":"file5"},{"photo_id":"1331549861","filename":"file2"},{"photo_id":"1331550106","filename":"file4"},{"photo_id":"1331549762","filename":"file1"},{"photo_id":"1331549580","filename":"file0"},{"photo_id":"1331549965","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331549580":["hashtag1","hashtag2"]},{"1331550106":["hashtag1","hashtag2"]},{"1331550201":["hashtag1","hashtag2"]},{"1331549861":["hashtag1","hashtag2"]},{"1331549762":["hashtag1","hashtag2"]},{"1331549965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331549580, 1331550106, 1331550201, 1331549861, 1331549762, 1331549965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25668501853943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:35:32.715745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_54_9354.jpg', '/home/pi/Desktop/images/26012025/04/34/image_26012025_04_35_04_10350.jpg', '/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_15_10361.jpg', '/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_24_9349.jpg', '/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_35_10417.jpg', '/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_34_54_9354.jpg
/home/pi/Desktop/images/26012025/04/34/image_26012025_04_35_04_10350.jpg
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_15_10361.jpg
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_24_9349.jpg
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_35_10417.jpg
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_45_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331550373","1331550363","1331550366","1331550375","1331550369","1331550408"],"photo_ids_order":["1331550363","1331550366","1331550369","1331550373","1331550375","1331550408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6441d7d6477074936c240f26b7f63890.jpg","text":"TemporaryFile(/tmp/multipartBody8569168842277578764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_35_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/26/ca31e4a9198ec61f6253bfba2eee1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2531749483224022757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_34_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/26/d04a5a1612fa26001675d51bb0c0b401.jpg","text":"TemporaryFile(/tmp/multipartBody3363345860715535776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_35_04_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab353a25c69d10669f067353db1e9145.jpg","text":"TemporaryFile(/tmp/multipartBody3568643809165380923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_35_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/26/da4e9dab033ecdff00470d7750c1fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4229517623599167217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_35_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/26/b3f1e32dfb2ec1442654328a392e2a6e.jpg","text":"TemporaryFile(/tmp/multipartBody69385713370705863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862593634,"filename":"image_26012025_04_35_45_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331550369","file1":"1331550366","file0":"1331550363","file4":"1331550375","file5":"1331550408","file3":"1331550373"},"map_files_photo_id_array":[{"photo_id":"1331550408","filename":"file5"},{"photo_id":"1331550369","filename":"file2"},{"photo_id":"1331550375","filename":"file4"},{"photo_id":"1331550366","filename":"file1"},{"photo_id":"1331550363","filename":"file0"},{"photo_id":"1331550373","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331550373":["hashtag1","hashtag2"]},{"1331550363":["hashtag1","hashtag2"]},{"1331550366":["hashtag1","hashtag2"]},{"1331550375":["hashtag1","hashtag2"]},{"1331550369":["hashtag1","hashtag2"]},{"1331550408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331550373, 1331550363, 1331550366, 1331550375, 1331550369, 1331550408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.665809631347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:36:32.801088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_54_9339.jpg', '/home/pi/Desktop/images/26012025/04/35/image_26012025_04_36_05_10388.jpg', '/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_15_10339.jpg', '/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_24_9335.jpg', '/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_35_10352.jpg', '/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_44_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_35_54_9339.jpg
/home/pi/Desktop/images/26012025/04/35/image_26012025_04_36_05_10388.jpg
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_15_10339.jpg
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_24_9335.jpg
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_35_10352.jpg
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_44_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":["1331550706","1331550741","1331550698","1331550785","1331550665","1331550749"],"photo_ids_order":["1331550665","1331550698","1331550706","1331550741","1331550749","1331550785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49a22f3778b49a98f30f8410c25e324f.jpg","text":"TemporaryFile(/tmp/multipartBody2404453541533154141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_36_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f011c5744ca7b55e2ee53b8f25ca654.jpg","text":"TemporaryFile(/tmp/multipartBody105358878809822492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_36_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/26/abc466e7c1aa6b5ca0cd5d67afe69fb6.jpg","text":"TemporaryFile(/tmp/multipartBody37425582388458391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_36_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/26/be569caccfa151e726e81cc7e2abd8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7668482218608722727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_36_44_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/26/5eeb72fd31e4484ea346161fb3cac937.jpg","text":"TemporaryFile(/tmp/multipartBody4704756378960260168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_35_54_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c2f5c94f79f90f8b4722cc6c545af27.jpg","text":"TemporaryFile(/tmp/multipartBody3297716007208808961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862653822,"filename":"image_26012025_04_36_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331550706","file1":"1331550698","file0":"1331550665","file4":"1331550749","file5":"1331550785","file3":"1331550741"},"map_files_photo_id_array":[{"photo_id":"1331550785","filename":"file5"},{"photo_id":"1331550706","filename":"file2"},{"photo_id":"1331550749","filename":"file4"},{"photo_id":"1331550698","filename":"file1"},{"photo_id":"1331550665","filename":"file0"},{"photo_id":"1331550741","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331550706":["hashtag1","hashtag2"]},{"1331550741":["hashtag1","hashtag2"]},{"1331550698":["hashtag1","hashtag2"]},{"1331550785":["hashtag1","hashtag2"]},{"1331550665":["hashtag1","hashtag2"]},{"1331550749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331550706, 1331550741, 1331550698, 1331550785, 1331550665, 1331550749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1928391456604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:37:33.041758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_54_10355.jpg', '/home/pi/Desktop/images/26012025/04/36/image_26012025_04_37_05_10334.jpg', '/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_14_9328.jpg', '/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_24_10366.jpg', '/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_35_10345.jpg', '/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_44_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_36_54_10355.jpg
/home/pi/Desktop/images/26012025/04/36/image_26012025_04_37_05_10334.jpg
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_14_9328.jpg
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_24_10366.jpg
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_35_10345.jpg
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_44_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":["1331550961","1331550949","1331550964","1331550958","1331550951","1331550956"],"photo_ids_order":["1331550949","1331550951","1331550956","1331550958","1331550961","1331550964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac57e247639ab7450026fd01b66908ac.jpg","text":"TemporaryFile(/tmp/multipartBody8090352195650771896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_37_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/26/33fb970c63ee18ff9498d85ecf1928c4.jpg","text":"TemporaryFile(/tmp/multipartBody3862710287353332261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_36_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/26/502f17f72ce4db037593fc227db11900.jpg","text":"TemporaryFile(/tmp/multipartBody3965795389127759156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_37_44_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/26/fe308f8d9f2ed33696687608ea3b1a93.jpg","text":"TemporaryFile(/tmp/multipartBody4819501309242389636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_37_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/26/b173cc4a5b6ae5ad74b826cd90fa591b.jpg","text":"TemporaryFile(/tmp/multipartBody2528610683864559474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_37_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/26/3856913098bc44d36e0dde65898460eb.jpg","text":"TemporaryFile(/tmp/multipartBody5832918742450519875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862713960,"filename":"image_26012025_04_37_14_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331550956","file1":"1331550951","file0":"1331550949","file4":"1331550961","file5":"1331550964","file3":"1331550958"},"map_files_photo_id_array":[{"photo_id":"1331550964","filename":"file5"},{"photo_id":"1331550956","filename":"file2"},{"photo_id":"1331550961","filename":"file4"},{"photo_id":"1331550951","filename":"file1"},{"photo_id":"1331550949","filename":"file0"},{"photo_id":"1331550958","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331550961":["hashtag1","hashtag2"]},{"1331550949":["hashtag1","hashtag2"]},{"1331550964":["hashtag1","hashtag2"]},{"1331550958":["hashtag1","hashtag2"]},{"1331550951":["hashtag1","hashtag2"]},{"1331550956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331550961, 1331550949, 1331550964, 1331550958, 1331550951, 1331550956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88323521614075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:38:32.251766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_55_10472.jpg', '/home/pi/Desktop/images/26012025/04/37/image_26012025_04_38_05_10333.jpg', '/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_14_9341.jpg', '/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_25_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_37_55_10472.jpg
/home/pi/Desktop/images/26012025/04/37/image_26012025_04_38_05_10333.jpg
/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_14_9341.jpg
/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_25_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":["1331550982","1331550987","1331550992","1331550989"],"photo_ids_order":["1331550982","1331550987","1331550989","1331550992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e4bf03842db6cd66fc0ef32edf800c4.jpg","text":"TemporaryFile(/tmp/multipartBody2863119467167480226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862773133,"filename":"image_26012025_04_37_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/26/be76774379a09eb173fe68ca96ba8619.jpg","text":"TemporaryFile(/tmp/multipartBody2473762016895850527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862773133,"filename":"image_26012025_04_38_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/26/3609819b3bb014345fbfd14eccda22db.jpg","text":"TemporaryFile(/tmp/multipartBody8516032222724665839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862773133,"filename":"image_26012025_04_38_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/26/90b96f476a5c64afd3fd187e4a55a0d9.jpg","text":"TemporaryFile(/tmp/multipartBody6948688113767039275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862773133,"filename":"image_26012025_04_38_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331550989","file1":"1331550987","file0":"1331550982","file3":"1331550992"},"map_files_photo_id_array":[{"photo_id":"1331550989","filename":"file2"},{"photo_id":"1331550987","filename":"file1"},{"photo_id":"1331550982","filename":"file0"},{"photo_id":"1331550992","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331550982":["hashtag1","hashtag2"]},{"1331550987":["hashtag1","hashtag2"]},{"1331550992":["hashtag1","hashtag2"]},{"1331550989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331550982, 1331550987, 1331550992, 1331550989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.638535737991333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:39:32.453613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_34_9343.jpg', '/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_14_10323.jpg', '/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_25_10400.jpg', '/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_34_9427.jpg', '/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/38/image_26012025_04_38_34_9343.jpg
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_14_10323.jpg
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_25_10400.jpg
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_34_9427.jpg
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_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":["1331551024","1331551018","1331551020","1331551026","1331551022"],"photo_ids_order":["1331551018","1331551020","1331551022","1331551024","1331551026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/095474234c21702f7f8c07309fc3de64.jpg","text":"TemporaryFile(/tmp/multipartBody4478254461870679252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862833360,"filename":"image_26012025_04_39_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b56374be63b90f31368751e055f8d10.jpg","text":"TemporaryFile(/tmp/multipartBody1264316411652096098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862833360,"filename":"image_26012025_04_38_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/26/c5a3cd1b8051c4bda12cdc3bc43d31da.jpg","text":"TemporaryFile(/tmp/multipartBody6977139408728306884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862833360,"filename":"image_26012025_04_39_14_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/26/21822d8bc6d1e6f9b7200de036d5272c.jpg","text":"TemporaryFile(/tmp/multipartBody6362778696448733947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862833360,"filename":"image_26012025_04_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/26/a2b6363cd79e8756dc6d5a4aecc514b2.jpg","text":"TemporaryFile(/tmp/multipartBody2346791906451875929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862833360,"filename":"image_26012025_04_39_25_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331551022","file1":"1331551020","file0":"1331551018","file4":"1331551026","file3":"1331551024"},"map_files_photo_id_array":[{"photo_id":"1331551022","filename":"file2"},{"photo_id":"1331551026","filename":"file4"},{"photo_id":"1331551020","filename":"file1"},{"photo_id":"1331551018","filename":"file0"},{"photo_id":"1331551024","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331551024":["hashtag1","hashtag2"]},{"1331551018":["hashtag1","hashtag2"]},{"1331551020":["hashtag1","hashtag2"]},{"1331551026":["hashtag1","hashtag2"]},{"1331551022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331551024, 1331551018, 1331551020, 1331551026, 1331551022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.51765823364258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:40:32.726355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_54_9343.jpg', '/home/pi/Desktop/images/26012025/04/39/image_26012025_04_40_04_10335.jpg', '/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_15_10443.jpg', '/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_24_9344.jpg', '/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_34_10333.jpg', '/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_39_54_9343.jpg
/home/pi/Desktop/images/26012025/04/39/image_26012025_04_40_04_10335.jpg
/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_15_10443.jpg
/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_24_9344.jpg
/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_34_10333.jpg
/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_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":["1331551042","1331551045","1331551038","1331551052","1331551049","1331551054"],"photo_ids_order":["1331551038","1331551042","1331551045","1331551049","1331551052","1331551054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c456d8ba18a963ff5053d21741eb5a1.jpg","text":"TemporaryFile(/tmp/multipartBody1897564251765408910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_40_04_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ed50dc4577aeba138f703a91ecb43c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4697360361639549775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_40_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/26/5944cd21d50babf0f94c1a3e488862af.jpg","text":"TemporaryFile(/tmp/multipartBody1089158831169228382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_39_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/26/b6566c15eb8d267a33083896df1132d2.jpg","text":"TemporaryFile(/tmp/multipartBody2438520265459277656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_40_34_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/656019712d081ccbdde30ba7537287b3.jpg","text":"TemporaryFile(/tmp/multipartBody3454817757001162568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_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/26/9eedbc187f11bc6fb89dfb912e35261f.jpg","text":"TemporaryFile(/tmp/multipartBody6006727369045256403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862893705,"filename":"image_26012025_04_40_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331551045","file1":"1331551042","file0":"1331551038","file4":"1331551052","file5":"1331551054","file3":"1331551049"},"map_files_photo_id_array":[{"photo_id":"1331551054","filename":"file5"},{"photo_id":"1331551045","filename":"file2"},{"photo_id":"1331551052","filename":"file4"},{"photo_id":"1331551042","filename":"file1"},{"photo_id":"1331551038","filename":"file0"},{"photo_id":"1331551049","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331551042":["hashtag1","hashtag2"]},{"1331551045":["hashtag1","hashtag2"]},{"1331551038":["hashtag1","hashtag2"]},{"1331551052":["hashtag1","hashtag2"]},{"1331551049":["hashtag1","hashtag2"]},{"1331551054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331551042, 1331551045, 1331551038, 1331551052, 1331551049, 1331551054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2523078918457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:41:33.034100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_54_9340.jpg', '/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_24_9336.jpg', '/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_35_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/40/image_26012025_04_40_54_9340.jpg
/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_24_9336.jpg
/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_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":["1331551404","1331551598","1331551838"],"photo_ids_order":["1331551404","1331551598","1331551838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d264325fee42362cc3d9f06d532d6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3155394646387418766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862953907,"filename":"image_26012025_04_40_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54bf3431c6d0935d9a0528178b790a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2976187938303568273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862953907,"filename":"image_26012025_04_41_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/06fbd35d1257e0a647f4c1984deca22d.jpg","text":"TemporaryFile(/tmp/multipartBody3484175775621867598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862953907,"filename":"image_26012025_04_41_35_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331551838","file1":"1331551598","file0":"1331551404"},"map_files_photo_id_array":[{"photo_id":"1331551838","filename":"file2"},{"photo_id":"1331551598","filename":"file1"},{"photo_id":"1331551404","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331551404":["hashtag1","hashtag2"]},{"1331551598":["hashtag1","hashtag2"]},{"1331551838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331551404, 1331551598, 1331551838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.777538061141968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:42:02.887174
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_45_9434.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_55_10493.jpg', '/home/pi/Desktop/images/23012025/21/26/image_23012025_21_27_05_9447.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_15_10353.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_24_9418.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_35_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_45_9434.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_26_55_10493.jpg
/home/pi/Desktop/images/23012025/21/26/image_23012025_21_27_05_9447.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_15_10353.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_24_9418.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_35_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":["1331552505","1331552270","1331552402","1331552266","1331552595","1331552320"],"photo_ids_order":["1331552266","1331552270","1331552320","1331552402","1331552505","1331552595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac99dbe97acc708150343c7580b4d6e6.jpg","text":"TemporaryFile(/tmp/multipartBody6511777102087657800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_27_24_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e728bf36956ce7d8727f428a2aee1de4.jpg","text":"TemporaryFile(/tmp/multipartBody3722556934206287644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_26_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/26/d922ded7ffe423ef37818d46b079be14.jpg","text":"TemporaryFile(/tmp/multipartBody6738052156380860846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_27_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/26/1f3bd24664d9ced56e690ce6d487ba50.jpg","text":"TemporaryFile(/tmp/multipartBody8140351442276363326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_26_45_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/26/3f733a39eaf184050521e5602bbc1185.jpg","text":"TemporaryFile(/tmp/multipartBody5754454020821637025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_27_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/26/e7d058991b4b84006c606374efd1b63f.jpg","text":"TemporaryFile(/tmp/multipartBody816425321242358944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737862984534,"filename":"image_23012025_21_27_05_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331552320","file1":"1331552270","file0":"1331552266","file4":"1331552505","file5":"1331552595","file3":"1331552402"},"map_files_photo_id_array":[{"photo_id":"1331552595","filename":"file5"},{"photo_id":"1331552320","filename":"file2"},{"photo_id":"1331552505","filename":"file4"},{"photo_id":"1331552270","filename":"file1"},{"photo_id":"1331552266","filename":"file0"},{"photo_id":"1331552402","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331552505":["hashtag1","hashtag2"]},{"1331552270":["hashtag1","hashtag2"]},{"1331552402":["hashtag1","hashtag2"]},{"1331552266":["hashtag1","hashtag2"]},{"1331552595":["hashtag1","hashtag2"]},{"1331552320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331552505, 1331552270, 1331552402, 1331552266, 1331552595, 1331552320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04324555397034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 04:42:52.184198
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.967207431793213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:43:03.986000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_44_9439.jpg', '/home/pi/Desktop/images/26012025/04/41/image_26012025_04_42_05_10388.jpg', '/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_14_9339.jpg', '/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_25_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/41/image_26012025_04_41_44_9439.jpg
/home/pi/Desktop/images/26012025/04/41/image_26012025_04_42_05_10388.jpg
/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_14_9339.jpg
/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_25_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331553234","1331552993","1331553181","1331553082"],"photo_ids_order":["1331552993","1331553082","1331553181","1331553234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/88b8da0ba9ec0bf94a16e5a2bf41ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody2925512397874688732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863045059,"filename":"image_26012025_04_42_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/26/a17110cc9d35df96114d13dd4ae6b706.jpg","text":"TemporaryFile(/tmp/multipartBody5052509653066005417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863045059,"filename":"image_26012025_04_41_44_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8583a997946d17b99348cf24c1bfa1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2757006153985867016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863045059,"filename":"image_26012025_04_42_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/26/e8cd70738f0b2ce998395229d96bdf0b.jpg","text":"TemporaryFile(/tmp/multipartBody3547434970495521690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863045059,"filename":"image_26012025_04_42_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331553181","file1":"1331553082","file0":"1331552993","file3":"1331553234"},"map_files_photo_id_array":[{"photo_id":"1331553181","filename":"file2"},{"photo_id":"1331553082","filename":"file1"},{"photo_id":"1331552993","filename":"file0"},{"photo_id":"1331553234","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331553234":["hashtag1","hashtag2"]},{"1331552993":["hashtag1","hashtag2"]},{"1331553181":["hashtag1","hashtag2"]},{"1331553082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331553234, 1331552993, 1331553181, 1331553082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.5224187374115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:43:42.396904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_55_10355.jpg', '/home/pi/Desktop/images/26012025/04/42/image_26012025_04_43_04_9426.jpg', '/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_14_10332.jpg', '/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_25_10441.jpg', '/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_34_9310.jpg', '/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_45_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/42/image_26012025_04_42_55_10355.jpg
/home/pi/Desktop/images/26012025/04/42/image_26012025_04_43_04_9426.jpg
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_14_10332.jpg
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_25_10441.jpg
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_34_9310.jpg
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_45_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":["1331553992","1331553953","1331553701","1331553532","1331553430","1331553891"],"photo_ids_order":["1331553430","1331553532","1331553701","1331553891","1331553953","1331553992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf41caea5f877c6118c4a14de694254e.jpg","text":"TemporaryFile(/tmp/multipartBody7204253152530694464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_43_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/26/c94f63915861682c42cb4598e77ddf39.jpg","text":"TemporaryFile(/tmp/multipartBody9000148701898148784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_43_34_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1a781c300bc8abb6b51764299c8be73.jpg","text":"TemporaryFile(/tmp/multipartBody4017450561073586750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_43_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/570168da1eab92a98abd8fc82059b0e1.jpg","text":"TemporaryFile(/tmp/multipartBody6625507244422759643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_43_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/26/89945e7e85fceaeebb46abe3e69f19bf.jpg","text":"TemporaryFile(/tmp/multipartBody7006210632542031652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_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/26/7dbf80d1d495e26fba86dacb1e3de1ad.jpg","text":"TemporaryFile(/tmp/multipartBody6365454492994907218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863083346,"filename":"image_26012025_04_43_25_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331553701","file1":"1331553532","file0":"1331553430","file4":"1331553953","file5":"1331553992","file3":"1331553891"},"map_files_photo_id_array":[{"photo_id":"1331553992","filename":"file5"},{"photo_id":"1331553701","filename":"file2"},{"photo_id":"1331553953","filename":"file4"},{"photo_id":"1331553532","filename":"file1"},{"photo_id":"1331553430","filename":"file0"},{"photo_id":"1331553891","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331553992":["hashtag1","hashtag2"]},{"1331553953":["hashtag1","hashtag2"]},{"1331553701":["hashtag1","hashtag2"]},{"1331553532":["hashtag1","hashtag2"]},{"1331553430":["hashtag1","hashtag2"]},{"1331553891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331553992, 1331553953, 1331553701, 1331553532, 1331553430, 1331553891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.502333879470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:44:32.612394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_54_9388.jpg', '/home/pi/Desktop/images/26012025/04/43/image_26012025_04_44_04_10316.jpg', '/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_15_10422.jpg', '/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_24_9345.jpg', '/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_34_10343.jpg', '/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_43_54_9388.jpg
/home/pi/Desktop/images/26012025/04/43/image_26012025_04_44_04_10316.jpg
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_15_10422.jpg
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_24_9345.jpg
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_34_10343.jpg
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_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":["1331554421","1331554183","1331554576","1331554102","1331554269","1331554527"],"photo_ids_order":["1331554102","1331554183","1331554269","1331554421","1331554527","1331554576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b0a16bccd1da0cf680ed094d5067ffea.jpg","text":"TemporaryFile(/tmp/multipartBody6050938129004362408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_44_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b3f0901566521061f9b314fda14d982.jpg","text":"TemporaryFile(/tmp/multipartBody658708632358463936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_44_04_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2563e7dae8b168e2e27e1ab5bd37b10f.jpg","text":"TemporaryFile(/tmp/multipartBody1159059256910043696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_44_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/26/a19430cc70feaf7f5a9a73e6339076cd.jpg","text":"TemporaryFile(/tmp/multipartBody2247921882986011901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_43_54_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/26/74c163c71f2fbde681dfc6090e897d79.jpg","text":"TemporaryFile(/tmp/multipartBody6064018297038007778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_44_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/26/d3e42dd23e2344bc450e31c41f38b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody2565188686808944262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863133541,"filename":"image_26012025_04_44_34_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331554269","file1":"1331554183","file0":"1331554102","file4":"1331554527","file5":"1331554576","file3":"1331554421"},"map_files_photo_id_array":[{"photo_id":"1331554576","filename":"file5"},{"photo_id":"1331554269","filename":"file2"},{"photo_id":"1331554527","filename":"file4"},{"photo_id":"1331554183","filename":"file1"},{"photo_id":"1331554102","filename":"file0"},{"photo_id":"1331554421","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331554421":["hashtag1","hashtag2"]},{"1331554183":["hashtag1","hashtag2"]},{"1331554576":["hashtag1","hashtag2"]},{"1331554102":["hashtag1","hashtag2"]},{"1331554269":["hashtag1","hashtag2"]},{"1331554527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331554421, 1331554183, 1331554576, 1331554102, 1331554269, 1331554527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42289662361145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:45:32.889867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_54_9428.jpg', '/home/pi/Desktop/images/26012025/04/44/image_26012025_04_45_05_10400.jpg', '/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_14_9374.jpg', '/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_24_10368.jpg', '/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_35_10420.jpg', '/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_44_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_44_54_9428.jpg
/home/pi/Desktop/images/26012025/04/44/image_26012025_04_45_05_10400.jpg
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_14_9374.jpg
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_24_10368.jpg
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_35_10420.jpg
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_44_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":["1331554730","1331554727","1331554699","1331554735","1331554732","1331554705"],"photo_ids_order":["1331554699","1331554705","1331554727","1331554730","1331554732","1331554735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ebded15a6ad3cdfe638eb0a9d309eaae.jpg","text":"TemporaryFile(/tmp/multipartBody8624018948852796803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_45_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/26/e474930349339e9b0ad6eb25c3abe1cc.jpg","text":"TemporaryFile(/tmp/multipartBody4917158955742055442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_45_14_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d03e7ac2d25413469648a1c491d5519.jpg","text":"TemporaryFile(/tmp/multipartBody6573039977401589064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_44_54_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/26/8e454df72ecee654bf73df59f11b1381.jpg","text":"TemporaryFile(/tmp/multipartBody7458905197639344091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_45_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db2eea208a3c9a65c56398d4d6ed5706.jpg","text":"TemporaryFile(/tmp/multipartBody900815047527341896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_45_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e571eb5bac673920d9a7fcacca120941.jpg","text":"TemporaryFile(/tmp/multipartBody1537617333386464600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863193805,"filename":"image_26012025_04_45_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331554727","file1":"1331554705","file0":"1331554699","file4":"1331554732","file5":"1331554735","file3":"1331554730"},"map_files_photo_id_array":[{"photo_id":"1331554735","filename":"file5"},{"photo_id":"1331554727","filename":"file2"},{"photo_id":"1331554732","filename":"file4"},{"photo_id":"1331554705","filename":"file1"},{"photo_id":"1331554699","filename":"file0"},{"photo_id":"1331554730","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331554730":["hashtag1","hashtag2"]},{"1331554727":["hashtag1","hashtag2"]},{"1331554699":["hashtag1","hashtag2"]},{"1331554735":["hashtag1","hashtag2"]},{"1331554732":["hashtag1","hashtag2"]},{"1331554705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331554730, 1331554727, 1331554699, 1331554735, 1331554732, 1331554705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.493841886520386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:46:32.274853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_54_10353.jpg', '/home/pi/Desktop/images/26012025/04/45/image_26012025_04_46_05_10364.jpg', '/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_14_9384.jpg', '/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_25_10457.jpg', '/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_34_9341.jpg', '/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_44_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_45_54_10353.jpg
/home/pi/Desktop/images/26012025/04/45/image_26012025_04_46_05_10364.jpg
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_14_9384.jpg
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_25_10457.jpg
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_34_9341.jpg
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_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":["1331554784","1331554786","1331554780","1331554774","1331554777","1331554782"],"photo_ids_order":["1331554774","1331554777","1331554780","1331554782","1331554784","1331554786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/85657bc4b36e41ae29164c4c5c314279.jpg","text":"TemporaryFile(/tmp/multipartBody6974150511679998927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_46_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/26/6151b34227a06625091259fde1536ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2468358925904513335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_46_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/26/a3adfe40201457921e7494ac965a8388.jpg","text":"TemporaryFile(/tmp/multipartBody2023475977828904106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_46_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dbefff7bbde7a845a91cf220dada7159.jpg","text":"TemporaryFile(/tmp/multipartBody4409688894375930038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_45_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/26/136bbd00791b095596f4e891fa43a8a9.jpg","text":"TemporaryFile(/tmp/multipartBody8820142302802926657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_46_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/26/e34bce8c09f1e7c9d2322adca0927363.jpg","text":"TemporaryFile(/tmp/multipartBody443132824467227319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863253182,"filename":"image_26012025_04_46_25_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331554780","file1":"1331554777","file0":"1331554774","file4":"1331554784","file5":"1331554786","file3":"1331554782"},"map_files_photo_id_array":[{"photo_id":"1331554786","filename":"file5"},{"photo_id":"1331554780","filename":"file2"},{"photo_id":"1331554784","filename":"file4"},{"photo_id":"1331554777","filename":"file1"},{"photo_id":"1331554774","filename":"file0"},{"photo_id":"1331554782","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331554784":["hashtag1","hashtag2"]},{"1331554786":["hashtag1","hashtag2"]},{"1331554780":["hashtag1","hashtag2"]},{"1331554774":["hashtag1","hashtag2"]},{"1331554777":["hashtag1","hashtag2"]},{"1331554782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331554784, 1331554786, 1331554780, 1331554774, 1331554777, 1331554782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.706772327423096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:47:32.489053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_55_10342.jpg', '/home/pi/Desktop/images/26012025/04/46/image_26012025_04_47_04_9325.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_15_10460.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_25_10355.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_34_9315.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_45_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_46_55_10342.jpg
/home/pi/Desktop/images/26012025/04/46/image_26012025_04_47_04_9325.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_15_10460.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_25_10355.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_34_9315.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_45_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":["1331554806","1331554798","1331554802","1331554810","1331554813","1331554815"],"photo_ids_order":["1331554798","1331554802","1331554806","1331554810","1331554813","1331554815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5be48ca3e15d6c9c8e25889933628bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8644495965994292772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_47_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/26/0cda38f834b63800ac38aaa62fc89807.jpg","text":"TemporaryFile(/tmp/multipartBody8004365279002609893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_46_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/26/db43892f163ec994a8dde8082db2645b.jpg","text":"TemporaryFile(/tmp/multipartBody7420352397123643168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_47_04_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/26/e149840b085a22b2897a3f21a5293ac8.jpg","text":"TemporaryFile(/tmp/multipartBody992634771661921216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_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/26/de259b84b837dcc4f49ac32c4e67464a.jpg","text":"TemporaryFile(/tmp/multipartBody3006508963804111887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_47_34_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/517d4d1f1873e717674277d63fd0dae2.jpg","text":"TemporaryFile(/tmp/multipartBody5625054831246382042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863313407,"filename":"image_26012025_04_47_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331554806","file1":"1331554802","file0":"1331554798","file4":"1331554813","file5":"1331554815","file3":"1331554810"},"map_files_photo_id_array":[{"photo_id":"1331554815","filename":"file5"},{"photo_id":"1331554806","filename":"file2"},{"photo_id":"1331554813","filename":"file4"},{"photo_id":"1331554802","filename":"file1"},{"photo_id":"1331554798","filename":"file0"},{"photo_id":"1331554810","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331554806":["hashtag1","hashtag2"]},{"1331554798":["hashtag1","hashtag2"]},{"1331554802":["hashtag1","hashtag2"]},{"1331554810":["hashtag1","hashtag2"]},{"1331554813":["hashtag1","hashtag2"]},{"1331554815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331554806, 1331554798, 1331554802, 1331554810, 1331554813, 1331554815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.210728883743286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:48:32.825726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_54_9351.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_48_04_10347.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_15_10475.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_24_9347.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_35_10435.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_54_9351.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_48_04_10347.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_15_10475.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_24_9347.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_35_10435.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_45_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.5279710292816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:48:42.693698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_54_9351.jpg', '/home/pi/Desktop/images/26012025/04/47/image_26012025_04_48_04_10347.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_15_10475.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_24_9347.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_35_10435.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_47_54_9351.jpg
/home/pi/Desktop/images/26012025/04/47/image_26012025_04_48_04_10347.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_15_10475.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_24_9347.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_35_10435.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_45_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":["1331555006","1331555620","1331554927","1331555577","1331555363","1331555150"],"photo_ids_order":["1331554927","1331555006","1331555150","1331555363","1331555577","1331555620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79b5787b821e8d7392db3ebb20f00a90.jpg","text":"TemporaryFile(/tmp/multipartBody402204155966075312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_48_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3096fda4df22db091a5770b886bd01b3.jpg","text":"TemporaryFile(/tmp/multipartBody7018007094560689448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_48_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/26/a867cec41ec922eeba2d9a527cf04cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4961942201627261010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_47_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/26/84ceef4b8b7dfef707b7da5d6f3a3645.jpg","text":"TemporaryFile(/tmp/multipartBody668002531730729522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_48_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/26/b5174743668192b4829bcf09c33ca13a.jpg","text":"TemporaryFile(/tmp/multipartBody7248998228910250419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_48_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/26/e59498e86123a910db7a625848c8f563.jpg","text":"TemporaryFile(/tmp/multipartBody7408043357976280676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863383603,"filename":"image_26012025_04_48_15_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331555150","file1":"1331555006","file0":"1331554927","file4":"1331555577","file5":"1331555620","file3":"1331555363"},"map_files_photo_id_array":[{"photo_id":"1331555620","filename":"file5"},{"photo_id":"1331555150","filename":"file2"},{"photo_id":"1331555577","filename":"file4"},{"photo_id":"1331555006","filename":"file1"},{"photo_id":"1331554927","filename":"file0"},{"photo_id":"1331555363","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331555006":["hashtag1","hashtag2"]},{"1331555620":["hashtag1","hashtag2"]},{"1331554927":["hashtag1","hashtag2"]},{"1331555577":["hashtag1","hashtag2"]},{"1331555363":["hashtag1","hashtag2"]},{"1331555150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331555006, 1331555620, 1331554927, 1331555577, 1331555363, 1331555150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33705520629883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:49:33.016945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_54_9335.jpg', '/home/pi/Desktop/images/26012025/04/48/image_26012025_04_49_05_10429.jpg', '/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_14_9392.jpg', '/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_24_10346.jpg', '/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_35_10348.jpg', '/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_44_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_48_54_9335.jpg
/home/pi/Desktop/images/26012025/04/48/image_26012025_04_49_05_10429.jpg
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_14_9392.jpg
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_24_10346.jpg
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_35_10348.jpg
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_44_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331555936","1331555776","1331555773","1331555778","1331555771","1331555768"],"photo_ids_order":["1331555768","1331555771","1331555773","1331555776","1331555778","1331555936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1167539e1366aa78bd4018737243b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6431603515466385651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_49_44_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/26/f129613cb50b42240db8f0d8ffc03594.jpg","text":"TemporaryFile(/tmp/multipartBody471769697427030119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_49_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/26/55a8d8585df77a31a7c2c6adbbfab75f.jpg","text":"TemporaryFile(/tmp/multipartBody6679553123434873504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_49_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ba752bbec4425b5f7b5138b6a133109.jpg","text":"TemporaryFile(/tmp/multipartBody2030415592394319917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_49_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/26/c743c80075c5653a8db9722343459c56.jpg","text":"TemporaryFile(/tmp/multipartBody4260796925049788671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_49_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/26/877eca86b5d919cbaca04fd2e39ade97.jpg","text":"TemporaryFile(/tmp/multipartBody7969313581788853062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863433963,"filename":"image_26012025_04_48_54_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331555773","file1":"1331555771","file0":"1331555768","file4":"1331555778","file5":"1331555936","file3":"1331555776"},"map_files_photo_id_array":[{"photo_id":"1331555936","filename":"file5"},{"photo_id":"1331555773","filename":"file2"},{"photo_id":"1331555778","filename":"file4"},{"photo_id":"1331555771","filename":"file1"},{"photo_id":"1331555768","filename":"file0"},{"photo_id":"1331555776","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331555936":["hashtag1","hashtag2"]},{"1331555776":["hashtag1","hashtag2"]},{"1331555773":["hashtag1","hashtag2"]},{"1331555778":["hashtag1","hashtag2"]},{"1331555771":["hashtag1","hashtag2"]},{"1331555768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331555936, 1331555776, 1331555773, 1331555778, 1331555771, 1331555768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80506157875061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:50:32.348987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_54_10326.jpg', '/home/pi/Desktop/images/26012025/04/49/image_26012025_04_50_05_10430.jpg', '/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_25_10458.jpg', '/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_34_9406.jpg', '/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_44_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_49_54_10326.jpg
/home/pi/Desktop/images/26012025/04/49/image_26012025_04_50_05_10430.jpg
/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_25_10458.jpg
/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_34_9406.jpg
/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_44_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331556110","1331556104","1331556097","1331556100","1331556107"],"photo_ids_order":["1331556097","1331556100","1331556104","1331556107","1331556110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/28b731cecf7e5eb576301a334f33686a.jpg","text":"TemporaryFile(/tmp/multipartBody8806003306738433984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863493248,"filename":"image_26012025_04_50_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5ddaa2fbee8529d06dc68b46812248f.jpg","text":"TemporaryFile(/tmp/multipartBody6249397847637119397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863493248,"filename":"image_26012025_04_50_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/26/b507306ad7540ef35826cdd598ea11ad.jpg","text":"TemporaryFile(/tmp/multipartBody7799816239545575141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863493248,"filename":"image_26012025_04_49_54_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/26/595fe3a538486d4773242a472fe144c1.jpg","text":"TemporaryFile(/tmp/multipartBody2079161313930641317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863493248,"filename":"image_26012025_04_50_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/26/910d5d1abcb6968d1a37d32b90ef9587.jpg","text":"TemporaryFile(/tmp/multipartBody8370349075160586728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863493248,"filename":"image_26012025_04_50_34_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331556104","file1":"1331556100","file0":"1331556097","file4":"1331556110","file3":"1331556107"},"map_files_photo_id_array":[{"photo_id":"1331556104","filename":"file2"},{"photo_id":"1331556110","filename":"file4"},{"photo_id":"1331556100","filename":"file1"},{"photo_id":"1331556097","filename":"file0"},{"photo_id":"1331556107","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331556110":["hashtag1","hashtag2"]},{"1331556104":["hashtag1","hashtag2"]},{"1331556097":["hashtag1","hashtag2"]},{"1331556100":["hashtag1","hashtag2"]},{"1331556107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331556110, 1331556104, 1331556097, 1331556100, 1331556107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.71014380455017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:51:32.647995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_55_10420.jpg', '/home/pi/Desktop/images/26012025/04/50/image_26012025_04_51_04_9348.jpg', '/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_15_10369.jpg', '/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_24_9423.jpg', '/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_34_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/50/image_26012025_04_50_55_10420.jpg
/home/pi/Desktop/images/26012025/04/50/image_26012025_04_51_04_9348.jpg
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_15_10369.jpg
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_24_9423.jpg
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_34_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":["1331556541","1331556441","1331556252","1331556630","1331556344"],"photo_ids_order":["1331556252","1331556344","1331556441","1331556541","1331556630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82d2bddbbea391accf46e4dccc68a836.jpg","text":"TemporaryFile(/tmp/multipartBody5261132812442744215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863553549,"filename":"image_26012025_04_51_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/26/530e88affd99495eac5deaface735bed.jpg","text":"TemporaryFile(/tmp/multipartBody384674900182424279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863553549,"filename":"image_26012025_04_51_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/26/4e1556e898b507b732541fe50137aec5.jpg","text":"TemporaryFile(/tmp/multipartBody2865600013451187325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863553549,"filename":"image_26012025_04_50_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/26/a6a3a935174d82e70dee9f9b5e7f254a.jpg","text":"TemporaryFile(/tmp/multipartBody8211118120543298436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863553549,"filename":"image_26012025_04_51_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f5862e6e427118554a8581d68406790.jpg","text":"TemporaryFile(/tmp/multipartBody1605267688200908879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863553549,"filename":"image_26012025_04_51_04_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331556441","file1":"1331556344","file0":"1331556252","file4":"1331556630","file3":"1331556541"},"map_files_photo_id_array":[{"photo_id":"1331556441","filename":"file2"},{"photo_id":"1331556630","filename":"file4"},{"photo_id":"1331556344","filename":"file1"},{"photo_id":"1331556252","filename":"file0"},{"photo_id":"1331556541","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331556541":["hashtag1","hashtag2"]},{"1331556441":["hashtag1","hashtag2"]},{"1331556252":["hashtag1","hashtag2"]},{"1331556630":["hashtag1","hashtag2"]},{"1331556344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331556541, 1331556441, 1331556252, 1331556630, 1331556344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.97096300125122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:52:32.891734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_54_9374.jpg', '/home/pi/Desktop/images/26012025/04/51/image_26012025_04_52_04_10345.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_15_10439.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_24_9408.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_35_10422.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_44_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_54_9374.jpg
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_52_04_10345.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_15_10439.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_24_9408.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_35_10422.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_44_9337.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.525580883026123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:52:42.768418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_54_9374.jpg', '/home/pi/Desktop/images/26012025/04/51/image_26012025_04_52_04_10345.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_15_10439.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_24_9408.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_35_10422.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_44_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_51_54_9374.jpg
/home/pi/Desktop/images/26012025/04/51/image_26012025_04_52_04_10345.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_15_10439.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_24_9408.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_35_10422.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_44_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":["1331557491","1331557397","1331557487","1331557294","1331557226","1331557483"],"photo_ids_order":["1331557226","1331557294","1331557397","1331557483","1331557487","1331557491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efe936e439cc190124cc87fea5701435.jpg","text":"TemporaryFile(/tmp/multipartBody3864776595159894987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_52_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b62b97d981484845f313491665009c9.jpg","text":"TemporaryFile(/tmp/multipartBody7004194183542661959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_52_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/489ac8075c89fd38be36b65304efa135.jpg","text":"TemporaryFile(/tmp/multipartBody6502160137720990275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_52_35_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/26/6730a9df952ac4537f4ce555cfceda17.jpg","text":"TemporaryFile(/tmp/multipartBody8326775898318609119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_52_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/26/c6250b28c23601058fe021604b991c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1337421453037485197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_51_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ae3000c2758ef3ebd0efc4883bd32f9.jpg","text":"TemporaryFile(/tmp/multipartBody6959692083106543060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863623684,"filename":"image_26012025_04_52_24_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331557397","file1":"1331557294","file0":"1331557226","file4":"1331557487","file5":"1331557491","file3":"1331557483"},"map_files_photo_id_array":[{"photo_id":"1331557491","filename":"file5"},{"photo_id":"1331557397","filename":"file2"},{"photo_id":"1331557487","filename":"file4"},{"photo_id":"1331557294","filename":"file1"},{"photo_id":"1331557226","filename":"file0"},{"photo_id":"1331557483","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331557491":["hashtag1","hashtag2"]},{"1331557397":["hashtag1","hashtag2"]},{"1331557487":["hashtag1","hashtag2"]},{"1331557294":["hashtag1","hashtag2"]},{"1331557226":["hashtag1","hashtag2"]},{"1331557483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331557491, 1331557397, 1331557487, 1331557294, 1331557226, 1331557483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.997474670410156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:53:33.084227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_54_10342.jpg', '/home/pi/Desktop/images/26012025/04/52/image_26012025_04_53_05_10333.jpg', '/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_14_9332.jpg', '/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_24_10342.jpg', '/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_35_10321.jpg', '/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_44_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_52_54_10342.jpg
/home/pi/Desktop/images/26012025/04/52/image_26012025_04_53_05_10333.jpg
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_14_9332.jpg
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_24_10342.jpg
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_35_10321.jpg
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_44_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331557546","1331557545","1331557533","1331557542","1331557530","1331557526"],"photo_ids_order":["1331557526","1331557530","1331557533","1331557542","1331557545","1331557546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fbceb8bd6b1224290f2f49eec81273c3.jpg","text":"TemporaryFile(/tmp/multipartBody5753532221613652471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_53_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0293c3e7acbfa4d49fe8682d83645a00.jpg","text":"TemporaryFile(/tmp/multipartBody8547986601968592300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_53_35_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/26/9268116611e9f1cc9fa7c077cf4ef8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3624311559883840036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_53_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/26/df8830fe82a22e835bbd7b432dbad89e.jpg","text":"TemporaryFile(/tmp/multipartBody7869469093996386103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_53_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/26/cca49e8bb367a4d73f67a1996344f557.jpg","text":"TemporaryFile(/tmp/multipartBody2275878549354217146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_53_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/26/83d25bb024d78e458cd5ac66cac80f74.jpg","text":"TemporaryFile(/tmp/multipartBody6357575077664049419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863673996,"filename":"image_26012025_04_52_54_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331557533","file1":"1331557530","file0":"1331557526","file4":"1331557545","file5":"1331557546","file3":"1331557542"},"map_files_photo_id_array":[{"photo_id":"1331557546","filename":"file5"},{"photo_id":"1331557533","filename":"file2"},{"photo_id":"1331557545","filename":"file4"},{"photo_id":"1331557530","filename":"file1"},{"photo_id":"1331557526","filename":"file0"},{"photo_id":"1331557542","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331557546":["hashtag1","hashtag2"]},{"1331557545":["hashtag1","hashtag2"]},{"1331557533":["hashtag1","hashtag2"]},{"1331557542":["hashtag1","hashtag2"]},{"1331557530":["hashtag1","hashtag2"]},{"1331557526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331557546, 1331557545, 1331557533, 1331557542, 1331557530, 1331557526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38554310798645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:54:32.161435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_54_10436.jpg', '/home/pi/Desktop/images/26012025/04/53/image_26012025_04_54_05_10359.jpg', '/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_14_9345.jpg', '/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_25_10471.jpg', '/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_34_9334.jpg', '/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_44_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_53_54_10436.jpg
/home/pi/Desktop/images/26012025/04/53/image_26012025_04_54_05_10359.jpg
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_14_9345.jpg
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_25_10471.jpg
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_34_9334.jpg
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_44_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":["1331557671","1331557803","1331557710","1331557682","1331557679","1331557675"],"photo_ids_order":["1331557671","1331557675","1331557679","1331557682","1331557710","1331557803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/496b80701b2788858d50981ea3af8a82.jpg","text":"TemporaryFile(/tmp/multipartBody8734505064784331270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_53_54_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/26/e280f8d369aee33dd3e87d0aa8f3a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody370287483049830390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_54_44_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cc1663dd9072973dbeb5770e7412f93f.jpg","text":"TemporaryFile(/tmp/multipartBody5177155486932797534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_54_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/26/69bd2ce59e7d3c79888e40ebe1d4ed89.jpg","text":"TemporaryFile(/tmp/multipartBody2133574463116751808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_54_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b0bcbb085040c1d429693cb56fc82ebf.jpg","text":"TemporaryFile(/tmp/multipartBody867734284054984625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_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/26/c98504c38616981d5a57c69369127ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7119592435099836422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863733087,"filename":"image_26012025_04_54_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331557679","file1":"1331557675","file0":"1331557671","file4":"1331557710","file5":"1331557803","file3":"1331557682"},"map_files_photo_id_array":[{"photo_id":"1331557803","filename":"file5"},{"photo_id":"1331557679","filename":"file2"},{"photo_id":"1331557710","filename":"file4"},{"photo_id":"1331557675","filename":"file1"},{"photo_id":"1331557671","filename":"file0"},{"photo_id":"1331557682","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331557671":["hashtag1","hashtag2"]},{"1331557803":["hashtag1","hashtag2"]},{"1331557710":["hashtag1","hashtag2"]},{"1331557682":["hashtag1","hashtag2"]},{"1331557679":["hashtag1","hashtag2"]},{"1331557675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331557671, 1331557803, 1331557710, 1331557682, 1331557679, 1331557675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.72795867919922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:55:32.415424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_55_10376.jpg', '/home/pi/Desktop/images/26012025/04/54/image_26012025_04_55_04_9335.jpg', '/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_34_9329.jpg', '/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_45_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_54_55_10376.jpg
/home/pi/Desktop/images/26012025/04/54/image_26012025_04_55_04_9335.jpg
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_34_9329.jpg
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_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":["1331558358","1331558412","1331558415","1331558344"],"photo_ids_order":["1331558344","1331558358","1331558412","1331558415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49142bb00ce1ec73d250f4a95779ad28.jpg","text":"TemporaryFile(/tmp/multipartBody5175823001262595874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863793300,"filename":"image_26012025_04_55_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/26/d36309de49c5e8984c5e9a44aa2924b7.jpg","text":"TemporaryFile(/tmp/multipartBody5053524159127828299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863793300,"filename":"image_26012025_04_55_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9e2292dfbb5fdcc85115e54397494df.jpg","text":"TemporaryFile(/tmp/multipartBody5636034511433946156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863793300,"filename":"image_26012025_04_55_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/26/f2814e62c600c1f56ccb3bcbd749d0f9.jpg","text":"TemporaryFile(/tmp/multipartBody478441260225556941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863793300,"filename":"image_26012025_04_54_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331558412","file1":"1331558358","file0":"1331558344","file3":"1331558415"},"map_files_photo_id_array":[{"photo_id":"1331558412","filename":"file2"},{"photo_id":"1331558358","filename":"file1"},{"photo_id":"1331558344","filename":"file0"},{"photo_id":"1331558415","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331558358":["hashtag1","hashtag2"]},{"1331558412":["hashtag1","hashtag2"]},{"1331558415":["hashtag1","hashtag2"]},{"1331558344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331558358, 1331558412, 1331558415, 1331558344)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 29.392070293426514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:56:32.580287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_54_9418.jpg', '/home/pi/Desktop/images/26012025/04/55/image_26012025_04_56_04_10349.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_15_10407.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_24_9399.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_35_10395.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_44_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_54_9418.jpg
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_56_04_10349.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_15_10407.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_24_9399.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_35_10395.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_44_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: 0.5291147232055664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:56:42.531250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_54_9418.jpg', '/home/pi/Desktop/images/26012025/04/55/image_26012025_04_56_04_10349.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_15_10407.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_24_9399.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_35_10395.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_44_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_55_54_9418.jpg
/home/pi/Desktop/images/26012025/04/55/image_26012025_04_56_04_10349.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_15_10407.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_24_9399.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_35_10395.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_44_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":["1331558564","1331558596","1331558599","1331558590","1331558578","1331558593"],"photo_ids_order":["1331558564","1331558578","1331558590","1331558593","1331558596","1331558599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3e6eed8e6850564e3b0fb4292592a22.jpg","text":"TemporaryFile(/tmp/multipartBody7165890770996371309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_55_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/26/b56e657c885f4dba968e62d01948d8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4103602694900286810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_56_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/26/4d6fb5198d947f13a1cd5936338e7837.jpg","text":"TemporaryFile(/tmp/multipartBody4905739546457116980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_56_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/26/ac4dccd0dd05bb2645419f162f8a4101.jpg","text":"TemporaryFile(/tmp/multipartBody2549200877966106743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_56_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5c5e6f40c2cdb1356719bf8ece5c471.jpg","text":"TemporaryFile(/tmp/multipartBody3185002675875280142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_56_04_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/26/9c3178b9dd4f7cfc57f9bfaba0a4c464.jpg","text":"TemporaryFile(/tmp/multipartBody1431342746632581627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863863443,"filename":"image_26012025_04_56_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331558590","file1":"1331558578","file0":"1331558564","file4":"1331558596","file5":"1331558599","file3":"1331558593"},"map_files_photo_id_array":[{"photo_id":"1331558599","filename":"file5"},{"photo_id":"1331558590","filename":"file2"},{"photo_id":"1331558596","filename":"file4"},{"photo_id":"1331558578","filename":"file1"},{"photo_id":"1331558564","filename":"file0"},{"photo_id":"1331558593","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331558564":["hashtag1","hashtag2"]},{"1331558596":["hashtag1","hashtag2"]},{"1331558599":["hashtag1","hashtag2"]},{"1331558590":["hashtag1","hashtag2"]},{"1331558578":["hashtag1","hashtag2"]},{"1331558593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331558564, 1331558596, 1331558599, 1331558590, 1331558578, 1331558593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91497206687927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 04:57:33.043042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_54_10352.jpg', '/home/pi/Desktop/images/26012025/04/56/image_26012025_04_57_05_10446.jpg', '/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_35_10408.jpg', '/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_56_54_10352.jpg
/home/pi/Desktop/images/26012025/04/56/image_26012025_04_57_05_10446.jpg
/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_35_10408.jpg
/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_44_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":["1331558621","1331558615","1331558624","1331558611"],"photo_ids_order":["1331558611","1331558615","1331558621","1331558624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8db751aff3846c53b343a5233fbb3410.jpg","text":"TemporaryFile(/tmp/multipartBody2860453439880635585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863913942,"filename":"image_26012025_04_57_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/26/678e248d3e94a8ecb5b2661672b948b4.jpg","text":"TemporaryFile(/tmp/multipartBody9181878025333940783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863913942,"filename":"image_26012025_04_57_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/26/9c191663c93b11d3b1173d889547e2fa.jpg","text":"TemporaryFile(/tmp/multipartBody4142644247998088236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863913942,"filename":"image_26012025_04_57_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/26/ff3aee948ad361c7a59c1c591909fda2.jpg","text":"TemporaryFile(/tmp/multipartBody7439298474068173455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737863913942,"filename":"image_26012025_04_56_54_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331558621","file1":"1331558615","file0":"1331558611","file3":"1331558624"},"map_files_photo_id_array":[{"photo_id":"1331558621","filename":"file2"},{"photo_id":"1331558615","filename":"file1"},{"photo_id":"1331558611","filename":"file0"},{"photo_id":"1331558624","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331558621":["hashtag1","hashtag2"]},{"1331558615":["hashtag1","hashtag2"]},{"1331558624":["hashtag1","hashtag2"]},{"1331558611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331558621, 1331558615, 1331558624, 1331558611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.449150323867798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:59:04.535185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_55_10471.jpg', '/home/pi/Desktop/images/26012025/04/57/image_26012025_04_58_04_9353.jpg', '/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_34_9331.jpg', '/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_44_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/57/image_26012025_04_57_55_10471.jpg
/home/pi/Desktop/images/26012025/04/57/image_26012025_04_58_04_9353.jpg
/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_34_9331.jpg
/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_44_10346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331559188","1331559182","1331559193","1331559198"],"photo_ids_order":["1331559182","1331559188","1331559193","1331559198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/786e72d4055dc0a0d5442a69f0acd9a5.jpg","text":"TemporaryFile(/tmp/multipartBody6955323580143070707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864005559,"filename":"image_26012025_04_58_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e4ffcd26953142d572cd1293d1870c8a.jpg","text":"TemporaryFile(/tmp/multipartBody993441561354211489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864005559,"filename":"image_26012025_04_57_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/26/54edb47f290d36a4cbde8771c6fabe89.jpg","text":"TemporaryFile(/tmp/multipartBody5496865353077389215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864005559,"filename":"image_26012025_04_58_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/26/cf24cec492a39076c95baf5a82eae723.jpg","text":"TemporaryFile(/tmp/multipartBody6906477093864209990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864005559,"filename":"image_26012025_04_58_44_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559193","file1":"1331559188","file0":"1331559182","file3":"1331559198"},"map_files_photo_id_array":[{"photo_id":"1331559193","filename":"file2"},{"photo_id":"1331559188","filename":"file1"},{"photo_id":"1331559182","filename":"file0"},{"photo_id":"1331559198","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331559188":["hashtag1","hashtag2"]},{"1331559182":["hashtag1","hashtag2"]},{"1331559193":["hashtag1","hashtag2"]},{"1331559198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331559188, 1331559182, 1331559193, 1331559198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.565618991851807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 04:59:42.743748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_55_10451.jpg', '/home/pi/Desktop/images/26012025/04/58/image_26012025_04_59_04_9408.jpg', '/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_15_10442.jpg', '/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_24_9344.jpg', '/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_34_10347.jpg', '/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_45_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/58/image_26012025_04_58_55_10451.jpg
/home/pi/Desktop/images/26012025/04/58/image_26012025_04_59_04_9408.jpg
/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_15_10442.jpg
/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_24_9344.jpg
/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_34_10347.jpg
/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_45_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":["1331559218","1331559227","1331559215","1331559220","1331559223","1331559211"],"photo_ids_order":["1331559211","1331559215","1331559218","1331559220","1331559223","1331559227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b60cd0b564a369d010af1c51f9ceb537.jpg","text":"TemporaryFile(/tmp/multipartBody4530636532509160741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_59_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/26/30b3d68faba62cf4d1b45f66425da331.jpg","text":"TemporaryFile(/tmp/multipartBody2104639285043399149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_59_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/26/fa898ca435cedbefc3b9babece39975a.jpg","text":"TemporaryFile(/tmp/multipartBody3358422877013919403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_59_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22f54426c2c9cc153297eae8cb43ca12.jpg","text":"TemporaryFile(/tmp/multipartBody1289216119422232911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_59_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/26/cc204e3a0ae26ceffcb2d850f88bab6c.jpg","text":"TemporaryFile(/tmp/multipartBody2138249119299462663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_59_34_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/26/a5be36f501f8734af29e9c8089132de1.jpg","text":"TemporaryFile(/tmp/multipartBody4327322145048328654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864043668,"filename":"image_26012025_04_58_55_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559218","file1":"1331559215","file0":"1331559211","file4":"1331559223","file5":"1331559227","file3":"1331559220"},"map_files_photo_id_array":[{"photo_id":"1331559227","filename":"file5"},{"photo_id":"1331559218","filename":"file2"},{"photo_id":"1331559223","filename":"file4"},{"photo_id":"1331559215","filename":"file1"},{"photo_id":"1331559211","filename":"file0"},{"photo_id":"1331559220","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331559218":["hashtag1","hashtag2"]},{"1331559227":["hashtag1","hashtag2"]},{"1331559215":["hashtag1","hashtag2"]},{"1331559220":["hashtag1","hashtag2"]},{"1331559223":["hashtag1","hashtag2"]},{"1331559211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331559218, 1331559227, 1331559215, 1331559220, 1331559223, 1331559211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90984892845154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:00:32.870512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_54_9408.jpg', '/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_16_10078.jpg', '/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_27_10475.jpg', '/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_37_10359.jpg', '/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_46_9408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/04/59/image_26012025_04_59_54_9408.jpg
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_16_10078.jpg
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_27_10475.jpg
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_37_10359.jpg
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_46_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331559239","1331559241","1331559238","1331559243","1331559246"],"photo_ids_order":["1331559238","1331559239","1331559241","1331559243","1331559246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d1a64b93883cbb701d7c09c89ae9f16e.jpg","text":"TemporaryFile(/tmp/multipartBody5844859373408800257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864093809,"filename":"image_26012025_05_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/26/66360022d8b1bc6f7ed80cf619f42648.jpg","text":"TemporaryFile(/tmp/multipartBody669535422363077063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864093809,"filename":"image_26012025_05_00_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/26/da908b77f9cc7521b17ebf6b5643d911.jpg","text":"TemporaryFile(/tmp/multipartBody6402266447583675847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864093809,"filename":"image_26012025_04_59_54_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53f4be674280bc36ebcdc3f3348a9663.jpg","text":"TemporaryFile(/tmp/multipartBody3264988017309871985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864093809,"filename":"image_26012025_05_00_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/26/97bbe0b1b1cf06c64d8a15385ff0ec62.jpg","text":"TemporaryFile(/tmp/multipartBody4604359934747772785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864093809,"filename":"image_26012025_05_00_46_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559241","file1":"1331559239","file0":"1331559238","file4":"1331559246","file3":"1331559243"},"map_files_photo_id_array":[{"photo_id":"1331559241","filename":"file2"},{"photo_id":"1331559246","filename":"file4"},{"photo_id":"1331559239","filename":"file1"},{"photo_id":"1331559238","filename":"file0"},{"photo_id":"1331559243","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331559239":["hashtag1","hashtag2"]},{"1331559241":["hashtag1","hashtag2"]},{"1331559238":["hashtag1","hashtag2"]},{"1331559243":["hashtag1","hashtag2"]},{"1331559246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331559239, 1331559241, 1331559238, 1331559243, 1331559246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.496673345565796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:01:33.386585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_57_10414.jpg', '/home/pi/Desktop/images/26012025/05/00/image_26012025_05_01_06_9324.jpg', '/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_16_10344.jpg', '/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_27_10436.jpg', '/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_36_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_00_57_10414.jpg
/home/pi/Desktop/images/26012025/05/00/image_26012025_05_01_06_9324.jpg
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_16_10344.jpg
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_27_10436.jpg
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_36_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331559296","1331559275","1331559305","1331559271","1331559268"],"photo_ids_order":["1331559268","1331559271","1331559275","1331559296","1331559305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6bf76822973ec28cf03ab10fc0446a62.jpg","text":"TemporaryFile(/tmp/multipartBody3997891571839077960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864154326,"filename":"image_26012025_05_01_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/26/e48cc6ac5dd5236f29ac432dc0abd4a6.jpg","text":"TemporaryFile(/tmp/multipartBody5726089541295338597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864154326,"filename":"image_26012025_05_01_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e8c25c70e9d68d13f4433ce1becb98f.jpg","text":"TemporaryFile(/tmp/multipartBody1819410131254165439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864154326,"filename":"image_26012025_05_01_36_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/adcf3906fb30ee98bd72a40fbfa0df41.jpg","text":"TemporaryFile(/tmp/multipartBody2911453475703659849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864154326,"filename":"image_26012025_05_01_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/26/d63bf6df2ee9887a64f42a616891d5be.jpg","text":"TemporaryFile(/tmp/multipartBody5992815431585143975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864154326,"filename":"image_26012025_05_00_57_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559275","file1":"1331559271","file0":"1331559268","file4":"1331559305","file3":"1331559296"},"map_files_photo_id_array":[{"photo_id":"1331559275","filename":"file2"},{"photo_id":"1331559305","filename":"file4"},{"photo_id":"1331559271","filename":"file1"},{"photo_id":"1331559268","filename":"file0"},{"photo_id":"1331559296","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331559296":["hashtag1","hashtag2"]},{"1331559275":["hashtag1","hashtag2"]},{"1331559305":["hashtag1","hashtag2"]},{"1331559271":["hashtag1","hashtag2"]},{"1331559268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331559296, 1331559275, 1331559305, 1331559271, 1331559268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.05387759208679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:02:32.527912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_57_10371.jpg', '/home/pi/Desktop/images/26012025/05/01/image_26012025_05_02_06_9351.jpg', '/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_37_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_57_10371.jpg
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_02_06_9351.jpg
/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_37_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.49811768531799316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:02:42.528986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_57_10371.jpg', '/home/pi/Desktop/images/26012025/05/01/image_26012025_05_02_06_9351.jpg', '/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_37_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_01_57_10371.jpg
/home/pi/Desktop/images/26012025/05/01/image_26012025_05_02_06_9351.jpg
/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_37_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":["1331559359","1331559364","1331559369"],"photo_ids_order":["1331559359","1331559364","1331559369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4567d4ef730a57c04a1b99a65ad5ef94.jpg","text":"TemporaryFile(/tmp/multipartBody305970546647759871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864223405,"filename":"image_26012025_05_01_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7c277fa4474f78bce39e03e1dae04e6.jpg","text":"TemporaryFile(/tmp/multipartBody6173076686289893369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864223405,"filename":"image_26012025_05_02_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/26/5d1c988fbae1136ee4ab05fd43844ded.jpg","text":"TemporaryFile(/tmp/multipartBody4997961246607837993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864223405,"filename":"image_26012025_05_02_37_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559369","file1":"1331559364","file0":"1331559359"},"map_files_photo_id_array":[{"photo_id":"1331559369","filename":"file2"},{"photo_id":"1331559364","filename":"file1"},{"photo_id":"1331559359","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331559359":["hashtag1","hashtag2"]},{"1331559364":["hashtag1","hashtag2"]},{"1331559369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331559359, 1331559364, 1331559369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.142441749572754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:03:32.877079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_46_9441.jpg', '/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_16_10344.jpg', '/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_27_10392.jpg', '/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_36_9350.jpg', '/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_47_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/02/image_26012025_05_02_46_9441.jpg
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_16_10344.jpg
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_27_10392.jpg
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_36_9350.jpg
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_47_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":["1331560086","1331559566","1331559871","1331560244","1331559748"],"photo_ids_order":["1331559566","1331559748","1331559871","1331560086","1331560244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7394bc16ae76cf3f15383556e4c48539.jpg","text":"TemporaryFile(/tmp/multipartBody1927828177343118143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864273800,"filename":"image_26012025_05_03_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/26/4a044edbd15bbcfc3cdc76ec05e1d602.jpg","text":"TemporaryFile(/tmp/multipartBody3127304569353657742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864273800,"filename":"image_26012025_05_02_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/26/1c631d6d1867ccd043e2ded191b637ee.jpg","text":"TemporaryFile(/tmp/multipartBody6751865267894553232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864273800,"filename":"image_26012025_05_03_27_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/26/1542357b2f54ffb138604e3c9a470cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3739702912658737110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864273800,"filename":"image_26012025_05_03_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/26/627b5a42d90865514ba7b2f4c36a7046.jpg","text":"TemporaryFile(/tmp/multipartBody7524748471891812259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864273800,"filename":"image_26012025_05_03_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331559871","file1":"1331559748","file0":"1331559566","file4":"1331560244","file3":"1331560086"},"map_files_photo_id_array":[{"photo_id":"1331559871","filename":"file2"},{"photo_id":"1331560244","filename":"file4"},{"photo_id":"1331559748","filename":"file1"},{"photo_id":"1331559566","filename":"file0"},{"photo_id":"1331560086","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331560086":["hashtag1","hashtag2"]},{"1331559566":["hashtag1","hashtag2"]},{"1331559871":["hashtag1","hashtag2"]},{"1331560244":["hashtag1","hashtag2"]},{"1331559748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331560086, 1331559566, 1331559871, 1331560244, 1331559748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.34184765815735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:04:33.139220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_57_10339.jpg', '/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_36_10353.jpg', '/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_47_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_57_10339.jpg
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_36_10353.jpg
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_47_10410.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49561023712158203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:04:43.104728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_57_10339.jpg', '/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_36_10353.jpg', '/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_47_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/03/image_26012025_05_03_57_10339.jpg
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_36_10353.jpg
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_47_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":["1331560758","1331560925","1331560782"],"photo_ids_order":["1331560758","1331560782","1331560925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/313025667f9213c5b91fad8146b29483.jpg","text":"TemporaryFile(/tmp/multipartBody6673324098327864387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864343976,"filename":"image_26012025_05_03_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/26/1718fc7a186284b20063263934b6c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody2376132602636946061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864343976,"filename":"image_26012025_05_04_47_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/26/2a2f152ff88f1b002ac15aacd3dbc6eb.jpg","text":"TemporaryFile(/tmp/multipartBody7275579177610399384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864343976,"filename":"image_26012025_05_04_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331560925","file1":"1331560782","file0":"1331560758"},"map_files_photo_id_array":[{"photo_id":"1331560925","filename":"file2"},{"photo_id":"1331560782","filename":"file1"},{"photo_id":"1331560758","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331560758":["hashtag1","hashtag2"]},{"1331560925":["hashtag1","hashtag2"]},{"1331560782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331560758, 1331560925, 1331560782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.53800940513611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:05:32.543711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_56_9348.jpg', '/home/pi/Desktop/images/26012025/05/04/image_26012025_05_05_07_10376.jpg', '/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_17_10395.jpg', '/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_26_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_04_56_9348.jpg
/home/pi/Desktop/images/26012025/05/04/image_26012025_05_05_07_10376.jpg
/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_17_10395.jpg
/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_26_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331561342","1331561255","1331561275","1331561308"],"photo_ids_order":["1331561255","1331561275","1331561308","1331561342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79ff5c2f810f357a6af14a8d11e68b23.jpg","text":"TemporaryFile(/tmp/multipartBody4864084267926931122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864393445,"filename":"image_26012025_05_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/26/371e74ba290ade1279e16f27e4e57a32.jpg","text":"TemporaryFile(/tmp/multipartBody4472357052770602165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864393445,"filename":"image_26012025_05_04_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/26/0f796eb7de75cfc7852987103a7b4411.jpg","text":"TemporaryFile(/tmp/multipartBody5469207746799053176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864393445,"filename":"image_26012025_05_05_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d87ae6cd7a290f4f4ea2959fe9010648.jpg","text":"TemporaryFile(/tmp/multipartBody4724505174048212578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864393445,"filename":"image_26012025_05_05_17_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331561308","file1":"1331561275","file0":"1331561255","file3":"1331561342"},"map_files_photo_id_array":[{"photo_id":"1331561308","filename":"file2"},{"photo_id":"1331561275","filename":"file1"},{"photo_id":"1331561255","filename":"file0"},{"photo_id":"1331561342","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331561342":["hashtag1","hashtag2"]},{"1331561255":["hashtag1","hashtag2"]},{"1331561275":["hashtag1","hashtag2"]},{"1331561308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331561342, 1331561255, 1331561275, 1331561308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.10545778274536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:06:32.606489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_37_10413.jpg', '/home/pi/Desktop/images/26012025/05/05/image_26012025_05_06_07_10385.jpg', '/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_16_9342.jpg', '/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_27_10392.jpg', '/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_36_9348.jpg', '/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_47_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/05/image_26012025_05_05_37_10413.jpg
/home/pi/Desktop/images/26012025/05/05/image_26012025_05_06_07_10385.jpg
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_16_9342.jpg
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_27_10392.jpg
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_36_9348.jpg
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_47_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":["1331561400","1331561403","1331561406","1331561392","1331561389","1331561397"],"photo_ids_order":["1331561389","1331561392","1331561397","1331561400","1331561403","1331561406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22359ef066b4482e392d337a3b5bc08b.jpg","text":"TemporaryFile(/tmp/multipartBody2079702619895212468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_06_27_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/26/432c4d2c74bd4f21f6b51e31ee1d9674.jpg","text":"TemporaryFile(/tmp/multipartBody6848643261910561327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_06_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/26/e68b72aa152c2649210bb9fa204dcef4.jpg","text":"TemporaryFile(/tmp/multipartBody3881748054176436365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_06_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/26/582ee1578c590c8c4dc16a55c66ac263.jpg","text":"TemporaryFile(/tmp/multipartBody6233356287354047296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_06_07_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/26/d2d6c79ed70595c6b1d1adb5aacbf7c4.jpg","text":"TemporaryFile(/tmp/multipartBody1531537528899815607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_05_37_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/26/4080f4ab6991feb622f54c98b97a3d9d.jpg","text":"TemporaryFile(/tmp/multipartBody3915464402548443788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864453540,"filename":"image_26012025_05_06_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331561397","file1":"1331561392","file0":"1331561389","file4":"1331561403","file5":"1331561406","file3":"1331561400"},"map_files_photo_id_array":[{"photo_id":"1331561406","filename":"file5"},{"photo_id":"1331561397","filename":"file2"},{"photo_id":"1331561403","filename":"file4"},{"photo_id":"1331561392","filename":"file1"},{"photo_id":"1331561389","filename":"file0"},{"photo_id":"1331561400","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331561400":["hashtag1","hashtag2"]},{"1331561403":["hashtag1","hashtag2"]},{"1331561406":["hashtag1","hashtag2"]},{"1331561392":["hashtag1","hashtag2"]},{"1331561389":["hashtag1","hashtag2"]},{"1331561397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331561400, 1331561403, 1331561406, 1331561392, 1331561389, 1331561397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86996531486511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:07:32.944074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_57_10339.jpg', '/home/pi/Desktop/images/26012025/05/06/image_26012025_05_07_06_9456.jpg', '/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_17_10335.jpg', '/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_36_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_06_57_10339.jpg
/home/pi/Desktop/images/26012025/05/06/image_26012025_05_07_06_9456.jpg
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_17_10335.jpg
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_36_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331561447","1331561609","1331561491","1331561452"],"photo_ids_order":["1331561447","1331561452","1331561491","1331561609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab91ff24a3cc1952379bf5ef80f40aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2467929481512163912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864513849,"filename":"image_26012025_05_06_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/26/be788906a622a0736e34eeb9cddba25b.jpg","text":"TemporaryFile(/tmp/multipartBody5088708140402973711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864513849,"filename":"image_26012025_05_07_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/26/e42a72ddd8558a12842419788bc5a5d3.jpg","text":"TemporaryFile(/tmp/multipartBody6206158421761769253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864513849,"filename":"image_26012025_05_07_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c7231d9995ea4a9b6937978986b25da.jpg","text":"TemporaryFile(/tmp/multipartBody7089868356581658889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864513849,"filename":"image_26012025_05_07_06_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331561491","file1":"1331561452","file0":"1331561447","file3":"1331561609"},"map_files_photo_id_array":[{"photo_id":"1331561491","filename":"file2"},{"photo_id":"1331561452","filename":"file1"},{"photo_id":"1331561447","filename":"file0"},{"photo_id":"1331561609","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331561447":["hashtag1","hashtag2"]},{"1331561609":["hashtag1","hashtag2"]},{"1331561491":["hashtag1","hashtag2"]},{"1331561452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331561447, 1331561609, 1331561491, 1331561452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.401865005493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:08:32.186841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_47_10357.jpg', '/home/pi/Desktop/images/26012025/05/07/image_26012025_05_08_07_10445.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_17_10364.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_26_9329.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_37_10330.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_47_10357.jpg
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_08_07_10445.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_17_10364.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_26_9329.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_37_10330.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_46_9411.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5567574501037598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:08:42.186337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_47_10357.jpg', '/home/pi/Desktop/images/26012025/05/07/image_26012025_05_08_07_10445.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_17_10364.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_26_9329.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_37_10330.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_07_47_10357.jpg
/home/pi/Desktop/images/26012025/05/07/image_26012025_05_08_07_10445.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_17_10364.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_26_9329.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_37_10330.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_46_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331561910","1331561814","1331561636","1331561632","1331561713","1331562003"],"photo_ids_order":["1331561632","1331561636","1331561713","1331561814","1331561910","1331562003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/864384446b16d3f2acb59f59a4dba7a7.jpg","text":"TemporaryFile(/tmp/multipartBody9136268322541946338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_08_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f572502cae045d3de39d859ee7c36e45.jpg","text":"TemporaryFile(/tmp/multipartBody5316906109960084833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_08_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c24cdb31b965b259b5ecd0e380e9991e.jpg","text":"TemporaryFile(/tmp/multipartBody3725712470321299307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_08_07_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/26/5b8abc1c5d0987403999f61124051332.jpg","text":"TemporaryFile(/tmp/multipartBody7276751385762110718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_07_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/26/0ea469bb225ff9a612a39ed755987140.jpg","text":"TemporaryFile(/tmp/multipartBody1984357152951676617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_08_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b37512f586e982ae914765e0b5229026.jpg","text":"TemporaryFile(/tmp/multipartBody6221119665478068237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864583127,"filename":"image_26012025_05_08_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331561713","file1":"1331561636","file0":"1331561632","file4":"1331561910","file5":"1331562003","file3":"1331561814"},"map_files_photo_id_array":[{"photo_id":"1331562003","filename":"file5"},{"photo_id":"1331561713","filename":"file2"},{"photo_id":"1331561910","filename":"file4"},{"photo_id":"1331561636","filename":"file1"},{"photo_id":"1331561632","filename":"file0"},{"photo_id":"1331561814","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331561910":["hashtag1","hashtag2"]},{"1331561814":["hashtag1","hashtag2"]},{"1331561636":["hashtag1","hashtag2"]},{"1331561632":["hashtag1","hashtag2"]},{"1331561713":["hashtag1","hashtag2"]},{"1331562003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331561910, 1331561814, 1331561636, 1331561632, 1331561713, 1331562003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99576783180237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:09:32.405732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_56_10359.jpg', '/home/pi/Desktop/images/26012025/05/08/image_26012025_05_09_07_10410.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_16_9351.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_27_10470.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_37_10373.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_46_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_08_56_10359.jpg
/home/pi/Desktop/images/26012025/05/08/image_26012025_05_09_07_10410.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_16_9351.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_27_10470.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_37_10373.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_46_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331562323","1331562332","1331562340","1331562330","1331562354","1331562327"],"photo_ids_order":["1331562323","1331562327","1331562330","1331562332","1331562340","1331562354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7656647fdc767f9e9528ccc067d602cf.jpg","text":"TemporaryFile(/tmp/multipartBody7260187238843471330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_08_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/26/3cdd11142dce59634a884eeabe9273ae.jpg","text":"TemporaryFile(/tmp/multipartBody5616592484742202591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_09_27_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/26/daad78a076b04fbb1e002783f5791c75.jpg","text":"TemporaryFile(/tmp/multipartBody4275341476382723591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_09_37_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/26/2ea1300ce42677a0f900882e4c987ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6323718022247646040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_09_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/26/b2eecb29c93d96a3f33c3b88ff739e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3705639006709369302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_09_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/26/15a6fe63dda830fc524b4eeb63ed0171.jpg","text":"TemporaryFile(/tmp/multipartBody556686367603755594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864633330,"filename":"image_26012025_05_09_07_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562330","file1":"1331562327","file0":"1331562323","file4":"1331562340","file5":"1331562354","file3":"1331562332"},"map_files_photo_id_array":[{"photo_id":"1331562354","filename":"file5"},{"photo_id":"1331562330","filename":"file2"},{"photo_id":"1331562340","filename":"file4"},{"photo_id":"1331562327","filename":"file1"},{"photo_id":"1331562323","filename":"file0"},{"photo_id":"1331562332","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562323":["hashtag1","hashtag2"]},{"1331562332":["hashtag1","hashtag2"]},{"1331562340":["hashtag1","hashtag2"]},{"1331562330":["hashtag1","hashtag2"]},{"1331562354":["hashtag1","hashtag2"]},{"1331562327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562323, 1331562332, 1331562340, 1331562330, 1331562354, 1331562327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03858661651611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:10:32.639561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_57_10365.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_10_06_9399.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_17_10440.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_27_10343.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_36_9321.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_47_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_57_10365.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_10_06_9399.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_17_10440.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_27_10343.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_36_9321.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_47_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5331082344055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:10:42.611215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_57_10365.jpg', '/home/pi/Desktop/images/26012025/05/09/image_26012025_05_10_06_9399.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_17_10440.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_27_10343.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_36_9321.jpg', '/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_47_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_09_57_10365.jpg
/home/pi/Desktop/images/26012025/05/09/image_26012025_05_10_06_9399.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_17_10440.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_27_10343.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_36_9321.jpg
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_47_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331562764","1331562671","1331562713","1331562707","1331562712","1331562666"],"photo_ids_order":["1331562666","1331562671","1331562707","1331562712","1331562713","1331562764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c4d5a05228d15bdd038d7892508fa12.jpg","text":"TemporaryFile(/tmp/multipartBody3306050000584191723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_10_47_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23e215ab70f5b8f4cc077ed0022d7316.jpg","text":"TemporaryFile(/tmp/multipartBody2518355744185941385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_10_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/26/7fc3f476ab277282235c0d11042a0ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1818965133854450909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_10_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e75f0323f940218fddf70b9f6367025.jpg","text":"TemporaryFile(/tmp/multipartBody5238600722085517691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_10_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23ca49977d3cccc0f894601ad3616cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3285079323594561697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_10_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f0efc870ff684267e5060ca1f3d96ac.jpg","text":"TemporaryFile(/tmp/multipartBody3543746765783756120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864703534,"filename":"image_26012025_05_09_57_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562707","file1":"1331562671","file0":"1331562666","file4":"1331562713","file5":"1331562764","file3":"1331562712"},"map_files_photo_id_array":[{"photo_id":"1331562764","filename":"file5"},{"photo_id":"1331562707","filename":"file2"},{"photo_id":"1331562713","filename":"file4"},{"photo_id":"1331562671","filename":"file1"},{"photo_id":"1331562666","filename":"file0"},{"photo_id":"1331562712","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562764":["hashtag1","hashtag2"]},{"1331562671":["hashtag1","hashtag2"]},{"1331562713":["hashtag1","hashtag2"]},{"1331562707":["hashtag1","hashtag2"]},{"1331562712":["hashtag1","hashtag2"]},{"1331562666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562764, 1331562671, 1331562713, 1331562707, 1331562712, 1331562666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61788725852966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:11:33.153256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_57_10362.jpg', '/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_27_10333.jpg', '/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_36_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/10/image_26012025_05_10_57_10362.jpg
/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_27_10333.jpg
/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_36_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":["1331562800","1331562795","1331562804"],"photo_ids_order":["1331562795","1331562800","1331562804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4650936bb406c4026b8fc0040b399148.jpg","text":"TemporaryFile(/tmp/multipartBody5419127663901443497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864754047,"filename":"image_26012025_05_11_27_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/26/2672912854653ac7453be704b69f9b6b.jpg","text":"TemporaryFile(/tmp/multipartBody6814489653119468785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864754047,"filename":"image_26012025_05_10_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ae3252cb793343bddcbf27158d3f0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3086371589296538068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864754047,"filename":"image_26012025_05_11_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562804","file1":"1331562800","file0":"1331562795"},"map_files_photo_id_array":[{"photo_id":"1331562804","filename":"file2"},{"photo_id":"1331562800","filename":"file1"},{"photo_id":"1331562795","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562800":["hashtag1","hashtag2"]},{"1331562795":["hashtag1","hashtag2"]},{"1331562804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562800, 1331562795, 1331562804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.64397406578064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:12:02.931081
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.14406156539917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:12:32.268270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_47_10450.jpg', '/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_17_10374.jpg', '/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_26_9326.jpg', '/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_47_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/11/image_26012025_05_11_47_10450.jpg
/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_17_10374.jpg
/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_26_9326.jpg
/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_47_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":["1331562853","1331562847","1331562856","1331562850"],"photo_ids_order":["1331562847","1331562850","1331562853","1331562856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31f6f39fb5f013d56260fb786c5f04c1.jpg","text":"TemporaryFile(/tmp/multipartBody6596550997693619210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864813159,"filename":"image_26012025_05_12_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9b313b919cd160365b9b067cc958424.jpg","text":"TemporaryFile(/tmp/multipartBody507351721271094547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864813159,"filename":"image_26012025_05_11_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad7ea84777b1aacb3757f30ea89a13e8.jpg","text":"TemporaryFile(/tmp/multipartBody6923369550359174136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864813159,"filename":"image_26012025_05_12_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/26/73ca87ad57625af20ad71ceec9e3bd97.jpg","text":"TemporaryFile(/tmp/multipartBody5065315445333134444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864813159,"filename":"image_26012025_05_12_17_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562853","file1":"1331562850","file0":"1331562847","file3":"1331562856"},"map_files_photo_id_array":[{"photo_id":"1331562853","filename":"file2"},{"photo_id":"1331562850","filename":"file1"},{"photo_id":"1331562847","filename":"file0"},{"photo_id":"1331562856","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562853":["hashtag1","hashtag2"]},{"1331562847":["hashtag1","hashtag2"]},{"1331562856":["hashtag1","hashtag2"]},{"1331562850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562853, 1331562847, 1331562856, 1331562850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.127848863601685 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-26 05:13:32.438870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_56_9351.jpg', '/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_17_10339.jpg', '/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_26_9334.jpg', '/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_37_10412.jpg', '/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_46_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/12/image_26012025_05_12_56_9351.jpg
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_17_10339.jpg
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_26_9334.jpg
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_37_10412.jpg
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_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":["1331562916","1331562919","1331562913","1331562909","1331562887"],"photo_ids_order":["1331562887","1331562909","1331562913","1331562916","1331562919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b29c59685e4a430af327986145cde26f.jpg","text":"TemporaryFile(/tmp/multipartBody2246614659166285395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864873351,"filename":"image_26012025_05_13_37_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/26/a338b833bad8548e19fea9e3f5fbb93f.jpg","text":"TemporaryFile(/tmp/multipartBody4007619008467962385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864873351,"filename":"image_26012025_05_13_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/26/3af146c0aa9d2b4be704f484965b97bb.jpg","text":"TemporaryFile(/tmp/multipartBody3271016237516295036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864873351,"filename":"image_26012025_05_13_26_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b583486c1d851e14d9a7acd65032f3af.jpg","text":"TemporaryFile(/tmp/multipartBody6588046433300133167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864873351,"filename":"image_26012025_05_13_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/26/507253df374c6fd4d7ffd3d085a20ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8806607271608956854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864873351,"filename":"image_26012025_05_12_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562913","file1":"1331562909","file0":"1331562887","file4":"1331562919","file3":"1331562916"},"map_files_photo_id_array":[{"photo_id":"1331562913","filename":"file2"},{"photo_id":"1331562919","filename":"file4"},{"photo_id":"1331562909","filename":"file1"},{"photo_id":"1331562887","filename":"file0"},{"photo_id":"1331562916","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562916":["hashtag1","hashtag2"]},{"1331562919":["hashtag1","hashtag2"]},{"1331562913":["hashtag1","hashtag2"]},{"1331562909":["hashtag1","hashtag2"]},{"1331562887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562916, 1331562919, 1331562913, 1331562909, 1331562887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.93160367012024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:14:32.781645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_57_10356.jpg', '/home/pi/Desktop/images/26012025/05/13/image_26012025_05_14_07_10362.jpg', '/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_16_9336.jpg', '/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_27_10346.jpg', '/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_37_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_13_57_10356.jpg
/home/pi/Desktop/images/26012025/05/13/image_26012025_05_14_07_10362.jpg
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_16_9336.jpg
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_27_10346.jpg
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_37_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331562929","1331562946","1331562940","1331562934","1331562951"],"photo_ids_order":["1331562929","1331562934","1331562940","1331562946","1331562951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79ba94e70f5a491033bdc00d655e65ea.jpg","text":"TemporaryFile(/tmp/multipartBody6781453117365687034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864934076,"filename":"image_26012025_05_13_57_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f9eed9cf74b9837736db62603d962bb.jpg","text":"TemporaryFile(/tmp/multipartBody7747070190654446729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864934076,"filename":"image_26012025_05_14_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45eb7192781a489f8d1b22221fa8fb8c.jpg","text":"TemporaryFile(/tmp/multipartBody8423077440845331905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864934076,"filename":"image_26012025_05_14_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/26/5817b7bbb80961c11a8b81ec01a727ac.jpg","text":"TemporaryFile(/tmp/multipartBody5350840207817031001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864934076,"filename":"image_26012025_05_14_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/26/f8abd00e0eb85c8f8223795912625e06.jpg","text":"TemporaryFile(/tmp/multipartBody4754141031467902779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737864934076,"filename":"image_26012025_05_14_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562940","file1":"1331562934","file0":"1331562929","file4":"1331562951","file3":"1331562946"},"map_files_photo_id_array":[{"photo_id":"1331562940","filename":"file2"},{"photo_id":"1331562951","filename":"file4"},{"photo_id":"1331562934","filename":"file1"},{"photo_id":"1331562929","filename":"file0"},{"photo_id":"1331562946","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562929":["hashtag1","hashtag2"]},{"1331562946":["hashtag1","hashtag2"]},{"1331562940":["hashtag1","hashtag2"]},{"1331562934":["hashtag1","hashtag2"]},{"1331562951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562929, 1331562946, 1331562940, 1331562934, 1331562951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.465975284576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:15:33.056494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_46_9346.jpg', '/home/pi/Desktop/images/26012025/05/14/image_26012025_05_15_06_9375.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_17_10406.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_27_10378.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_36_9342.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_47_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_46_9346.jpg
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_15_06_9375.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_17_10406.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_27_10378.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_36_9342.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_47_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5312244892120361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:15:42.968985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_46_9346.jpg', '/home/pi/Desktop/images/26012025/05/14/image_26012025_05_15_06_9375.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_17_10406.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_27_10378.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_36_9342.jpg', '/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_47_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_14_46_9346.jpg
/home/pi/Desktop/images/26012025/05/14/image_26012025_05_15_06_9375.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_17_10406.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_27_10378.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_36_9342.jpg
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_47_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":["1331562983","1331562979","1331562973","1331562993","1331562986","1331562989"],"photo_ids_order":["1331562973","1331562979","1331562983","1331562986","1331562989","1331562993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3972204c9f2ee535fcb22874b670c719.jpg","text":"TemporaryFile(/tmp/multipartBody884515351622822627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_15_17_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/26/98b0ccd45e51ba7235a64f3545dadb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8934775529564078122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_15_06_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/810b213490172d3cee5148c0becfe760.jpg","text":"TemporaryFile(/tmp/multipartBody4273900111523716057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_14_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/26/9629f771b3d1c10b26adcd6cdb955861.jpg","text":"TemporaryFile(/tmp/multipartBody4592704172484480806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_15_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f6cf5f319f76a683f468fcf8cafa604b.jpg","text":"TemporaryFile(/tmp/multipartBody5988725758444949317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_15_27_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/26/b80cb45657b97f7a21153f9e56099912.jpg","text":"TemporaryFile(/tmp/multipartBody6388077353454440186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865003899,"filename":"image_26012025_05_15_36_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331562983","file1":"1331562979","file0":"1331562973","file4":"1331562989","file5":"1331562993","file3":"1331562986"},"map_files_photo_id_array":[{"photo_id":"1331562993","filename":"file5"},{"photo_id":"1331562983","filename":"file2"},{"photo_id":"1331562989","filename":"file4"},{"photo_id":"1331562979","filename":"file1"},{"photo_id":"1331562973","filename":"file0"},{"photo_id":"1331562986","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331562983":["hashtag1","hashtag2"]},{"1331562979":["hashtag1","hashtag2"]},{"1331562973":["hashtag1","hashtag2"]},{"1331562993":["hashtag1","hashtag2"]},{"1331562986":["hashtag1","hashtag2"]},{"1331562989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331562983, 1331562979, 1331562973, 1331562993, 1331562986, 1331562989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.442079305648804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:16:32.340313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_57_10346.jpg', '/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_26_9343.jpg', '/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_37_10455.jpg', '/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_47_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/15/image_26012025_05_15_57_10346.jpg
/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_26_9343.jpg
/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_37_10455.jpg
/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_47_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":["1331563034","1331563020","1331563014","1331563037"],"photo_ids_order":["1331563014","1331563020","1331563034","1331563037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b50fa4ae4d945561abbeeba067ee2336.jpg","text":"TemporaryFile(/tmp/multipartBody4248674847589137555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865053235,"filename":"image_26012025_05_16_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/26/83176d634083e145522f3e4c61ecdee9.jpg","text":"TemporaryFile(/tmp/multipartBody4078293418408640480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865053235,"filename":"image_26012025_05_16_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/26/31403bc78c62e3a4ab90f476f7a955dc.jpg","text":"TemporaryFile(/tmp/multipartBody669319898378564793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865053235,"filename":"image_26012025_05_15_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/26/827f50bd2924688df4f311cc551b4e0e.jpg","text":"TemporaryFile(/tmp/multipartBody1061139106938388836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865053235,"filename":"image_26012025_05_16_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331563034","file1":"1331563020","file0":"1331563014","file3":"1331563037"},"map_files_photo_id_array":[{"photo_id":"1331563034","filename":"file2"},{"photo_id":"1331563020","filename":"file1"},{"photo_id":"1331563014","filename":"file0"},{"photo_id":"1331563037","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331563034":["hashtag1","hashtag2"]},{"1331563020":["hashtag1","hashtag2"]},{"1331563014":["hashtag1","hashtag2"]},{"1331563037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331563034, 1331563020, 1331563014, 1331563037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.860326290130615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:17:04.152163
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg', '/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_45_10487.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_27_55_9354.jpg
/home/pi/Desktop/images/23012025/21/27/image_23012025_21_28_05_10338.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_15_10355.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_25_9381.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_35_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331563045","1331563042","1331563056","1331563053","1331563047","1331563049"],"photo_ids_order":["1331563042","1331563045","1331563047","1331563049","1331563053","1331563056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4bf65d6a11034c812474f72072cb748.jpg","text":"TemporaryFile(/tmp/multipartBody7805204425967179137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_27_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/26/d9f7fb1c50a34774fc98ba5f40d55e88.jpg","text":"TemporaryFile(/tmp/multipartBody1983615777425572114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_27_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/26/41b06eef79b652dd9ccb0dd3916f21f9.jpg","text":"TemporaryFile(/tmp/multipartBody7301318766639688538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_28_35_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/26/f53475dd60ecb165cf9c852649d56342.jpg","text":"TemporaryFile(/tmp/multipartBody1298749352223493590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_28_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/26/62278cfa06bed203a094329e461dbaaf.jpg","text":"TemporaryFile(/tmp/multipartBody4716033375370280565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_28_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/26/6f8ae152d08ce6f9b1ec26d0dd2427d2.jpg","text":"TemporaryFile(/tmp/multipartBody1519664711397953407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865085945,"filename":"image_23012025_21_28_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331563047","file1":"1331563045","file0":"1331563042","file4":"1331563053","file5":"1331563056","file3":"1331563049"},"map_files_photo_id_array":[{"photo_id":"1331563056","filename":"file5"},{"photo_id":"1331563047","filename":"file2"},{"photo_id":"1331563053","filename":"file4"},{"photo_id":"1331563045","filename":"file1"},{"photo_id":"1331563042","filename":"file0"},{"photo_id":"1331563049","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331563045":["hashtag1","hashtag2"]},{"1331563042":["hashtag1","hashtag2"]},{"1331563056":["hashtag1","hashtag2"]},{"1331563053":["hashtag1","hashtag2"]},{"1331563047":["hashtag1","hashtag2"]},{"1331563049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331563045, 1331563042, 1331563056, 1331563053, 1331563047, 1331563049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82595610618591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 05:17:52.476448
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_44_9321.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_55_10379.jpg', '/home/pi/Desktop/images/23012025/21/28/image_23012025_21_29_05_10343.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_14_9380.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_25_10383.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_35_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_44_9321.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_28_55_10379.jpg
/home/pi/Desktop/images/23012025/21/28/image_23012025_21_29_05_10343.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_14_9380.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_25_10383.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_35_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331563480","1331563729","1331563299","1331563380","1331563574","1331563652"],"photo_ids_order":["1331563299","1331563380","1331563480","1331563574","1331563652","1331563729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03a88842d1bcef287c74339490e8e634.jpg","text":"TemporaryFile(/tmp/multipartBody1840478437511298216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_29_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ad86e1b8f5dcc5765f300b60cbf2513.jpg","text":"TemporaryFile(/tmp/multipartBody1995310598909791477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_29_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2dd533ce30cb9b95ab5da773c1b7676c.jpg","text":"TemporaryFile(/tmp/multipartBody7376163668720332252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_28_44_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/26/4cc2bc603b3cdc7b42e0f2a89379d032.jpg","text":"TemporaryFile(/tmp/multipartBody4861312270694053102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_28_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/26/5082aa8823a47092f92055e8ac571631.jpg","text":"TemporaryFile(/tmp/multipartBody1602002142580770760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_29_14_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/26/241219b24b65d23771bfcf408ec3f3e1.jpg","text":"TemporaryFile(/tmp/multipartBody2108371168516513599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865134858,"filename":"image_23012025_21_29_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331563480","file1":"1331563380","file0":"1331563299","file4":"1331563652","file5":"1331563729","file3":"1331563574"},"map_files_photo_id_array":[{"photo_id":"1331563729","filename":"file5"},{"photo_id":"1331563480","filename":"file2"},{"photo_id":"1331563652","filename":"file4"},{"photo_id":"1331563380","filename":"file1"},{"photo_id":"1331563299","filename":"file0"},{"photo_id":"1331563574","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331563480":["hashtag1","hashtag2"]},{"1331563729":["hashtag1","hashtag2"]},{"1331563299":["hashtag1","hashtag2"]},{"1331563380":["hashtag1","hashtag2"]},{"1331563574":["hashtag1","hashtag2"]},{"1331563652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331563480, 1331563729, 1331563299, 1331563380, 1331563574, 1331563652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.765950441360474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:18:42.630562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_56_9355.jpg', '/home/pi/Desktop/images/26012025/05/16/image_26012025_05_17_07_10322.jpg', '/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_17_10368.jpg', '/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_26_9329.jpg', '/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_37_10413.jpg', '/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_56_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/16/image_26012025_05_16_56_9355.jpg
/home/pi/Desktop/images/26012025/05/16/image_26012025_05_17_07_10322.jpg
/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_17_10368.jpg
/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_26_9329.jpg
/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_37_10413.jpg
/home/pi/Desktop/images/26012025/05/17/image_26012025_05_17_56_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":["1331564041","1331564148","1331563995","1331564255","1331564078","1331564213"],"photo_ids_order":["1331563995","1331564041","1331564078","1331564148","1331564213","1331564255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2337b31ce7b46bfd9e08f22e8e85405.jpg","text":"TemporaryFile(/tmp/multipartBody5907604161441309121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_17_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/28b0ac9f928f3a70d97f12478d27eae6.jpg","text":"TemporaryFile(/tmp/multipartBody4453083253950905440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_17_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf4b83b345259e773f266af07fc6a55c.jpg","text":"TemporaryFile(/tmp/multipartBody8050208486443174725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_16_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/26/0dad39e1c7f3e11de8f95652ec8ea4ff.jpg","text":"TemporaryFile(/tmp/multipartBody9040707429525936617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_17_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/26/bd5a7d412f1804381a24f45c2efef0b8.jpg","text":"TemporaryFile(/tmp/multipartBody9014164066839008128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_17_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/26/3398fd77b90708b8a953226c07c72b7d.jpg","text":"TemporaryFile(/tmp/multipartBody4597566577619974153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865183544,"filename":"image_26012025_05_17_37_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331564078","file1":"1331564041","file0":"1331563995","file4":"1331564213","file5":"1331564255","file3":"1331564148"},"map_files_photo_id_array":[{"photo_id":"1331564255","filename":"file5"},{"photo_id":"1331564078","filename":"file2"},{"photo_id":"1331564213","filename":"file4"},{"photo_id":"1331564041","filename":"file1"},{"photo_id":"1331563995","filename":"file0"},{"photo_id":"1331564148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331564041":["hashtag1","hashtag2"]},{"1331564148":["hashtag1","hashtag2"]},{"1331563995":["hashtag1","hashtag2"]},{"1331564255":["hashtag1","hashtag2"]},{"1331564078":["hashtag1","hashtag2"]},{"1331564213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331564041, 1331564148, 1331563995, 1331564255, 1331564078, 1331564213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.24923062324524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:19:32.903434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_16_9347.jpg', '/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_27_10435.jpg', '/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_37_10358.jpg', '/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_46_9331.jpg', '/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_57_10347.jpg', '/home/pi/Desktop/images/26012025/05/18/image_26012025_05_19_07_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_16_9347.jpg
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_27_10435.jpg
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_37_10358.jpg
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_46_9331.jpg
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_18_57_10347.jpg
/home/pi/Desktop/images/26012025/05/18/image_26012025_05_19_07_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":["1331564314","1331564304","1331564307","1331564312","1331564315","1331564309"],"photo_ids_order":["1331564304","1331564307","1331564309","1331564312","1331564314","1331564315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/09265386278d996982fe5b22eee38809.jpg","text":"TemporaryFile(/tmp/multipartBody8486636038474247972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_18_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/26/22a49fcc7a51267b7b56030c5d29e07c.jpg","text":"TemporaryFile(/tmp/multipartBody3163244552969978765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_18_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/26/7aa20964811148eb397bb925264c7002.jpg","text":"TemporaryFile(/tmp/multipartBody7139330302756916107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_18_27_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/26/b73b0f2ec4519944656be34b95642930.jpg","text":"TemporaryFile(/tmp/multipartBody2912423282243830695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_18_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/088b7e4d4a521b7e442ab704c441ac47.jpg","text":"TemporaryFile(/tmp/multipartBody4311511961192052045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_19_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d82bc1cce5fd6a9e22f496cd3c4ef561.jpg","text":"TemporaryFile(/tmp/multipartBody6760074781289361784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865233839,"filename":"image_26012025_05_18_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331564309","file1":"1331564307","file0":"1331564304","file4":"1331564314","file5":"1331564315","file3":"1331564312"},"map_files_photo_id_array":[{"photo_id":"1331564315","filename":"file5"},{"photo_id":"1331564309","filename":"file2"},{"photo_id":"1331564314","filename":"file4"},{"photo_id":"1331564307","filename":"file1"},{"photo_id":"1331564304","filename":"file0"},{"photo_id":"1331564312","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331564314":["hashtag1","hashtag2"]},{"1331564304":["hashtag1","hashtag2"]},{"1331564307":["hashtag1","hashtag2"]},{"1331564312":["hashtag1","hashtag2"]},{"1331564315":["hashtag1","hashtag2"]},{"1331564309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331564314, 1331564304, 1331564307, 1331564312, 1331564315, 1331564309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.69155502319336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:20:33.183623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_16_9355.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_27_10416.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_36_9353.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_46_10356.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_57_10340.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_20_06_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_16_9355.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_27_10416.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_36_9353.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_46_10356.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_57_10340.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_20_06_9390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.534588098526001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:20:43.103375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_16_9355.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_27_10416.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_36_9353.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_46_10356.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_57_10340.jpg', '/home/pi/Desktop/images/26012025/05/19/image_26012025_05_20_06_9390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_16_9355.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_27_10416.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_36_9353.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_46_10356.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_19_57_10340.jpg
/home/pi/Desktop/images/26012025/05/19/image_26012025_05_20_06_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331565019","1331564815","1331564445","1331565212","1331564636","1331564537"],"photo_ids_order":["1331564445","1331564537","1331564636","1331564815","1331565019","1331565212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f59d510dfe9c54869e42c6c945c42caa.jpg","text":"TemporaryFile(/tmp/multipartBody4642788427078858741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_19_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/26/7f7ccd877fba614e086ae1f1bad04634.jpg","text":"TemporaryFile(/tmp/multipartBody2770375510587547378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_19_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/26/a3f44140607b055e4d8a105efcb35852.jpg","text":"TemporaryFile(/tmp/multipartBody7486170487218389002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_19_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/26/929b07760088ebe898ace4c2fb732d83.jpg","text":"TemporaryFile(/tmp/multipartBody7643275925255702420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_20_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/26/06e933b7ea6e70e02d5c8a625ea39492.jpg","text":"TemporaryFile(/tmp/multipartBody3408889378228700636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_19_36_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f784c4e52c597238fc04887ebcd196c.jpg","text":"TemporaryFile(/tmp/multipartBody8538981554172585829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865304032,"filename":"image_26012025_05_19_27_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331564636","file1":"1331564537","file0":"1331564445","file4":"1331565019","file5":"1331565212","file3":"1331564815"},"map_files_photo_id_array":[{"photo_id":"1331565212","filename":"file5"},{"photo_id":"1331564636","filename":"file2"},{"photo_id":"1331565019","filename":"file4"},{"photo_id":"1331564537","filename":"file1"},{"photo_id":"1331564445","filename":"file0"},{"photo_id":"1331564815","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331565019":["hashtag1","hashtag2"]},{"1331564815":["hashtag1","hashtag2"]},{"1331564445":["hashtag1","hashtag2"]},{"1331565212":["hashtag1","hashtag2"]},{"1331564636":["hashtag1","hashtag2"]},{"1331564537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331565019, 1331564815, 1331564445, 1331565212, 1331564636, 1331564537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.087780714035034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:21:32.405034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_17_10451.jpg', '/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_27_10348.jpg', '/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_36_9358.jpg', '/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_47_10435.jpg', '/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_56_9394.jpg', '/home/pi/Desktop/images/26012025/05/20/image_26012025_05_21_07_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_17_10451.jpg
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_27_10348.jpg
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_36_9358.jpg
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_47_10435.jpg
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_20_56_9394.jpg
/home/pi/Desktop/images/26012025/05/20/image_26012025_05_21_07_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331566182","1331566170","1331566136","1331566019","1331566191","1331566188"],"photo_ids_order":["1331566019","1331566136","1331566170","1331566182","1331566188","1331566191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/484314ffdabc299ba12c66e741ed7b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6342609191959185780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_20_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/26/af1d05cf4e087d7fb8c5e89a5e2ea752.jpg","text":"TemporaryFile(/tmp/multipartBody2989119296497371561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_20_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/26/9fa7c275e271659a40a083f50264ddf7.jpg","text":"TemporaryFile(/tmp/multipartBody1885471361800547120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_20_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/26/9209d7993ab678b37acb69d7eb4a5e27.jpg","text":"TemporaryFile(/tmp/multipartBody2099870545454178860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_20_17_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/26/d0144a9a9b723cdbc5fef2bf1e9738a0.jpg","text":"TemporaryFile(/tmp/multipartBody1814622580595017336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_21_07_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/26/eef9d26e24a7d0037b46eaf66d165a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4098230715522008697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865353411,"filename":"image_26012025_05_20_56_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566170","file1":"1331566136","file0":"1331566019","file4":"1331566188","file5":"1331566191","file3":"1331566182"},"map_files_photo_id_array":[{"photo_id":"1331566191","filename":"file5"},{"photo_id":"1331566170","filename":"file2"},{"photo_id":"1331566188","filename":"file4"},{"photo_id":"1331566136","filename":"file1"},{"photo_id":"1331566019","filename":"file0"},{"photo_id":"1331566182","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566182":["hashtag1","hashtag2"]},{"1331566170":["hashtag1","hashtag2"]},{"1331566136":["hashtag1","hashtag2"]},{"1331566019":["hashtag1","hashtag2"]},{"1331566191":["hashtag1","hashtag2"]},{"1331566188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566182, 1331566170, 1331566136, 1331566019, 1331566191, 1331566188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.671345233917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:22:32.587156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_17_10385.jpg', '/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_26_9323.jpg', '/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_37_10387.jpg', '/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_46_9432.jpg', '/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_56_10337.jpg', '/home/pi/Desktop/images/26012025/05/21/image_26012025_05_22_07_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_17_10385.jpg
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_26_9323.jpg
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_37_10387.jpg
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_46_9432.jpg
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_21_56_10337.jpg
/home/pi/Desktop/images/26012025/05/21/image_26012025_05_22_07_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":["1331566230","1331566206","1331566235","1331566202","1331566210","1331566234"],"photo_ids_order":["1331566202","1331566206","1331566210","1331566230","1331566234","1331566235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7f2e289d9ddb51dd37742725dccc36f.jpg","text":"TemporaryFile(/tmp/multipartBody6931209794858277062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_21_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/26/03c9945735fa7253a9bd82385cc5be09.jpg","text":"TemporaryFile(/tmp/multipartBody1050153425464241803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_21_26_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/26/8a1911e18eb7f8ab2b0e8cc26e7a71f1.jpg","text":"TemporaryFile(/tmp/multipartBody1473650643612023492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_22_07_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/26/c366fa210f85549302207569709ad791.jpg","text":"TemporaryFile(/tmp/multipartBody6889263633825501426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_21_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/26/4c51931244f35143468b6781c871d667.jpg","text":"TemporaryFile(/tmp/multipartBody841516705966041886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_21_37_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/26/c84fa4bf422f43e3a308a3d3c9b35b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3618699368141217178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865413534,"filename":"image_26012025_05_21_56_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566210","file1":"1331566206","file0":"1331566202","file4":"1331566234","file5":"1331566235","file3":"1331566230"},"map_files_photo_id_array":[{"photo_id":"1331566235","filename":"file5"},{"photo_id":"1331566210","filename":"file2"},{"photo_id":"1331566234","filename":"file4"},{"photo_id":"1331566206","filename":"file1"},{"photo_id":"1331566202","filename":"file0"},{"photo_id":"1331566230","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566230":["hashtag1","hashtag2"]},{"1331566206":["hashtag1","hashtag2"]},{"1331566235":["hashtag1","hashtag2"]},{"1331566202":["hashtag1","hashtag2"]},{"1331566210":["hashtag1","hashtag2"]},{"1331566234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566230, 1331566206, 1331566235, 1331566202, 1331566210, 1331566234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00320363044739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:23:33.052785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_16_9371.jpg', '/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_27_10496.jpg', '/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_36_9397.jpg', '/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_46_10351.jpg', '/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_57_10423.jpg', '/home/pi/Desktop/images/26012025/05/22/image_26012025_05_23_06_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_16_9371.jpg
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_27_10496.jpg
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_36_9397.jpg
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_46_10351.jpg
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_22_57_10423.jpg
/home/pi/Desktop/images/26012025/05/22/image_26012025_05_23_06_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":["1331566859","1331566763","1331566861","1331566759","1331566774","1331566840"],"photo_ids_order":["1331566759","1331566763","1331566774","1331566840","1331566859","1331566861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/237d639535667eee08772260629e2045.jpg","text":"TemporaryFile(/tmp/multipartBody7430501236142913196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_22_57_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/26/a07c746a44c72f0e6d969bd7a2d83e6f.jpg","text":"TemporaryFile(/tmp/multipartBody3753310875436623496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_22_27_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/26/ffd10cb49c3fd8ac47bc7e13b04e387e.jpg","text":"TemporaryFile(/tmp/multipartBody8684696903046183472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_23_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/661be84c23c90f368c0423c970ebfa4a.jpg","text":"TemporaryFile(/tmp/multipartBody2921017943775620443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_22_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/26/818970fe10c06cd2be9577f302f32f64.jpg","text":"TemporaryFile(/tmp/multipartBody7418478801480446232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_22_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/346a186903c3b56f5479ac55418fb264.jpg","text":"TemporaryFile(/tmp/multipartBody1148373446410648330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865473984,"filename":"image_26012025_05_22_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566774","file1":"1331566763","file0":"1331566759","file4":"1331566859","file5":"1331566861","file3":"1331566840"},"map_files_photo_id_array":[{"photo_id":"1331566861","filename":"file5"},{"photo_id":"1331566774","filename":"file2"},{"photo_id":"1331566859","filename":"file4"},{"photo_id":"1331566763","filename":"file1"},{"photo_id":"1331566759","filename":"file0"},{"photo_id":"1331566840","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566859":["hashtag1","hashtag2"]},{"1331566763":["hashtag1","hashtag2"]},{"1331566861":["hashtag1","hashtag2"]},{"1331566759":["hashtag1","hashtag2"]},{"1331566774":["hashtag1","hashtag2"]},{"1331566840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566859, 1331566763, 1331566861, 1331566759, 1331566774, 1331566840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74892210960388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:24:32.173714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_17_10431.jpg', '/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_26_9425.jpg', '/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_37_10449.jpg', '/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_47_10358.jpg', '/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_56_9393.jpg', '/home/pi/Desktop/images/26012025/05/23/image_26012025_05_24_07_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_17_10431.jpg
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_26_9425.jpg
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_37_10449.jpg
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_47_10358.jpg
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_23_56_9393.jpg
/home/pi/Desktop/images/26012025/05/23/image_26012025_05_24_07_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331566895","1331566888","1331566882","1331566876","1331566870","1331566893"],"photo_ids_order":["1331566870","1331566876","1331566882","1331566888","1331566893","1331566895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e239f780954262f70c6798f50af592b7.jpg","text":"TemporaryFile(/tmp/multipartBody666743289603336582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_24_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72881e7e9b1026b2cef73c8acabbd7fd.jpg","text":"TemporaryFile(/tmp/multipartBody4268451264982581873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_23_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/26/7f0f1319bde05097796ca6edf33b7956.jpg","text":"TemporaryFile(/tmp/multipartBody4498706935252959414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_23_37_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/26/73f0d10b391f7782dcd48c33be5136d1.jpg","text":"TemporaryFile(/tmp/multipartBody5311213377214966267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_23_26_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/26/6c1685c7d26db7ebefb0785560273af8.jpg","text":"TemporaryFile(/tmp/multipartBody5112188004749669923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_23_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/26/8204a5bc7a9b7925b6fea1ff3d56f728.jpg","text":"TemporaryFile(/tmp/multipartBody8228752744283707561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865533198,"filename":"image_26012025_05_23_56_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566882","file1":"1331566876","file0":"1331566870","file4":"1331566893","file5":"1331566895","file3":"1331566888"},"map_files_photo_id_array":[{"photo_id":"1331566895","filename":"file5"},{"photo_id":"1331566882","filename":"file2"},{"photo_id":"1331566893","filename":"file4"},{"photo_id":"1331566876","filename":"file1"},{"photo_id":"1331566870","filename":"file0"},{"photo_id":"1331566888","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566895":["hashtag1","hashtag2"]},{"1331566888":["hashtag1","hashtag2"]},{"1331566882":["hashtag1","hashtag2"]},{"1331566876":["hashtag1","hashtag2"]},{"1331566870":["hashtag1","hashtag2"]},{"1331566893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566895, 1331566888, 1331566882, 1331566876, 1331566870, 1331566893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.132296323776245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:25:32.430290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_17_10365.jpg', '/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_26_9389.jpg', '/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_37_10331.jpg', '/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_46_9360.jpg', '/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_56_10371.jpg', '/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_27_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_17_10365.jpg
/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_26_9389.jpg
/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_37_10331.jpg
/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_46_9360.jpg
/home/pi/Desktop/images/26012025/05/24/image_26012025_05_24_56_10371.jpg
/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_27_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":["1331566956","1331566935","1331566959","1331566964","1331566961","1331566966"],"photo_ids_order":["1331566935","1331566956","1331566959","1331566961","1331566964","1331566966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/882a705e2131af4c061542b4de6ee2c1.jpg","text":"TemporaryFile(/tmp/multipartBody6501920322057663744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_24_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/26/30713ea65750185f73a277c19449ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody707928694221910519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_24_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/26/31a22cb7bdc09721defa5c864060fb00.jpg","text":"TemporaryFile(/tmp/multipartBody7463698215526668809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_24_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/26/4f5c4c29ebdd9b82b96ed29201334a8f.jpg","text":"TemporaryFile(/tmp/multipartBody9171646383710787081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_24_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/26/d80ffedfadf3e6da43b9e23fe7cacd19.jpg","text":"TemporaryFile(/tmp/multipartBody7221467086021498088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_24_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/26/280490d129d2851128d6f5d297b23fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1553476850198705860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865593361,"filename":"image_26012025_05_25_27_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566959","file1":"1331566956","file0":"1331566935","file4":"1331566964","file5":"1331566966","file3":"1331566961"},"map_files_photo_id_array":[{"photo_id":"1331566966","filename":"file5"},{"photo_id":"1331566959","filename":"file2"},{"photo_id":"1331566964","filename":"file4"},{"photo_id":"1331566956","filename":"file1"},{"photo_id":"1331566935","filename":"file0"},{"photo_id":"1331566961","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566956":["hashtag1","hashtag2"]},{"1331566935":["hashtag1","hashtag2"]},{"1331566959":["hashtag1","hashtag2"]},{"1331566964":["hashtag1","hashtag2"]},{"1331566961":["hashtag1","hashtag2"]},{"1331566966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566956, 1331566935, 1331566959, 1331566964, 1331566961, 1331566966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39438223838806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:26:32.663627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_36_9355.jpg', '/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_46_10342.jpg', '/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_57_10454.jpg', '/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_17_10392.jpg', '/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_36_9378.jpg', '/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_47_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_36_9355.jpg
/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_46_10342.jpg
/home/pi/Desktop/images/26012025/05/25/image_26012025_05_25_57_10454.jpg
/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_17_10392.jpg
/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_36_9378.jpg
/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_47_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":["1331566994","1331566976","1331566993","1331566981","1331566990","1331566986"],"photo_ids_order":["1331566976","1331566981","1331566986","1331566990","1331566993","1331566994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fdd47b2737e6c657a61724fb4145a9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7566100972769662217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_26_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/26/0fd4c4b5bbfd90443e81030cc66482a4.jpg","text":"TemporaryFile(/tmp/multipartBody249554452201855367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_25_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/26/bf42c4e7cc2da0876e8c448235d5f962.jpg","text":"TemporaryFile(/tmp/multipartBody4582763025470784535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_26_36_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4625c56928c1984bf45a55a3e5f2c096.jpg","text":"TemporaryFile(/tmp/multipartBody7884015182382947127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_25_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d7a706cb9120dc9199e0fedf030b941f.jpg","text":"TemporaryFile(/tmp/multipartBody8818509859177625670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_26_17_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/26/d43c87c5c441531237b7377a2e893614.jpg","text":"TemporaryFile(/tmp/multipartBody7502953313608123177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865653598,"filename":"image_26012025_05_25_57_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331566986","file1":"1331566981","file0":"1331566976","file4":"1331566993","file5":"1331566994","file3":"1331566990"},"map_files_photo_id_array":[{"photo_id":"1331566994","filename":"file5"},{"photo_id":"1331566986","filename":"file2"},{"photo_id":"1331566993","filename":"file4"},{"photo_id":"1331566981","filename":"file1"},{"photo_id":"1331566976","filename":"file0"},{"photo_id":"1331566990","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331566994":["hashtag1","hashtag2"]},{"1331566976":["hashtag1","hashtag2"]},{"1331566993":["hashtag1","hashtag2"]},{"1331566981":["hashtag1","hashtag2"]},{"1331566990":["hashtag1","hashtag2"]},{"1331566986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331566994, 1331566976, 1331566993, 1331566981, 1331566990, 1331566986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.217748165130615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:27:33.029526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_56_9348.jpg', '/home/pi/Desktop/images/26012025/05/26/image_26012025_05_27_07_10452.jpg', '/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_17_10332.jpg', '/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_26_9395.jpg', '/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_46_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/26/image_26012025_05_26_56_9348.jpg
/home/pi/Desktop/images/26012025/05/26/image_26012025_05_27_07_10452.jpg
/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_17_10332.jpg
/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_26_9395.jpg
/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_46_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":["1331567025","1331567013","1331567030","1331567009","1331567020"],"photo_ids_order":["1331567009","1331567013","1331567020","1331567025","1331567030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e818979abe419f94007d4de4f240abda.jpg","text":"TemporaryFile(/tmp/multipartBody8898556889496994706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865713953,"filename":"image_26012025_05_27_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/26/1bf57623b15bdc855e4dfe3a478a02c6.jpg","text":"TemporaryFile(/tmp/multipartBody8613063956985758178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865713953,"filename":"image_26012025_05_27_07_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d058f304ec9692f9d20aa374091971f8.jpg","text":"TemporaryFile(/tmp/multipartBody8418526452172007902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865713953,"filename":"image_26012025_05_27_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/26/15a74ef2450d386395ef8918da77155a.jpg","text":"TemporaryFile(/tmp/multipartBody8567558332124652499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865713953,"filename":"image_26012025_05_26_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/26/8759dcde6dfc7da803014c40bcbfed8a.jpg","text":"TemporaryFile(/tmp/multipartBody874104742637217464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865713953,"filename":"image_26012025_05_27_17_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331567020","file1":"1331567013","file0":"1331567009","file4":"1331567030","file3":"1331567025"},"map_files_photo_id_array":[{"photo_id":"1331567020","filename":"file2"},{"photo_id":"1331567030","filename":"file4"},{"photo_id":"1331567013","filename":"file1"},{"photo_id":"1331567009","filename":"file0"},{"photo_id":"1331567025","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331567025":["hashtag1","hashtag2"]},{"1331567013":["hashtag1","hashtag2"]},{"1331567030":["hashtag1","hashtag2"]},{"1331567009":["hashtag1","hashtag2"]},{"1331567020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331567025, 1331567013, 1331567030, 1331567009, 1331567020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.13918161392212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:28:33.190474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_57_10475.jpg', '/home/pi/Desktop/images/26012025/05/27/image_26012025_05_28_07_10349.jpg', '/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_27_10333.jpg', '/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_36_9343.jpg', '/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_47_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/27/image_26012025_05_27_57_10475.jpg
/home/pi/Desktop/images/26012025/05/27/image_26012025_05_28_07_10349.jpg
/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_27_10333.jpg
/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_36_9343.jpg
/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_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":["1331567093","1331567099","1331567084","1331567102","1331567089"],"photo_ids_order":["1331567084","1331567089","1331567093","1331567099","1331567102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fcbb329690d9648ea44f768c8d0519a8.jpg","text":"TemporaryFile(/tmp/multipartBody3583145009986151416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865774103,"filename":"image_26012025_05_28_27_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/26/dde22434b57a44d1783e58cd64d61d53.jpg","text":"TemporaryFile(/tmp/multipartBody101906338418569167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865774103,"filename":"image_26012025_05_28_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/26/21be8d2ef37565bf53f11ef82be64438.jpg","text":"TemporaryFile(/tmp/multipartBody8782439048953213832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865774103,"filename":"image_26012025_05_27_57_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/26/86659839b2a682a7c3e7e70f547ac12d.jpg","text":"TemporaryFile(/tmp/multipartBody533573888061085912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865774103,"filename":"image_26012025_05_28_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/26/66c3748686096938c3a57d315681f43d.jpg","text":"TemporaryFile(/tmp/multipartBody7570932949535100045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865774103,"filename":"image_26012025_05_28_07_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331567093","file1":"1331567089","file0":"1331567084","file4":"1331567102","file3":"1331567099"},"map_files_photo_id_array":[{"photo_id":"1331567093","filename":"file2"},{"photo_id":"1331567102","filename":"file4"},{"photo_id":"1331567089","filename":"file1"},{"photo_id":"1331567084","filename":"file0"},{"photo_id":"1331567099","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331567093":["hashtag1","hashtag2"]},{"1331567099":["hashtag1","hashtag2"]},{"1331567084":["hashtag1","hashtag2"]},{"1331567102":["hashtag1","hashtag2"]},{"1331567089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331567093, 1331567099, 1331567084, 1331567102, 1331567089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.29405641555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:29:32.325358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_57_10414.jpg', '/home/pi/Desktop/images/26012025/05/28/image_26012025_05_29_06_9332.jpg', '/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_17_10351.jpg', '/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_27_10341.jpg', '/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_36_9340.jpg', '/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_47_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/28/image_26012025_05_28_57_10414.jpg
/home/pi/Desktop/images/26012025/05/28/image_26012025_05_29_06_9332.jpg
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_17_10351.jpg
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_27_10341.jpg
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_36_9340.jpg
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_47_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":["1331567336","1331567219","1331567168","1331567120","1331567284","1331567117"],"photo_ids_order":["1331567117","1331567120","1331567168","1331567219","1331567284","1331567336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02070fd15dfe608e910e57453cbd374a.jpg","text":"TemporaryFile(/tmp/multipartBody3745770414300916727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_29_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/26/d12ea28a00f35ff6a35adb9ec8e57426.jpg","text":"TemporaryFile(/tmp/multipartBody1326538573901842436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_29_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/26/95f143e50a5dd5874e7767474d3f186a.jpg","text":"TemporaryFile(/tmp/multipartBody8670741203435521879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_29_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/26/222d2124e1ad006490ac6e53d8f18fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1070166373206966629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_29_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/26/fde83f66b2e3480d8b10b4f13c07245c.jpg","text":"TemporaryFile(/tmp/multipartBody6002501280880799540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_29_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/26/c380b22fb0cab61dbe65095473f298c7.jpg","text":"TemporaryFile(/tmp/multipartBody3680471359253044581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865833254,"filename":"image_26012025_05_28_57_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331567168","file1":"1331567120","file0":"1331567117","file4":"1331567284","file5":"1331567336","file3":"1331567219"},"map_files_photo_id_array":[{"photo_id":"1331567336","filename":"file5"},{"photo_id":"1331567168","filename":"file2"},{"photo_id":"1331567284","filename":"file4"},{"photo_id":"1331567120","filename":"file1"},{"photo_id":"1331567117","filename":"file0"},{"photo_id":"1331567219","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331567336":["hashtag1","hashtag2"]},{"1331567219":["hashtag1","hashtag2"]},{"1331567168":["hashtag1","hashtag2"]},{"1331567120":["hashtag1","hashtag2"]},{"1331567284":["hashtag1","hashtag2"]},{"1331567117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331567336, 1331567219, 1331567168, 1331567120, 1331567284, 1331567117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79740262031555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:30:32.508321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_56_9338.jpg', '/home/pi/Desktop/images/26012025/05/29/image_26012025_05_30_06_10327.jpg', '/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_17_10395.jpg', '/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_26_9413.jpg', '/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_37_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_29_56_9338.jpg
/home/pi/Desktop/images/26012025/05/29/image_26012025_05_30_06_10327.jpg
/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_17_10395.jpg
/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_26_9413.jpg
/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_37_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331567699","1331567771","1331568045","1331567850","1331567943"],"photo_ids_order":["1331567699","1331567771","1331567850","1331567943","1331568045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58b69aaed5d01af4db0a6f95edf68646.jpg","text":"TemporaryFile(/tmp/multipartBody198905924330907072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865893424,"filename":"image_26012025_05_29_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7537993cf558140d8878d5d7b4775339.jpg","text":"TemporaryFile(/tmp/multipartBody8923057020182325449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865893424,"filename":"image_26012025_05_30_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/26/ba9bfd56479a9d18b925c5c248ff30a5.jpg","text":"TemporaryFile(/tmp/multipartBody399704021391607684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865893424,"filename":"image_26012025_05_30_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de930544818d26277bd73e067abf7b60.jpg","text":"TemporaryFile(/tmp/multipartBody4054423525204906098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865893424,"filename":"image_26012025_05_30_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/26/a5b6e428f55f72cd7a9ed084bcfff27f.jpg","text":"TemporaryFile(/tmp/multipartBody5598233409740039996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865893424,"filename":"image_26012025_05_30_26_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331567850","file1":"1331567771","file0":"1331567699","file4":"1331568045","file3":"1331567943"},"map_files_photo_id_array":[{"photo_id":"1331567850","filename":"file2"},{"photo_id":"1331568045","filename":"file4"},{"photo_id":"1331567771","filename":"file1"},{"photo_id":"1331567699","filename":"file0"},{"photo_id":"1331567943","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331567699":["hashtag1","hashtag2"]},{"1331567771":["hashtag1","hashtag2"]},{"1331568045":["hashtag1","hashtag2"]},{"1331567850":["hashtag1","hashtag2"]},{"1331567943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331567699, 1331567771, 1331568045, 1331567850, 1331567943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.8757426738739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:31:32.812523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_56_9340.jpg', '/home/pi/Desktop/images/26012025/05/30/image_26012025_05_31_07_10400.jpg', '/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_16_9434.jpg', '/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_37_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/30/image_26012025_05_30_56_9340.jpg
/home/pi/Desktop/images/26012025/05/30/image_26012025_05_31_07_10400.jpg
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_16_9434.jpg
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_37_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":["1331568452","1331568443","1331568432","1331568398"],"photo_ids_order":["1331568398","1331568432","1331568443","1331568452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f048411d49cb8ff048b3aefbf15d713c.jpg","text":"TemporaryFile(/tmp/multipartBody1822243320137217746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865953709,"filename":"image_26012025_05_31_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b454fa9779a13df72b0ef4d729af29f.jpg","text":"TemporaryFile(/tmp/multipartBody5480174861126901082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865953709,"filename":"image_26012025_05_31_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/26/fe413301abab62036e0e55fd76106b9d.jpg","text":"TemporaryFile(/tmp/multipartBody6179311301386171092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865953709,"filename":"image_26012025_05_31_07_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/26/2d914f9a074f3ef7542a25afb672ea13.jpg","text":"TemporaryFile(/tmp/multipartBody4123672618146581820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737865953709,"filename":"image_26012025_05_30_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331568443","file1":"1331568432","file0":"1331568398","file3":"1331568452"},"map_files_photo_id_array":[{"photo_id":"1331568443","filename":"file2"},{"photo_id":"1331568432","filename":"file1"},{"photo_id":"1331568398","filename":"file0"},{"photo_id":"1331568452","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331568452":["hashtag1","hashtag2"]},{"1331568443":["hashtag1","hashtag2"]},{"1331568432":["hashtag1","hashtag2"]},{"1331568398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331568452, 1331568443, 1331568432, 1331568398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 35.56487274169922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:32:33.017855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_57_10445.jpg', '/home/pi/Desktop/images/26012025/05/31/image_26012025_05_32_06_9320.jpg', '/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_27_10367.jpg', '/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_36_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_57_10445.jpg
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_32_06_9320.jpg
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_27_10367.jpg
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_36_9432.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.524970531463623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:32:42.908798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_57_10445.jpg', '/home/pi/Desktop/images/26012025/05/31/image_26012025_05_32_06_9320.jpg', '/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_27_10367.jpg', '/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_36_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_31_57_10445.jpg
/home/pi/Desktop/images/26012025/05/31/image_26012025_05_32_06_9320.jpg
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_27_10367.jpg
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_36_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331568503","1331568511","1331568514","1331568507"],"photo_ids_order":["1331568503","1331568507","1331568511","1331568514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c0b1939aff06bc109f5ef6639d8c1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6481903353483787927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866023790,"filename":"image_26012025_05_31_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/26/b5d593626b8696fd44fef1824d6b2cda.jpg","text":"TemporaryFile(/tmp/multipartBody4385699456949836271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866023790,"filename":"image_26012025_05_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/26/389f23d12d4d8518a5360e838305c66b.jpg","text":"TemporaryFile(/tmp/multipartBody6880903007522533309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866023790,"filename":"image_26012025_05_32_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/26/399c7f1b3b2b52bbc640c467bba72019.jpg","text":"TemporaryFile(/tmp/multipartBody8009396239077251849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866023790,"filename":"image_26012025_05_32_06_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331568511","file1":"1331568507","file0":"1331568503","file3":"1331568514"},"map_files_photo_id_array":[{"photo_id":"1331568511","filename":"file2"},{"photo_id":"1331568507","filename":"file1"},{"photo_id":"1331568503","filename":"file0"},{"photo_id":"1331568514","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331568503":["hashtag1","hashtag2"]},{"1331568511":["hashtag1","hashtag2"]},{"1331568514":["hashtag1","hashtag2"]},{"1331568507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331568503, 1331568511, 1331568514, 1331568507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.940470933914185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:33:32.155099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_57_10337.jpg', '/home/pi/Desktop/images/26012025/05/32/image_26012025_05_33_06_9339.jpg', '/home/pi/Desktop/images/26012025/05/33/image_26012025_05_33_26_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_32_57_10337.jpg
/home/pi/Desktop/images/26012025/05/32/image_26012025_05_33_06_9339.jpg
/home/pi/Desktop/images/26012025/05/33/image_26012025_05_33_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":["1331569663","1331569951","1331569940"],"photo_ids_order":["1331569663","1331569940","1331569951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33c9075db849e5632e01aefdfa2bdba4.jpg","text":"TemporaryFile(/tmp/multipartBody4310092160679031904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866073026,"filename":"image_26012025_05_32_57_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/26/e46ed6550d11cc80f10ef873809ff5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8995454013739974021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866073026,"filename":"image_26012025_05_33_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/26/f79c4c9f29c62fba6f7f410e0f0061f6.jpg","text":"TemporaryFile(/tmp/multipartBody945454758623877168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866073026,"filename":"image_26012025_05_33_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331569951","file1":"1331569940","file0":"1331569663"},"map_files_photo_id_array":[{"photo_id":"1331569951","filename":"file2"},{"photo_id":"1331569940","filename":"file1"},{"photo_id":"1331569663","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331569663":["hashtag1","hashtag2"]},{"1331569951":["hashtag1","hashtag2"]},{"1331569940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331569663, 1331569951, 1331569940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.813878774642944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:34:03.110081
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_45_9336.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_55_10470.jpg', '/home/pi/Desktop/images/23012025/21/29/image_23012025_21_30_05_9522.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_15_10458.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_24_9328.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_35_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_45_9336.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_29_55_10470.jpg
/home/pi/Desktop/images/23012025/21/29/image_23012025_21_30_05_9522.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_15_10458.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_24_9328.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_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":["1331570290","1331570041","1331570023","1331570344","1331570390","1331570223"],"photo_ids_order":["1331570023","1331570041","1331570223","1331570290","1331570344","1331570390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a99c940564f2cdcb7ce9a9337fb64856.jpg","text":"TemporaryFile(/tmp/multipartBody5418088156253725226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_30_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e866a5d5a706e82e24c3487ab708629.jpg","text":"TemporaryFile(/tmp/multipartBody8090098496172402687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_29_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/26/2e64f1287493f04a0298bb6876090ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3585983939766211790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_29_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/26/cfc57e3109de9fb707b9fab7405ac0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1577136461137986948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_30_24_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/26/5afa12d3a7455a4e996985a74d920560.jpg","text":"TemporaryFile(/tmp/multipartBody1774522726682048417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_30_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/26/240a0b31a5be5bd4d0d06e242e8be66d.jpg","text":"TemporaryFile(/tmp/multipartBody734558844646680707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866107187,"filename":"image_23012025_21_30_05_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331570223","file1":"1331570041","file0":"1331570023","file4":"1331570344","file5":"1331570390","file3":"1331570290"},"map_files_photo_id_array":[{"photo_id":"1331570390","filename":"file5"},{"photo_id":"1331570223","filename":"file2"},{"photo_id":"1331570344","filename":"file4"},{"photo_id":"1331570041","filename":"file1"},{"photo_id":"1331570023","filename":"file0"},{"photo_id":"1331570290","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331570290":["hashtag1","hashtag2"]},{"1331570041":["hashtag1","hashtag2"]},{"1331570023":["hashtag1","hashtag2"]},{"1331570344":["hashtag1","hashtag2"]},{"1331570390":["hashtag1","hashtag2"]},{"1331570223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331570290, 1331570041, 1331570023, 1331570344, 1331570390, 1331570223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22371315956116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 05:34:52.452280
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_45_10353.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_54_9358.jpg', '/home/pi/Desktop/images/23012025/21/30/image_23012025_21_31_05_10330.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_15_10368.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_25_9355.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_45_10353.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_30_54_9358.jpg
/home/pi/Desktop/images/23012025/21/30/image_23012025_21_31_05_10330.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_15_10368.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_25_9355.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_35_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":["1331570444","1331570446","1331570431","1331570449","1331570451","1331570436"],"photo_ids_order":["1331570431","1331570436","1331570444","1331570446","1331570449","1331570451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2184d79cfad8b325884efe985ce98544.jpg","text":"TemporaryFile(/tmp/multipartBody7296976652100195261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_31_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c30b2a869a5a02323a18dd4f0ec2acd.jpg","text":"TemporaryFile(/tmp/multipartBody2759567710194635794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_31_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/26/01ee2630ebd576dd95a356ef9b2feadf.jpg","text":"TemporaryFile(/tmp/multipartBody340524812380776048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_30_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71262b9424426e2db9fef4c3ffc129a6.jpg","text":"TemporaryFile(/tmp/multipartBody424443212181040682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_31_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/26/ea5ec6cb68cd601795a167015032ab24.jpg","text":"TemporaryFile(/tmp/multipartBody2369848340545868539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_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/26/9f1a21b7cf650153217eb4ef9e5252c1.jpg","text":"TemporaryFile(/tmp/multipartBody4941464647192681624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866154827,"filename":"image_23012025_21_30_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331570444","file1":"1331570436","file0":"1331570431","file4":"1331570449","file5":"1331570451","file3":"1331570446"},"map_files_photo_id_array":[{"photo_id":"1331570451","filename":"file5"},{"photo_id":"1331570444","filename":"file2"},{"photo_id":"1331570449","filename":"file4"},{"photo_id":"1331570436","filename":"file1"},{"photo_id":"1331570431","filename":"file0"},{"photo_id":"1331570446","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331570444":["hashtag1","hashtag2"]},{"1331570446":["hashtag1","hashtag2"]},{"1331570431":["hashtag1","hashtag2"]},{"1331570449":["hashtag1","hashtag2"]},{"1331570451":["hashtag1","hashtag2"]},{"1331570436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331570444, 1331570446, 1331570431, 1331570449, 1331570451, 1331570436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00331234931946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 05:35:42.628742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/33/image_26012025_05_33_36_10335.jpg', '/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_17_10365.jpg', '/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_37_10396.jpg', '/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_46_9337.jpg', '/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_56_10347.jpg', '/home/pi/Desktop/images/26012025/05/34/image_26012025_05_35_07_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/33/image_26012025_05_33_36_10335.jpg
/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_17_10365.jpg
/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_37_10396.jpg
/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_46_9337.jpg
/home/pi/Desktop/images/26012025/05/34/image_26012025_05_34_56_10347.jpg
/home/pi/Desktop/images/26012025/05/34/image_26012025_05_35_07_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":["1331570477","1331570464","1331570473","1331570475","1331570471","1331570468"],"photo_ids_order":["1331570464","1331570468","1331570471","1331570473","1331570475","1331570477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a014278ed3ae00cdf791eefc3f080726.jpg","text":"TemporaryFile(/tmp/multipartBody5536865441252868430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_35_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/26/7dd13d1f5e7927cba8c32927fcb8dedb.jpg","text":"TemporaryFile(/tmp/multipartBody496823999497295404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_33_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ee522ee840380a43d2a2738c2f8efe7.jpg","text":"TemporaryFile(/tmp/multipartBody50848478533780178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_34_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60b2acd1ab3579822653cce931223af6.jpg","text":"TemporaryFile(/tmp/multipartBody1182974934175469422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_34_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/26/92ae9b44fab69ae563f2f2a8858ca769.jpg","text":"TemporaryFile(/tmp/multipartBody6624884625375982059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_34_37_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/26/f19d37212c73e87fc673692f3d3e9ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8880198401501942293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866203543,"filename":"image_26012025_05_34_17_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331570471","file1":"1331570468","file0":"1331570464","file4":"1331570475","file5":"1331570477","file3":"1331570473"},"map_files_photo_id_array":[{"photo_id":"1331570477","filename":"file5"},{"photo_id":"1331570471","filename":"file2"},{"photo_id":"1331570475","filename":"file4"},{"photo_id":"1331570468","filename":"file1"},{"photo_id":"1331570464","filename":"file0"},{"photo_id":"1331570473","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331570477":["hashtag1","hashtag2"]},{"1331570464":["hashtag1","hashtag2"]},{"1331570473":["hashtag1","hashtag2"]},{"1331570475":["hashtag1","hashtag2"]},{"1331570471":["hashtag1","hashtag2"]},{"1331570468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331570477, 1331570464, 1331570473, 1331570475, 1331570471, 1331570468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76272630691528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:36:33.036375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_16_9336.jpg', '/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_27_10401.jpg', '/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_37_10340.jpg', '/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_46_9337.jpg', '/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_57_10363.jpg', '/home/pi/Desktop/images/26012025/05/35/image_26012025_05_36_07_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_16_9336.jpg
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_27_10401.jpg
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_37_10340.jpg
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_46_9337.jpg
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_35_57_10363.jpg
/home/pi/Desktop/images/26012025/05/35/image_26012025_05_36_07_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":["1331570488","1331570611","1331570523","1331570699","1331570492","1331570495"],"photo_ids_order":["1331570488","1331570492","1331570495","1331570523","1331570611","1331570699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/811084b6a21b889e9f21362e790c86fd.jpg","text":"TemporaryFile(/tmp/multipartBody3431559788989153464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_35_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/26/d6dd4ae56f296dfcf42034f80bed362a.jpg","text":"TemporaryFile(/tmp/multipartBody4048681849560613649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_35_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6dd9208021ede479b18a4260e178965a.jpg","text":"TemporaryFile(/tmp/multipartBody8306127502960351845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_35_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fc9407f72426fe9e82e38ddce91ed3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3963262054224207653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_36_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/26/a5ad639eb1130bddcce8b44dfa9f1780.jpg","text":"TemporaryFile(/tmp/multipartBody7341633490517472633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_35_27_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/26/30698330fd926673f3ad2717ca1287e5.jpg","text":"TemporaryFile(/tmp/multipartBody1601925005134596909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866253968,"filename":"image_26012025_05_35_37_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331570495","file1":"1331570492","file0":"1331570488","file4":"1331570611","file5":"1331570699","file3":"1331570523"},"map_files_photo_id_array":[{"photo_id":"1331570699","filename":"file5"},{"photo_id":"1331570495","filename":"file2"},{"photo_id":"1331570611","filename":"file4"},{"photo_id":"1331570492","filename":"file1"},{"photo_id":"1331570488","filename":"file0"},{"photo_id":"1331570523","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331570488":["hashtag1","hashtag2"]},{"1331570611":["hashtag1","hashtag2"]},{"1331570523":["hashtag1","hashtag2"]},{"1331570699":["hashtag1","hashtag2"]},{"1331570492":["hashtag1","hashtag2"]},{"1331570495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331570488, 1331570611, 1331570523, 1331570699, 1331570492, 1331570495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.251959800720215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:37:33.243413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_16_9327.jpg', '/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_27_10422.jpg', '/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_36_9342.jpg', '/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_46_10330.jpg', '/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_57_10426.jpg', '/home/pi/Desktop/images/26012025/05/36/image_26012025_05_37_06_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_16_9327.jpg
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_27_10422.jpg
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_36_9342.jpg
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_46_10330.jpg
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_36_57_10426.jpg
/home/pi/Desktop/images/26012025/05/36/image_26012025_05_37_06_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":["1331571308","1331571433","1331571399","1331571441","1331571443","1331571437"],"photo_ids_order":["1331571308","1331571399","1331571433","1331571437","1331571441","1331571443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e67f57f7c9e201218d6003e146f381e7.jpg","text":"TemporaryFile(/tmp/multipartBody1039365842842867810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_36_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/26/2558661901f4775fa5833ab84e677317.jpg","text":"TemporaryFile(/tmp/multipartBody2348823686712165823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_36_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a1552f79c24ec72afd9b3af6a646cd9.jpg","text":"TemporaryFile(/tmp/multipartBody505878093022619458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_36_27_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/26/e7b2449f86c7e25fd84ca02bdc467871.jpg","text":"TemporaryFile(/tmp/multipartBody1939670023582870645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_36_57_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7088710db8002bfefdfa106a69761adf.jpg","text":"TemporaryFile(/tmp/multipartBody5161611157181526669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_37_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/26/72e9326a52f1038132c8157b8b3b18b9.jpg","text":"TemporaryFile(/tmp/multipartBody5645739965140367639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866314176,"filename":"image_26012025_05_36_46_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331571433","file1":"1331571399","file0":"1331571308","file4":"1331571441","file5":"1331571443","file3":"1331571437"},"map_files_photo_id_array":[{"photo_id":"1331571443","filename":"file5"},{"photo_id":"1331571433","filename":"file2"},{"photo_id":"1331571441","filename":"file4"},{"photo_id":"1331571399","filename":"file1"},{"photo_id":"1331571308","filename":"file0"},{"photo_id":"1331571437","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331571308":["hashtag1","hashtag2"]},{"1331571433":["hashtag1","hashtag2"]},{"1331571399":["hashtag1","hashtag2"]},{"1331571441":["hashtag1","hashtag2"]},{"1331571443":["hashtag1","hashtag2"]},{"1331571437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331571308, 1331571433, 1331571399, 1331571441, 1331571443, 1331571437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23652648925781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:38:32.373576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_17_10363.jpg', '/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_27_10352.jpg', '/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_47_10421.jpg', '/home/pi/Desktop/images/26012025/05/37/image_26012025_05_38_06_10339.jpg', '/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_17_10348.jpg', '/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_26_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_17_10363.jpg
/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_27_10352.jpg
/home/pi/Desktop/images/26012025/05/37/image_26012025_05_37_47_10421.jpg
/home/pi/Desktop/images/26012025/05/37/image_26012025_05_38_06_10339.jpg
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_17_10348.jpg
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_26_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331571493","1331571498","1331571489","1331571501","1331571575","1331571485"],"photo_ids_order":["1331571485","1331571489","1331571493","1331571498","1331571501","1331571575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c90a0ac2842215802c8c2589621358ba.jpg","text":"TemporaryFile(/tmp/multipartBody206014520305118972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_37_47_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/836cd6db6f6fb330bcc0ad5e4445ace7.jpg","text":"TemporaryFile(/tmp/multipartBody3155130442086993544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_38_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/26/7c89a4ba0a83372c0b825fac4e063cca.jpg","text":"TemporaryFile(/tmp/multipartBody7597675576048986845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_37_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/26/efe921020852b5e34a8ca75b6ab7343c.jpg","text":"TemporaryFile(/tmp/multipartBody7069861723033899126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_38_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/26/cf5e82eba25acfd88fabbb80fb0ba1e7.jpg","text":"TemporaryFile(/tmp/multipartBody2300652536100684845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_38_26_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fdb254cc97984900a2d21865819b09e3.jpg","text":"TemporaryFile(/tmp/multipartBody3881888723145694411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866373320,"filename":"image_26012025_05_37_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331571493","file1":"1331571489","file0":"1331571485","file4":"1331571501","file5":"1331571575","file3":"1331571498"},"map_files_photo_id_array":[{"photo_id":"1331571575","filename":"file5"},{"photo_id":"1331571493","filename":"file2"},{"photo_id":"1331571501","filename":"file4"},{"photo_id":"1331571489","filename":"file1"},{"photo_id":"1331571485","filename":"file0"},{"photo_id":"1331571498","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331571493":["hashtag1","hashtag2"]},{"1331571498":["hashtag1","hashtag2"]},{"1331571489":["hashtag1","hashtag2"]},{"1331571501":["hashtag1","hashtag2"]},{"1331571575":["hashtag1","hashtag2"]},{"1331571485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331571493, 1331571498, 1331571489, 1331571501, 1331571575, 1331571485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54688882827759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:39:32.556956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_37_10437.jpg', '/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_46_9576.jpg', '/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_57_10389.jpg', '/home/pi/Desktop/images/26012025/05/38/image_26012025_05_39_07_10434.jpg', '/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_16_9337.jpg', '/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_27_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_37_10437.jpg
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_46_9576.jpg
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_38_57_10389.jpg
/home/pi/Desktop/images/26012025/05/38/image_26012025_05_39_07_10434.jpg
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_16_9337.jpg
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_27_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":["1331571979","1331572000","1331572003","1331571925","1331571921","1331571917"],"photo_ids_order":["1331571917","1331571921","1331571925","1331571979","1331572000","1331572003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7097ae91afa43ed348eec87998e4f66.jpg","text":"TemporaryFile(/tmp/multipartBody9048352543780533236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_39_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/26/7c226cbdaec98c1510ba10795b3cf4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8374566652626200633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_39_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b910d461a7bf2e8c19a0d7dc35a091ae.jpg","text":"TemporaryFile(/tmp/multipartBody3664506549939085801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_39_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/26/cb77150670bb577498b950d85f744ea6.jpg","text":"TemporaryFile(/tmp/multipartBody7610653092042761206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_38_57_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/26/18b69fac4e7cac0895bf1b59dbb060ff.jpg","text":"TemporaryFile(/tmp/multipartBody4748633424722326449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_38_46_9576.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15215560a6c65eafee680c58386be82c.jpg","text":"TemporaryFile(/tmp/multipartBody2620917382630611190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866433485,"filename":"image_26012025_05_38_37_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331571925","file1":"1331571921","file0":"1331571917","file4":"1331572000","file5":"1331572003","file3":"1331571979"},"map_files_photo_id_array":[{"photo_id":"1331572003","filename":"file5"},{"photo_id":"1331571925","filename":"file2"},{"photo_id":"1331572000","filename":"file4"},{"photo_id":"1331571921","filename":"file1"},{"photo_id":"1331571917","filename":"file0"},{"photo_id":"1331571979","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331571979":["hashtag1","hashtag2"]},{"1331572000":["hashtag1","hashtag2"]},{"1331572003":["hashtag1","hashtag2"]},{"1331571925":["hashtag1","hashtag2"]},{"1331571921":["hashtag1","hashtag2"]},{"1331571917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331571979, 1331572000, 1331572003, 1331571925, 1331571921, 1331571917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.025307178497314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:40:32.805943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_37_10352.jpg', '/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_46_9434.jpg', '/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_57_10435.jpg', '/home/pi/Desktop/images/26012025/05/39/image_26012025_05_40_06_9356.jpg', '/home/pi/Desktop/images/26012025/05/40/image_26012025_05_40_17_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_37_10352.jpg
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_46_9434.jpg
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_39_57_10435.jpg
/home/pi/Desktop/images/26012025/05/39/image_26012025_05_40_06_9356.jpg
/home/pi/Desktop/images/26012025/05/40/image_26012025_05_40_17_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":["1331572048","1331572044","1331572052","1331572040","1331572058"],"photo_ids_order":["1331572040","1331572044","1331572048","1331572052","1331572058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/874a4d336c054cd5d9a4a7f7ced67ec5.jpg","text":"TemporaryFile(/tmp/multipartBody5562057510324983424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866493725,"filename":"image_26012025_05_39_57_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/26/764c4df730081e92868a50533ff85924.jpg","text":"TemporaryFile(/tmp/multipartBody6481177063460110979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866493725,"filename":"image_26012025_05_39_46_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/26/aeb9595218e5e66ac2319813d3f0fd0d.jpg","text":"TemporaryFile(/tmp/multipartBody814768246564046121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866493725,"filename":"image_26012025_05_40_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8896bf268ac63ca2278e528a500a8b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7674385555512508035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866493725,"filename":"image_26012025_05_39_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cfc9a34576cdf668adf40a822a996d52.jpg","text":"TemporaryFile(/tmp/multipartBody1032948810000103226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866493725,"filename":"image_26012025_05_40_17_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572048","file1":"1331572044","file0":"1331572040","file4":"1331572058","file3":"1331572052"},"map_files_photo_id_array":[{"photo_id":"1331572048","filename":"file2"},{"photo_id":"1331572058","filename":"file4"},{"photo_id":"1331572044","filename":"file1"},{"photo_id":"1331572040","filename":"file0"},{"photo_id":"1331572052","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572048":["hashtag1","hashtag2"]},{"1331572044":["hashtag1","hashtag2"]},{"1331572052":["hashtag1","hashtag2"]},{"1331572040":["hashtag1","hashtag2"]},{"1331572058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572048, 1331572044, 1331572052, 1331572040, 1331572058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.677380323410034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:41:33.200580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/40/image_26012025_05_40_27_10351.jpg', '/home/pi/Desktop/images/26012025/05/40/image_26012025_05_41_07_10445.jpg', '/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_17_10350.jpg', '/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_26_9332.jpg', '/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_37_10357.jpg', '/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_47_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/40/image_26012025_05_40_27_10351.jpg
/home/pi/Desktop/images/26012025/05/40/image_26012025_05_41_07_10445.jpg
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_17_10350.jpg
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_26_9332.jpg
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_37_10357.jpg
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_47_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":["1331572089","1331572083","1331572077","1331572097","1331572093","1331572099"],"photo_ids_order":["1331572077","1331572083","1331572089","1331572093","1331572097","1331572099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87bc1441a6f708c061a6de08760f0ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2598032594319716506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_41_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/26/f420b000e606098f1caa4d0f462cc159.jpg","text":"TemporaryFile(/tmp/multipartBody6189090110208070652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_41_07_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/26/568bb11d5d79b1f33d8fe552011e269d.jpg","text":"TemporaryFile(/tmp/multipartBody6722853073549693906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_40_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/26/f569618b8b1a4b19ab5f4c3998fd5d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2178461488310852074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_41_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/26/6c9a0657fd0340b25c123b411b399e87.jpg","text":"TemporaryFile(/tmp/multipartBody7231029028425662482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_41_26_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/21cbe2620974481e77a30b415a445f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2464664825844054982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866554129,"filename":"image_26012025_05_41_47_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572089","file1":"1331572083","file0":"1331572077","file4":"1331572097","file5":"1331572099","file3":"1331572093"},"map_files_photo_id_array":[{"photo_id":"1331572099","filename":"file5"},{"photo_id":"1331572089","filename":"file2"},{"photo_id":"1331572097","filename":"file4"},{"photo_id":"1331572083","filename":"file1"},{"photo_id":"1331572077","filename":"file0"},{"photo_id":"1331572093","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572089":["hashtag1","hashtag2"]},{"1331572083":["hashtag1","hashtag2"]},{"1331572077":["hashtag1","hashtag2"]},{"1331572097":["hashtag1","hashtag2"]},{"1331572093":["hashtag1","hashtag2"]},{"1331572099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572089, 1331572083, 1331572077, 1331572097, 1331572093, 1331572099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63366889953613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:42:32.319430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_56_9329.jpg', '/home/pi/Desktop/images/26012025/05/41/image_26012025_05_42_07_10412.jpg', '/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_16_9322.jpg', '/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_27_10444.jpg', '/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_37_10344.jpg', '/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_46_9415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_41_56_9329.jpg
/home/pi/Desktop/images/26012025/05/41/image_26012025_05_42_07_10412.jpg
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_16_9322.jpg
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_27_10444.jpg
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_37_10344.jpg
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_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":["1331572120","1331572117","1331572113","1331572127","1331572130","1331572124"],"photo_ids_order":["1331572113","1331572117","1331572120","1331572124","1331572127","1331572130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa2de4f57d81e270768192470ea36400.jpg","text":"TemporaryFile(/tmp/multipartBody3181723707030419286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_42_16_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b36375e5a6781e0cc1135421e20912fe.jpg","text":"TemporaryFile(/tmp/multipartBody1120697701891710722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_42_07_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/26/f168b548ab683e09a17e62e7b9311e18.jpg","text":"TemporaryFile(/tmp/multipartBody841633632529907774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_41_56_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a254edf8b2356f094022d9539b51fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody5799524319983324891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_42_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/26/61384b9df07d40e2ff95914bea3fddce.jpg","text":"TemporaryFile(/tmp/multipartBody3999898901541184880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_42_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/26/70559532f6e69da413eff20e5d339d8b.jpg","text":"TemporaryFile(/tmp/multipartBody4617034572295476287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866613236,"filename":"image_26012025_05_42_27_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572120","file1":"1331572117","file0":"1331572113","file4":"1331572127","file5":"1331572130","file3":"1331572124"},"map_files_photo_id_array":[{"photo_id":"1331572130","filename":"file5"},{"photo_id":"1331572120","filename":"file2"},{"photo_id":"1331572127","filename":"file4"},{"photo_id":"1331572117","filename":"file1"},{"photo_id":"1331572113","filename":"file0"},{"photo_id":"1331572124","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572120":["hashtag1","hashtag2"]},{"1331572117":["hashtag1","hashtag2"]},{"1331572113":["hashtag1","hashtag2"]},{"1331572127":["hashtag1","hashtag2"]},{"1331572130":["hashtag1","hashtag2"]},{"1331572124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572120, 1331572117, 1331572113, 1331572127, 1331572130, 1331572124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.527281045913696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:43:32.627269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_57_10371.jpg', '/home/pi/Desktop/images/26012025/05/42/image_26012025_05_43_07_10331.jpg', '/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_16_9334.jpg', '/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_36_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_42_57_10371.jpg
/home/pi/Desktop/images/26012025/05/42/image_26012025_05_43_07_10331.jpg
/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_16_9334.jpg
/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_36_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":["1331572188","1331572182","1331572176","1331572164"],"photo_ids_order":["1331572164","1331572176","1331572182","1331572188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71ed8653d35adacab28e9d102dbc59b5.jpg","text":"TemporaryFile(/tmp/multipartBody2274498567833329187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866673537,"filename":"image_26012025_05_43_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/26/5ab2255119f5f2b1953af06b2bc0503d.jpg","text":"TemporaryFile(/tmp/multipartBody6363599541582929894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866673537,"filename":"image_26012025_05_43_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/26/9fcda9304e4dfc9417b6455968f221e3.jpg","text":"TemporaryFile(/tmp/multipartBody3765353997887142257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866673537,"filename":"image_26012025_05_43_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/26/47c6411216a5c8a02efd1af07ce3c6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6919278773534843255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866673537,"filename":"image_26012025_05_42_57_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572182","file1":"1331572176","file0":"1331572164","file3":"1331572188"},"map_files_photo_id_array":[{"photo_id":"1331572182","filename":"file2"},{"photo_id":"1331572176","filename":"file1"},{"photo_id":"1331572164","filename":"file0"},{"photo_id":"1331572188","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572188":["hashtag1","hashtag2"]},{"1331572182":["hashtag1","hashtag2"]},{"1331572176":["hashtag1","hashtag2"]},{"1331572164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572188, 1331572182, 1331572176, 1331572164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.76405668258667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:44:32.970625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_57_10362.jpg', '/home/pi/Desktop/images/26012025/05/43/image_26012025_05_44_06_9352.jpg', '/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_17_10429.jpg', '/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_27_10345.jpg', '/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_36_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/43/image_26012025_05_43_57_10362.jpg
/home/pi/Desktop/images/26012025/05/43/image_26012025_05_44_06_9352.jpg
/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_17_10429.jpg
/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_27_10345.jpg
/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_36_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331572225","1331572221","1331572214","1331572217","1331572211"],"photo_ids_order":["1331572211","1331572214","1331572217","1331572221","1331572225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d4699677d21bf5ed8c3807f1829975f.jpg","text":"TemporaryFile(/tmp/multipartBody3577325836564796183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866733881,"filename":"image_26012025_05_44_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/625fcaf4d034a01fead7209fb33faf5d.jpg","text":"TemporaryFile(/tmp/multipartBody3539714367577761531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866733881,"filename":"image_26012025_05_44_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/26/d6d6dd98698ce43f14ddab4b94a5224d.jpg","text":"TemporaryFile(/tmp/multipartBody7052729744842001230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866733881,"filename":"image_26012025_05_44_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/343180f93965ee3f85b879de32873c89.jpg","text":"TemporaryFile(/tmp/multipartBody2260345922041142289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866733881,"filename":"image_26012025_05_44_17_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/26/04c20d2d5debfd1239091833797c66e4.jpg","text":"TemporaryFile(/tmp/multipartBody2842563793101060040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866733881,"filename":"image_26012025_05_43_57_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572217","file1":"1331572214","file0":"1331572211","file4":"1331572225","file3":"1331572221"},"map_files_photo_id_array":[{"photo_id":"1331572217","filename":"file2"},{"photo_id":"1331572225","filename":"file4"},{"photo_id":"1331572214","filename":"file1"},{"photo_id":"1331572211","filename":"file0"},{"photo_id":"1331572221","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572225":["hashtag1","hashtag2"]},{"1331572221":["hashtag1","hashtag2"]},{"1331572214":["hashtag1","hashtag2"]},{"1331572217":["hashtag1","hashtag2"]},{"1331572211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572225, 1331572221, 1331572214, 1331572217, 1331572211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.891613483428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:45:32.155823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_57_10334.jpg', '/home/pi/Desktop/images/26012025/05/44/image_26012025_05_45_06_9333.jpg', '/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_17_10407.jpg', '/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_26_9364.jpg', '/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_37_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/44/image_26012025_05_44_57_10334.jpg
/home/pi/Desktop/images/26012025/05/44/image_26012025_05_45_06_9333.jpg
/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_17_10407.jpg
/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_26_9364.jpg
/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_37_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":["1331572828","1331573100","1331572960","1331572861","1331573026"],"photo_ids_order":["1331572828","1331572861","1331572960","1331573026","1331573100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5cbbe0a538f2e66cf3e81095db5387df.jpg","text":"TemporaryFile(/tmp/multipartBody4127261999395796207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866793068,"filename":"image_26012025_05_44_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34ebc55c5aaaf9fde37de332bff783a7.jpg","text":"TemporaryFile(/tmp/multipartBody5232817687658545530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866793068,"filename":"image_26012025_05_45_37_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bac0fc2eb37d471da4d2ed76a731d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5626867487751040695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866793068,"filename":"image_26012025_05_45_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/26/829fe838f9b9dfed74af9acb33e90ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5728305524027431523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866793068,"filename":"image_26012025_05_45_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1156c35a2ff85bff35114945fb1b7779.jpg","text":"TemporaryFile(/tmp/multipartBody2717163478659420301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866793068,"filename":"image_26012025_05_45_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331572960","file1":"1331572861","file0":"1331572828","file4":"1331573100","file3":"1331573026"},"map_files_photo_id_array":[{"photo_id":"1331572960","filename":"file2"},{"photo_id":"1331573100","filename":"file4"},{"photo_id":"1331572861","filename":"file1"},{"photo_id":"1331572828","filename":"file0"},{"photo_id":"1331573026","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331572828":["hashtag1","hashtag2"]},{"1331573100":["hashtag1","hashtag2"]},{"1331572960":["hashtag1","hashtag2"]},{"1331572861":["hashtag1","hashtag2"]},{"1331573026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331572828, 1331573100, 1331572960, 1331572861, 1331573026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.31316781044006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:46:32.454209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_56_9358.jpg', '/home/pi/Desktop/images/26012025/05/45/image_26012025_05_46_07_10363.jpg', '/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_16_9376.jpg', '/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_26_10342.jpg', '/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_37_10397.jpg', '/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_46_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/45/image_26012025_05_45_56_9358.jpg
/home/pi/Desktop/images/26012025/05/45/image_26012025_05_46_07_10363.jpg
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_16_9376.jpg
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_26_10342.jpg
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_37_10397.jpg
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_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":["1331573305","1331573283","1331573286","1331573294","1331573290","1331573278"],"photo_ids_order":["1331573278","1331573283","1331573286","1331573290","1331573294","1331573305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/12768bd77baf1262648356647cae6eee.jpg","text":"TemporaryFile(/tmp/multipartBody8727291793362098207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_46_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/26/3d018c3ec495746737e51048cbe7ebd1.jpg","text":"TemporaryFile(/tmp/multipartBody2095853130503694800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_46_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/26/d30d885bdb836a97d89f084612a5ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody1902518936929095527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_46_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/26/3abed56a8bdb5fd6c1991472f7c2fa41.jpg","text":"TemporaryFile(/tmp/multipartBody8751129509672560948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_46_37_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c364525aa85a3ef26c70cba6108b9bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5370147231490440171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_46_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/26/1014baeb4c4455b90def08925e0540d5.jpg","text":"TemporaryFile(/tmp/multipartBody6496722019772844812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866853383,"filename":"image_26012025_05_45_56_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331573286","file1":"1331573283","file0":"1331573278","file4":"1331573294","file5":"1331573305","file3":"1331573290"},"map_files_photo_id_array":[{"photo_id":"1331573305","filename":"file5"},{"photo_id":"1331573286","filename":"file2"},{"photo_id":"1331573294","filename":"file4"},{"photo_id":"1331573283","filename":"file1"},{"photo_id":"1331573278","filename":"file0"},{"photo_id":"1331573290","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331573305":["hashtag1","hashtag2"]},{"1331573283":["hashtag1","hashtag2"]},{"1331573286":["hashtag1","hashtag2"]},{"1331573294":["hashtag1","hashtag2"]},{"1331573290":["hashtag1","hashtag2"]},{"1331573278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331573305, 1331573283, 1331573286, 1331573294, 1331573290, 1331573278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.5721709728241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:47:32.692174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_57_10390.jpg', '/home/pi/Desktop/images/26012025/05/46/image_26012025_05_47_07_10325.jpg', '/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_16_9415.jpg', '/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_27_10367.jpg', '/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_37_10366.jpg', '/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_46_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_46_57_10390.jpg
/home/pi/Desktop/images/26012025/05/46/image_26012025_05_47_07_10325.jpg
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_16_9415.jpg
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_27_10367.jpg
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_37_10366.jpg
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_46_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":["1331573694","1331573696","1331573681","1331573561","1331573615","1331573692"],"photo_ids_order":["1331573561","1331573615","1331573681","1331573692","1331573694","1331573696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e24ad3c32b89920fcdaab83d0008f75f.jpg","text":"TemporaryFile(/tmp/multipartBody6834693566505736952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_47_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/26/01215109573968f2aa183beae55bf5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8343632899078208526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_47_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c48e55092c4f630bfdfab0194f0cd45f.jpg","text":"TemporaryFile(/tmp/multipartBody2949376756520599553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_47_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e58998f8f30f44706ba3d2bb3a2542f.jpg","text":"TemporaryFile(/tmp/multipartBody4199561178561515995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_46_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4cbebf8845437dd67c59f29eb3257ee.jpg","text":"TemporaryFile(/tmp/multipartBody5718200908725665520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_47_07_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/26/2d2a910197cfaf87296cd3bf983ff46a.jpg","text":"TemporaryFile(/tmp/multipartBody8220355563795116613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866913632,"filename":"image_26012025_05_47_27_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331573681","file1":"1331573615","file0":"1331573561","file4":"1331573694","file5":"1331573696","file3":"1331573692"},"map_files_photo_id_array":[{"photo_id":"1331573696","filename":"file5"},{"photo_id":"1331573681","filename":"file2"},{"photo_id":"1331573694","filename":"file4"},{"photo_id":"1331573615","filename":"file1"},{"photo_id":"1331573561","filename":"file0"},{"photo_id":"1331573692","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331573694":["hashtag1","hashtag2"]},{"1331573696":["hashtag1","hashtag2"]},{"1331573681":["hashtag1","hashtag2"]},{"1331573561":["hashtag1","hashtag2"]},{"1331573615":["hashtag1","hashtag2"]},{"1331573692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331573694, 1331573696, 1331573681, 1331573561, 1331573615, 1331573692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10691690444946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:48:32.951387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_57_10351.jpg', '/home/pi/Desktop/images/26012025/05/47/image_26012025_05_48_07_10332.jpg', '/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_16_9327.jpg', '/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_27_10410.jpg', '/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_36_9358.jpg', '/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_47_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_47_57_10351.jpg
/home/pi/Desktop/images/26012025/05/47/image_26012025_05_48_07_10332.jpg
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_16_9327.jpg
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_27_10410.jpg
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_36_9358.jpg
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_47_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331573908","1331573910","1331573852","1331573846","1331573912","1331573860"],"photo_ids_order":["1331573846","1331573852","1331573860","1331573908","1331573910","1331573912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c809941b7528d254779d0baab4c401a.jpg","text":"TemporaryFile(/tmp/multipartBody161235143587750499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_48_27_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/26/f7f5b4c4a4c68fa7240e36f6b51626e7.jpg","text":"TemporaryFile(/tmp/multipartBody5754288186042504243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_48_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/26/2025e7d51425378f74f3faa6924ea355.jpg","text":"TemporaryFile(/tmp/multipartBody9025235839753860984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_48_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4e93704d4190f69e13ef6f2fe24b345.jpg","text":"TemporaryFile(/tmp/multipartBody2476155624599168989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_47_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f67795c4fc28e0085f06ab4131044f21.jpg","text":"TemporaryFile(/tmp/multipartBody605758558785764363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_48_47_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ce44594a7375d42dd333cee44ff1139.jpg","text":"TemporaryFile(/tmp/multipartBody654065241222625242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737866973883,"filename":"image_26012025_05_48_16_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331573860","file1":"1331573852","file0":"1331573846","file4":"1331573910","file5":"1331573912","file3":"1331573908"},"map_files_photo_id_array":[{"photo_id":"1331573912","filename":"file5"},{"photo_id":"1331573860","filename":"file2"},{"photo_id":"1331573910","filename":"file4"},{"photo_id":"1331573852","filename":"file1"},{"photo_id":"1331573846","filename":"file0"},{"photo_id":"1331573908","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331573908":["hashtag1","hashtag2"]},{"1331573910":["hashtag1","hashtag2"]},{"1331573852":["hashtag1","hashtag2"]},{"1331573846":["hashtag1","hashtag2"]},{"1331573912":["hashtag1","hashtag2"]},{"1331573860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331573908, 1331573910, 1331573852, 1331573846, 1331573912, 1331573860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.324828147888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:49:33.324569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_57_10438.jpg', '/home/pi/Desktop/images/26012025/05/48/image_26012025_05_49_06_9364.jpg', '/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_26_9430.jpg', '/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_37_10433.jpg', '/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_47_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_48_57_10438.jpg
/home/pi/Desktop/images/26012025/05/48/image_26012025_05_49_06_9364.jpg
/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_26_9430.jpg
/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_37_10433.jpg
/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_47_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331573952","1331574003","1331573954","1331573948","1331574046"],"photo_ids_order":["1331573948","1331573952","1331573954","1331574003","1331574046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04ebd3d583944a4b4ccc647bca823ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1257168484541942501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867034243,"filename":"image_26012025_05_49_06_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/100b2ccdfb382b7b061e3fc0f2ef096e.jpg","text":"TemporaryFile(/tmp/multipartBody4716088097322188604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867034243,"filename":"image_26012025_05_49_37_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/26/09498a5e706d3ebd47f67a7fc5a3a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3677625690789032879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867034243,"filename":"image_26012025_05_49_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/448b9f1aa67519c2fc79137c34fb8aef.jpg","text":"TemporaryFile(/tmp/multipartBody6314956530766377410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867034243,"filename":"image_26012025_05_48_57_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/26/93ffab54305a97efa2e1425f1d1c3d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5554235050570732773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867034243,"filename":"image_26012025_05_49_47_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331573954","file1":"1331573952","file0":"1331573948","file4":"1331574046","file3":"1331574003"},"map_files_photo_id_array":[{"photo_id":"1331573954","filename":"file2"},{"photo_id":"1331574046","filename":"file4"},{"photo_id":"1331573952","filename":"file1"},{"photo_id":"1331573948","filename":"file0"},{"photo_id":"1331574003","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331573952":["hashtag1","hashtag2"]},{"1331574003":["hashtag1","hashtag2"]},{"1331573954":["hashtag1","hashtag2"]},{"1331573948":["hashtag1","hashtag2"]},{"1331574046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331573952, 1331574003, 1331573954, 1331573948, 1331574046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.636388063430786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:50:32.459124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_56_9343.jpg', '/home/pi/Desktop/images/26012025/05/49/image_26012025_05_50_07_10378.jpg', '/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_16_9316.jpg', '/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_26_10370.jpg', '/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_37_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/49/image_26012025_05_49_56_9343.jpg
/home/pi/Desktop/images/26012025/05/49/image_26012025_05_50_07_10378.jpg
/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_16_9316.jpg
/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_26_10370.jpg
/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_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":["1331574150","1331574284","1331574143","1331574515","1331574146"],"photo_ids_order":["1331574143","1331574146","1331574150","1331574284","1331574515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f305a5293b15e87f2e7b08c3add4846b.jpg","text":"TemporaryFile(/tmp/multipartBody5856510276788175775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867093392,"filename":"image_26012025_05_50_16_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ef5fb447f5458172f1d0717adf2047a.jpg","text":"TemporaryFile(/tmp/multipartBody782924421804303423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867093392,"filename":"image_26012025_05_50_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/657d996d33e02b5e098e4a14df5318a9.jpg","text":"TemporaryFile(/tmp/multipartBody4933566723063666282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867093392,"filename":"image_26012025_05_49_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/26/fdabbcdb25a59a3231c361b45bc54526.jpg","text":"TemporaryFile(/tmp/multipartBody4457951701823923154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867093392,"filename":"image_26012025_05_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/26/8001f7e9f026a6869cd95b48ea0fccbb.jpg","text":"TemporaryFile(/tmp/multipartBody6123884582351775445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867093392,"filename":"image_26012025_05_50_07_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331574150","file1":"1331574146","file0":"1331574143","file4":"1331574515","file3":"1331574284"},"map_files_photo_id_array":[{"photo_id":"1331574150","filename":"file2"},{"photo_id":"1331574515","filename":"file4"},{"photo_id":"1331574146","filename":"file1"},{"photo_id":"1331574143","filename":"file0"},{"photo_id":"1331574284","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331574150":["hashtag1","hashtag2"]},{"1331574284":["hashtag1","hashtag2"]},{"1331574143":["hashtag1","hashtag2"]},{"1331574515":["hashtag1","hashtag2"]},{"1331574146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331574150, 1331574284, 1331574143, 1331574515, 1331574146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.86793255805969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:51:32.673403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_57_10447.jpg', '/home/pi/Desktop/images/26012025/05/50/image_26012025_05_51_07_10323.jpg', '/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_16_9343.jpg', '/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_27_10455.jpg', '/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_36_9335.jpg', '/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_47_10527.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/50/image_26012025_05_50_57_10447.jpg
/home/pi/Desktop/images/26012025/05/50/image_26012025_05_51_07_10323.jpg
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_16_9343.jpg
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_27_10455.jpg
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_36_9335.jpg
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_47_10527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331575580","1331575946","1331575769","1331575846","1331575689","1331575434"],"photo_ids_order":["1331575434","1331575580","1331575689","1331575769","1331575846","1331575946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5d6a16348c930638c6dc91ff76d2f99.jpg","text":"TemporaryFile(/tmp/multipartBody3233324504472254142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_51_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30b8ff2cc27dbe5b90ebbefb30d7a6a4.jpg","text":"TemporaryFile(/tmp/multipartBody3247520699951930534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_51_47_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/26/06f89f7fdae84504661173b4096e1862.jpg","text":"TemporaryFile(/tmp/multipartBody9051359422587860312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_51_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/26/b36020b64eff6c4230a2ace5a5eaf049.jpg","text":"TemporaryFile(/tmp/multipartBody6438146162213187021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_51_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d82043252b7c856f3661ae543f6f188.jpg","text":"TemporaryFile(/tmp/multipartBody8180551424074653677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_51_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/26/c10dc8fbb2b42189679e72f6510ae389.jpg","text":"TemporaryFile(/tmp/multipartBody8776674434582871713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867153602,"filename":"image_26012025_05_50_57_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331575689","file1":"1331575580","file0":"1331575434","file4":"1331575846","file5":"1331575946","file3":"1331575769"},"map_files_photo_id_array":[{"photo_id":"1331575946","filename":"file5"},{"photo_id":"1331575689","filename":"file2"},{"photo_id":"1331575846","filename":"file4"},{"photo_id":"1331575580","filename":"file1"},{"photo_id":"1331575434","filename":"file0"},{"photo_id":"1331575769","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331575580":["hashtag1","hashtag2"]},{"1331575946":["hashtag1","hashtag2"]},{"1331575769":["hashtag1","hashtag2"]},{"1331575846":["hashtag1","hashtag2"]},{"1331575689":["hashtag1","hashtag2"]},{"1331575434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331575580, 1331575946, 1331575769, 1331575846, 1331575689, 1331575434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.14622259140015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:52:32.823214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_57_10353.jpg', '/home/pi/Desktop/images/26012025/05/51/image_26012025_05_52_06_9379.jpg', '/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_17_10341.jpg', '/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_36_9343.jpg', '/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_47_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_51_57_10353.jpg
/home/pi/Desktop/images/26012025/05/51/image_26012025_05_52_06_9379.jpg
/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_17_10341.jpg
/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_36_9343.jpg
/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_47_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331576669","1331576593","1331576455","1331576520","1331576576"],"photo_ids_order":["1331576455","1331576520","1331576576","1331576593","1331576669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74cb73c59e38b877accbaca1cef59b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5612050293081114273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867213760,"filename":"image_26012025_05_52_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/36755a68abb93ff701f1e044288b473d.jpg","text":"TemporaryFile(/tmp/multipartBody6774853172299123498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867213760,"filename":"image_26012025_05_52_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/26/e2a98aa1cb743f2b1b05f9428ad173e9.jpg","text":"TemporaryFile(/tmp/multipartBody1394280930685230536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867213760,"filename":"image_26012025_05_51_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/26/08cb007b8ea3c5fed7cfa2c167b065a8.jpg","text":"TemporaryFile(/tmp/multipartBody3036110333973626816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867213760,"filename":"image_26012025_05_52_06_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/26/5f9b2bb16e546707315f72a23b5cb2fc.jpg","text":"TemporaryFile(/tmp/multipartBody1706565623272334330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867213760,"filename":"image_26012025_05_52_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331576576","file1":"1331576520","file0":"1331576455","file4":"1331576669","file3":"1331576593"},"map_files_photo_id_array":[{"photo_id":"1331576576","filename":"file2"},{"photo_id":"1331576669","filename":"file4"},{"photo_id":"1331576520","filename":"file1"},{"photo_id":"1331576455","filename":"file0"},{"photo_id":"1331576593","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331576669":["hashtag1","hashtag2"]},{"1331576593":["hashtag1","hashtag2"]},{"1331576455":["hashtag1","hashtag2"]},{"1331576520":["hashtag1","hashtag2"]},{"1331576576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331576669, 1331576593, 1331576455, 1331576520, 1331576576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.599486112594604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:53:33.181771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_56_9373.jpg', '/home/pi/Desktop/images/26012025/05/52/image_26012025_05_53_06_10331.jpg', '/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_16_10062.jpg', '/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_27_10353.jpg', '/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_36_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/52/image_26012025_05_52_56_9373.jpg
/home/pi/Desktop/images/26012025/05/52/image_26012025_05_53_06_10331.jpg
/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_16_10062.jpg
/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_27_10353.jpg
/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_36_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":["1331577091","1331576851","1331576940","1331577035","1331577094"],"photo_ids_order":["1331576851","1331576940","1331577035","1331577091","1331577094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77110bca581bd0c64ea1679064728ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1063681106221666099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867274102,"filename":"image_26012025_05_53_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c7a606d6128824d95f7b72542ea1dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3260902109154335893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867274102,"filename":"image_26012025_05_52_56_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/26/61384be408ad126ab780ce0f81d5e084.jpg","text":"TemporaryFile(/tmp/multipartBody8089456907729668752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867274102,"filename":"image_26012025_05_53_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/122fea143736a8211b71d82020111919.jpg","text":"TemporaryFile(/tmp/multipartBody5200315510597143395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867274102,"filename":"image_26012025_05_53_16_10062.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3450e5e9b6d287d108351a3a87d0479.jpg","text":"TemporaryFile(/tmp/multipartBody3652980844208796707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867274102,"filename":"image_26012025_05_53_36_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331577035","file1":"1331576940","file0":"1331576851","file4":"1331577094","file3":"1331577091"},"map_files_photo_id_array":[{"photo_id":"1331577035","filename":"file2"},{"photo_id":"1331577094","filename":"file4"},{"photo_id":"1331576940","filename":"file1"},{"photo_id":"1331576851","filename":"file0"},{"photo_id":"1331577091","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331577091":["hashtag1","hashtag2"]},{"1331576851":["hashtag1","hashtag2"]},{"1331576940":["hashtag1","hashtag2"]},{"1331577035":["hashtag1","hashtag2"]},{"1331577094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331577091, 1331576851, 1331576940, 1331577035, 1331577094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.199065923690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:54:32.267144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_47_10446.jpg', '/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_17_10342.jpg', '/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_27_10381.jpg', '/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/53/image_26012025_05_53_47_10446.jpg
/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_17_10342.jpg
/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_27_10381.jpg
/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_47_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":["1331577211","1331577285","1331577272","1331577239"],"photo_ids_order":["1331577211","1331577239","1331577272","1331577285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4737b6ea70951f6c6856385313bfb2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7678512066897844525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867333151,"filename":"image_26012025_05_53_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/26/6c479d1c0645e6692270a4c2f459180d.jpg","text":"TemporaryFile(/tmp/multipartBody8759695748464441903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867333151,"filename":"image_26012025_05_54_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00106e040abee7349721ab5bf1558a60.jpg","text":"TemporaryFile(/tmp/multipartBody6333595519481969659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867333151,"filename":"image_26012025_05_54_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/757915f980ad27016618beebaff43166.jpg","text":"TemporaryFile(/tmp/multipartBody3330348055308943170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867333151,"filename":"image_26012025_05_54_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331577272","file1":"1331577239","file0":"1331577211","file3":"1331577285"},"map_files_photo_id_array":[{"photo_id":"1331577272","filename":"file2"},{"photo_id":"1331577239","filename":"file1"},{"photo_id":"1331577211","filename":"file0"},{"photo_id":"1331577285","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331577211":["hashtag1","hashtag2"]},{"1331577285":["hashtag1","hashtag2"]},{"1331577272":["hashtag1","hashtag2"]},{"1331577239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331577211, 1331577285, 1331577272, 1331577239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.75632667541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:55:32.619097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_56_9337.jpg', '/home/pi/Desktop/images/26012025/05/54/image_26012025_05_55_07_10372.jpg', '/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_17_10411.jpg', '/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_46_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/54/image_26012025_05_54_56_9337.jpg
/home/pi/Desktop/images/26012025/05/54/image_26012025_05_55_07_10372.jpg
/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_17_10411.jpg
/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_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":["1331577311","1331577318","1331577296","1331577335"],"photo_ids_order":["1331577296","1331577311","1331577318","1331577335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37efd8a7ef4d3c499e2b43c34433d7d8.jpg","text":"TemporaryFile(/tmp/multipartBody4959961624436664040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867393516,"filename":"image_26012025_05_55_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/26/2dd5d049f31a54bf945271b5b1435abe.jpg","text":"TemporaryFile(/tmp/multipartBody3017319127485778835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867393516,"filename":"image_26012025_05_55_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/26/77ad45b8a05b0896e16744a0f84dc6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7470469084385494682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867393516,"filename":"image_26012025_05_54_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/227947d33b56867bdaeeecdd9e9b04c2.jpg","text":"TemporaryFile(/tmp/multipartBody3315472000597756131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867393516,"filename":"image_26012025_05_55_46_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331577318","file1":"1331577311","file0":"1331577296","file3":"1331577335"},"map_files_photo_id_array":[{"photo_id":"1331577318","filename":"file2"},{"photo_id":"1331577311","filename":"file1"},{"photo_id":"1331577296","filename":"file0"},{"photo_id":"1331577335","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331577311":["hashtag1","hashtag2"]},{"1331577318":["hashtag1","hashtag2"]},{"1331577296":["hashtag1","hashtag2"]},{"1331577335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331577311, 1331577318, 1331577296, 1331577335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.040788888931274 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-26 05:56:32.755356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_57_10478.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_16_9328.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_27_10359.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_37_10359.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/55/image_26012025_05_55_57_10478.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_16_9328.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_27_10359.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_37_10359.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_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":["1331577604","1331577501","1331577650","1331577539","1331577713"],"photo_ids_order":["1331577501","1331577539","1331577604","1331577650","1331577713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4eedfa37811e4c88fa5c4be845665ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4032523579440187514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867453755,"filename":"image_26012025_05_56_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/26/264b31c17af2349eea4a9fd7d9b29b56.jpg","text":"TemporaryFile(/tmp/multipartBody183003520393048736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867453755,"filename":"image_26012025_05_55_57_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/26/0d37c32dd976f3d546627ab1ef5e36bb.jpg","text":"TemporaryFile(/tmp/multipartBody5592873766564781434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867453755,"filename":"image_26012025_05_56_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/26/c0c603a819ec264df24fabe998dcf8de.jpg","text":"TemporaryFile(/tmp/multipartBody5759909126969323076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867453755,"filename":"image_26012025_05_56_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd1df69350d4791f64af46d2a1a02863.jpg","text":"TemporaryFile(/tmp/multipartBody499492027898367426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867453755,"filename":"image_26012025_05_56_46_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331577604","file1":"1331577539","file0":"1331577501","file4":"1331577713","file3":"1331577650"},"map_files_photo_id_array":[{"photo_id":"1331577604","filename":"file2"},{"photo_id":"1331577713","filename":"file4"},{"photo_id":"1331577539","filename":"file1"},{"photo_id":"1331577501","filename":"file0"},{"photo_id":"1331577650","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331577604":["hashtag1","hashtag2"]},{"1331577501":["hashtag1","hashtag2"]},{"1331577650":["hashtag1","hashtag2"]},{"1331577539":["hashtag1","hashtag2"]},{"1331577713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331577604, 1331577501, 1331577650, 1331577539, 1331577713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.05967140197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 05:57:32.977997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_57_10407.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_57_06_9342.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_26_9749.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_37_10381.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_47_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_57_10407.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_57_06_9342.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_26_9749.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_37_10381.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_47_10422.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-26 05:59:04.431223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_57_10407.jpg', '/home/pi/Desktop/images/26012025/05/56/image_26012025_05_57_06_9342.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_26_9749.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_37_10381.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_47_10422.jpg', '/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_56_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_56_57_10407.jpg
/home/pi/Desktop/images/26012025/05/56/image_26012025_05_57_06_9342.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_26_9749.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_37_10381.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_47_10422.jpg
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_57_56_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331578327","1331578464","1331578338","1331578457","1331578489","1331578334"],"photo_ids_order":["1331578327","1331578334","1331578338","1331578457","1331578464","1331578489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b8c3a3ad395208dab7ff2d5097cd2f28.jpg","text":"TemporaryFile(/tmp/multipartBody1006734255473763216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_56_57_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/26/dfa7f12a628664aa2fbf2b62d4dbaf6c.jpg","text":"TemporaryFile(/tmp/multipartBody6063420550162478811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_57_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/26/2fc9e5472f6a314337df8aca6b02b18e.jpg","text":"TemporaryFile(/tmp/multipartBody5202440560837255971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_57_26_9749.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e04bc4b0b072c43e6cecdc8bdaffabf.jpg","text":"TemporaryFile(/tmp/multipartBody1307918440591646834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_57_37_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/904dbc03d60fade57a1c431f12bb609c.jpg","text":"TemporaryFile(/tmp/multipartBody746003184043197339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_57_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/26/b9c2207780642fe3e13ac5ff8b464ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2903622659184851286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867605566,"filename":"image_26012025_05_57_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331578338","file1":"1331578334","file0":"1331578327","file4":"1331578464","file5":"1331578489","file3":"1331578457"},"map_files_photo_id_array":[{"photo_id":"1331578489","filename":"file5"},{"photo_id":"1331578338","filename":"file2"},{"photo_id":"1331578464","filename":"file4"},{"photo_id":"1331578334","filename":"file1"},{"photo_id":"1331578327","filename":"file0"},{"photo_id":"1331578457","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331578327":["hashtag1","hashtag2"]},{"1331578464":["hashtag1","hashtag2"]},{"1331578338":["hashtag1","hashtag2"]},{"1331578457":["hashtag1","hashtag2"]},{"1331578489":["hashtag1","hashtag2"]},{"1331578334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331578327, 1331578464, 1331578338, 1331578457, 1331578489, 1331578334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.92969107627869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 05:59:52.970275
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_45_10353.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_55_9361.jpg', '/home/pi/Desktop/images/23012025/21/31/image_23012025_21_32_05_10480.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_14_9347.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_25_10381.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_35_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_45_10353.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_31_55_9361.jpg
/home/pi/Desktop/images/23012025/21/31/image_23012025_21_32_05_10480.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_14_9347.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_25_10381.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_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":["1331578528","1331578542","1331578536","1331578530","1331578524","1331578533"],"photo_ids_order":["1331578524","1331578528","1331578530","1331578533","1331578536","1331578542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10b117ef66a269c3b90241f1649c2b96.jpg","text":"TemporaryFile(/tmp/multipartBody6690743509052679877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_31_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/26/7936a28d51da1a9301a585131f99078c.jpg","text":"TemporaryFile(/tmp/multipartBody2541716781425885705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_32_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/26/ab8381ed8bdda90ddc52e02e30f594b3.jpg","text":"TemporaryFile(/tmp/multipartBody4273051599094800586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_32_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/26/630425385e88ecf5fb2c4d3a48bc2ff9.jpg","text":"TemporaryFile(/tmp/multipartBody5202236593080455295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_32_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/26/ac93c99d98d763f9b9b0d6d420c0aefb.jpg","text":"TemporaryFile(/tmp/multipartBody5284602917568500018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_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/26/ea077820250432f9e1e1f7f70ad0a767.jpg","text":"TemporaryFile(/tmp/multipartBody3456814198266574092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867655359,"filename":"image_23012025_21_32_14_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331578530","file1":"1331578528","file0":"1331578524","file4":"1331578536","file5":"1331578542","file3":"1331578533"},"map_files_photo_id_array":[{"photo_id":"1331578542","filename":"file5"},{"photo_id":"1331578530","filename":"file2"},{"photo_id":"1331578536","filename":"file4"},{"photo_id":"1331578528","filename":"file1"},{"photo_id":"1331578524","filename":"file0"},{"photo_id":"1331578533","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331578528":["hashtag1","hashtag2"]},{"1331578542":["hashtag1","hashtag2"]},{"1331578536":["hashtag1","hashtag2"]},{"1331578530":["hashtag1","hashtag2"]},{"1331578524":["hashtag1","hashtag2"]},{"1331578533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331578528, 1331578542, 1331578536, 1331578530, 1331578524, 1331578533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.321621894836426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:00:42.234194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/57/image_26012025_05_58_07_10399.jpg', '/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_16_9357.jpg', '/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_27_10413.jpg', '/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_37_10386.jpg', '/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_46_9400.jpg', '/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_57_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/57/image_26012025_05_58_07_10399.jpg
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_16_9357.jpg
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_27_10413.jpg
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_37_10386.jpg
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_46_9400.jpg
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_58_57_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":["1331578555","1331578563","1331578557","1331578565","1331578559","1331578552"],"photo_ids_order":["1331578552","1331578555","1331578557","1331578559","1331578563","1331578565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/61dca7a5c783458cc7448f57973779c3.jpg","text":"TemporaryFile(/tmp/multipartBody2549038612261451811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_16_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86c3d3fb2c1f737b5e687f9d2b6ade01.jpg","text":"TemporaryFile(/tmp/multipartBody7983441903039406659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1132b2c4d0e1aeda1dfe83889da7e4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6541758748552969092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7dbf3cb9308209ec3cc22bc182e418c8.jpg","text":"TemporaryFile(/tmp/multipartBody5215180312230113385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_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/26/358888af50456404e19eb4fbf6e9ea2c.jpg","text":"TemporaryFile(/tmp/multipartBody3769842542743546487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_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/26/5098d2205f829ef38628b7fd10afe08f.jpg","text":"TemporaryFile(/tmp/multipartBody195066528066296561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867703180,"filename":"image_26012025_05_58_07_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331578557","file1":"1331578555","file0":"1331578552","file4":"1331578563","file5":"1331578565","file3":"1331578559"},"map_files_photo_id_array":[{"photo_id":"1331578565","filename":"file5"},{"photo_id":"1331578557","filename":"file2"},{"photo_id":"1331578563","filename":"file4"},{"photo_id":"1331578555","filename":"file1"},{"photo_id":"1331578552","filename":"file0"},{"photo_id":"1331578559","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331578555":["hashtag1","hashtag2"]},{"1331578563":["hashtag1","hashtag2"]},{"1331578557":["hashtag1","hashtag2"]},{"1331578565":["hashtag1","hashtag2"]},{"1331578559":["hashtag1","hashtag2"]},{"1331578552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331578555, 1331578563, 1331578557, 1331578565, 1331578559, 1331578552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56073212623596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:01:32.465652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/58/image_26012025_05_59_06_9449.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_16_10353.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_27_10348.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_36_9352.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_47_10479.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_57_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_59_06_9449.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_16_10353.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_27_10348.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_36_9352.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_47_10479.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_57_10347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5303826332092285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:01:42.453222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/05/58/image_26012025_05_59_06_9449.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_16_10353.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_27_10348.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_36_9352.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_47_10479.jpg', '/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_57_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/05/58/image_26012025_05_59_06_9449.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_16_10353.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_27_10348.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_36_9352.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_47_10479.jpg
/home/pi/Desktop/images/26012025/05/59/image_26012025_05_59_57_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331578583","1331578622","1331578616","1331578597","1331578576","1331578624"],"photo_ids_order":["1331578576","1331578583","1331578597","1331578616","1331578622","1331578624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d1b34dfefbbe2f3a6d0c033ad33ee0e.jpg","text":"TemporaryFile(/tmp/multipartBody1667749977516025987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_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/26/36b78a053c1fc4268ac823dbc4e32fed.jpg","text":"TemporaryFile(/tmp/multipartBody5529921888604101423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_59_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/26/436dd4731cde73c4a6904839f62c8e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6649745403849576241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_59_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/26/728ca93263ce80403f414f4a1dac27dc.jpg","text":"TemporaryFile(/tmp/multipartBody1610448581849823929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_59_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/26/3c24ac7bdc56203f52511a3a9f1c7ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1900343477683109018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_59_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/26/915a42f455fd1ebd6b8815ceba192d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1265847846167202465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867763368,"filename":"image_26012025_05_59_57_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331578597","file1":"1331578583","file0":"1331578576","file4":"1331578622","file5":"1331578624","file3":"1331578616"},"map_files_photo_id_array":[{"photo_id":"1331578624","filename":"file5"},{"photo_id":"1331578597","filename":"file2"},{"photo_id":"1331578622","filename":"file4"},{"photo_id":"1331578583","filename":"file1"},{"photo_id":"1331578576","filename":"file0"},{"photo_id":"1331578616","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331578583":["hashtag1","hashtag2"]},{"1331578622":["hashtag1","hashtag2"]},{"1331578616":["hashtag1","hashtag2"]},{"1331578597":["hashtag1","hashtag2"]},{"1331578576":["hashtag1","hashtag2"]},{"1331578624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331578583, 1331578622, 1331578616, 1331578597, 1331578576, 1331578624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.04972982406616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:02:32.705586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_16_10073.jpg', '/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_27_10422.jpg', '/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_37_10359.jpg', '/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_46_9378.jpg', '/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_57_10410.jpg', '/home/pi/Desktop/images/26012025/06/00/image_26012025_06_01_07_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_16_10073.jpg
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_27_10422.jpg
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_37_10359.jpg
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_46_9378.jpg
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_00_57_10410.jpg
/home/pi/Desktop/images/26012025/06/00/image_26012025_06_01_07_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331579070","1331579073","1331579067","1331579201","1331579173","1331579089"],"photo_ids_order":["1331579067","1331579070","1331579073","1331579089","1331579173","1331579201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6a993941f0548fe8c7dfd68de9fb029.jpg","text":"TemporaryFile(/tmp/multipartBody4672936229810471807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_00_27_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/26/8eebb0d978326b382fcc91e087c3cec4.jpg","text":"TemporaryFile(/tmp/multipartBody4526338223140638952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_00_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/26/b6baad26ccfd5cc142e9700861ece361.jpg","text":"TemporaryFile(/tmp/multipartBody380306098185026563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_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/26/f156bf7a0b8fcbc9416f6b65e1e5acac.jpg","text":"TemporaryFile(/tmp/multipartBody7715016520567262997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_01_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bbdefa98d81688792d206de24c55b313.jpg","text":"TemporaryFile(/tmp/multipartBody7979481577858772301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_00_57_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/26/5ce50961eaa815349d8b423cbdad7703.jpg","text":"TemporaryFile(/tmp/multipartBody1978345664919053126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867813684,"filename":"image_26012025_06_00_46_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579073","file1":"1331579070","file0":"1331579067","file4":"1331579173","file5":"1331579201","file3":"1331579089"},"map_files_photo_id_array":[{"photo_id":"1331579201","filename":"file5"},{"photo_id":"1331579073","filename":"file2"},{"photo_id":"1331579173","filename":"file4"},{"photo_id":"1331579070","filename":"file1"},{"photo_id":"1331579067","filename":"file0"},{"photo_id":"1331579089","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579070":["hashtag1","hashtag2"]},{"1331579073":["hashtag1","hashtag2"]},{"1331579067":["hashtag1","hashtag2"]},{"1331579201":["hashtag1","hashtag2"]},{"1331579173":["hashtag1","hashtag2"]},{"1331579089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579070, 1331579073, 1331579067, 1331579201, 1331579173, 1331579089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04652237892151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:03:32.823445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_17_9425.jpg', '/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_27_10341.jpg', '/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_36_9328.jpg', '/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_47_10409.jpg', '/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_57_10351.jpg', '/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_17_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_17_9425.jpg
/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_27_10341.jpg
/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_36_9328.jpg
/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_47_10409.jpg
/home/pi/Desktop/images/26012025/06/01/image_26012025_06_01_57_10351.jpg
/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_17_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":["1331579249","1331579243","1331579246","1331579251","1331579239","1331579236"],"photo_ids_order":["1331579236","1331579239","1331579243","1331579246","1331579249","1331579251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d3bd7ee822179da53852260adf6b367.jpg","text":"TemporaryFile(/tmp/multipartBody1637151583186845991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_01_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f75bbd2bea9123d37673f57ccc8e3a6f.jpg","text":"TemporaryFile(/tmp/multipartBody1471094143217342607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_01_36_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/26/2b6e1ac646e8f96856e158aa39371a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5308607555439037725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_01_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/640f85237aa3654c4bb3040284c21b60.jpg","text":"TemporaryFile(/tmp/multipartBody2149376271232543470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_02_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/26/1f6e4c6e1869e0b88fbdcac644ab13ff.jpg","text":"TemporaryFile(/tmp/multipartBody1806389784816180471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_01_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/26/42404cfd02f19f3504e1105bfeeb5650.jpg","text":"TemporaryFile(/tmp/multipartBody1468488680233575267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867873755,"filename":"image_26012025_06_01_17_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579243","file1":"1331579239","file0":"1331579236","file4":"1331579249","file5":"1331579251","file3":"1331579246"},"map_files_photo_id_array":[{"photo_id":"1331579251","filename":"file5"},{"photo_id":"1331579243","filename":"file2"},{"photo_id":"1331579249","filename":"file4"},{"photo_id":"1331579239","filename":"file1"},{"photo_id":"1331579236","filename":"file0"},{"photo_id":"1331579246","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579249":["hashtag1","hashtag2"]},{"1331579243":["hashtag1","hashtag2"]},{"1331579246":["hashtag1","hashtag2"]},{"1331579251":["hashtag1","hashtag2"]},{"1331579239":["hashtag1","hashtag2"]},{"1331579236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579249, 1331579243, 1331579246, 1331579251, 1331579239, 1331579236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10882878303528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:04:33.056569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_27_10353.jpg', '/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_37_9458.jpg', '/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_56_9337.jpg', '/home/pi/Desktop/images/26012025/06/02/image_26012025_06_03_07_10413.jpg', '/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_17_10337.jpg', '/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_27_9447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_27_10353.jpg
/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_37_9458.jpg
/home/pi/Desktop/images/26012025/06/02/image_26012025_06_02_56_9337.jpg
/home/pi/Desktop/images/26012025/06/02/image_26012025_06_03_07_10413.jpg
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_17_10337.jpg
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_27_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":["1331579295","1331579283","1331579297","1331579288","1331579300","1331579302"],"photo_ids_order":["1331579283","1331579288","1331579295","1331579297","1331579300","1331579302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8cc523baa54a28d7a719fe6d640bf7f5.jpg","text":"TemporaryFile(/tmp/multipartBody8476963095065581654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_02_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/26/ad7dafb13015cce33ea40ccd74edf57d.jpg","text":"TemporaryFile(/tmp/multipartBody4919791299049836638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_02_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d0ddeffbaea628fec112840fbfdb8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4915423043868157116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_03_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/baec4e4014322bf2fcdd1be9280a92eb.jpg","text":"TemporaryFile(/tmp/multipartBody8474938593812969726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_02_37_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/26/35237cfacf45b59e14afd0bf0f8aace9.jpg","text":"TemporaryFile(/tmp/multipartBody6022033265492715148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_03_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/26/92451b17aea4bb41ed9a7d2fd492828d.jpg","text":"TemporaryFile(/tmp/multipartBody4325498918512230798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867933986,"filename":"image_26012025_06_03_27_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579295","file1":"1331579288","file0":"1331579283","file4":"1331579300","file5":"1331579302","file3":"1331579297"},"map_files_photo_id_array":[{"photo_id":"1331579302","filename":"file5"},{"photo_id":"1331579295","filename":"file2"},{"photo_id":"1331579300","filename":"file4"},{"photo_id":"1331579288","filename":"file1"},{"photo_id":"1331579283","filename":"file0"},{"photo_id":"1331579297","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579295":["hashtag1","hashtag2"]},{"1331579283":["hashtag1","hashtag2"]},{"1331579297":["hashtag1","hashtag2"]},{"1331579288":["hashtag1","hashtag2"]},{"1331579300":["hashtag1","hashtag2"]},{"1331579302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579295, 1331579283, 1331579297, 1331579288, 1331579300, 1331579302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.833293437957764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:05:32.322520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_37_10360.jpg', '/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_46_9337.jpg', '/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_57_10425.jpg', '/home/pi/Desktop/images/26012025/06/03/image_26012025_06_04_07_10368.jpg', '/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_16_9324.jpg', '/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_27_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_37_10360.jpg
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_46_9337.jpg
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_03_57_10425.jpg
/home/pi/Desktop/images/26012025/06/03/image_26012025_06_04_07_10368.jpg
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_16_9324.jpg
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_27_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":["1331579382","1331579358","1331579390","1331579393","1331579387","1331579354"],"photo_ids_order":["1331579354","1331579358","1331579382","1331579387","1331579390","1331579393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/20a2bf8070612769ec2e097a08e9bef2.jpg","text":"TemporaryFile(/tmp/multipartBody2744318054058524994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_03_57_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/26/252e3146f0bb173f6955174ccca2990b.jpg","text":"TemporaryFile(/tmp/multipartBody4640660571388580130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_03_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/11eba097a65145adb0154da10587802e.jpg","text":"TemporaryFile(/tmp/multipartBody5431307754278167646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_04_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41b593e2a74beee09b3e4cabb1d3c74d.jpg","text":"TemporaryFile(/tmp/multipartBody5847386873951683183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_04_27_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be2c53eebbcaf6c6084d555ff0e8f90a.jpg","text":"TemporaryFile(/tmp/multipartBody8593513451744500014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_04_07_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/26/c21e46d89cf0ebde39bffefa9846f1ed.jpg","text":"TemporaryFile(/tmp/multipartBody4553479218742295161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737867993250,"filename":"image_26012025_06_03_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579382","file1":"1331579358","file0":"1331579354","file4":"1331579390","file5":"1331579393","file3":"1331579387"},"map_files_photo_id_array":[{"photo_id":"1331579393","filename":"file5"},{"photo_id":"1331579382","filename":"file2"},{"photo_id":"1331579390","filename":"file4"},{"photo_id":"1331579358","filename":"file1"},{"photo_id":"1331579354","filename":"file0"},{"photo_id":"1331579387","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579382":["hashtag1","hashtag2"]},{"1331579358":["hashtag1","hashtag2"]},{"1331579390":["hashtag1","hashtag2"]},{"1331579393":["hashtag1","hashtag2"]},{"1331579387":["hashtag1","hashtag2"]},{"1331579354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579382, 1331579358, 1331579390, 1331579393, 1331579387, 1331579354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.2657470703125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:06:32.438197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_37_10416.jpg', '/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_47_9397.jpg', '/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_57_10348.jpg', '/home/pi/Desktop/images/26012025/06/04/image_26012025_06_05_06_9328.jpg', '/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_17_10466.jpg', '/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_27_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_37_10416.jpg
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_47_9397.jpg
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_04_57_10348.jpg
/home/pi/Desktop/images/26012025/06/04/image_26012025_06_05_06_9328.jpg
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_17_10466.jpg
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331579403","1331579412","1331579409","1331579411","1331579405","1331579407"],"photo_ids_order":["1331579403","1331579405","1331579407","1331579409","1331579411","1331579412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/079e6542aad097a1b9299e3b4b04afb9.jpg","text":"TemporaryFile(/tmp/multipartBody137975560074997771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_04_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/245d6d1566b24797b2532d25131e4935.jpg","text":"TemporaryFile(/tmp/multipartBody3906840006046039445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_05_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/26/95e6791cdea6a89b5c6749c27ca893e2.jpg","text":"TemporaryFile(/tmp/multipartBody1550976928270605605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_05_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/26/d870b22d7b1006e7588c307102de62aa.jpg","text":"TemporaryFile(/tmp/multipartBody6932289164486128173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_05_17_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e4eee4764ff06ea1a9c34a5ade132045.jpg","text":"TemporaryFile(/tmp/multipartBody6192378201447606438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_04_47_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/26/43796d1687d8837952a6b67a75f0e505.jpg","text":"TemporaryFile(/tmp/multipartBody4581892648505089260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868053385,"filename":"image_26012025_06_04_57_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579407","file1":"1331579405","file0":"1331579403","file4":"1331579411","file5":"1331579412","file3":"1331579409"},"map_files_photo_id_array":[{"photo_id":"1331579412","filename":"file5"},{"photo_id":"1331579407","filename":"file2"},{"photo_id":"1331579411","filename":"file4"},{"photo_id":"1331579405","filename":"file1"},{"photo_id":"1331579403","filename":"file0"},{"photo_id":"1331579409","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579403":["hashtag1","hashtag2"]},{"1331579412":["hashtag1","hashtag2"]},{"1331579409":["hashtag1","hashtag2"]},{"1331579411":["hashtag1","hashtag2"]},{"1331579405":["hashtag1","hashtag2"]},{"1331579407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579403, 1331579412, 1331579409, 1331579411, 1331579405, 1331579407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59822607040405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:07:32.666052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_36_9355.jpg', '/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_47_10378.jpg', '/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_57_10365.jpg', '/home/pi/Desktop/images/26012025/06/05/image_26012025_06_06_07_9406.jpg', '/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_17_10335.jpg', '/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_37_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_36_9355.jpg
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_47_10378.jpg
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_05_57_10365.jpg
/home/pi/Desktop/images/26012025/06/05/image_26012025_06_06_07_9406.jpg
/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_17_10335.jpg
/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_37_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331579640","1331579643","1331579613","1331579642","1331579636","1331579611"],"photo_ids_order":["1331579611","1331579613","1331579636","1331579640","1331579642","1331579643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6160a8065eba5fc7d3002b6ec2399f54.jpg","text":"TemporaryFile(/tmp/multipartBody4252770003732776765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_06_07_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/26/2cc84aad7a069a8508376d23d2457e33.jpg","text":"TemporaryFile(/tmp/multipartBody696722784715914116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_06_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/26/f2115965539ca7e2e36c83821541daf6.jpg","text":"TemporaryFile(/tmp/multipartBody8133660011927427256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_05_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/26/16543f3edc43eaf79d4429264e23cf76.jpg","text":"TemporaryFile(/tmp/multipartBody7593797398080324009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_06_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a9e9958e8212aaa0b1c9ae3ba94d67b.jpg","text":"TemporaryFile(/tmp/multipartBody5381211487579826359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_05_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/26/103e99b13f1ef627f1b9a6266ca51640.jpg","text":"TemporaryFile(/tmp/multipartBody1691751335661951172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868113596,"filename":"image_26012025_06_05_36_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331579636","file1":"1331579613","file0":"1331579611","file4":"1331579642","file5":"1331579643","file3":"1331579640"},"map_files_photo_id_array":[{"photo_id":"1331579643","filename":"file5"},{"photo_id":"1331579636","filename":"file2"},{"photo_id":"1331579642","filename":"file4"},{"photo_id":"1331579613","filename":"file1"},{"photo_id":"1331579611","filename":"file0"},{"photo_id":"1331579640","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331579640":["hashtag1","hashtag2"]},{"1331579643":["hashtag1","hashtag2"]},{"1331579613":["hashtag1","hashtag2"]},{"1331579642":["hashtag1","hashtag2"]},{"1331579636":["hashtag1","hashtag2"]},{"1331579611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331579640, 1331579643, 1331579613, 1331579642, 1331579636, 1331579611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78365612030029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:08:32.961444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_47_10344.jpg', '/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_56_9416.jpg', '/home/pi/Desktop/images/26012025/06/06/image_26012025_06_07_07_10333.jpg', '/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_17_10364.jpg', '/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_27_9487.jpg', '/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_37_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_47_10344.jpg
/home/pi/Desktop/images/26012025/06/06/image_26012025_06_06_56_9416.jpg
/home/pi/Desktop/images/26012025/06/06/image_26012025_06_07_07_10333.jpg
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_17_10364.jpg
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_27_9487.jpg
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_37_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331580198","1331580103","1331580255","1331580258","1331580251","1331580260"],"photo_ids_order":["1331580103","1331580198","1331580251","1331580255","1331580258","1331580260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddb70f50fd470d13a8f13a456fb5f830.jpg","text":"TemporaryFile(/tmp/multipartBody2493438027607876813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_06_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/26/045b832dc5fd33cc6a5b4779352b4357.jpg","text":"TemporaryFile(/tmp/multipartBody1558777008803933951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_06_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cdd61263dee14b9e5b5890b42280aabc.jpg","text":"TemporaryFile(/tmp/multipartBody5568474151804606379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_07_17_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7132005c3ec7795acc47f71850b40740.jpg","text":"TemporaryFile(/tmp/multipartBody6285592523554766206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_07_27_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/26/f4f9de11ce20283efdcf9641e4970f33.jpg","text":"TemporaryFile(/tmp/multipartBody3606770007300865999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_07_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f1e7889461fb957dadddebc36e4fd703.jpg","text":"TemporaryFile(/tmp/multipartBody4840281337715493353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868173885,"filename":"image_26012025_06_07_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580251","file1":"1331580198","file0":"1331580103","file4":"1331580258","file5":"1331580260","file3":"1331580255"},"map_files_photo_id_array":[{"photo_id":"1331580260","filename":"file5"},{"photo_id":"1331580251","filename":"file2"},{"photo_id":"1331580258","filename":"file4"},{"photo_id":"1331580198","filename":"file1"},{"photo_id":"1331580103","filename":"file0"},{"photo_id":"1331580255","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580198":["hashtag1","hashtag2"]},{"1331580103":["hashtag1","hashtag2"]},{"1331580255":["hashtag1","hashtag2"]},{"1331580258":["hashtag1","hashtag2"]},{"1331580251":["hashtag1","hashtag2"]},{"1331580260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580198, 1331580103, 1331580255, 1331580258, 1331580251, 1331580260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16921854019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:09:32.211328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_46_9346.jpg', '/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_57_10347.jpg', '/home/pi/Desktop/images/26012025/06/07/image_26012025_06_08_07_10351.jpg', '/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_16_9373.jpg', '/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_46_9341.jpg', '/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_57_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_46_9346.jpg
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_07_57_10347.jpg
/home/pi/Desktop/images/26012025/06/07/image_26012025_06_08_07_10351.jpg
/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_16_9373.jpg
/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_46_9341.jpg
/home/pi/Desktop/images/26012025/06/08/image_26012025_06_08_57_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":["1331580328","1331580421","1331580276","1331580494","1331580571","1331580568"],"photo_ids_order":["1331580276","1331580328","1331580421","1331580494","1331580568","1331580571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a0c8aa1303db546aa7aff11d26e3c55.jpg","text":"TemporaryFile(/tmp/multipartBody6750899235549712564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_07_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/26/3cb76ed7be0cfdb3660eea44341565c3.jpg","text":"TemporaryFile(/tmp/multipartBody1032935381084057151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_08_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/26/f468ece22e5ed38816e51df51989917a.jpg","text":"TemporaryFile(/tmp/multipartBody4052336400982069660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_07_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/36a0a41952fd302e18f32a70bb0e1a48.jpg","text":"TemporaryFile(/tmp/multipartBody2161015905952120348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_08_16_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10b6256c9c6b2f268f404d2f02b36d15.jpg","text":"TemporaryFile(/tmp/multipartBody2068057620931717826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_08_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/26/343ff5beee0b3605da4797a8414fef45.jpg","text":"TemporaryFile(/tmp/multipartBody4546181177176728923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868233143,"filename":"image_26012025_06_08_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580421","file1":"1331580328","file0":"1331580276","file4":"1331580568","file5":"1331580571","file3":"1331580494"},"map_files_photo_id_array":[{"photo_id":"1331580571","filename":"file5"},{"photo_id":"1331580421","filename":"file2"},{"photo_id":"1331580568","filename":"file4"},{"photo_id":"1331580328","filename":"file1"},{"photo_id":"1331580276","filename":"file0"},{"photo_id":"1331580494","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580328":["hashtag1","hashtag2"]},{"1331580421":["hashtag1","hashtag2"]},{"1331580276":["hashtag1","hashtag2"]},{"1331580494":["hashtag1","hashtag2"]},{"1331580571":["hashtag1","hashtag2"]},{"1331580568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580328, 1331580421, 1331580276, 1331580494, 1331580571, 1331580568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97631597518921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:10:32.435762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/08/image_26012025_06_09_07_10348.jpg', '/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_17_9467.jpg', '/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_27_10403.jpg', '/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_47_10356.jpg', '/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_57_10352.jpg', '/home/pi/Desktop/images/26012025/06/09/image_26012025_06_10_07_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/08/image_26012025_06_09_07_10348.jpg
/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_17_9467.jpg
/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_27_10403.jpg
/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_47_10356.jpg
/home/pi/Desktop/images/26012025/06/09/image_26012025_06_09_57_10352.jpg
/home/pi/Desktop/images/26012025/06/09/image_26012025_06_10_07_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":["1331580723","1331580761","1331580737","1331580746","1331580763","1331580679"],"photo_ids_order":["1331580679","1331580723","1331580737","1331580746","1331580761","1331580763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/313f6f2c1fdb06502cbbd8ee5b758398.jpg","text":"TemporaryFile(/tmp/multipartBody5120048309356943703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_09_17_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/26/e09f1ef9e3de05f5d8424be30140b048.jpg","text":"TemporaryFile(/tmp/multipartBody6011553980980781190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_09_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e1ad8a4c222f4e10c6a6944977689dd.jpg","text":"TemporaryFile(/tmp/multipartBody3665112519044452051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_09_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/26/2858f16a9b098f34d7030d343e4576ae.jpg","text":"TemporaryFile(/tmp/multipartBody4037125157870992370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_09_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/26/77ba261ad0587771311562b027405e80.jpg","text":"TemporaryFile(/tmp/multipartBody7777796811131220040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_10_07_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/26/27ef7ddb18991c28572dd11611d8c14c.jpg","text":"TemporaryFile(/tmp/multipartBody9084896785868901112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868293378,"filename":"image_26012025_06_09_07_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580737","file1":"1331580723","file0":"1331580679","file4":"1331580761","file5":"1331580763","file3":"1331580746"},"map_files_photo_id_array":[{"photo_id":"1331580763","filename":"file5"},{"photo_id":"1331580737","filename":"file2"},{"photo_id":"1331580761","filename":"file4"},{"photo_id":"1331580723","filename":"file1"},{"photo_id":"1331580679","filename":"file0"},{"photo_id":"1331580746","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580723":["hashtag1","hashtag2"]},{"1331580761":["hashtag1","hashtag2"]},{"1331580737":["hashtag1","hashtag2"]},{"1331580746":["hashtag1","hashtag2"]},{"1331580763":["hashtag1","hashtag2"]},{"1331580679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580723, 1331580761, 1331580737, 1331580746, 1331580763, 1331580679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41019082069397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:11:32.670631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_26_9354.jpg', '/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_37_10399.jpg', '/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_47_10389.jpg', '/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_56_9338.jpg', '/home/pi/Desktop/images/26012025/06/10/image_26012025_06_11_07_10394.jpg', '/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_17_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_26_9354.jpg
/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_37_10399.jpg
/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_47_10389.jpg
/home/pi/Desktop/images/26012025/06/10/image_26012025_06_10_56_9338.jpg
/home/pi/Desktop/images/26012025/06/10/image_26012025_06_11_07_10394.jpg
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_17_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":["1331580780","1331580774","1331580783","1331580777","1331580785","1331580787"],"photo_ids_order":["1331580774","1331580777","1331580780","1331580783","1331580785","1331580787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/126bb27499f6153f11d12ab42feb6d48.jpg","text":"TemporaryFile(/tmp/multipartBody3136943596140590522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_10_47_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/26/d02b96528713c520514ade939f757b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8923462126862541605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_10_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/26/7565f27f4066da57287c4eea4859b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody3082271482356048306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_10_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9cbc2919058ec8b1a6da2a7daf9bc5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4492282567630009541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_10_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/26/b43c4bba58eb92f7969d936378ab2b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5979446534948914569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_11_07_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a03a0e623cebc96a01c0cd74a3cdda40.jpg","text":"TemporaryFile(/tmp/multipartBody5900110917284910817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868353592,"filename":"image_26012025_06_11_17_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580780","file1":"1331580777","file0":"1331580774","file4":"1331580785","file5":"1331580787","file3":"1331580783"},"map_files_photo_id_array":[{"photo_id":"1331580787","filename":"file5"},{"photo_id":"1331580780","filename":"file2"},{"photo_id":"1331580785","filename":"file4"},{"photo_id":"1331580777","filename":"file1"},{"photo_id":"1331580774","filename":"file0"},{"photo_id":"1331580783","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580780":["hashtag1","hashtag2"]},{"1331580774":["hashtag1","hashtag2"]},{"1331580783":["hashtag1","hashtag2"]},{"1331580777":["hashtag1","hashtag2"]},{"1331580785":["hashtag1","hashtag2"]},{"1331580787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580780, 1331580774, 1331580783, 1331580777, 1331580785, 1331580787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.58189153671265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:12:32.952572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_26_9316.jpg', '/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_37_10423.jpg', '/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_46_9436.jpg', '/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_57_10337.jpg', '/home/pi/Desktop/images/26012025/06/11/image_26012025_06_12_07_10348.jpg', '/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_16_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_26_9316.jpg
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_37_10423.jpg
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_46_9436.jpg
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_11_57_10337.jpg
/home/pi/Desktop/images/26012025/06/11/image_26012025_06_12_07_10348.jpg
/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_16_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":["1331580822","1331580819","1331580804","1331580813","1331580809","1331580799"],"photo_ids_order":["1331580799","1331580804","1331580809","1331580813","1331580819","1331580822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b0672e979d1f28dcbbf4c84eadb2ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4318963212593765342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_12_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/26/51a6b1ce8e9a0652d4eca4bdbe590549.jpg","text":"TemporaryFile(/tmp/multipartBody1794356175920225095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_12_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/26/4f8357fba1f65515d964c05b690d73fd.jpg","text":"TemporaryFile(/tmp/multipartBody3952001577556552474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_11_37_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02f4626a7bf53deddd0920beb4776247.jpg","text":"TemporaryFile(/tmp/multipartBody7465857329473367242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_11_57_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/26/65fe2d1ef3c229407551f1db54876ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6629802697319718251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_11_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/26/fbd7f5c3de24e5fc6831297803597d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3265815062755887251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868413878,"filename":"image_26012025_06_11_26_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580809","file1":"1331580804","file0":"1331580799","file4":"1331580819","file5":"1331580822","file3":"1331580813"},"map_files_photo_id_array":[{"photo_id":"1331580822","filename":"file5"},{"photo_id":"1331580809","filename":"file2"},{"photo_id":"1331580819","filename":"file4"},{"photo_id":"1331580804","filename":"file1"},{"photo_id":"1331580799","filename":"file0"},{"photo_id":"1331580813","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580822":["hashtag1","hashtag2"]},{"1331580819":["hashtag1","hashtag2"]},{"1331580804":["hashtag1","hashtag2"]},{"1331580813":["hashtag1","hashtag2"]},{"1331580809":["hashtag1","hashtag2"]},{"1331580799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580822, 1331580819, 1331580804, 1331580813, 1331580809, 1331580799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.48767971992493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:13:33.173633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_27_10416.jpg', '/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_37_10353.jpg', '/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_46_9355.jpg', '/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_57_10437.jpg', '/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_17_10401.jpg', '/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_27_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_27_10416.jpg
/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_37_10353.jpg
/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_46_9355.jpg
/home/pi/Desktop/images/26012025/06/12/image_26012025_06_12_57_10437.jpg
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_17_10401.jpg
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_27_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":["1331580872","1331580895","1331580889","1331580898","1331580892","1331580886"],"photo_ids_order":["1331580872","1331580886","1331580889","1331580892","1331580895","1331580898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86c2ff0a4d3813470fa72fb9ea3f4811.jpg","text":"TemporaryFile(/tmp/multipartBody5801282516886937892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_12_27_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c62014853ca1e8b10084de32152a3c2b.jpg","text":"TemporaryFile(/tmp/multipartBody8853866488446006702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_13_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fde7bdc472595591674e1bc76853c737.jpg","text":"TemporaryFile(/tmp/multipartBody8734285997480675061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_12_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/26/69e948820dea34b0826ebcee5b2a7d04.jpg","text":"TemporaryFile(/tmp/multipartBody5040211121407533032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_13_27_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23e3b0caabcb580fe53dd304738f1f43.jpg","text":"TemporaryFile(/tmp/multipartBody5697355986199495422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_12_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b6d1f34487249a40b177c25519453d07.jpg","text":"TemporaryFile(/tmp/multipartBody2184756295978413074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868474137,"filename":"image_26012025_06_12_37_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580889","file1":"1331580886","file0":"1331580872","file4":"1331580895","file5":"1331580898","file3":"1331580892"},"map_files_photo_id_array":[{"photo_id":"1331580898","filename":"file5"},{"photo_id":"1331580889","filename":"file2"},{"photo_id":"1331580895","filename":"file4"},{"photo_id":"1331580886","filename":"file1"},{"photo_id":"1331580872","filename":"file0"},{"photo_id":"1331580892","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580872":["hashtag1","hashtag2"]},{"1331580895":["hashtag1","hashtag2"]},{"1331580889":["hashtag1","hashtag2"]},{"1331580898":["hashtag1","hashtag2"]},{"1331580892":["hashtag1","hashtag2"]},{"1331580886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580872, 1331580895, 1331580889, 1331580898, 1331580892, 1331580886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2522087097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:14:32.274197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_36_9405.jpg', '/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_47_10426.jpg', '/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_56_9390.jpg', '/home/pi/Desktop/images/26012025/06/13/image_26012025_06_14_07_10441.jpg', '/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_17_10424.jpg', '/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_27_9454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_36_9405.jpg
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_47_10426.jpg
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_13_56_9390.jpg
/home/pi/Desktop/images/26012025/06/13/image_26012025_06_14_07_10441.jpg
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_17_10424.jpg
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_27_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":["1331580928","1331580922","1331580912","1331580917","1331580931","1331580925"],"photo_ids_order":["1331580912","1331580917","1331580922","1331580925","1331580928","1331580931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60b84ca71ddf8293ff00b702c7c906ff.jpg","text":"TemporaryFile(/tmp/multipartBody1399644932737856508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_14_17_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/26/7f932ee78e4c769e171ea1ee5a20ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody3497799925472443999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_13_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/26/4710685d4e3ff81d3a49d658a3bbdb54.jpg","text":"TemporaryFile(/tmp/multipartBody3322813131041019068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_13_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bdda8a7e63201fd000fe2dd89d04adc.jpg","text":"TemporaryFile(/tmp/multipartBody467674265991433931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_13_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/26/c326b92cf3aab613d56f8852dca1c668.jpg","text":"TemporaryFile(/tmp/multipartBody7024261564307944457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_14_27_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/26/5101dbfc6fade0b5da54000ce324447e.jpg","text":"TemporaryFile(/tmp/multipartBody6745296444624342759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868533188,"filename":"image_26012025_06_14_07_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580922","file1":"1331580917","file0":"1331580912","file4":"1331580928","file5":"1331580931","file3":"1331580925"},"map_files_photo_id_array":[{"photo_id":"1331580931","filename":"file5"},{"photo_id":"1331580922","filename":"file2"},{"photo_id":"1331580928","filename":"file4"},{"photo_id":"1331580917","filename":"file1"},{"photo_id":"1331580912","filename":"file0"},{"photo_id":"1331580925","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580928":["hashtag1","hashtag2"]},{"1331580922":["hashtag1","hashtag2"]},{"1331580912":["hashtag1","hashtag2"]},{"1331580917":["hashtag1","hashtag2"]},{"1331580931":["hashtag1","hashtag2"]},{"1331580925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580928, 1331580922, 1331580912, 1331580917, 1331580931, 1331580925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.216625928878784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:15:32.585813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_37_10366.jpg', '/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_46_9347.jpg', '/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_57_10345.jpg', '/home/pi/Desktop/images/26012025/06/14/image_26012025_06_15_07_10411.jpg', '/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_16_9383.jpg', '/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_27_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_37_10366.jpg
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_46_9347.jpg
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_14_57_10345.jpg
/home/pi/Desktop/images/26012025/06/14/image_26012025_06_15_07_10411.jpg
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_16_9383.jpg
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_27_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":["1331580960","1331580942","1331580953","1331580947","1331580958","1331580937"],"photo_ids_order":["1331580937","1331580942","1331580947","1331580953","1331580958","1331580960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/815ea806a7da2541958de8e5f994dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody1838606969837890801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_15_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/26/bb411609ecb350ce4cb4f33a6891c543.jpg","text":"TemporaryFile(/tmp/multipartBody3971702834938079375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_14_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/26/cb765d20e808bd160d781a18c39d411d.jpg","text":"TemporaryFile(/tmp/multipartBody8099067235457276492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_15_07_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/26/fd7e9c9a5be277e4b8ea2247827a9705.jpg","text":"TemporaryFile(/tmp/multipartBody738498505773686850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_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/26/58e5f277ad20399f6ab9adb49890a03f.jpg","text":"TemporaryFile(/tmp/multipartBody4206386563798339377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_15_16_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2c1fee251df73579f250ac9d45b0bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4540478905654522889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868593516,"filename":"image_26012025_06_14_37_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580947","file1":"1331580942","file0":"1331580937","file4":"1331580958","file5":"1331580960","file3":"1331580953"},"map_files_photo_id_array":[{"photo_id":"1331580960","filename":"file5"},{"photo_id":"1331580947","filename":"file2"},{"photo_id":"1331580958","filename":"file4"},{"photo_id":"1331580942","filename":"file1"},{"photo_id":"1331580937","filename":"file0"},{"photo_id":"1331580953","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580960":["hashtag1","hashtag2"]},{"1331580942":["hashtag1","hashtag2"]},{"1331580953":["hashtag1","hashtag2"]},{"1331580947":["hashtag1","hashtag2"]},{"1331580958":["hashtag1","hashtag2"]},{"1331580937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580960, 1331580942, 1331580953, 1331580947, 1331580958, 1331580937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.982232332229614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:16:32.742681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_37_10341.jpg', '/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_47_9406.jpg', '/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_57_10405.jpg', '/home/pi/Desktop/images/26012025/06/15/image_26012025_06_16_06_9342.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_17_10414.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_27_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_37_10341.jpg
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_47_9406.jpg
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_15_57_10405.jpg
/home/pi/Desktop/images/26012025/06/15/image_26012025_06_16_06_9342.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_17_10414.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_27_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":["1331580972","1331580983","1331580977","1331580980","1331580964","1331580967"],"photo_ids_order":["1331580964","1331580967","1331580972","1331580977","1331580980","1331580983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee0cc6796905637bdc5035fd8a791dcf.jpg","text":"TemporaryFile(/tmp/multipartBody570149687416287056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_15_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/26/5e0a1b9cc19a883305de7a81ee9bfeb5.jpg","text":"TemporaryFile(/tmp/multipartBody92176513984916706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_16_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3d0c51bc1cc9ae6beb60632cb4d61bc.jpg","text":"TemporaryFile(/tmp/multipartBody5741220693372480310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_16_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f8f27ad4877fd8cccc9dd9dc2acf94c9.jpg","text":"TemporaryFile(/tmp/multipartBody5816045852670214548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_16_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5e844ceef944c38323c32f28cc4cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody2601308076073422003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_15_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/26/653220b2b2f873f8e5385abce2210226.jpg","text":"TemporaryFile(/tmp/multipartBody3750612542903581976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868653697,"filename":"image_26012025_06_15_47_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331580972","file1":"1331580967","file0":"1331580964","file4":"1331580980","file5":"1331580983","file3":"1331580977"},"map_files_photo_id_array":[{"photo_id":"1331580983","filename":"file5"},{"photo_id":"1331580972","filename":"file2"},{"photo_id":"1331580980","filename":"file4"},{"photo_id":"1331580967","filename":"file1"},{"photo_id":"1331580964","filename":"file0"},{"photo_id":"1331580977","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331580972":["hashtag1","hashtag2"]},{"1331580983":["hashtag1","hashtag2"]},{"1331580977":["hashtag1","hashtag2"]},{"1331580980":["hashtag1","hashtag2"]},{"1331580964":["hashtag1","hashtag2"]},{"1331580967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331580972, 1331580983, 1331580977, 1331580980, 1331580964, 1331580967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.046860218048096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:17:33.037002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_36_9419.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_47_10375.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_57_10342.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_17_07_9457.jpg', '/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_17_10349.jpg', '/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_26_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_36_9419.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_47_10375.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_57_10342.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_17_07_9457.jpg
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_17_10349.jpg
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_26_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.5281481742858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:17:43.030572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_36_9419.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_47_10375.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_57_10342.jpg', '/home/pi/Desktop/images/26012025/06/16/image_26012025_06_17_07_9457.jpg', '/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_17_10349.jpg', '/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_26_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_36_9419.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_47_10375.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_16_57_10342.jpg
/home/pi/Desktop/images/26012025/06/16/image_26012025_06_17_07_9457.jpg
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_17_10349.jpg
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_26_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":["1331581035","1331581031","1331581043","1331581051","1331581045","1331581039"],"photo_ids_order":["1331581031","1331581035","1331581039","1331581043","1331581045","1331581051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d34eca89cef6e6f160c3b8580b90cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8528292054568718861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_16_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/26/39452a5225e10c31ca8964e7b750441d.jpg","text":"TemporaryFile(/tmp/multipartBody9170186055534401852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_16_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1aa1119eb3db75168386e53989f263d.jpg","text":"TemporaryFile(/tmp/multipartBody4476916026289774441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_17_07_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/26/32a7654d9c1eeac5695326fe6a12cd8b.jpg","text":"TemporaryFile(/tmp/multipartBody8608958095762019034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_17_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/26/112bbd3ecacad485f1fb347741dd5a9b.jpg","text":"TemporaryFile(/tmp/multipartBody39770118959688199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_17_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/43a5eaea2a1786ded8f4b400a06f5ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1468227973932941861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868723964,"filename":"image_26012025_06_16_57_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331581039","file1":"1331581035","file0":"1331581031","file4":"1331581045","file5":"1331581051","file3":"1331581043"},"map_files_photo_id_array":[{"photo_id":"1331581051","filename":"file5"},{"photo_id":"1331581039","filename":"file2"},{"photo_id":"1331581045","filename":"file4"},{"photo_id":"1331581035","filename":"file1"},{"photo_id":"1331581031","filename":"file0"},{"photo_id":"1331581043","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331581035":["hashtag1","hashtag2"]},{"1331581031":["hashtag1","hashtag2"]},{"1331581043":["hashtag1","hashtag2"]},{"1331581051":["hashtag1","hashtag2"]},{"1331581045":["hashtag1","hashtag2"]},{"1331581039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331581035, 1331581031, 1331581043, 1331581051, 1331581045, 1331581039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38313865661621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:18:32.146986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_37_10356.jpg', '/home/pi/Desktop/images/26012025/06/17/image_26012025_06_18_07_10419.jpg', '/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_16_9413.jpg', '/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_27_10362.jpg', '/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_37_10350.jpg', '/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_46_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_17_37_10356.jpg
/home/pi/Desktop/images/26012025/06/17/image_26012025_06_18_07_10419.jpg
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_16_9413.jpg
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_27_10362.jpg
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_37_10350.jpg
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_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":["1331581080","1331581064","1331581067","1331581072","1331581075","1331581078"],"photo_ids_order":["1331581064","1331581067","1331581072","1331581075","1331581078","1331581080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e51f0095bc15129d7534099b8b357762.jpg","text":"TemporaryFile(/tmp/multipartBody7764345952403604828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_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/26/0da7db91d707d8803a5e69ca2c78de3f.jpg","text":"TemporaryFile(/tmp/multipartBody8672306391575580662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_17_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/26/aa5797c4c720ef1a4f8c9c3a8feb299a.jpg","text":"TemporaryFile(/tmp/multipartBody6052113872227412504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_18_07_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/26/6f1a454cc61673fbf47b7d9991ea168a.jpg","text":"TemporaryFile(/tmp/multipartBody5062508431874707073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_18_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/26/2dc711506765a4602d99103cb90cb016.jpg","text":"TemporaryFile(/tmp/multipartBody1790875129139946456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_18_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/26/4b99c7ab372c2ad78521d90a8187ef15.jpg","text":"TemporaryFile(/tmp/multipartBody5536699700808436037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868773084,"filename":"image_26012025_06_18_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331581072","file1":"1331581067","file0":"1331581064","file4":"1331581078","file5":"1331581080","file3":"1331581075"},"map_files_photo_id_array":[{"photo_id":"1331581080","filename":"file5"},{"photo_id":"1331581072","filename":"file2"},{"photo_id":"1331581078","filename":"file4"},{"photo_id":"1331581067","filename":"file1"},{"photo_id":"1331581064","filename":"file0"},{"photo_id":"1331581075","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331581080":["hashtag1","hashtag2"]},{"1331581064":["hashtag1","hashtag2"]},{"1331581067":["hashtag1","hashtag2"]},{"1331581072":["hashtag1","hashtag2"]},{"1331581075":["hashtag1","hashtag2"]},{"1331581078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331581080, 1331581064, 1331581067, 1331581072, 1331581075, 1331581078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44839072227478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:19:32.368640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_57_10407.jpg', '/home/pi/Desktop/images/26012025/06/18/image_26012025_06_19_07_10336.jpg', '/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_16_9345.jpg', '/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_27_10419.jpg', '/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_37_10358.jpg', '/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_47_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_18_57_10407.jpg
/home/pi/Desktop/images/26012025/06/18/image_26012025_06_19_07_10336.jpg
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_16_9345.jpg
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_27_10419.jpg
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_37_10358.jpg
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_47_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":["1331581143","1331581137","1331581107","1331581141","1331581117","1331581132"],"photo_ids_order":["1331581107","1331581117","1331581132","1331581137","1331581141","1331581143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e28c1140d6d8e76fb4c6e1bd30f9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4500590623572523746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_19_47_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/26/895ccf5a9fe461bc51b0a1aa1868379e.jpg","text":"TemporaryFile(/tmp/multipartBody7693176536523904133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_19_27_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/26/2e0cea60f2a386ba7ad43c99283255e4.jpg","text":"TemporaryFile(/tmp/multipartBody6904594854225674763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_18_57_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/26/90f0b9f42e6470e4639c61f0b01b983e.jpg","text":"TemporaryFile(/tmp/multipartBody4472006296902884744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_19_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/26/cb8549b0555560d04f9438ad91a50306.jpg","text":"TemporaryFile(/tmp/multipartBody7247920639459896859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_19_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/26/78d84e855a45f3dce9fd166102283515.jpg","text":"TemporaryFile(/tmp/multipartBody7969655205324394000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868833293,"filename":"image_26012025_06_19_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331581132","file1":"1331581117","file0":"1331581107","file4":"1331581141","file5":"1331581143","file3":"1331581137"},"map_files_photo_id_array":[{"photo_id":"1331581143","filename":"file5"},{"photo_id":"1331581132","filename":"file2"},{"photo_id":"1331581141","filename":"file4"},{"photo_id":"1331581117","filename":"file1"},{"photo_id":"1331581107","filename":"file0"},{"photo_id":"1331581137","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331581143":["hashtag1","hashtag2"]},{"1331581137":["hashtag1","hashtag2"]},{"1331581107":["hashtag1","hashtag2"]},{"1331581141":["hashtag1","hashtag2"]},{"1331581117":["hashtag1","hashtag2"]},{"1331581132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331581143, 1331581137, 1331581107, 1331581141, 1331581117, 1331581132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.40744161605835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:20:32.623519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_57_10336.jpg', '/home/pi/Desktop/images/26012025/06/19/image_26012025_06_20_06_9356.jpg', '/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_17_10441.jpg', '/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_27_10361.jpg', '/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_36_9340.jpg', '/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_47_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_19_57_10336.jpg
/home/pi/Desktop/images/26012025/06/19/image_26012025_06_20_06_9356.jpg
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_17_10441.jpg
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_27_10361.jpg
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_36_9340.jpg
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_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":["1331582127","1331581668","1331582136","1331582004","1331581829","1331582134"],"photo_ids_order":["1331581668","1331581829","1331582004","1331582127","1331582134","1331582136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/571847605d74f3fbaa67f0c72562ac03.jpg","text":"TemporaryFile(/tmp/multipartBody570654339948692244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_20_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/26/47c326312bd606d52efc22de46ac596b.jpg","text":"TemporaryFile(/tmp/multipartBody989771356663586669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_19_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/26/9d288e82c881a6979bfd626bb6bbc9d8.jpg","text":"TemporaryFile(/tmp/multipartBody6480632090517122783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_20_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/26/417b8766c53bde75f6321f5a1958809f.jpg","text":"TemporaryFile(/tmp/multipartBody6089960810841655814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_20_17_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e35f44c7b2980867772e926631b0c35e.jpg","text":"TemporaryFile(/tmp/multipartBody1677001468511418197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_20_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4d4c4be1fa846784a1fc58db923f6a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8283760250439799463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868893554,"filename":"image_26012025_06_20_36_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331582004","file1":"1331581829","file0":"1331581668","file4":"1331582134","file5":"1331582136","file3":"1331582127"},"map_files_photo_id_array":[{"photo_id":"1331582136","filename":"file5"},{"photo_id":"1331582004","filename":"file2"},{"photo_id":"1331582134","filename":"file4"},{"photo_id":"1331581829","filename":"file1"},{"photo_id":"1331581668","filename":"file0"},{"photo_id":"1331582127","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331582127":["hashtag1","hashtag2"]},{"1331581668":["hashtag1","hashtag2"]},{"1331582136":["hashtag1","hashtag2"]},{"1331582004":["hashtag1","hashtag2"]},{"1331581829":["hashtag1","hashtag2"]},{"1331582134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331582127, 1331581668, 1331582136, 1331582004, 1331581829, 1331582134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.084988832473755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:21:32.872964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_57_10386.jpg', '/home/pi/Desktop/images/26012025/06/20/image_26012025_06_21_07_9434.jpg', '/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_17_10336.jpg', '/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_26_9424.jpg', '/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_37_10422.jpg', '/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_47_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_20_57_10386.jpg
/home/pi/Desktop/images/26012025/06/20/image_26012025_06_21_07_9434.jpg
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_17_10336.jpg
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_26_9424.jpg
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_37_10422.jpg
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_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":["1331582802","1331582524","1331582347","1331582719","1331582626","1331582434"],"photo_ids_order":["1331582347","1331582434","1331582524","1331582626","1331582719","1331582802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f006bf5ad5592dc05b034b823a55210.jpg","text":"TemporaryFile(/tmp/multipartBody6299941848429725519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_21_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/26/3bb911c646c8a6242ac44a5991072b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6794049649433846534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_21_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/26/4f264f4effe7a9192e5eb0f2ead699f7.jpg","text":"TemporaryFile(/tmp/multipartBody2655530312972752465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_20_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c9e04c9848cf2126da9932aa147dadbb.jpg","text":"TemporaryFile(/tmp/multipartBody8947011896985543354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_21_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0dc0838c55199ef412896c17c2df6653.jpg","text":"TemporaryFile(/tmp/multipartBody4721355017313046526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_21_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/144504eb61de70759d7fb79b7b2fe6a3.jpg","text":"TemporaryFile(/tmp/multipartBody1020460147600831789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737868953799,"filename":"image_26012025_06_21_07_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331582524","file1":"1331582434","file0":"1331582347","file4":"1331582719","file5":"1331582802","file3":"1331582626"},"map_files_photo_id_array":[{"photo_id":"1331582802","filename":"file5"},{"photo_id":"1331582524","filename":"file2"},{"photo_id":"1331582719","filename":"file4"},{"photo_id":"1331582434","filename":"file1"},{"photo_id":"1331582347","filename":"file0"},{"photo_id":"1331582626","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331582802":["hashtag1","hashtag2"]},{"1331582524":["hashtag1","hashtag2"]},{"1331582347":["hashtag1","hashtag2"]},{"1331582719":["hashtag1","hashtag2"]},{"1331582626":["hashtag1","hashtag2"]},{"1331582434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331582802, 1331582524, 1331582347, 1331582719, 1331582626, 1331582434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.428826093673706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:22:33.115273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_57_9424.jpg', '/home/pi/Desktop/images/26012025/06/21/image_26012025_06_22_07_10428.jpg', '/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_16_9324.jpg', '/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_27_10436.jpg', '/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_37_10344.jpg', '/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_47_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_21_57_9424.jpg
/home/pi/Desktop/images/26012025/06/21/image_26012025_06_22_07_10428.jpg
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_16_9324.jpg
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_27_10436.jpg
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_37_10344.jpg
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_47_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":["1331583458","1331583347","1331583388","1331583460","1331583436","1331583393"],"photo_ids_order":["1331583347","1331583388","1331583393","1331583436","1331583458","1331583460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05f948bd2e3af49ee121e93225d57029.jpg","text":"TemporaryFile(/tmp/multipartBody847344785951773559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_22_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/26/5c5230a25b29b34f6842c8b03d00e654.jpg","text":"TemporaryFile(/tmp/multipartBody6286038584884057236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_21_57_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/26/40c8a38e2f5e65d7c6053d13bfec09d0.jpg","text":"TemporaryFile(/tmp/multipartBody5207138749844927597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_22_07_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/26/293d83386781183f90e2d889fb9eb64c.jpg","text":"TemporaryFile(/tmp/multipartBody271299737985550109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_22_47_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/26/9d49769af14d29809489bcb6f0fa2236.jpg","text":"TemporaryFile(/tmp/multipartBody3331243471255888204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_22_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/26/8f47150be35cc1646bf25b350c345bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2981599367309432716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869014048,"filename":"image_26012025_06_22_16_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331583393","file1":"1331583388","file0":"1331583347","file4":"1331583458","file5":"1331583460","file3":"1331583436"},"map_files_photo_id_array":[{"photo_id":"1331583460","filename":"file5"},{"photo_id":"1331583393","filename":"file2"},{"photo_id":"1331583458","filename":"file4"},{"photo_id":"1331583388","filename":"file1"},{"photo_id":"1331583347","filename":"file0"},{"photo_id":"1331583436","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331583458":["hashtag1","hashtag2"]},{"1331583347":["hashtag1","hashtag2"]},{"1331583388":["hashtag1","hashtag2"]},{"1331583460":["hashtag1","hashtag2"]},{"1331583436":["hashtag1","hashtag2"]},{"1331583393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331583458, 1331583347, 1331583388, 1331583460, 1331583436, 1331583393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.931140184402466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:23:32.286501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_57_10366.jpg', '/home/pi/Desktop/images/26012025/06/22/image_26012025_06_23_06_9356.jpg', '/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_17_10347.jpg', '/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_27_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_22_57_10366.jpg
/home/pi/Desktop/images/26012025/06/22/image_26012025_06_23_06_9356.jpg
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_17_10347.jpg
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_27_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331583518","1331583611","1331583484","1331583670"],"photo_ids_order":["1331583484","1331583518","1331583611","1331583670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/56396db6e4bdfbb21646aaeb447c9c07.jpg","text":"TemporaryFile(/tmp/multipartBody5151933660068431920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869073182,"filename":"image_26012025_06_23_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e145fa444ea0c7acea562f58c6155de.jpg","text":"TemporaryFile(/tmp/multipartBody5651114877990534081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869073182,"filename":"image_26012025_06_23_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eca3e39b7123913441a3d9c64dbc0ec2.jpg","text":"TemporaryFile(/tmp/multipartBody2388932038719470139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869073182,"filename":"image_26012025_06_22_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/26/7c9d01a23b27f9138b3684c8710f1f68.jpg","text":"TemporaryFile(/tmp/multipartBody1488861968083331364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869073182,"filename":"image_26012025_06_23_27_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331583611","file1":"1331583518","file0":"1331583484","file3":"1331583670"},"map_files_photo_id_array":[{"photo_id":"1331583611","filename":"file2"},{"photo_id":"1331583518","filename":"file1"},{"photo_id":"1331583484","filename":"file0"},{"photo_id":"1331583670","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331583518":["hashtag1","hashtag2"]},{"1331583611":["hashtag1","hashtag2"]},{"1331583484":["hashtag1","hashtag2"]},{"1331583670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331583518, 1331583611, 1331583484, 1331583670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.54928374290466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:24:32.523748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_36_9384.jpg', '/home/pi/Desktop/images/26012025/06/23/image_26012025_06_24_07_10495.jpg', '/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_37_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_36_9384.jpg
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_24_07_10495.jpg
/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_37_10331.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4808640480041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:24:42.474961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_36_9384.jpg', '/home/pi/Desktop/images/26012025/06/23/image_26012025_06_24_07_10495.jpg', '/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_37_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_23_36_9384.jpg
/home/pi/Desktop/images/26012025/06/23/image_26012025_06_24_07_10495.jpg
/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_37_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331584018","1331583921","1331584008"],"photo_ids_order":["1331583921","1331584008","1331584018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f83e8033c9eb68674a2cd896f3ca2eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8225719613219264706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869143584,"filename":"image_26012025_06_24_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/26/b04897088b2f1146c81ef2c38fa0137b.jpg","text":"TemporaryFile(/tmp/multipartBody194570840725567965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869143584,"filename":"image_26012025_06_23_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/26/a60a16ed846c47ecd55806f7ea950fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1033041243249660379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869143584,"filename":"image_26012025_06_24_07_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331584018","file1":"1331584008","file0":"1331583921"},"map_files_photo_id_array":[{"photo_id":"1331584018","filename":"file2"},{"photo_id":"1331584008","filename":"file1"},{"photo_id":"1331583921","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331584018":["hashtag1","hashtag2"]},{"1331583921":["hashtag1","hashtag2"]},{"1331584008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331584018, 1331583921, 1331584008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.270409107208252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:25:32.869319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_57_9426.jpg', '/home/pi/Desktop/images/26012025/06/24/image_26012025_06_25_07_10444.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_16_9456.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_26_9930.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_37_10433.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_47_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/24/image_26012025_06_24_57_9426.jpg
/home/pi/Desktop/images/26012025/06/24/image_26012025_06_25_07_10444.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_16_9456.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_26_9930.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_37_10433.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_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":["1331584100","1331584093","1331584095","1331584098","1331584083","1331584079"],"photo_ids_order":["1331584079","1331584083","1331584093","1331584095","1331584098","1331584100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e149c089e3f10cbb4447ee0691ff9211.jpg","text":"TemporaryFile(/tmp/multipartBody5043331646829002334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_25_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/26/1535c2fe4518c0170ee48f9cd0747413.jpg","text":"TemporaryFile(/tmp/multipartBody4879441820466875856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_25_16_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/26/4d51ebd441d6ace77cc4038d0e98c764.jpg","text":"TemporaryFile(/tmp/multipartBody9134382804570884126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_25_26_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/26/8fbc76bbcbd4a9761896000c81366bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4463250129550834111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_25_37_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/26/25db85ea9f26d2dd757e7adb884eb982.jpg","text":"TemporaryFile(/tmp/multipartBody5910400040360259358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_25_07_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/26/c5a5bf1dfcdc2a42d4733fa0501f16dc.jpg","text":"TemporaryFile(/tmp/multipartBody4700243783361008681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869193803,"filename":"image_26012025_06_24_57_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331584093","file1":"1331584083","file0":"1331584079","file4":"1331584098","file5":"1331584100","file3":"1331584095"},"map_files_photo_id_array":[{"photo_id":"1331584100","filename":"file5"},{"photo_id":"1331584093","filename":"file2"},{"photo_id":"1331584098","filename":"file4"},{"photo_id":"1331584083","filename":"file1"},{"photo_id":"1331584079","filename":"file0"},{"photo_id":"1331584095","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331584100":["hashtag1","hashtag2"]},{"1331584093":["hashtag1","hashtag2"]},{"1331584095":["hashtag1","hashtag2"]},{"1331584098":["hashtag1","hashtag2"]},{"1331584083":["hashtag1","hashtag2"]},{"1331584079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331584100, 1331584093, 1331584095, 1331584098, 1331584083, 1331584079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.61336350440979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:26:33.047940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_57_9393.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_26_07_10327.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_27_10441.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_37_10339.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_46_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_57_9393.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_26_07_10327.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_27_10441.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_37_10339.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_46_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.5352003574371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:26:42.986688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_57_9393.jpg', '/home/pi/Desktop/images/26012025/06/25/image_26012025_06_26_07_10327.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_27_10441.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_37_10339.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_46_9381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_25_57_9393.jpg
/home/pi/Desktop/images/26012025/06/25/image_26012025_06_26_07_10327.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_27_10441.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_37_10339.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_46_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":["1331584121","1331584129","1331584131","1331584125","1331584130"],"photo_ids_order":["1331584121","1331584125","1331584129","1331584130","1331584131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82754974c796a29283a63e24c3edb9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2153581477280397733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869263900,"filename":"image_26012025_06_25_57_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/26/e181adf829eb9140a6641051f999e344.jpg","text":"TemporaryFile(/tmp/multipartBody8823034588764729216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869263900,"filename":"image_26012025_06_26_27_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/26/bf01b10a2b4b7c397bda036ce018c111.jpg","text":"TemporaryFile(/tmp/multipartBody4467910673972836027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869263900,"filename":"image_26012025_06_26_46_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/26/eb8abf9d0a7f1738006d4e2c7666d296.jpg","text":"TemporaryFile(/tmp/multipartBody2364804706959495918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869263900,"filename":"image_26012025_06_26_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/26/a036cd92fc125cf86a7f4ec6a09a4901.jpg","text":"TemporaryFile(/tmp/multipartBody3445361101622785283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869263900,"filename":"image_26012025_06_26_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331584129","file1":"1331584125","file0":"1331584121","file4":"1331584131","file3":"1331584130"},"map_files_photo_id_array":[{"photo_id":"1331584129","filename":"file2"},{"photo_id":"1331584131","filename":"file4"},{"photo_id":"1331584125","filename":"file1"},{"photo_id":"1331584121","filename":"file0"},{"photo_id":"1331584130","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331584121":["hashtag1","hashtag2"]},{"1331584129":["hashtag1","hashtag2"]},{"1331584131":["hashtag1","hashtag2"]},{"1331584125":["hashtag1","hashtag2"]},{"1331584130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331584121, 1331584129, 1331584131, 1331584125, 1331584130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.482473850250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:27:32.208204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_57_10355.jpg', '/home/pi/Desktop/images/26012025/06/26/image_26012025_06_27_07_10400.jpg', '/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_17_9444.jpg', '/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_27_10354.jpg', '/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_36_9401.jpg', '/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_47_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_26_57_10355.jpg
/home/pi/Desktop/images/26012025/06/26/image_26012025_06_27_07_10400.jpg
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_17_9444.jpg
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_27_10354.jpg
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_36_9401.jpg
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_47_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":["1331584508","1331584279","1331584177","1331584606","1331584714","1331584373"],"photo_ids_order":["1331584177","1331584279","1331584373","1331584508","1331584606","1331584714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fd692348c70583acd50af0d2c3cb4abc.jpg","text":"TemporaryFile(/tmp/multipartBody6498519745932908984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_27_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/26/a4d09e024abdbcba55f9a4b3370357cd.jpg","text":"TemporaryFile(/tmp/multipartBody7824013455175726353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_27_07_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/26/cda15187279c3a77174d433bcbcf595a.jpg","text":"TemporaryFile(/tmp/multipartBody1965768269475074485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_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/26/9fb71774dfa7f24e57b3af9260d47efd.jpg","text":"TemporaryFile(/tmp/multipartBody3295823584578488204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_27_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d34221afbc702fab47e371cf9b3d165b.jpg","text":"TemporaryFile(/tmp/multipartBody1172015402051478922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_27_47_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/26/1b1a153719d78c8e1bb334e6e2cb2f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8260783711585225593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869313127,"filename":"image_26012025_06_27_17_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331584373","file1":"1331584279","file0":"1331584177","file4":"1331584606","file5":"1331584714","file3":"1331584508"},"map_files_photo_id_array":[{"photo_id":"1331584714","filename":"file5"},{"photo_id":"1331584373","filename":"file2"},{"photo_id":"1331584606","filename":"file4"},{"photo_id":"1331584279","filename":"file1"},{"photo_id":"1331584177","filename":"file0"},{"photo_id":"1331584508","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331584508":["hashtag1","hashtag2"]},{"1331584279":["hashtag1","hashtag2"]},{"1331584177":["hashtag1","hashtag2"]},{"1331584606":["hashtag1","hashtag2"]},{"1331584714":["hashtag1","hashtag2"]},{"1331584373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331584508, 1331584279, 1331584177, 1331584606, 1331584714, 1331584373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.39946508407593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:28:32.398796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_57_10332.jpg', '/home/pi/Desktop/images/26012025/06/27/image_26012025_06_28_07_9460.jpg', '/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_17_10380.jpg', '/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_37_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_27_57_10332.jpg
/home/pi/Desktop/images/26012025/06/27/image_26012025_06_28_07_9460.jpg
/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_17_10380.jpg
/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_37_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":["1331584797","1331584782","1331584800","1331584793"],"photo_ids_order":["1331584782","1331584793","1331584797","1331584800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ba1030f006a4935d55db54c3a41b74ac.jpg","text":"TemporaryFile(/tmp/multipartBody5365830528058606072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869373291,"filename":"image_26012025_06_28_17_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/26/064e6dea5b8fa6f3a82050a9dc866d85.jpg","text":"TemporaryFile(/tmp/multipartBody3644677612219792890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869373291,"filename":"image_26012025_06_27_57_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/26/556629995ba6f3da140d883415f0fbee.jpg","text":"TemporaryFile(/tmp/multipartBody4138443354110196043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869373291,"filename":"image_26012025_06_28_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8705eea422941a55ec7ddcd3356dc8c.jpg","text":"TemporaryFile(/tmp/multipartBody2585069472784604703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869373291,"filename":"image_26012025_06_28_07_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331584797","file1":"1331584793","file0":"1331584782","file3":"1331584800"},"map_files_photo_id_array":[{"photo_id":"1331584797","filename":"file2"},{"photo_id":"1331584793","filename":"file1"},{"photo_id":"1331584782","filename":"file0"},{"photo_id":"1331584800","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331584797":["hashtag1","hashtag2"]},{"1331584782":["hashtag1","hashtag2"]},{"1331584800":["hashtag1","hashtag2"]},{"1331584793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331584797, 1331584782, 1331584800, 1331584793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.32943868637085 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-26 06:29:32.735014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_56_9403.jpg', '/home/pi/Desktop/images/26012025/06/28/image_26012025_06_29_07_10331.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_17_10404.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_27_9434.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_37_10372.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_46_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/28/image_26012025_06_28_56_9403.jpg
/home/pi/Desktop/images/26012025/06/28/image_26012025_06_29_07_10331.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_17_10404.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_27_9434.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_37_10372.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_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":["1331585218","1331585305","1331585172","1331585228","1331585231","1331585225"],"photo_ids_order":["1331585172","1331585218","1331585225","1331585228","1331585231","1331585305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3af0f8703393356e4b94006fbe23791.jpg","text":"TemporaryFile(/tmp/multipartBody4542032753360292214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_29_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e550f6c5694a2cd02fd17ab2d17dd64f.jpg","text":"TemporaryFile(/tmp/multipartBody2253289440579176968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_29_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/26/9d42d6ad0bf32a76ae54cc97ed216516.jpg","text":"TemporaryFile(/tmp/multipartBody2439438469192375790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_28_56_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/26/3ca1f057962583eaac54bf54fc863427.jpg","text":"TemporaryFile(/tmp/multipartBody3981288703035560326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_29_27_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/26/4d800d49af4498bf103ed8e37f00051f.jpg","text":"TemporaryFile(/tmp/multipartBody1068715350019933485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_29_37_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/26/5d8762132c36dcfd0fb50ff2ce41c546.jpg","text":"TemporaryFile(/tmp/multipartBody910001287247560202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869433684,"filename":"image_26012025_06_29_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331585225","file1":"1331585218","file0":"1331585172","file4":"1331585231","file5":"1331585305","file3":"1331585228"},"map_files_photo_id_array":[{"photo_id":"1331585305","filename":"file5"},{"photo_id":"1331585225","filename":"file2"},{"photo_id":"1331585231","filename":"file4"},{"photo_id":"1331585218","filename":"file1"},{"photo_id":"1331585172","filename":"file0"},{"photo_id":"1331585228","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331585218":["hashtag1","hashtag2"]},{"1331585305":["hashtag1","hashtag2"]},{"1331585172":["hashtag1","hashtag2"]},{"1331585228":["hashtag1","hashtag2"]},{"1331585231":["hashtag1","hashtag2"]},{"1331585225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331585218, 1331585305, 1331585172, 1331585228, 1331585231, 1331585225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07211875915527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:30:33.092466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_57_10435.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_30_07_10355.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_17_9431.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_27_10382.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_36_9460.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_47_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_57_10435.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_30_07_10355.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_17_9431.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_27_10382.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_36_9460.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_47_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.5248579978942871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:30:43.037466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_57_10435.jpg', '/home/pi/Desktop/images/26012025/06/29/image_26012025_06_30_07_10355.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_17_9431.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_27_10382.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_36_9460.jpg', '/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_47_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_29_57_10435.jpg
/home/pi/Desktop/images/26012025/06/29/image_26012025_06_30_07_10355.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_17_9431.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_27_10382.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_36_9460.jpg
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_47_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":["1331585384","1331585387","1331585375","1331585392","1331585389","1331585380"],"photo_ids_order":["1331585375","1331585380","1331585384","1331585387","1331585389","1331585392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3006d202a23387ec01f0aef1a2f37ee.jpg","text":"TemporaryFile(/tmp/multipartBody4726356569096954488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_30_17_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/26/46f0511e1b4641b9aa7733a897f6403b.jpg","text":"TemporaryFile(/tmp/multipartBody8588346162906409488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_30_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/26/9106ce402f70e6c190d4be2c20883001.jpg","text":"TemporaryFile(/tmp/multipartBody1991794067759279846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_29_57_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/26/840c2ed47ffa1a6e531c63b7a6e3302a.jpg","text":"TemporaryFile(/tmp/multipartBody1824730038614222493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_30_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/26/ed16c23b165119125ec03a17f7fdc22a.jpg","text":"TemporaryFile(/tmp/multipartBody707754505092557570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_30_36_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c19ca96e509d666972fed74af103c40f.jpg","text":"TemporaryFile(/tmp/multipartBody5890182318485571268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869503980,"filename":"image_26012025_06_30_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331585384","file1":"1331585380","file0":"1331585375","file4":"1331585389","file5":"1331585392","file3":"1331585387"},"map_files_photo_id_array":[{"photo_id":"1331585392","filename":"file5"},{"photo_id":"1331585384","filename":"file2"},{"photo_id":"1331585389","filename":"file4"},{"photo_id":"1331585380","filename":"file1"},{"photo_id":"1331585375","filename":"file0"},{"photo_id":"1331585387","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331585384":["hashtag1","hashtag2"]},{"1331585387":["hashtag1","hashtag2"]},{"1331585375":["hashtag1","hashtag2"]},{"1331585392":["hashtag1","hashtag2"]},{"1331585389":["hashtag1","hashtag2"]},{"1331585380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331585384, 1331585387, 1331585375, 1331585392, 1331585389, 1331585380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26605033874512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:31:32.244792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_57_10378.jpg', '/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_26_9314.jpg', '/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_37_10353.jpg', '/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_47_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/30/image_26012025_06_30_57_10378.jpg
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_26_9314.jpg
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_37_10353.jpg
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_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":["1331585446","1331585450","1331585426","1331585441"],"photo_ids_order":["1331585426","1331585441","1331585446","1331585450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/889edddfcbad1af8c2b776a8e5f104f8.jpg","text":"TemporaryFile(/tmp/multipartBody5403139497518718083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869553127,"filename":"image_26012025_06_31_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/26/ea95c2d5b0fda85e2a09ab56c39a6525.jpg","text":"TemporaryFile(/tmp/multipartBody7373865965876988383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869553127,"filename":"image_26012025_06_31_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/26/e16aaa6275887760305d78adadfc50a6.jpg","text":"TemporaryFile(/tmp/multipartBody1883020245517938176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869553127,"filename":"image_26012025_06_30_57_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e0c407569b7365ab4f7b93fd06062a6.jpg","text":"TemporaryFile(/tmp/multipartBody1333546900713882917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869553127,"filename":"image_26012025_06_31_26_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331585446","file1":"1331585441","file0":"1331585426","file3":"1331585450"},"map_files_photo_id_array":[{"photo_id":"1331585446","filename":"file2"},{"photo_id":"1331585441","filename":"file1"},{"photo_id":"1331585426","filename":"file0"},{"photo_id":"1331585450","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331585446":["hashtag1","hashtag2"]},{"1331585450":["hashtag1","hashtag2"]},{"1331585426":["hashtag1","hashtag2"]},{"1331585441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331585446, 1331585450, 1331585426, 1331585441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.573334217071533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:32:32.495172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_56_9344.jpg', '/home/pi/Desktop/images/26012025/06/31/image_26012025_06_32_07_10344.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_17_10393.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_26_9320.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_37_10393.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_47_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_56_9344.jpg
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_32_07_10344.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_17_10393.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_26_9320.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_37_10393.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_47_10406.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5265777111053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:32:42.458327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_56_9344.jpg', '/home/pi/Desktop/images/26012025/06/31/image_26012025_06_32_07_10344.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_17_10393.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_26_9320.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_37_10393.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_47_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_31_56_9344.jpg
/home/pi/Desktop/images/26012025/06/31/image_26012025_06_32_07_10344.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_17_10393.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_26_9320.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_37_10393.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_47_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331586121","1331585827","1331586120","1331586114","1331585636","1331586118"],"photo_ids_order":["1331585636","1331585827","1331586114","1331586118","1331586120","1331586121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/644817def58de627e015d2657ea8f17e.jpg","text":"TemporaryFile(/tmp/multipartBody8290821616476039130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_32_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cc8e990a67f394c42a773b1ed7470065.jpg","text":"TemporaryFile(/tmp/multipartBody4522606780639114393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_32_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/abd22bbc5ebae79456ca014c8d1c337b.jpg","text":"TemporaryFile(/tmp/multipartBody8194081743013092197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_32_37_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/26/8ad0791579478c34cb7504a7fd11328a.jpg","text":"TemporaryFile(/tmp/multipartBody4791705476739342885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_32_17_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/26/57329ac059e47b13201b4cbca0f5d665.jpg","text":"TemporaryFile(/tmp/multipartBody2093548737630702708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_31_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/26/658ea8a193f3ae31d40f2198fde9fc2c.jpg","text":"TemporaryFile(/tmp/multipartBody4289228159772230700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869623388,"filename":"image_26012025_06_32_26_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586114","file1":"1331585827","file0":"1331585636","file4":"1331586120","file5":"1331586121","file3":"1331586118"},"map_files_photo_id_array":[{"photo_id":"1331586121","filename":"file5"},{"photo_id":"1331586114","filename":"file2"},{"photo_id":"1331586120","filename":"file4"},{"photo_id":"1331585827","filename":"file1"},{"photo_id":"1331585636","filename":"file0"},{"photo_id":"1331586118","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586121":["hashtag1","hashtag2"]},{"1331585827":["hashtag1","hashtag2"]},{"1331586120":["hashtag1","hashtag2"]},{"1331586114":["hashtag1","hashtag2"]},{"1331585636":["hashtag1","hashtag2"]},{"1331586118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586121, 1331585827, 1331586120, 1331586114, 1331585636, 1331586118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.179200649261475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:33:32.844603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_57_9466.jpg', '/home/pi/Desktop/images/26012025/06/32/image_26012025_06_33_07_10412.jpg', '/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_16_9329.jpg', '/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_27_10353.jpg', '/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_37_10341.jpg', '/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_46_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_32_57_9466.jpg
/home/pi/Desktop/images/26012025/06/32/image_26012025_06_33_07_10412.jpg
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_16_9329.jpg
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_27_10353.jpg
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_37_10341.jpg
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_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":["1331586127","1331586409","1331586370","1331586196","1331586361","1331586124"],"photo_ids_order":["1331586124","1331586127","1331586196","1331586361","1331586370","1331586409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b287bae384a34599eff95f261cc1829c.jpg","text":"TemporaryFile(/tmp/multipartBody7981307977607812426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_33_07_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/26/4b09ca4d79bc4fd7f234bc5439ca2926.jpg","text":"TemporaryFile(/tmp/multipartBody644586174334898334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_33_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/26/20c4faa44c85e3b75039d1f49eea4570.jpg","text":"TemporaryFile(/tmp/multipartBody2765012330181429425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_33_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/26/34638fdcadae39ef9261a22bcdd15bcc.jpg","text":"TemporaryFile(/tmp/multipartBody496782701935329853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_33_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/26/f064d29699e95a5e218e5b3a8fd393fb.jpg","text":"TemporaryFile(/tmp/multipartBody1350133527871142072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_33_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2220874f875966ab2aafedadaca6445b.jpg","text":"TemporaryFile(/tmp/multipartBody2146016510918763612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869673806,"filename":"image_26012025_06_32_57_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586196","file1":"1331586127","file0":"1331586124","file4":"1331586370","file5":"1331586409","file3":"1331586361"},"map_files_photo_id_array":[{"photo_id":"1331586409","filename":"file5"},{"photo_id":"1331586196","filename":"file2"},{"photo_id":"1331586370","filename":"file4"},{"photo_id":"1331586127","filename":"file1"},{"photo_id":"1331586124","filename":"file0"},{"photo_id":"1331586361","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586127":["hashtag1","hashtag2"]},{"1331586409":["hashtag1","hashtag2"]},{"1331586370":["hashtag1","hashtag2"]},{"1331586196":["hashtag1","hashtag2"]},{"1331586361":["hashtag1","hashtag2"]},{"1331586124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586127, 1331586409, 1331586370, 1331586196, 1331586361, 1331586124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06328010559082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:34:33.072501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_57_10347.jpg', '/home/pi/Desktop/images/26012025/06/33/image_26012025_06_34_07_10358.jpg', '/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_17_9452.jpg', '/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_27_10354.jpg', '/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_36_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_33_57_10347.jpg
/home/pi/Desktop/images/26012025/06/33/image_26012025_06_34_07_10358.jpg
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_17_9452.jpg
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_27_10354.jpg
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_36_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":["1331586498","1331586503","1331586496","1331586500","1331586493"],"photo_ids_order":["1331586493","1331586496","1331586498","1331586500","1331586503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/98f6cc631030f9d3a5d7668170073b72.jpg","text":"TemporaryFile(/tmp/multipartBody785902287550898983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869733983,"filename":"image_26012025_06_34_17_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/26/de9a30ca97a00ed7a244308c0adcf138.jpg","text":"TemporaryFile(/tmp/multipartBody4618897298008160263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869733983,"filename":"image_26012025_06_34_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/26/5dfc3fa2b9369ec33a7684e7970e1d03.jpg","text":"TemporaryFile(/tmp/multipartBody3002324743594988546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869733983,"filename":"image_26012025_06_34_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/26/889625e14626d0fcd219fe0816081329.jpg","text":"TemporaryFile(/tmp/multipartBody4701938459479143741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869733983,"filename":"image_26012025_06_34_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/26/ed82f692d127fbb41b54c2528eef719b.jpg","text":"TemporaryFile(/tmp/multipartBody8840849085038801587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869733983,"filename":"image_26012025_06_33_57_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586498","file1":"1331586496","file0":"1331586493","file4":"1331586503","file3":"1331586500"},"map_files_photo_id_array":[{"photo_id":"1331586498","filename":"file2"},{"photo_id":"1331586503","filename":"file4"},{"photo_id":"1331586496","filename":"file1"},{"photo_id":"1331586493","filename":"file0"},{"photo_id":"1331586500","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586498":["hashtag1","hashtag2"]},{"1331586503":["hashtag1","hashtag2"]},{"1331586496":["hashtag1","hashtag2"]},{"1331586500":["hashtag1","hashtag2"]},{"1331586493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586498, 1331586503, 1331586496, 1331586500, 1331586493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.62924289703369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:35:32.227125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_57_10400.jpg', '/home/pi/Desktop/images/26012025/06/34/image_26012025_06_35_06_9341.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_17_10411.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_27_10382.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_37_9395.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_57_10400.jpg
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_35_06_9341.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_17_10411.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_27_10382.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_37_9395.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_47_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.5150201320648193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:35:42.180783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_57_10400.jpg', '/home/pi/Desktop/images/26012025/06/34/image_26012025_06_35_06_9341.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_17_10411.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_27_10382.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_37_9395.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_47_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_34_57_10400.jpg
/home/pi/Desktop/images/26012025/06/34/image_26012025_06_35_06_9341.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_17_10411.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_27_10382.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_37_9395.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_47_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":["1331586538","1331586525","1331586542","1331586532","1331586535","1331586529"],"photo_ids_order":["1331586525","1331586529","1331586532","1331586535","1331586538","1331586542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d71b6bce11a40bdb54a2243c6b2b3e82.jpg","text":"TemporaryFile(/tmp/multipartBody8281085004856543457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_35_37_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/26/5a566187ea2617403fd823abaf465c87.jpg","text":"TemporaryFile(/tmp/multipartBody5740294311318083774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_34_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/26/0e87ed958f1eaf39b0b96251996c30bf.jpg","text":"TemporaryFile(/tmp/multipartBody204364369094368741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_35_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/26/61ded0c761af716a3a7938b7f7c6dadc.jpg","text":"TemporaryFile(/tmp/multipartBody1706727070996768874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_35_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/26/0f614f61a85544294fe9cd07b6f271e5.jpg","text":"TemporaryFile(/tmp/multipartBody7570491188086819114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_35_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/26/7870ea694fb699487cb194ed14e6d7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4717208460144371577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869803113,"filename":"image_26012025_06_35_06_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586532","file1":"1331586529","file0":"1331586525","file4":"1331586538","file5":"1331586542","file3":"1331586535"},"map_files_photo_id_array":[{"photo_id":"1331586542","filename":"file5"},{"photo_id":"1331586532","filename":"file2"},{"photo_id":"1331586538","filename":"file4"},{"photo_id":"1331586529","filename":"file1"},{"photo_id":"1331586525","filename":"file0"},{"photo_id":"1331586535","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586538":["hashtag1","hashtag2"]},{"1331586525":["hashtag1","hashtag2"]},{"1331586542":["hashtag1","hashtag2"]},{"1331586532":["hashtag1","hashtag2"]},{"1331586535":["hashtag1","hashtag2"]},{"1331586529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586538, 1331586525, 1331586542, 1331586532, 1331586535, 1331586529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10656428337097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:36:32.470315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_56_9358.jpg', '/home/pi/Desktop/images/26012025/06/35/image_26012025_06_36_07_10364.jpg', '/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_17_10405.jpg', '/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_26_9338.jpg', '/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_37_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_35_56_9358.jpg
/home/pi/Desktop/images/26012025/06/35/image_26012025_06_36_07_10364.jpg
/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_17_10405.jpg
/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_26_9338.jpg
/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_37_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":["1331586558","1331586560","1331586550","1331586553","1331586556"],"photo_ids_order":["1331586550","1331586553","1331586556","1331586558","1331586560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d93e302ecfc526527a48a9ea00906de7.jpg","text":"TemporaryFile(/tmp/multipartBody2735051476209122246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869853396,"filename":"image_26012025_06_36_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e984f4dc00b3a65566c22945a86e335.jpg","text":"TemporaryFile(/tmp/multipartBody429479444134667845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869853396,"filename":"image_26012025_06_36_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9024b55a3e722a232baa87e37013e165.jpg","text":"TemporaryFile(/tmp/multipartBody2280103387438737000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869853396,"filename":"image_26012025_06_35_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/26/f4cc4cde8277d48fe9d1e676be1da34a.jpg","text":"TemporaryFile(/tmp/multipartBody1863928385034852891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869853396,"filename":"image_26012025_06_36_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4bd7cff3f5654a60356fac8c99472b0.jpg","text":"TemporaryFile(/tmp/multipartBody7974909026922379058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869853396,"filename":"image_26012025_06_36_17_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586556","file1":"1331586553","file0":"1331586550","file4":"1331586560","file3":"1331586558"},"map_files_photo_id_array":[{"photo_id":"1331586556","filename":"file2"},{"photo_id":"1331586560","filename":"file4"},{"photo_id":"1331586553","filename":"file1"},{"photo_id":"1331586550","filename":"file0"},{"photo_id":"1331586558","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586558":["hashtag1","hashtag2"]},{"1331586560":["hashtag1","hashtag2"]},{"1331586550":["hashtag1","hashtag2"]},{"1331586553":["hashtag1","hashtag2"]},{"1331586556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586558, 1331586560, 1331586550, 1331586553, 1331586556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.795594453811646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:37:32.646700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_47_10352.jpg', '/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_17_9912.jpg', '/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_27_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/36/image_26012025_06_36_47_10352.jpg
/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_17_9912.jpg
/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_27_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331586718","1331586923","1331586826"],"photo_ids_order":["1331586718","1331586826","1331586923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5671ffc6004065858017799302d111a1.jpg","text":"TemporaryFile(/tmp/multipartBody1073449473939932401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869913520,"filename":"image_26012025_06_36_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/26/09e9c2bcbbb92730cbbe9689e8a7fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody3033362383137420377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869913520,"filename":"image_26012025_06_37_27_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/26/6b26ebebed68b77c702d186ee62fd163.jpg","text":"TemporaryFile(/tmp/multipartBody3760388841979257010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869913520,"filename":"image_26012025_06_37_17_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331586923","file1":"1331586826","file0":"1331586718"},"map_files_photo_id_array":[{"photo_id":"1331586923","filename":"file2"},{"photo_id":"1331586826","filename":"file1"},{"photo_id":"1331586718","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331586718":["hashtag1","hashtag2"]},{"1331586923":["hashtag1","hashtag2"]},{"1331586826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331586718, 1331586923, 1331586826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.094650268554688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:38:03.398577
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_44_9354.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_55_10362.jpg', '/home/pi/Desktop/images/23012025/21/32/image_23012025_21_33_04_9421.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_15_10337.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_25_10480.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_34_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_44_9354.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_32_55_10362.jpg
/home/pi/Desktop/images/23012025/21/32/image_23012025_21_33_04_9421.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_15_10337.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_25_10480.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_34_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":["1331587199","1331587208","1331587201","1331587210","1331587204","1331587197"],"photo_ids_order":["1331587197","1331587199","1331587201","1331587204","1331587208","1331587210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c2ff3bcd316a3bce1245e17ca642ae5a.jpg","text":"TemporaryFile(/tmp/multipartBody2002126569209456132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_32_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/234e6d1759e454de8f0044a498a02661.jpg","text":"TemporaryFile(/tmp/multipartBody1506776745594788758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_33_25_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/26/66d23aa1629437d84e9ef889dd17d7c7.jpg","text":"TemporaryFile(/tmp/multipartBody3055580087692018758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_33_04_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3f1a9aae1d82b37d9378b8e7c3634e24.jpg","text":"TemporaryFile(/tmp/multipartBody628696100147061918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_33_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/26/c7121001c8a0479a8641bb3cb93898bc.jpg","text":"TemporaryFile(/tmp/multipartBody272101147745595028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_33_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/26/7a7ae1ae5bf33f3dffa03376b09fe73c.jpg","text":"TemporaryFile(/tmp/multipartBody2410114763658589319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737869945080,"filename":"image_23012025_21_32_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587201","file1":"1331587199","file0":"1331587197","file4":"1331587208","file5":"1331587210","file3":"1331587204"},"map_files_photo_id_array":[{"photo_id":"1331587210","filename":"file5"},{"photo_id":"1331587201","filename":"file2"},{"photo_id":"1331587208","filename":"file4"},{"photo_id":"1331587199","filename":"file1"},{"photo_id":"1331587197","filename":"file0"},{"photo_id":"1331587204","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331587199":["hashtag1","hashtag2"]},{"1331587208":["hashtag1","hashtag2"]},{"1331587201":["hashtag1","hashtag2"]},{"1331587210":["hashtag1","hashtag2"]},{"1331587204":["hashtag1","hashtag2"]},{"1331587197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331587199, 1331587208, 1331587201, 1331587210, 1331587204, 1331587197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72199988365173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 06:38:52.753545
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_45_10336.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_55_10449.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_34_05_9349.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_15_10404.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_24_9358.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_45_10336.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_55_10449.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_34_05_9349.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_15_10404.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_24_9358.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_45_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: 4.380648612976074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:39:04.442076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_36_9332.jpg', '/home/pi/Desktop/images/26012025/06/37/image_26012025_06_38_06_9322.jpg', '/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_17_10350.jpg', '/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_27_10368.jpg', '/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_37_9485.jpg', '/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_47_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/37/image_26012025_06_37_36_9332.jpg
/home/pi/Desktop/images/26012025/06/37/image_26012025_06_38_06_9322.jpg
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_17_10350.jpg
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_27_10368.jpg
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_37_9485.jpg
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_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":["1331587350","1331587562","1331587262","1331587538","1331587558","1331587447"],"photo_ids_order":["1331587262","1331587350","1331587447","1331587538","1331587558","1331587562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/07e8784a1458e0db43aef04dcd332a81.jpg","text":"TemporaryFile(/tmp/multipartBody3528776429920646492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_38_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/26/6cc698599c0e7a3cf191173c2f27ffee.jpg","text":"TemporaryFile(/tmp/multipartBody5959222422114539064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_38_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/26/9166c0efa9699474d1741df0b30496cd.jpg","text":"TemporaryFile(/tmp/multipartBody4758073654406412342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_37_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e695a29606f6c5dfb53f26330d8f501e.jpg","text":"TemporaryFile(/tmp/multipartBody8775842132862766079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_38_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/26/90246aff37c207c01322429465feaba0.jpg","text":"TemporaryFile(/tmp/multipartBody5053901682269702345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_38_37_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/26/19a2696a96891c52b1bd946fee52f40e.jpg","text":"TemporaryFile(/tmp/multipartBody3452705102392603563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870005565,"filename":"image_26012025_06_38_17_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587447","file1":"1331587350","file0":"1331587262","file4":"1331587558","file5":"1331587562","file3":"1331587538"},"map_files_photo_id_array":[{"photo_id":"1331587562","filename":"file5"},{"photo_id":"1331587447","filename":"file2"},{"photo_id":"1331587558","filename":"file4"},{"photo_id":"1331587350","filename":"file1"},{"photo_id":"1331587262","filename":"file0"},{"photo_id":"1331587538","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587350":["hashtag1","hashtag2"]},{"1331587562":["hashtag1","hashtag2"]},{"1331587262":["hashtag1","hashtag2"]},{"1331587538":["hashtag1","hashtag2"]},{"1331587558":["hashtag1","hashtag2"]},{"1331587447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587350, 1331587562, 1331587262, 1331587538, 1331587558, 1331587447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.496204137802124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 06:39:53.007104
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_45_10336.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_55_10449.jpg', '/home/pi/Desktop/images/23012025/21/33/image_23012025_21_34_05_9349.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_15_10404.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_24_9358.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_45_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_45_10336.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_33_55_10449.jpg
/home/pi/Desktop/images/23012025/21/33/image_23012025_21_34_05_9349.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_15_10404.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_24_9358.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_45_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":["1331587722","1331587713","1331587664","1331587673","1331587718","1331587708"],"photo_ids_order":["1331587664","1331587673","1331587708","1331587713","1331587718","1331587722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/785384b5a28be4da402d17efd4db9ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4669408856162304732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_34_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/26/1fd1bce5b775c8a394bd3a01221be1c3.jpg","text":"TemporaryFile(/tmp/multipartBody180868014822357027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_34_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d44fbefa09a92abf876360b8e22ab26e.jpg","text":"TemporaryFile(/tmp/multipartBody2210591549059547065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_33_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/26/59f3904ab2078cee02dc648190ab509a.jpg","text":"TemporaryFile(/tmp/multipartBody8761132436969803201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_33_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0905fad0fd4d8a9ee2dd65d4ddfc06d6.jpg","text":"TemporaryFile(/tmp/multipartBody5014366577087994095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_34_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/26/4e2dddd3981845b7e56f641217fe5245.jpg","text":"TemporaryFile(/tmp/multipartBody6182752182944639226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870055317,"filename":"image_23012025_21_34_05_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587708","file1":"1331587673","file0":"1331587664","file4":"1331587718","file5":"1331587722","file3":"1331587713"},"map_files_photo_id_array":[{"photo_id":"1331587722","filename":"file5"},{"photo_id":"1331587708","filename":"file2"},{"photo_id":"1331587718","filename":"file4"},{"photo_id":"1331587673","filename":"file1"},{"photo_id":"1331587664","filename":"file0"},{"photo_id":"1331587713","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331587722":["hashtag1","hashtag2"]},{"1331587713":["hashtag1","hashtag2"]},{"1331587664":["hashtag1","hashtag2"]},{"1331587673":["hashtag1","hashtag2"]},{"1331587718":["hashtag1","hashtag2"]},{"1331587708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331587722, 1331587713, 1331587664, 1331587673, 1331587718, 1331587708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.51595711708069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:40:42.242317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_56_9331.jpg', '/home/pi/Desktop/images/26012025/06/38/image_26012025_06_39_07_10376.jpg', '/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_17_10332.jpg', '/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_26_9347.jpg', '/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_37_10354.jpg', '/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_47_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_38_56_9331.jpg
/home/pi/Desktop/images/26012025/06/38/image_26012025_06_39_07_10376.jpg
/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_17_10332.jpg
/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_26_9347.jpg
/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_37_10354.jpg
/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_47_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331587773","1331587767","1331587761","1331587768","1331587770","1331587764"],"photo_ids_order":["1331587761","1331587764","1331587767","1331587768","1331587770","1331587773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7cd6e46b0c5c5db9565fbccb8b1a981.jpg","text":"TemporaryFile(/tmp/multipartBody4521006574486643182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_39_47_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/26/49f3a10f082ee419ea05a67174720de5.jpg","text":"TemporaryFile(/tmp/multipartBody6247369889400603726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_39_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/780e5ce135790e80f8e4be56fdbf52b4.jpg","text":"TemporaryFile(/tmp/multipartBody196993601386017823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_38_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/26/3e2dfeefc2847d6d849fe835b722a695.jpg","text":"TemporaryFile(/tmp/multipartBody11338797559176877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_39_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/26/59ac0420f758e924f52c3110bf95831a.jpg","text":"TemporaryFile(/tmp/multipartBody4719993838900371848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_39_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/26/b8f4b867d9290395a761eac333e57122.jpg","text":"TemporaryFile(/tmp/multipartBody9185130993378360471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870103201,"filename":"image_26012025_06_39_07_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587767","file1":"1331587764","file0":"1331587761","file4":"1331587770","file5":"1331587773","file3":"1331587768"},"map_files_photo_id_array":[{"photo_id":"1331587773","filename":"file5"},{"photo_id":"1331587767","filename":"file2"},{"photo_id":"1331587770","filename":"file4"},{"photo_id":"1331587764","filename":"file1"},{"photo_id":"1331587761","filename":"file0"},{"photo_id":"1331587768","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587773":["hashtag1","hashtag2"]},{"1331587767":["hashtag1","hashtag2"]},{"1331587761":["hashtag1","hashtag2"]},{"1331587768":["hashtag1","hashtag2"]},{"1331587770":["hashtag1","hashtag2"]},{"1331587764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587773, 1331587767, 1331587761, 1331587768, 1331587770, 1331587764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5866584777832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:41:32.445037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_57_9394.jpg', '/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_16_9325.jpg', '/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_27_10430.jpg', '/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_37_10337.jpg', '/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_46_9344.jpg', '/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_57_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/39/image_26012025_06_39_57_9394.jpg
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_16_9325.jpg
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_27_10430.jpg
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_37_10337.jpg
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_46_9344.jpg
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_40_57_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":["1331587798","1331587792","1331587795","1331587789","1331587801","1331587785"],"photo_ids_order":["1331587785","1331587789","1331587792","1331587795","1331587798","1331587801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b8cadf20d189e3a20e119c34ef97cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody4003640369748744841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_40_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/26/1c1d0be9509131cd831f3aa9b4cc94f1.jpg","text":"TemporaryFile(/tmp/multipartBody6248522274690373418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_40_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33fab58558f88174e388fe34018ea9e2.jpg","text":"TemporaryFile(/tmp/multipartBody1339904428803060290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_40_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/231400e97dea7f926035af1a6771ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody4521006915753787207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_40_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a74b506c4a8d0bb8e24443d3ab158ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4646526726091130150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_40_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/055a6559c7a3441b6a3f50517c354b9e.jpg","text":"TemporaryFile(/tmp/multipartBody718472452266050061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870153376,"filename":"image_26012025_06_39_57_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587792","file1":"1331587789","file0":"1331587785","file4":"1331587798","file5":"1331587801","file3":"1331587795"},"map_files_photo_id_array":[{"photo_id":"1331587801","filename":"file5"},{"photo_id":"1331587792","filename":"file2"},{"photo_id":"1331587798","filename":"file4"},{"photo_id":"1331587789","filename":"file1"},{"photo_id":"1331587785","filename":"file0"},{"photo_id":"1331587795","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587798":["hashtag1","hashtag2"]},{"1331587792":["hashtag1","hashtag2"]},{"1331587795":["hashtag1","hashtag2"]},{"1331587789":["hashtag1","hashtag2"]},{"1331587801":["hashtag1","hashtag2"]},{"1331587785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587798, 1331587792, 1331587795, 1331587789, 1331587801, 1331587785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5868022441864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:42:32.639043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/40/image_26012025_06_41_06_9433.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_17_10417.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_36_9405.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_47_10473.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_56_9331.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_42_07_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_41_06_9433.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_17_10417.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_36_9405.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_47_10473.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_56_9331.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_42_07_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.5409181118011475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:42:42.635181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/40/image_26012025_06_41_06_9433.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_17_10417.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_36_9405.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_47_10473.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_56_9331.jpg', '/home/pi/Desktop/images/26012025/06/41/image_26012025_06_42_07_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/40/image_26012025_06_41_06_9433.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_17_10417.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_36_9405.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_47_10473.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_41_56_9331.jpg
/home/pi/Desktop/images/26012025/06/41/image_26012025_06_42_07_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":["1331587842","1331587838","1331587852","1331587849","1331587834","1331587846"],"photo_ids_order":["1331587834","1331587838","1331587842","1331587846","1331587849","1331587852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd77d7c4836b3a4b89b3602255039cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4582474732620101711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_41_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f329172f287af51295a7551fafe5fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2029283544692972535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_41_17_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/26/b4a2ef2dd92b43bfb823f25c8c3d5826.jpg","text":"TemporaryFile(/tmp/multipartBody4898592574833238693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_42_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c5031441d0051635e0a4ae655471dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3134954297331837744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_41_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/26/3620a5f5a12777c4ba929935348e676f.jpg","text":"TemporaryFile(/tmp/multipartBody8361705334042235536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_41_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/80e4eb9b6b756e42f70bd1814914a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody365749282419313697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870223563,"filename":"image_26012025_06_41_47_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587842","file1":"1331587838","file0":"1331587834","file4":"1331587849","file5":"1331587852","file3":"1331587846"},"map_files_photo_id_array":[{"photo_id":"1331587852","filename":"file5"},{"photo_id":"1331587842","filename":"file2"},{"photo_id":"1331587849","filename":"file4"},{"photo_id":"1331587838","filename":"file1"},{"photo_id":"1331587834","filename":"file0"},{"photo_id":"1331587846","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587842":["hashtag1","hashtag2"]},{"1331587838":["hashtag1","hashtag2"]},{"1331587852":["hashtag1","hashtag2"]},{"1331587849":["hashtag1","hashtag2"]},{"1331587834":["hashtag1","hashtag2"]},{"1331587846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587842, 1331587838, 1331587852, 1331587849, 1331587834, 1331587846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30913186073303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:43:32.882568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_17_10344.jpg', '/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_26_9360.jpg', '/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_47_10366.jpg', '/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_56_9335.jpg', '/home/pi/Desktop/images/26012025/06/42/image_26012025_06_43_07_10376.jpg', '/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_17_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_17_10344.jpg
/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_26_9360.jpg
/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_47_10366.jpg
/home/pi/Desktop/images/26012025/06/42/image_26012025_06_42_56_9335.jpg
/home/pi/Desktop/images/26012025/06/42/image_26012025_06_43_07_10376.jpg
/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_17_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331587866","1331587869","1331587874","1331587877","1331587871","1331587879"],"photo_ids_order":["1331587866","1331587869","1331587871","1331587874","1331587877","1331587879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b16a69e1bcc3aa67c30e6d17fd1236b1.jpg","text":"TemporaryFile(/tmp/multipartBody2765314069976803224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_42_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/26/63ae449f9302dc0370dd1cf674586b82.jpg","text":"TemporaryFile(/tmp/multipartBody682856403168950454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_42_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/26/15e7dca9c8b4e8169e7af1e3fd7269ab.jpg","text":"TemporaryFile(/tmp/multipartBody2413384609754801922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_42_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/26/9cd53166423e2340b43739379482f26f.jpg","text":"TemporaryFile(/tmp/multipartBody7489892437446398710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_43_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d07d966eac22d439add18b6a1b968560.jpg","text":"TemporaryFile(/tmp/multipartBody2423964062184742205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_42_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/26/c34fc45ef6e8cb146fac0a264a9fb43b.jpg","text":"TemporaryFile(/tmp/multipartBody9121967859518393272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870273810,"filename":"image_26012025_06_43_17_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587871","file1":"1331587869","file0":"1331587866","file4":"1331587877","file5":"1331587879","file3":"1331587874"},"map_files_photo_id_array":[{"photo_id":"1331587879","filename":"file5"},{"photo_id":"1331587871","filename":"file2"},{"photo_id":"1331587877","filename":"file4"},{"photo_id":"1331587869","filename":"file1"},{"photo_id":"1331587866","filename":"file0"},{"photo_id":"1331587874","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587866":["hashtag1","hashtag2"]},{"1331587869":["hashtag1","hashtag2"]},{"1331587874":["hashtag1","hashtag2"]},{"1331587877":["hashtag1","hashtag2"]},{"1331587871":["hashtag1","hashtag2"]},{"1331587879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587866, 1331587869, 1331587874, 1331587877, 1331587871, 1331587879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09700345993042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:44:33.116165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_27_9437.jpg', '/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_37_10343.jpg', '/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_46_9350.jpg', '/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_57_10394.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_16_9335.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_27_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_27_9437.jpg
/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_37_10343.jpg
/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_46_9350.jpg
/home/pi/Desktop/images/26012025/06/43/image_26012025_06_43_57_10394.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_16_9335.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_27_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331587905","1331587907","1331587897","1331587894","1331587903","1331587900"],"photo_ids_order":["1331587894","1331587897","1331587900","1331587903","1331587905","1331587907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0b875d6fd17af245a42b2dbfa952f225.jpg","text":"TemporaryFile(/tmp/multipartBody5721576912558695463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_44_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/26/0362532fa233b42e96ea5c75e297b2b8.jpg","text":"TemporaryFile(/tmp/multipartBody9177967570026150867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_44_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/26/50a63d12178adde2afb64a48a2e3c0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5105729743039943329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_43_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e789cbea932db6120cbe7bd405c014b.jpg","text":"TemporaryFile(/tmp/multipartBody5325223322062480740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_43_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/26/2329e58deddc6b06a3e770f647eaac22.jpg","text":"TemporaryFile(/tmp/multipartBody3026592448037260975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_43_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/26/66e3c0defbfc95fc702027264b17193a.jpg","text":"TemporaryFile(/tmp/multipartBody1644252897377734537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870334072,"filename":"image_26012025_06_43_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587900","file1":"1331587897","file0":"1331587894","file4":"1331587905","file5":"1331587907","file3":"1331587903"},"map_files_photo_id_array":[{"photo_id":"1331587907","filename":"file5"},{"photo_id":"1331587900","filename":"file2"},{"photo_id":"1331587905","filename":"file4"},{"photo_id":"1331587897","filename":"file1"},{"photo_id":"1331587894","filename":"file0"},{"photo_id":"1331587903","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587905":["hashtag1","hashtag2"]},{"1331587907":["hashtag1","hashtag2"]},{"1331587897":["hashtag1","hashtag2"]},{"1331587894":["hashtag1","hashtag2"]},{"1331587903":["hashtag1","hashtag2"]},{"1331587900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587905, 1331587907, 1331587897, 1331587894, 1331587903, 1331587900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73022794723511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:45:32.337198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_37_10334.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_46_9445.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_57_10435.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_45_07_10337.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_17_9425.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_27_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_37_10334.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_46_9445.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_57_10435.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_45_07_10337.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_17_9425.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_27_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5439498424530029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:45:42.302184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_37_10334.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_46_9445.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_57_10435.jpg', '/home/pi/Desktop/images/26012025/06/44/image_26012025_06_45_07_10337.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_17_9425.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_27_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_37_10334.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_46_9445.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_44_57_10435.jpg
/home/pi/Desktop/images/26012025/06/44/image_26012025_06_45_07_10337.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_17_9425.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_27_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":["1331587944","1331587938","1331587926","1331587941","1331587931","1331587934"],"photo_ids_order":["1331587926","1331587931","1331587934","1331587938","1331587941","1331587944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/048a2c6fea85defa4fed70ff8b9fc95b.jpg","text":"TemporaryFile(/tmp/multipartBody7582848094982301220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_45_27_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e81ddf2a85c0455d097ebdc48f1695fa.jpg","text":"TemporaryFile(/tmp/multipartBody4945911501674442085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_45_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/78078143ef3dc85efeca3df021c0207b.jpg","text":"TemporaryFile(/tmp/multipartBody4890714087034030167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_44_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7671c5fa5c7df94f9217ecb0ac4199a0.jpg","text":"TemporaryFile(/tmp/multipartBody3232569713220726740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_45_17_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/26/9a87ab5d6dc1bcc406ac15894e09c184.jpg","text":"TemporaryFile(/tmp/multipartBody4651297184302011531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_44_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/26/3ac2167b1bb5f4b27b66a2910be75ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3901209647034763853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870403231,"filename":"image_26012025_06_44_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587934","file1":"1331587931","file0":"1331587926","file4":"1331587941","file5":"1331587944","file3":"1331587938"},"map_files_photo_id_array":[{"photo_id":"1331587944","filename":"file5"},{"photo_id":"1331587934","filename":"file2"},{"photo_id":"1331587941","filename":"file4"},{"photo_id":"1331587931","filename":"file1"},{"photo_id":"1331587926","filename":"file0"},{"photo_id":"1331587938","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587944":["hashtag1","hashtag2"]},{"1331587938":["hashtag1","hashtag2"]},{"1331587926":["hashtag1","hashtag2"]},{"1331587941":["hashtag1","hashtag2"]},{"1331587931":["hashtag1","hashtag2"]},{"1331587934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587944, 1331587938, 1331587926, 1331587941, 1331587931, 1331587934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.214736223220825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:46:32.654155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_36_9332.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_47_10360.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_57_10369.jpg', '/home/pi/Desktop/images/26012025/06/45/image_26012025_06_46_06_9349.jpg', '/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_17_10355.jpg', '/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_36_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_36_9332.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_47_10360.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_45_57_10369.jpg
/home/pi/Desktop/images/26012025/06/45/image_26012025_06_46_06_9349.jpg
/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_17_10355.jpg
/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_36_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":["1331587997","1331587976","1331587952","1331587981","1331587999","1331587960"],"photo_ids_order":["1331587952","1331587960","1331587976","1331587981","1331587997","1331587999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6e460ac17ae72eebca8d32080962c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7600975657707167856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_46_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/26/57cac278feeef8d72ebbb18a56e9bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody3459469404073567282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_45_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aed6d00f49b22c9af320433744cb03c6.jpg","text":"TemporaryFile(/tmp/multipartBody3626953787051427249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_45_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d74d24c67ec54267fee45cd96d54316c.jpg","text":"TemporaryFile(/tmp/multipartBody2218668554513229940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_46_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/26/9261e4c4a3b5b6a285801a5e0b0c5ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2213003308017398902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_46_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/26/8ac0ccfe1bf9da3e74a2d73bca382522.jpg","text":"TemporaryFile(/tmp/multipartBody8899050185845150909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870453580,"filename":"image_26012025_06_45_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331587976","file1":"1331587960","file0":"1331587952","file4":"1331587997","file5":"1331587999","file3":"1331587981"},"map_files_photo_id_array":[{"photo_id":"1331587999","filename":"file5"},{"photo_id":"1331587976","filename":"file2"},{"photo_id":"1331587997","filename":"file4"},{"photo_id":"1331587960","filename":"file1"},{"photo_id":"1331587952","filename":"file0"},{"photo_id":"1331587981","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331587997":["hashtag1","hashtag2"]},{"1331587976":["hashtag1","hashtag2"]},{"1331587952":["hashtag1","hashtag2"]},{"1331587981":["hashtag1","hashtag2"]},{"1331587999":["hashtag1","hashtag2"]},{"1331587960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331587997, 1331587976, 1331587952, 1331587981, 1331587999, 1331587960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.445844411849976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:47:33.038212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_57_10389.jpg', '/home/pi/Desktop/images/26012025/06/46/image_26012025_06_47_07_9438.jpg', '/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_26_9325.jpg', '/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_37_10452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/46/image_26012025_06_46_57_10389.jpg
/home/pi/Desktop/images/26012025/06/46/image_26012025_06_47_07_9438.jpg
/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_26_9325.jpg
/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_37_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":["1331588022","1331588027","1331588020","1331588025"],"photo_ids_order":["1331588020","1331588022","1331588025","1331588027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ea05ae4a267c74bf949ff6872b064b1.jpg","text":"TemporaryFile(/tmp/multipartBody5644465930644105547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870513934,"filename":"image_26012025_06_47_07_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/26/a2db5852c17b3ddc54577c6327b63d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6829412845038946534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870513934,"filename":"image_26012025_06_47_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/26/b5e728d339b93bf0e207cc9f40fd4380.jpg","text":"TemporaryFile(/tmp/multipartBody3158837632420676224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870513934,"filename":"image_26012025_06_46_57_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/26/735331ba0c843fec794642c2a5839bab.jpg","text":"TemporaryFile(/tmp/multipartBody951900542770819510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870513934,"filename":"image_26012025_06_47_26_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331588025","file1":"1331588022","file0":"1331588020","file3":"1331588027"},"map_files_photo_id_array":[{"photo_id":"1331588025","filename":"file2"},{"photo_id":"1331588022","filename":"file1"},{"photo_id":"1331588020","filename":"file0"},{"photo_id":"1331588027","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331588022":["hashtag1","hashtag2"]},{"1331588027":["hashtag1","hashtag2"]},{"1331588020":["hashtag1","hashtag2"]},{"1331588025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331588022, 1331588027, 1331588020, 1331588025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.42635416984558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:48:33.156811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_47_10355.jpg', '/home/pi/Desktop/images/26012025/06/47/image_26012025_06_48_07_10348.jpg', '/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_17_10325.jpg', '/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_26_9328.jpg', '/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_37_10339.jpg', '/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_47_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/47/image_26012025_06_47_47_10355.jpg
/home/pi/Desktop/images/26012025/06/47/image_26012025_06_48_07_10348.jpg
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_17_10325.jpg
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_26_9328.jpg
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_37_10339.jpg
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_47_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":["1331588066","1331588078","1331588063","1331588073","1331588076","1331588070"],"photo_ids_order":["1331588063","1331588066","1331588070","1331588073","1331588076","1331588078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c7dd5a836583f2099a9fc74e4e302c2.jpg","text":"TemporaryFile(/tmp/multipartBody4210453886088404423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_48_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/26/fe7c8e356f91eb43acd8a360785e5f3f.jpg","text":"TemporaryFile(/tmp/multipartBody178698998326893628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_48_47_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/944329b3ddd21382a463eeb602d2d904.jpg","text":"TemporaryFile(/tmp/multipartBody2383337999536420282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_47_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/26/eccc87d296e48488449b034743536376.jpg","text":"TemporaryFile(/tmp/multipartBody7996684564744766045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_48_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6064cae35b495218acc8fa537b261a41.jpg","text":"TemporaryFile(/tmp/multipartBody2349986437859190728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_48_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac549322978bc395f1dbe9ac42580f40.jpg","text":"TemporaryFile(/tmp/multipartBody3486472706306670659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870574078,"filename":"image_26012025_06_48_17_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331588070","file1":"1331588066","file0":"1331588063","file4":"1331588076","file5":"1331588078","file3":"1331588073"},"map_files_photo_id_array":[{"photo_id":"1331588078","filename":"file5"},{"photo_id":"1331588070","filename":"file2"},{"photo_id":"1331588076","filename":"file4"},{"photo_id":"1331588066","filename":"file1"},{"photo_id":"1331588063","filename":"file0"},{"photo_id":"1331588073","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331588066":["hashtag1","hashtag2"]},{"1331588078":["hashtag1","hashtag2"]},{"1331588063":["hashtag1","hashtag2"]},{"1331588073":["hashtag1","hashtag2"]},{"1331588076":["hashtag1","hashtag2"]},{"1331588070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331588066, 1331588078, 1331588063, 1331588073, 1331588076, 1331588070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78834295272827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:49:32.434503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_56_9339.jpg', '/home/pi/Desktop/images/26012025/06/48/image_26012025_06_49_07_10422.jpg', '/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_16_9447.jpg', '/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_27_10341.jpg', '/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_37_10347.jpg', '/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_46_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_48_56_9339.jpg
/home/pi/Desktop/images/26012025/06/48/image_26012025_06_49_07_10422.jpg
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_16_9447.jpg
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_27_10341.jpg
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_37_10347.jpg
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_46_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331588864","1331588849","1331588887","1331588914","1331588895","1331588961"],"photo_ids_order":["1331588849","1331588864","1331588887","1331588895","1331588914","1331588961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b190ba6258da53a9963d73f905ac43c1.jpg","text":"TemporaryFile(/tmp/multipartBody4374721393770713756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_49_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/26/45b207a088e20fa3f13d145cfd6e7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody943236950554590791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_48_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/26/0423fa9ecc850815327631ac646608dc.jpg","text":"TemporaryFile(/tmp/multipartBody8664092085929742727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_49_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/26/9032266d1c752dbe51c885e6ca8b0a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6840315679298577175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_49_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/26/cf4a4d3a27706e157112cb3e618f94a4.jpg","text":"TemporaryFile(/tmp/multipartBody2915328479770847542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_49_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/26/2eec3c9209f2bede7d23a7873e8236d1.jpg","text":"TemporaryFile(/tmp/multipartBody8156244178681366921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870633373,"filename":"image_26012025_06_49_46_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331588887","file1":"1331588864","file0":"1331588849","file4":"1331588914","file5":"1331588961","file3":"1331588895"},"map_files_photo_id_array":[{"photo_id":"1331588961","filename":"file5"},{"photo_id":"1331588887","filename":"file2"},{"photo_id":"1331588914","filename":"file4"},{"photo_id":"1331588864","filename":"file1"},{"photo_id":"1331588849","filename":"file0"},{"photo_id":"1331588895","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331588864":["hashtag1","hashtag2"]},{"1331588849":["hashtag1","hashtag2"]},{"1331588887":["hashtag1","hashtag2"]},{"1331588914":["hashtag1","hashtag2"]},{"1331588895":["hashtag1","hashtag2"]},{"1331588961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331588864, 1331588849, 1331588887, 1331588914, 1331588895, 1331588961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4794864654541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:50:32.641279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_57_10417.jpg', '/home/pi/Desktop/images/26012025/06/49/image_26012025_06_50_07_10371.jpg', '/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_17_9474.jpg', '/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_27_10355.jpg', '/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_36_9387.jpg', '/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_47_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_49_57_10417.jpg
/home/pi/Desktop/images/26012025/06/49/image_26012025_06_50_07_10371.jpg
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_17_9474.jpg
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_27_10355.jpg
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_36_9387.jpg
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_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":["1331589092","1331589292","1331589119","1331589106","1331589096","1331589102"],"photo_ids_order":["1331589092","1331589096","1331589102","1331589106","1331589119","1331589292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5263bfdf80a56e2073ce63e6a6efc015.jpg","text":"TemporaryFile(/tmp/multipartBody8911853357167825580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_49_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/26/5398d07a5929a9fe617459542c81a045.jpg","text":"TemporaryFile(/tmp/multipartBody7626904427515681919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_50_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/26/9d7ddb1abf711e8fc98e8584c01e2a2a.jpg","text":"TemporaryFile(/tmp/multipartBody5590164804884320816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_50_36_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a941eba0baa8aa7257b59173360b40e3.jpg","text":"TemporaryFile(/tmp/multipartBody5284949658606974601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_50_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/26/52c6c6c5bdb4a79f6edddf2f59faab56.jpg","text":"TemporaryFile(/tmp/multipartBody6928469163586074932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_50_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/26/a67b9b8c3c2e4353d2d689cf3acad32d.jpg","text":"TemporaryFile(/tmp/multipartBody6298498973566099485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870693611,"filename":"image_26012025_06_50_17_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331589102","file1":"1331589096","file0":"1331589092","file4":"1331589119","file5":"1331589292","file3":"1331589106"},"map_files_photo_id_array":[{"photo_id":"1331589292","filename":"file5"},{"photo_id":"1331589102","filename":"file2"},{"photo_id":"1331589119","filename":"file4"},{"photo_id":"1331589096","filename":"file1"},{"photo_id":"1331589092","filename":"file0"},{"photo_id":"1331589106","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331589092":["hashtag1","hashtag2"]},{"1331589292":["hashtag1","hashtag2"]},{"1331589119":["hashtag1","hashtag2"]},{"1331589106":["hashtag1","hashtag2"]},{"1331589096":["hashtag1","hashtag2"]},{"1331589102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331589092, 1331589292, 1331589119, 1331589106, 1331589096, 1331589102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.429486989974976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:51:32.979858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_57_10357.jpg', '/home/pi/Desktop/images/26012025/06/50/image_26012025_06_51_07_9472.jpg', '/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_17_10325.jpg', '/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_26_9373.jpg', '/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_37_10424.jpg', '/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_47_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_50_57_10357.jpg
/home/pi/Desktop/images/26012025/06/50/image_26012025_06_51_07_9472.jpg
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_17_10325.jpg
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_26_9373.jpg
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_37_10424.jpg
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_47_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":["1331589783","1331590138","1331589888","1331589975","1331590047","1331589671"],"photo_ids_order":["1331589671","1331589783","1331589888","1331589975","1331590047","1331590138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3eb8ef8cd3109f0e96e553fd3130cda.jpg","text":"TemporaryFile(/tmp/multipartBody2882490546513278829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_51_07_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/26/b32fe6d71fbab72e592c5eb7ddc98f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4750438839593316650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_51_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/26/10932e41d1f6be4c061aeebbf4597c2d.jpg","text":"TemporaryFile(/tmp/multipartBody4227375313333467775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_51_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a61d51f50a28980a540a342cba567157.jpg","text":"TemporaryFile(/tmp/multipartBody716025468866537598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_51_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3f39e8ccd3bbe7545f5bceee5175ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody8191189969989165058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_51_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/26/8c35ac49e81ffadfa256e0e983efc7de.jpg","text":"TemporaryFile(/tmp/multipartBody5092296413259709967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870753924,"filename":"image_26012025_06_50_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331589888","file1":"1331589783","file0":"1331589671","file4":"1331590047","file5":"1331590138","file3":"1331589975"},"map_files_photo_id_array":[{"photo_id":"1331590138","filename":"file5"},{"photo_id":"1331589888","filename":"file2"},{"photo_id":"1331590047","filename":"file4"},{"photo_id":"1331589783","filename":"file1"},{"photo_id":"1331589671","filename":"file0"},{"photo_id":"1331589975","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331589783":["hashtag1","hashtag2"]},{"1331590138":["hashtag1","hashtag2"]},{"1331589888":["hashtag1","hashtag2"]},{"1331589975":["hashtag1","hashtag2"]},{"1331590047":["hashtag1","hashtag2"]},{"1331589671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331589783, 1331590138, 1331589888, 1331589975, 1331590047, 1331589671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53140640258789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:52:33.222050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_56_9334.jpg', '/home/pi/Desktop/images/26012025/06/51/image_26012025_06_52_07_10342.jpg', '/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_17_10342.jpg', '/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_26_9325.jpg', '/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_37_10365.jpg', '/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_47_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_51_56_9334.jpg
/home/pi/Desktop/images/26012025/06/51/image_26012025_06_52_07_10342.jpg
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_17_10342.jpg
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_26_9325.jpg
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_37_10365.jpg
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_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":["1331590710","1331590994","1331591000","1331590998","1331590908","1331590815"],"photo_ids_order":["1331590710","1331590815","1331590908","1331590994","1331590998","1331591000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f447d7b198afe8718b1b435d65acdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7863633438976676213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_51_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/26/595d8128cb4012fd6e7cb0f2fce6d09c.jpg","text":"TemporaryFile(/tmp/multipartBody2110872146388695818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_52_26_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fd787f97b7c04145ca93ff11f1c242bf.jpg","text":"TemporaryFile(/tmp/multipartBody8476969583333052102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_52_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/26/340fdaa13f935711876de05cb386e21b.jpg","text":"TemporaryFile(/tmp/multipartBody1188267354706467332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_52_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/26/327a6d750ca37f99c59048fb5c9dc54a.jpg","text":"TemporaryFile(/tmp/multipartBody1359693268154021271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_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/26/da417783563ab7b624246ea6b8d49d26.jpg","text":"TemporaryFile(/tmp/multipartBody4748596916632177849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870814146,"filename":"image_26012025_06_52_07_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331590908","file1":"1331590815","file0":"1331590710","file4":"1331590998","file5":"1331591000","file3":"1331590994"},"map_files_photo_id_array":[{"photo_id":"1331591000","filename":"file5"},{"photo_id":"1331590908","filename":"file2"},{"photo_id":"1331590998","filename":"file4"},{"photo_id":"1331590815","filename":"file1"},{"photo_id":"1331590710","filename":"file0"},{"photo_id":"1331590994","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331590710":["hashtag1","hashtag2"]},{"1331590994":["hashtag1","hashtag2"]},{"1331591000":["hashtag1","hashtag2"]},{"1331590998":["hashtag1","hashtag2"]},{"1331590908":["hashtag1","hashtag2"]},{"1331590815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331590710, 1331590994, 1331591000, 1331590998, 1331590908, 1331590815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.746742725372314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:53:32.407445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_57_9392.jpg', '/home/pi/Desktop/images/26012025/06/52/image_26012025_06_53_07_10366.jpg', '/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_16_9333.jpg', '/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_27_10376.jpg', '/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_37_10338.jpg', '/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_46_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_52_57_9392.jpg
/home/pi/Desktop/images/26012025/06/52/image_26012025_06_53_07_10366.jpg
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_16_9333.jpg
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_27_10376.jpg
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_37_10338.jpg
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_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":["1331591861","1331591554","1331591461","1331591370","1331591655","1331591771"],"photo_ids_order":["1331591370","1331591461","1331591554","1331591655","1331591771","1331591861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/779cfe504920a96ce8a57bd669ab42c0.jpg","text":"TemporaryFile(/tmp/multipartBody7885477317860526283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_53_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/26/9c46b08e95b268389771a9a063ca1c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3484510673389793865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_53_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/26/1a8e18e9076074cdeeb3165a4f43c6e8.jpg","text":"TemporaryFile(/tmp/multipartBody7317013821598398784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_53_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/26/13ab8d20832b6b2cf27cbc99e9bd0d93.jpg","text":"TemporaryFile(/tmp/multipartBody3025795043435810877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_52_57_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/26/080504109caf6a81a57f1b0531e5b876.jpg","text":"TemporaryFile(/tmp/multipartBody2962323007227531591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_53_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/26/c9b9d61671b33824048ee7c48b2083da.jpg","text":"TemporaryFile(/tmp/multipartBody810816400916410649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870873343,"filename":"image_26012025_06_53_37_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331591554","file1":"1331591461","file0":"1331591370","file4":"1331591771","file5":"1331591861","file3":"1331591655"},"map_files_photo_id_array":[{"photo_id":"1331591861","filename":"file5"},{"photo_id":"1331591554","filename":"file2"},{"photo_id":"1331591771","filename":"file4"},{"photo_id":"1331591461","filename":"file1"},{"photo_id":"1331591370","filename":"file0"},{"photo_id":"1331591655","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331591861":["hashtag1","hashtag2"]},{"1331591554":["hashtag1","hashtag2"]},{"1331591461":["hashtag1","hashtag2"]},{"1331591370":["hashtag1","hashtag2"]},{"1331591655":["hashtag1","hashtag2"]},{"1331591771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331591861, 1331591554, 1331591461, 1331591370, 1331591655, 1331591771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58538246154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:54:32.660822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_57_10361.jpg', '/home/pi/Desktop/images/26012025/06/53/image_26012025_06_54_07_10335.jpg', '/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_16_9336.jpg', '/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_27_10407.jpg', '/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_37_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_53_57_10361.jpg
/home/pi/Desktop/images/26012025/06/53/image_26012025_06_54_07_10335.jpg
/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_16_9336.jpg
/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_27_10407.jpg
/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_37_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331592196","1331592079","1331592310","1331592312","1331592300"],"photo_ids_order":["1331592079","1331592196","1331592300","1331592310","1331592312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71cec8612b14159dacad8b6396aedec6.jpg","text":"TemporaryFile(/tmp/multipartBody2797350135149256544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870933575,"filename":"image_26012025_06_54_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9fe8a80fe56a8447d987b53fcfbcf1d2.jpg","text":"TemporaryFile(/tmp/multipartBody2893044135598202484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870933575,"filename":"image_26012025_06_53_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/92e27541623529427cbe6c5963a104a1.jpg","text":"TemporaryFile(/tmp/multipartBody393841361848351426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870933575,"filename":"image_26012025_06_54_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/26/29292af706b8bb60b76e83a7efc5a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody3068627395236695871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870933575,"filename":"image_26012025_06_54_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7762e46513605960d359e899515a957.jpg","text":"TemporaryFile(/tmp/multipartBody7606041822083277486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870933575,"filename":"image_26012025_06_54_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331592300","file1":"1331592196","file0":"1331592079","file4":"1331592312","file3":"1331592310"},"map_files_photo_id_array":[{"photo_id":"1331592300","filename":"file2"},{"photo_id":"1331592312","filename":"file4"},{"photo_id":"1331592196","filename":"file1"},{"photo_id":"1331592079","filename":"file0"},{"photo_id":"1331592310","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331592196":["hashtag1","hashtag2"]},{"1331592079":["hashtag1","hashtag2"]},{"1331592310":["hashtag1","hashtag2"]},{"1331592312":["hashtag1","hashtag2"]},{"1331592300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331592196, 1331592079, 1331592310, 1331592312, 1331592300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.52788019180298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:55:32.890585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_46_9347.jpg', '/home/pi/Desktop/images/26012025/06/54/image_26012025_06_55_07_10351.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_17_9376.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_27_10465.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_36_9330.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_47_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/54/image_26012025_06_54_46_9347.jpg
/home/pi/Desktop/images/26012025/06/54/image_26012025_06_55_07_10351.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_17_9376.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_27_10465.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_36_9330.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_47_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":["1331592499","1331592505","1331592495","1331592489","1331592483","1331592503"],"photo_ids_order":["1331592483","1331592489","1331592495","1331592499","1331592503","1331592505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f64ee741c0f4308426435127684daf97.jpg","text":"TemporaryFile(/tmp/multipartBody284072536322259778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_55_27_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/26/73530d49447dca808f67b0de68f50c05.jpg","text":"TemporaryFile(/tmp/multipartBody8830624125240955991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_55_47_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/26/d84dc4b87593fc2a65bec240ee1b72d5.jpg","text":"TemporaryFile(/tmp/multipartBody1585090475985709605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_55_17_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/26/47e7480ee25653b802f09fe38ab9e761.jpg","text":"TemporaryFile(/tmp/multipartBody5759683955039985265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_55_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/26/b57adf0481db3988bcc69f384527f963.jpg","text":"TemporaryFile(/tmp/multipartBody7661180190537042567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_54_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/26/cbc78341ebb1e1e7c458b146e1e63539.jpg","text":"TemporaryFile(/tmp/multipartBody6180593863270837442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737870993837,"filename":"image_26012025_06_55_36_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331592495","file1":"1331592489","file0":"1331592483","file4":"1331592503","file5":"1331592505","file3":"1331592499"},"map_files_photo_id_array":[{"photo_id":"1331592505","filename":"file5"},{"photo_id":"1331592495","filename":"file2"},{"photo_id":"1331592503","filename":"file4"},{"photo_id":"1331592489","filename":"file1"},{"photo_id":"1331592483","filename":"file0"},{"photo_id":"1331592499","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331592499":["hashtag1","hashtag2"]},{"1331592505":["hashtag1","hashtag2"]},{"1331592495":["hashtag1","hashtag2"]},{"1331592489":["hashtag1","hashtag2"]},{"1331592483":["hashtag1","hashtag2"]},{"1331592503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331592499, 1331592505, 1331592495, 1331592489, 1331592483, 1331592503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.50089740753174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:56:33.129891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_56_9462.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_56_07_10459.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_17_10349.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_26_9360.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_37_10342.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_56_9462.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_56_07_10459.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_17_10349.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_26_9360.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_37_10342.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_47_10343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.528843879699707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 06:56:42.986007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_56_9462.jpg', '/home/pi/Desktop/images/26012025/06/55/image_26012025_06_56_07_10459.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_17_10349.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_26_9360.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_37_10342.jpg', '/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_47_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_55_56_9462.jpg
/home/pi/Desktop/images/26012025/06/55/image_26012025_06_56_07_10459.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_17_10349.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_26_9360.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_37_10342.jpg
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_47_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":["1331592532","1331592541","1331592535","1331592528","1331592521","1331592539"],"photo_ids_order":["1331592521","1331592528","1331592532","1331592535","1331592539","1331592541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a55f08b2cbb13e175119729df657b26c.jpg","text":"TemporaryFile(/tmp/multipartBody8749202852043631016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_56_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccacb6a2f41f142ce9cb9ba5ef81c876.jpg","text":"TemporaryFile(/tmp/multipartBody7803964343902700418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_56_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7fa97ed2e00044b2be19d46f5bd51538.jpg","text":"TemporaryFile(/tmp/multipartBody3056779733672724919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_56_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/26/37181f4169ef9036c37cb35a6bddea5b.jpg","text":"TemporaryFile(/tmp/multipartBody5530613071108677899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_56_07_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/26/9ecb993af9d73b64b07b49e670431762.jpg","text":"TemporaryFile(/tmp/multipartBody1256441552213878390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_55_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e4c7a72f6f87c53f65edf21044c7fc89.jpg","text":"TemporaryFile(/tmp/multipartBody2367670192832822000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871063898,"filename":"image_26012025_06_56_37_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331592532","file1":"1331592528","file0":"1331592521","file4":"1331592539","file5":"1331592541","file3":"1331592535"},"map_files_photo_id_array":[{"photo_id":"1331592541","filename":"file5"},{"photo_id":"1331592532","filename":"file2"},{"photo_id":"1331592539","filename":"file4"},{"photo_id":"1331592528","filename":"file1"},{"photo_id":"1331592521","filename":"file0"},{"photo_id":"1331592535","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331592532":["hashtag1","hashtag2"]},{"1331592541":["hashtag1","hashtag2"]},{"1331592535":["hashtag1","hashtag2"]},{"1331592528":["hashtag1","hashtag2"]},{"1331592521":["hashtag1","hashtag2"]},{"1331592539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331592532, 1331592541, 1331592535, 1331592528, 1331592521, 1331592539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.337247133255005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 06:57:32.305710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_56_9328.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_27_9472.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_37_10367.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_46_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_56_9328.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_27_9472.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_37_10367.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_46_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-26 06:59:04.381157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_56_9328.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_27_9472.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_37_10367.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_46_9345.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_57_10444.jpg', '/home/pi/Desktop/images/26012025/06/57/image_26012025_06_58_07_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/56/image_26012025_06_56_56_9328.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_27_9472.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_37_10367.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_46_9345.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_57_57_10444.jpg
/home/pi/Desktop/images/26012025/06/57/image_26012025_06_58_07_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331593683","1331593671","1331593680","1331593676","1331593634","1331593666"],"photo_ids_order":["1331593634","1331593666","1331593671","1331593676","1331593680","1331593683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d947f2bb3f4d1b25b500a499bd0f4132.jpg","text":"TemporaryFile(/tmp/multipartBody7721648913043805867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_58_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/26/f7e329aa0aa7bbcb0a9924636dd8f331.jpg","text":"TemporaryFile(/tmp/multipartBody7411547813397476198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_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/26/c6572785a37395d869b980b7ad16f795.jpg","text":"TemporaryFile(/tmp/multipartBody4559716502100525300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_57_57_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/26/162a93fb81c34f5067773322888582f9.jpg","text":"TemporaryFile(/tmp/multipartBody7310182668804018860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_57_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/26/91f2dfe52d79c35e82d47dea478f4a16.jpg","text":"TemporaryFile(/tmp/multipartBody1806462928878952063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_56_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5deb1ae1d241075894dd26041e9c2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody9009974700065199064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871205390,"filename":"image_26012025_06_57_27_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593671","file1":"1331593666","file0":"1331593634","file4":"1331593680","file5":"1331593683","file3":"1331593676"},"map_files_photo_id_array":[{"photo_id":"1331593683","filename":"file5"},{"photo_id":"1331593671","filename":"file2"},{"photo_id":"1331593680","filename":"file4"},{"photo_id":"1331593666","filename":"file1"},{"photo_id":"1331593634","filename":"file0"},{"photo_id":"1331593676","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593683":["hashtag1","hashtag2"]},{"1331593671":["hashtag1","hashtag2"]},{"1331593680":["hashtag1","hashtag2"]},{"1331593676":["hashtag1","hashtag2"]},{"1331593634":["hashtag1","hashtag2"]},{"1331593666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593683, 1331593671, 1331593680, 1331593676, 1331593634, 1331593666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61830735206604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 06:59:53.034937
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_54_9347.jpg', '/home/pi/Desktop/images/23012025/21/34/image_23012025_21_35_05_10465.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_25_9365.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_35_10477.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_44_9314.jpg', '/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_55_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_34_54_9347.jpg
/home/pi/Desktop/images/23012025/21/34/image_23012025_21_35_05_10465.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_25_9365.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_35_10477.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_44_9314.jpg
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_35_55_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":["1331593708","1331593704","1331593712","1331593699","1331593718","1331593696"],"photo_ids_order":["1331593696","1331593699","1331593704","1331593708","1331593712","1331593718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bac8fdacafade2118d5cf909a82de5a8.jpg","text":"TemporaryFile(/tmp/multipartBody4228453439186195539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_35_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/26/7bcc79401f09dbaab8f668f0c6100307.jpg","text":"TemporaryFile(/tmp/multipartBody7708073031310371167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_35_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/26/9b271844b588fff1fd051e42c800ea1f.jpg","text":"TemporaryFile(/tmp/multipartBody327207468990860580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_35_44_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca188a27cbffe5cbd022242b376d269b.jpg","text":"TemporaryFile(/tmp/multipartBody9193812522922992938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_35_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc08ce375a54237a96c2a7e91a901067.jpg","text":"TemporaryFile(/tmp/multipartBody3965851576072614950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_35_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/26/85e04f05bc94a760591898b9a622241e.jpg","text":"TemporaryFile(/tmp/multipartBody3167443307785183846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871255445,"filename":"image_23012025_21_34_54_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593704","file1":"1331593699","file0":"1331593696","file4":"1331593712","file5":"1331593718","file3":"1331593708"},"map_files_photo_id_array":[{"photo_id":"1331593718","filename":"file5"},{"photo_id":"1331593704","filename":"file2"},{"photo_id":"1331593712","filename":"file4"},{"photo_id":"1331593699","filename":"file1"},{"photo_id":"1331593696","filename":"file0"},{"photo_id":"1331593708","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331593708":["hashtag1","hashtag2"]},{"1331593704":["hashtag1","hashtag2"]},{"1331593712":["hashtag1","hashtag2"]},{"1331593699":["hashtag1","hashtag2"]},{"1331593718":["hashtag1","hashtag2"]},{"1331593696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331593708, 1331593704, 1331593712, 1331593699, 1331593718, 1331593696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57869505882263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:00:42.211946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_16_9319.jpg', '/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_27_10352.jpg', '/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_37_10342.jpg', '/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_47_9435.jpg', '/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_57_10458.jpg', '/home/pi/Desktop/images/26012025/06/58/image_26012025_06_59_06_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_16_9319.jpg
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_27_10352.jpg
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_37_10342.jpg
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_47_9435.jpg
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_58_57_10458.jpg
/home/pi/Desktop/images/26012025/06/58/image_26012025_06_59_06_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331593735","1331593732","1331593728","1331593743","1331593739","1331593730"],"photo_ids_order":["1331593728","1331593730","1331593732","1331593735","1331593739","1331593743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe4805c6714544c974105b2979817d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6317348969134132916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_58_47_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/26/00b529e93e23955ffca6d0a911de66c5.jpg","text":"TemporaryFile(/tmp/multipartBody2511072145535205278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_58_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/09611ce858348ca6772cfaf77db65c24.jpg","text":"TemporaryFile(/tmp/multipartBody1621258084434239814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_58_16_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf98590193c754de8d898083923d3db7.jpg","text":"TemporaryFile(/tmp/multipartBody4476301215378574841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_59_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/301def98e24dcb2e68b821ba3d8e72ee.jpg","text":"TemporaryFile(/tmp/multipartBody4981838170802957456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_58_57_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/26/195f608c7470a299dc82508b105a1f53.jpg","text":"TemporaryFile(/tmp/multipartBody2048703342118566095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871303138,"filename":"image_26012025_06_58_27_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593732","file1":"1331593730","file0":"1331593728","file4":"1331593739","file5":"1331593743","file3":"1331593735"},"map_files_photo_id_array":[{"photo_id":"1331593743","filename":"file5"},{"photo_id":"1331593732","filename":"file2"},{"photo_id":"1331593739","filename":"file4"},{"photo_id":"1331593730","filename":"file1"},{"photo_id":"1331593728","filename":"file0"},{"photo_id":"1331593735","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593735":["hashtag1","hashtag2"]},{"1331593732":["hashtag1","hashtag2"]},{"1331593728":["hashtag1","hashtag2"]},{"1331593743":["hashtag1","hashtag2"]},{"1331593739":["hashtag1","hashtag2"]},{"1331593730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593735, 1331593732, 1331593728, 1331593743, 1331593739, 1331593730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62129735946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:01:32.430318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_17_10453.jpg', '/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_27_10336.jpg', '/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_37_9443.jpg', '/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_47_10347.jpg', '/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_56_9417.jpg', '/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_14_10075.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_17_10453.jpg
/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_27_10336.jpg
/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_37_9443.jpg
/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_47_10347.jpg
/home/pi/Desktop/images/26012025/06/59/image_26012025_06_59_56_9417.jpg
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_14_10075.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331593770","1331593764","1331593761","1331593766","1331593771","1331593768"],"photo_ids_order":["1331593761","1331593764","1331593766","1331593768","1331593770","1331593771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d04d106e32fd821c789fb93c762d7429.jpg","text":"TemporaryFile(/tmp/multipartBody7326899291466484283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_06_59_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a634e16a00a8cb6064ed4835cd70056.jpg","text":"TemporaryFile(/tmp/multipartBody1924767871419328743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_06_59_27_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/26/4267e230661f9fb689e65801fb44afba.jpg","text":"TemporaryFile(/tmp/multipartBody7064239975721020439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_06_59_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/26/c3e3426e2185c6c23af4b585da7aac86.jpg","text":"TemporaryFile(/tmp/multipartBody6300028913893679245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_06_59_37_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/26/93376e971ee9143b277ceb0e6b8358dc.jpg","text":"TemporaryFile(/tmp/multipartBody7432654166264185353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_07_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ecffb3b213cfd0ae15d35fe393172fa9.jpg","text":"TemporaryFile(/tmp/multipartBody3268124088404425894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871353341,"filename":"image_26012025_06_59_47_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593766","file1":"1331593764","file0":"1331593761","file4":"1331593770","file5":"1331593771","file3":"1331593768"},"map_files_photo_id_array":[{"photo_id":"1331593771","filename":"file5"},{"photo_id":"1331593766","filename":"file2"},{"photo_id":"1331593770","filename":"file4"},{"photo_id":"1331593764","filename":"file1"},{"photo_id":"1331593761","filename":"file0"},{"photo_id":"1331593768","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593770":["hashtag1","hashtag2"]},{"1331593764":["hashtag1","hashtag2"]},{"1331593761":["hashtag1","hashtag2"]},{"1331593766":["hashtag1","hashtag2"]},{"1331593771":["hashtag1","hashtag2"]},{"1331593768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593770, 1331593764, 1331593761, 1331593766, 1331593771, 1331593768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.636605978012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:02:32.625885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_24_10371.jpg', '/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_35_10468.jpg', '/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_44_9364.jpg', '/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_55_10398.jpg', '/home/pi/Desktop/images/26012025/07/01/image_26012025_07_02_04_9355.jpg', '/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_14_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_24_10371.jpg
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_35_10468.jpg
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_44_9364.jpg
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_01_55_10398.jpg
/home/pi/Desktop/images/26012025/07/01/image_26012025_07_02_04_9355.jpg
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_14_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331593794","1331593797","1331593782","1331593785","1331593799","1331593789"],"photo_ids_order":["1331593782","1331593785","1331593789","1331593794","1331593797","1331593799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a9680def87562047b1ed5982cb51c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7106926135498636685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_01_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/26/78bc48e83bbaefdf6591c1ac4bd8d2f0.jpg","text":"TemporaryFile(/tmp/multipartBody158152332856273827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_02_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/26/f509bea03a626e888d43b77aae38c061.jpg","text":"TemporaryFile(/tmp/multipartBody7495188311503131754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_01_24_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/26/0cd0d89ac21904bf95fe492d001245e1.jpg","text":"TemporaryFile(/tmp/multipartBody8588671112774264935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_01_35_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/364ac96f9604d5d5310cc49b5b740a7c.jpg","text":"TemporaryFile(/tmp/multipartBody220510559350523535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_02_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/26/cbac21dc629c7282fa0a9afa52a370f0.jpg","text":"TemporaryFile(/tmp/multipartBody936834162439391561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871413545,"filename":"image_26012025_07_01_44_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593789","file1":"1331593785","file0":"1331593782","file4":"1331593797","file5":"1331593799","file3":"1331593794"},"map_files_photo_id_array":[{"photo_id":"1331593799","filename":"file5"},{"photo_id":"1331593789","filename":"file2"},{"photo_id":"1331593797","filename":"file4"},{"photo_id":"1331593785","filename":"file1"},{"photo_id":"1331593782","filename":"file0"},{"photo_id":"1331593794","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593794":["hashtag1","hashtag2"]},{"1331593797":["hashtag1","hashtag2"]},{"1331593782":["hashtag1","hashtag2"]},{"1331593785":["hashtag1","hashtag2"]},{"1331593799":["hashtag1","hashtag2"]},{"1331593789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593794, 1331593797, 1331593782, 1331593785, 1331593799, 1331593789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12728452682495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:03:32.977591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_25_10375.jpg', '/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_34_9345.jpg', '/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_44_10335.jpg', '/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_55_10347.jpg', '/home/pi/Desktop/images/26012025/07/02/image_26012025_07_03_04_9346.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_14_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_25_10375.jpg
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_34_9345.jpg
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_44_10335.jpg
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_02_55_10347.jpg
/home/pi/Desktop/images/26012025/07/02/image_26012025_07_03_04_9346.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_14_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":["1331593840","1331593843","1331593831","1331593848","1331593835","1331593846"],"photo_ids_order":["1331593831","1331593835","1331593840","1331593843","1331593846","1331593848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40249d97cd8d0ecb88304f0d5a20a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6852626292623768433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_02_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/26/0404fa1ea1957531df25e6c2907a65aa.jpg","text":"TemporaryFile(/tmp/multipartBody3887235902068899713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_02_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/26/a5a29853b6f994116c7d26d761642b1c.jpg","text":"TemporaryFile(/tmp/multipartBody117321776298485543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_02_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/26/de2ddfed83ad30369456c432d42f208d.jpg","text":"TemporaryFile(/tmp/multipartBody6356188102414871100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_03_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/26/c9450448b6f48b3e45d413c37bc8e26f.jpg","text":"TemporaryFile(/tmp/multipartBody7199268678212629744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_02_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/139f4f9cfea58705c08d9f6827632a17.jpg","text":"TemporaryFile(/tmp/multipartBody4912747439085097066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871473918,"filename":"image_26012025_07_03_04_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593840","file1":"1331593835","file0":"1331593831","file4":"1331593846","file5":"1331593848","file3":"1331593843"},"map_files_photo_id_array":[{"photo_id":"1331593848","filename":"file5"},{"photo_id":"1331593840","filename":"file2"},{"photo_id":"1331593846","filename":"file4"},{"photo_id":"1331593835","filename":"file1"},{"photo_id":"1331593831","filename":"file0"},{"photo_id":"1331593843","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593840":["hashtag1","hashtag2"]},{"1331593843":["hashtag1","hashtag2"]},{"1331593831":["hashtag1","hashtag2"]},{"1331593848":["hashtag1","hashtag2"]},{"1331593835":["hashtag1","hashtag2"]},{"1331593846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593840, 1331593843, 1331593831, 1331593848, 1331593835, 1331593846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04654574394226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:04:33.223350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_25_10370.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_34_9395.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_45_10413.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_54_9411.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_04_04_10453.jpg', '/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_15_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_25_10370.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_34_9395.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_45_10413.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_54_9411.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_04_04_10453.jpg
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_15_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.558513879776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:04:43.109931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_25_10370.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_34_9395.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_45_10413.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_54_9411.jpg', '/home/pi/Desktop/images/26012025/07/03/image_26012025_07_04_04_10453.jpg', '/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_15_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_25_10370.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_34_9395.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_45_10413.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_03_54_9411.jpg
/home/pi/Desktop/images/26012025/07/03/image_26012025_07_04_04_10453.jpg
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_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":["1331593884","1331593866","1331593880","1331593874","1331593877","1331593870"],"photo_ids_order":["1331593866","1331593870","1331593874","1331593877","1331593880","1331593884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95f0429f711c12ac6c8a0b1c2f53a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody5050820940556462431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_04_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/26/d2752a56687e7aa55abd8ca1c04742de.jpg","text":"TemporaryFile(/tmp/multipartBody742734313139515066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_03_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/26/b190d40414d4306afd35773c7030ffea.jpg","text":"TemporaryFile(/tmp/multipartBody6966148580250719393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_04_04_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/26/75c53bcecf3727f094ff96fea5590d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5161088011444007674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_03_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/26/76a299f6b85bfc8a8924086f7fb3cdf9.jpg","text":"TemporaryFile(/tmp/multipartBody664165670308118160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_03_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/26/4dee71f248c8ce7bce5e5579e75fc1bc.jpg","text":"TemporaryFile(/tmp/multipartBody8483639254441119915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871544020,"filename":"image_26012025_07_03_34_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593874","file1":"1331593870","file0":"1331593866","file4":"1331593880","file5":"1331593884","file3":"1331593877"},"map_files_photo_id_array":[{"photo_id":"1331593884","filename":"file5"},{"photo_id":"1331593874","filename":"file2"},{"photo_id":"1331593880","filename":"file4"},{"photo_id":"1331593870","filename":"file1"},{"photo_id":"1331593866","filename":"file0"},{"photo_id":"1331593877","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593884":["hashtag1","hashtag2"]},{"1331593866":["hashtag1","hashtag2"]},{"1331593880":["hashtag1","hashtag2"]},{"1331593874":["hashtag1","hashtag2"]},{"1331593877":["hashtag1","hashtag2"]},{"1331593870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593884, 1331593866, 1331593880, 1331593874, 1331593877, 1331593870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.980573892593384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:05:32.419145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_34_10346.jpg', '/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_45_10420.jpg', '/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_54_9345.jpg', '/home/pi/Desktop/images/26012025/07/04/image_26012025_07_05_05_10492.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_14_9319.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_24_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_34_10346.jpg
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_45_10420.jpg
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_04_54_9345.jpg
/home/pi/Desktop/images/26012025/07/04/image_26012025_07_05_05_10492.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_14_9319.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_24_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":["1331593971","1331593908","1331593917","1331593952","1331593905","1331593946"],"photo_ids_order":["1331593905","1331593908","1331593917","1331593946","1331593952","1331593971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8827a116156cd9eeaf28d868b006e86e.jpg","text":"TemporaryFile(/tmp/multipartBody7703260166919030021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_05_24_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/26/eb1a62cfaa8b2b6db61f4cb7e767bc8a.jpg","text":"TemporaryFile(/tmp/multipartBody2730757662560661829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_04_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/26/7938e271afef4ee15d07f3e5d505208a.jpg","text":"TemporaryFile(/tmp/multipartBody7609445811017937703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_04_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/26/fe7b048f98a3dd78aeb329c491a4a070.jpg","text":"TemporaryFile(/tmp/multipartBody7247939032917862300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_05_14_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/26/d8f79be75cc06c4d8252b33a90e33dab.jpg","text":"TemporaryFile(/tmp/multipartBody3756033291623963169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_04_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/26/1d4731ec670eae8f551e9b2adaf08c60.jpg","text":"TemporaryFile(/tmp/multipartBody6556680388858689528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871593319,"filename":"image_26012025_07_05_05_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593917","file1":"1331593908","file0":"1331593905","file4":"1331593952","file5":"1331593971","file3":"1331593946"},"map_files_photo_id_array":[{"photo_id":"1331593971","filename":"file5"},{"photo_id":"1331593917","filename":"file2"},{"photo_id":"1331593952","filename":"file4"},{"photo_id":"1331593908","filename":"file1"},{"photo_id":"1331593905","filename":"file0"},{"photo_id":"1331593946","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593971":["hashtag1","hashtag2"]},{"1331593908":["hashtag1","hashtag2"]},{"1331593917":["hashtag1","hashtag2"]},{"1331593952":["hashtag1","hashtag2"]},{"1331593905":["hashtag1","hashtag2"]},{"1331593946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593971, 1331593908, 1331593917, 1331593952, 1331593905, 1331593946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.46895408630371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:06:32.602809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_35_10411.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_44_9345.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_55_10409.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_14_10327.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_24_10028.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_35_10411.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_44_9345.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_55_10409.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_14_10327.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_24_10028.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_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.545762300491333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:06:42.586386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_35_10411.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_44_9345.jpg', '/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_55_10409.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_14_10327.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_24_10028.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_35_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_35_10411.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_44_9345.jpg
/home/pi/Desktop/images/26012025/07/05/image_26012025_07_05_55_10409.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_14_10327.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_24_10028.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_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":["1331593995","1331593989","1331594004","1331594018","1331594012","1331593999"],"photo_ids_order":["1331593989","1331593995","1331593999","1331594004","1331594012","1331594018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/772154fcc2b264c534866c0510539308.jpg","text":"TemporaryFile(/tmp/multipartBody5574787928585328851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_05_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/26/9af116d6d4f50f481b981c2a67ae9d55.jpg","text":"TemporaryFile(/tmp/multipartBody8808019161978253231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_05_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/26/aa21ebb1a28b9ba9c01a1221a8494f36.jpg","text":"TemporaryFile(/tmp/multipartBody7656837026164301293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_06_14_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/26/5e169e5ed62b58dac7c66094297b0c66.jpg","text":"TemporaryFile(/tmp/multipartBody8083902165109716954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_06_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/26/8718286406ce57c198984f799be1af2c.jpg","text":"TemporaryFile(/tmp/multipartBody2210563524113884159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_06_24_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/26/dee8447ece06c0c0179f35b3c0441049.jpg","text":"TemporaryFile(/tmp/multipartBody328702598964488887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871663492,"filename":"image_26012025_07_05_55_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331593999","file1":"1331593995","file0":"1331593989","file4":"1331594012","file5":"1331594018","file3":"1331594004"},"map_files_photo_id_array":[{"photo_id":"1331594018","filename":"file5"},{"photo_id":"1331593999","filename":"file2"},{"photo_id":"1331594012","filename":"file4"},{"photo_id":"1331593995","filename":"file1"},{"photo_id":"1331593989","filename":"file0"},{"photo_id":"1331594004","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331593995":["hashtag1","hashtag2"]},{"1331593989":["hashtag1","hashtag2"]},{"1331594004":["hashtag1","hashtag2"]},{"1331594018":["hashtag1","hashtag2"]},{"1331594012":["hashtag1","hashtag2"]},{"1331593999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331593995, 1331593989, 1331594004, 1331594018, 1331594012, 1331593999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.86999559402466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:07:32.865949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_44_9337.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_54_10350.jpg', '/home/pi/Desktop/images/26012025/07/06/image_26012025_07_07_05_10444.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_14_9338.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_24_10358.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_35_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_44_9337.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_06_54_10350.jpg
/home/pi/Desktop/images/26012025/07/06/image_26012025_07_07_05_10444.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_14_9338.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_24_10358.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_35_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331594031","1331594028","1331594036","1331594039","1331594026","1331594041"],"photo_ids_order":["1331594026","1331594028","1331594031","1331594036","1331594039","1331594041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19272ea962e78a17890c4803e29167ee.jpg","text":"TemporaryFile(/tmp/multipartBody8748878648519006034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_07_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/26/7f137b7d983b7728455ad0990becbddd.jpg","text":"TemporaryFile(/tmp/multipartBody5595785224560689132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_06_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/26/6ab9ade3c1403f4f549912b67e2e37f4.jpg","text":"TemporaryFile(/tmp/multipartBody80542403850544591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_07_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/26/18e4ae9e73cf3f2878ea73a081531b81.jpg","text":"TemporaryFile(/tmp/multipartBody2320472464331520373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_07_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/26/3ee96bcecf44d81dac2bdf2041520f51.jpg","text":"TemporaryFile(/tmp/multipartBody3974834470039239387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_06_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8bae948a34fe20b7cfd00d401e3ca34d.jpg","text":"TemporaryFile(/tmp/multipartBody422109279316299916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737871713783,"filename":"image_26012025_07_07_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594031","file1":"1331594028","file0":"1331594026","file4":"1331594039","file5":"1331594041","file3":"1331594036"},"map_files_photo_id_array":[{"photo_id":"1331594041","filename":"file5"},{"photo_id":"1331594031","filename":"file2"},{"photo_id":"1331594039","filename":"file4"},{"photo_id":"1331594028","filename":"file1"},{"photo_id":"1331594026","filename":"file0"},{"photo_id":"1331594036","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594031":["hashtag1","hashtag2"]},{"1331594028":["hashtag1","hashtag2"]},{"1331594036":["hashtag1","hashtag2"]},{"1331594039":["hashtag1","hashtag2"]},{"1331594026":["hashtag1","hashtag2"]},{"1331594041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594031, 1331594028, 1331594036, 1331594039, 1331594026, 1331594041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12534022331238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:08:33.130706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889ieh0ge</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>889ieh0ge</strong>.
uploaded 0 photos
time to upload: 28.576276302337646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:09:32.384017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889iekd5b</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>889iekd5b</strong>.
uploaded 0 photos
time to upload: 30.5282461643219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:10:32.536675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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.5322272777557373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:10:42.521386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg
 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>889ieocp3</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>889ieocp3</strong>.
uploaded 0 photos
time to upload: 30.541014194488525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:11:32.801482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889if1993</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>889if1993</strong>.
uploaded 0 photos
time to upload: 30.53657364845276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:12:33.069495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889if4kdm</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>889if4kdm</strong>.
uploaded 0 photos
time to upload: 30.55510926246643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:13:32.314304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889if8446</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>889if8446</strong>.
uploaded 0 photos
time to upload: 30.546886920928955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:14:32.545452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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 [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>889ifbf7j</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>889ifbf7j</strong>.
uploaded 0 photos
time to upload: 30.576334953308105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:15:32.751550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg', '/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_9320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_44_9329.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_07_55_10407.jpg
/home/pi/Desktop/images/26012025/07/07/image_26012025_07_08_05_10327.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_14_9329.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_25_10515.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_34_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":["1331594109","1331594103","1331594087","1331594081","1331594105","1331594098"],"photo_ids_order":["1331594081","1331594087","1331594098","1331594103","1331594105","1331594109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9dd6413b9cc5e755f6acb3ce985e2272.jpg","text":"TemporaryFile(/tmp/multipartBody2033518652089799843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_08_34_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/26/810e82331a65be3acd6dd91118702eef.jpg","text":"TemporaryFile(/tmp/multipartBody2473073205279038801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_08_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/26/81d67cbf6d91a3b4883ebabb64edd037.jpg","text":"TemporaryFile(/tmp/multipartBody3281384005915974736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_07_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/26/91f6ef2096ceb59f77ef27e3f819c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8907083394393299758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_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/26/fe0852d6b214e0d1c0f01aebf48c58de.jpg","text":"TemporaryFile(/tmp/multipartBody6493936507326781751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_08_25_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e73fc5cd6e7f8572260a143744fb376d.jpg","text":"TemporaryFile(/tmp/multipartBody38758298571759023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872193666,"filename":"image_26012025_07_08_05_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594098","file1":"1331594087","file0":"1331594081","file4":"1331594105","file5":"1331594109","file3":"1331594103"},"map_files_photo_id_array":[{"photo_id":"1331594109","filename":"file5"},{"photo_id":"1331594098","filename":"file2"},{"photo_id":"1331594105","filename":"file4"},{"photo_id":"1331594087","filename":"file1"},{"photo_id":"1331594081","filename":"file0"},{"photo_id":"1331594103","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594109":["hashtag1","hashtag2"]},{"1331594103":["hashtag1","hashtag2"]},{"1331594087":["hashtag1","hashtag2"]},{"1331594081":["hashtag1","hashtag2"]},{"1331594105":["hashtag1","hashtag2"]},{"1331594098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594109, 1331594103, 1331594087, 1331594081, 1331594105, 1331594098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51028084754944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:16:33.042753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_44_10348.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_09_04_9334.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_14_10337.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_25_10423.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_34_9331.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_45_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_44_10348.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_09_04_9334.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_14_10337.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_25_10423.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_34_9331.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_45_10406.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.527402400970459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:16:42.919105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_44_10348.jpg', '/home/pi/Desktop/images/26012025/07/08/image_26012025_07_09_04_9334.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_14_10337.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_25_10423.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_34_9331.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_45_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_08_44_10348.jpg
/home/pi/Desktop/images/26012025/07/08/image_26012025_07_09_04_9334.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_14_10337.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_25_10423.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_34_9331.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_45_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331594148","1331594142","1331594132","1331594135","1331594123","1331594128"],"photo_ids_order":["1331594123","1331594128","1331594132","1331594135","1331594142","1331594148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd0cd3879ef040d1abf14fbd54ac3a96.jpg","text":"TemporaryFile(/tmp/multipartBody3147930828698269709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_09_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/26/3a81b846de5b31f92092f38241eaecf4.jpg","text":"TemporaryFile(/tmp/multipartBody4179650433385531819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_09_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/26/e9f1cfbb8c38600419dea1692b5d7eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1533021903482443694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_09_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/26/86a8f6cfe89414869fef0866b04ac0fb.jpg","text":"TemporaryFile(/tmp/multipartBody3625513399434356364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_09_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/26/8989d93a87d06453de0e1188a350b670.jpg","text":"TemporaryFile(/tmp/multipartBody2657158211420757031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_08_44_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf4e34ee8c8c6e509c9e27844b2f06b8.jpg","text":"TemporaryFile(/tmp/multipartBody8398406343914520992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872263826,"filename":"image_26012025_07_09_04_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594132","file1":"1331594128","file0":"1331594123","file4":"1331594142","file5":"1331594148","file3":"1331594135"},"map_files_photo_id_array":[{"photo_id":"1331594148","filename":"file5"},{"photo_id":"1331594132","filename":"file2"},{"photo_id":"1331594142","filename":"file4"},{"photo_id":"1331594128","filename":"file1"},{"photo_id":"1331594123","filename":"file0"},{"photo_id":"1331594135","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594148":["hashtag1","hashtag2"]},{"1331594142":["hashtag1","hashtag2"]},{"1331594132":["hashtag1","hashtag2"]},{"1331594135":["hashtag1","hashtag2"]},{"1331594123":["hashtag1","hashtag2"]},{"1331594128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594148, 1331594142, 1331594132, 1331594135, 1331594123, 1331594128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79650521278381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:17:32.260656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_54_9332.jpg', '/home/pi/Desktop/images/26012025/07/09/image_26012025_07_10_04_10344.jpg', '/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_15_10560.jpg', '/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_24_9354.jpg', '/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_35_10453.jpg', '/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_54_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_09_54_9332.jpg
/home/pi/Desktop/images/26012025/07/09/image_26012025_07_10_04_10344.jpg
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_15_10560.jpg
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_24_9354.jpg
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_35_10453.jpg
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_10_54_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":["1331594193","1331594181","1331594175","1331594189","1331594168","1331594162"],"photo_ids_order":["1331594162","1331594168","1331594175","1331594181","1331594189","1331594193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef04a96d385970017b745270497e051d.jpg","text":"TemporaryFile(/tmp/multipartBody3278368186654676883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_10_54_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b79dcc3e775f976d766c5a22edbc38f3.jpg","text":"TemporaryFile(/tmp/multipartBody7887008904728746934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_10_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b4722a4091b6f6b42e36f91ad770e84.jpg","text":"TemporaryFile(/tmp/multipartBody6504650335918928335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_10_15_10560.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8d5939ab93f8468bf1259eb10c6d65b.jpg","text":"TemporaryFile(/tmp/multipartBody823575246533964926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_10_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/26/cbf1c799da4893a5e2ff5a4758818255.jpg","text":"TemporaryFile(/tmp/multipartBody1418984068865261169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_10_04_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/44c8f7d09ee84909a9289312df144413.jpg","text":"TemporaryFile(/tmp/multipartBody6980078771169081225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872313168,"filename":"image_26012025_07_09_54_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594175","file1":"1331594168","file0":"1331594162","file4":"1331594189","file5":"1331594193","file3":"1331594181"},"map_files_photo_id_array":[{"photo_id":"1331594193","filename":"file5"},{"photo_id":"1331594175","filename":"file2"},{"photo_id":"1331594189","filename":"file4"},{"photo_id":"1331594168","filename":"file1"},{"photo_id":"1331594162","filename":"file0"},{"photo_id":"1331594181","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594193":["hashtag1","hashtag2"]},{"1331594181":["hashtag1","hashtag2"]},{"1331594175":["hashtag1","hashtag2"]},{"1331594189":["hashtag1","hashtag2"]},{"1331594168":["hashtag1","hashtag2"]},{"1331594162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594193, 1331594181, 1331594175, 1331594189, 1331594168, 1331594162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38530230522156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:18:32.494994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/10/image_26012025_07_11_05_10355.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_14_9333.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_24_10438.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_35_10419.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_55_10466.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_12_04_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_11_05_10355.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_14_9333.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_24_10438.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_35_10419.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_55_10466.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_12_04_9336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5241212844848633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:18:42.439394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/10/image_26012025_07_11_05_10355.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_14_9333.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_24_10438.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_35_10419.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_55_10466.jpg', '/home/pi/Desktop/images/26012025/07/11/image_26012025_07_12_04_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/10/image_26012025_07_11_05_10355.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_14_9333.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_24_10438.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_35_10419.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_11_55_10466.jpg
/home/pi/Desktop/images/26012025/07/11/image_26012025_07_12_04_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":["1331594236","1331594215","1331594240","1331594228","1331594222","1331594233"],"photo_ids_order":["1331594215","1331594222","1331594228","1331594233","1331594236","1331594240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/99f82ec5acf43f72a108e9bbb8080ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5889390121750696157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_11_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/26/dad4fc30255d45af896590dc37dd977a.jpg","text":"TemporaryFile(/tmp/multipartBody7830893266037089990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_11_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/26/6e41f6b545f1bae9bd695dd24fbd27e3.jpg","text":"TemporaryFile(/tmp/multipartBody994782044016440455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_12_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/26/fc974caf9db65edb705370c70df9f5f4.jpg","text":"TemporaryFile(/tmp/multipartBody6180949979971660229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_11_24_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/26/f7d0e8052a026d40efc8e88795f28077.jpg","text":"TemporaryFile(/tmp/multipartBody6546757983610325045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_11_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9364007c470ffc501006421352c005e.jpg","text":"TemporaryFile(/tmp/multipartBody870026622693749752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872383780,"filename":"image_26012025_07_11_35_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594228","file1":"1331594222","file0":"1331594215","file4":"1331594236","file5":"1331594240","file3":"1331594233"},"map_files_photo_id_array":[{"photo_id":"1331594240","filename":"file5"},{"photo_id":"1331594228","filename":"file2"},{"photo_id":"1331594236","filename":"file4"},{"photo_id":"1331594222","filename":"file1"},{"photo_id":"1331594215","filename":"file0"},{"photo_id":"1331594233","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594236":["hashtag1","hashtag2"]},{"1331594215":["hashtag1","hashtag2"]},{"1331594240":["hashtag1","hashtag2"]},{"1331594228":["hashtag1","hashtag2"]},{"1331594222":["hashtag1","hashtag2"]},{"1331594233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594236, 1331594215, 1331594240, 1331594228, 1331594222, 1331594233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71751880645752 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:19:32.861430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_14_10334.jpg', '/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_25_10377.jpg', '/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_34_9315.jpg', '/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_44_10339.jpg', '/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_55_10435.jpg', '/home/pi/Desktop/images/26012025/07/12/image_26012025_07_13_04_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_14_10334.jpg
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_25_10377.jpg
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_34_9315.jpg
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_44_10339.jpg
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_12_55_10435.jpg
/home/pi/Desktop/images/26012025/07/12/image_26012025_07_13_04_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":["1331594314","1331594316","1331594304","1331594309","1331594300","1331594281"],"photo_ids_order":["1331594281","1331594300","1331594304","1331594309","1331594314","1331594316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7379776c876624202f89ad03d4beb42f.jpg","text":"TemporaryFile(/tmp/multipartBody7678024104174178449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_12_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/26/4f8719fce3f175daab57bdc76b6665f7.jpg","text":"TemporaryFile(/tmp/multipartBody2429994802638889141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_13_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/26/a2eb9de7771a464acbb575ccad2e3307.jpg","text":"TemporaryFile(/tmp/multipartBody1618255488551719574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_12_34_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4943096da3dd7f1431eec4cca320b950.jpg","text":"TemporaryFile(/tmp/multipartBody7091117960359014801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_12_44_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/030dfa77a214459561b58bd6ea2c8dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2048686298435720179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_12_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/26/6df112f536b282ec684aa3b9cc356337.jpg","text":"TemporaryFile(/tmp/multipartBody4071338409789031151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872433783,"filename":"image_26012025_07_12_14_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594304","file1":"1331594300","file0":"1331594281","file4":"1331594314","file5":"1331594316","file3":"1331594309"},"map_files_photo_id_array":[{"photo_id":"1331594316","filename":"file5"},{"photo_id":"1331594304","filename":"file2"},{"photo_id":"1331594314","filename":"file4"},{"photo_id":"1331594300","filename":"file1"},{"photo_id":"1331594281","filename":"file0"},{"photo_id":"1331594309","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594314":["hashtag1","hashtag2"]},{"1331594316":["hashtag1","hashtag2"]},{"1331594304":["hashtag1","hashtag2"]},{"1331594309":["hashtag1","hashtag2"]},{"1331594300":["hashtag1","hashtag2"]},{"1331594281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594314, 1331594316, 1331594304, 1331594309, 1331594300, 1331594281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5207941532135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:20:32.939056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_15_10458.jpg', '/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_24_9401.jpg', '/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_34_10358.jpg', '/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_45_10359.jpg', '/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_54_9355.jpg', '/home/pi/Desktop/images/26012025/07/13/image_26012025_07_14_05_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_15_10458.jpg
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_24_9401.jpg
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_34_10358.jpg
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_45_10359.jpg
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_13_54_9355.jpg
/home/pi/Desktop/images/26012025/07/13/image_26012025_07_14_05_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331594346","1331594340","1331594351","1331594354","1331594356","1331594335"],"photo_ids_order":["1331594335","1331594340","1331594346","1331594351","1331594354","1331594356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/38143feb264665fd9d886300c9b7cb15.jpg","text":"TemporaryFile(/tmp/multipartBody140107413556580941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_13_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/26/d61c93d49e4f650a872a312fc7632ace.jpg","text":"TemporaryFile(/tmp/multipartBody9007998462369221577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_13_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/26/89212ec313b199402381df873663b079.jpg","text":"TemporaryFile(/tmp/multipartBody7008769652447112473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_13_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/26/01f5d0a482164bf95ad3c70c1823d4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1611859506439818533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_13_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/26/bd67fa4faa5a7fe29d4eaf7c94b23031.jpg","text":"TemporaryFile(/tmp/multipartBody3576669295316142745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_14_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/26/4174990cf54c5cca7692e742e1e20cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7932178699828240079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872493846,"filename":"image_26012025_07_13_15_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594346","file1":"1331594340","file0":"1331594335","file4":"1331594354","file5":"1331594356","file3":"1331594351"},"map_files_photo_id_array":[{"photo_id":"1331594356","filename":"file5"},{"photo_id":"1331594346","filename":"file2"},{"photo_id":"1331594354","filename":"file4"},{"photo_id":"1331594340","filename":"file1"},{"photo_id":"1331594335","filename":"file0"},{"photo_id":"1331594351","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594346":["hashtag1","hashtag2"]},{"1331594340":["hashtag1","hashtag2"]},{"1331594351":["hashtag1","hashtag2"]},{"1331594354":["hashtag1","hashtag2"]},{"1331594356":["hashtag1","hashtag2"]},{"1331594335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594346, 1331594340, 1331594351, 1331594354, 1331594356, 1331594335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36030983924866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:21:33.220901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_15_10321.jpg', '/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_24_9324.jpg', '/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_35_10386.jpg', '/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_44_9332.jpg', '/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_54_10350.jpg', '/home/pi/Desktop/images/26012025/07/14/image_26012025_07_15_05_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_15_10321.jpg
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_24_9324.jpg
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_35_10386.jpg
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_44_9332.jpg
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_14_54_10350.jpg
/home/pi/Desktop/images/26012025/07/14/image_26012025_07_15_05_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":["1331594376","1331594387","1331594381","1331594366","1331594392","1331594371"],"photo_ids_order":["1331594366","1331594371","1331594376","1331594381","1331594387","1331594392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58d7d612a0d69f62139c1b99769c63ae.jpg","text":"TemporaryFile(/tmp/multipartBody2053097668047028878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_14_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35c523b363002ae0372f57966612c43c.jpg","text":"TemporaryFile(/tmp/multipartBody319399871454655897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_14_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/26/1ea752d675a427adf852c455f598c350.jpg","text":"TemporaryFile(/tmp/multipartBody3828903733310020179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_14_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53205070e90e10b2971d63557a94feb4.jpg","text":"TemporaryFile(/tmp/multipartBody8797744590109885263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_14_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d6da0694a8ad214e46aa3897881975f.jpg","text":"TemporaryFile(/tmp/multipartBody3614478459869112472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_15_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ed08a90a483f8fbb86a75f601f606eb.jpg","text":"TemporaryFile(/tmp/multipartBody6735503955295517939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872554134,"filename":"image_26012025_07_14_24_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594376","file1":"1331594371","file0":"1331594366","file4":"1331594387","file5":"1331594392","file3":"1331594381"},"map_files_photo_id_array":[{"photo_id":"1331594392","filename":"file5"},{"photo_id":"1331594376","filename":"file2"},{"photo_id":"1331594387","filename":"file4"},{"photo_id":"1331594371","filename":"file1"},{"photo_id":"1331594366","filename":"file0"},{"photo_id":"1331594381","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594376":["hashtag1","hashtag2"]},{"1331594387":["hashtag1","hashtag2"]},{"1331594381":["hashtag1","hashtag2"]},{"1331594366":["hashtag1","hashtag2"]},{"1331594392":["hashtag1","hashtag2"]},{"1331594371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594376, 1331594387, 1331594381, 1331594366, 1331594392, 1331594371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85695791244507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:22:32.373777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_14_9336.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_44_9334.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_55_10450.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_16_04_9435.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_14_10362.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_24_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_14_9336.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_44_9334.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_55_10450.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_16_04_9435.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_14_10362.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_24_9469.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5473899841308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:22:42.372558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_14_9336.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_44_9334.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_55_10450.jpg', '/home/pi/Desktop/images/26012025/07/15/image_26012025_07_16_04_9435.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_14_10362.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_24_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_14_9336.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_44_9334.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_15_55_10450.jpg
/home/pi/Desktop/images/26012025/07/15/image_26012025_07_16_04_9435.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_14_10362.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_24_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331594451","1331594454","1331594457","1331594459","1331594441","1331594446"],"photo_ids_order":["1331594441","1331594446","1331594451","1331594454","1331594457","1331594459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e0db7d7e465d18862b300d3e9c9c29cf.jpg","text":"TemporaryFile(/tmp/multipartBody3367994498769951061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_15_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/26/287aeb103668a035774c5b870045925e.jpg","text":"TemporaryFile(/tmp/multipartBody2427132780986047985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_16_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/26/35cb84613a583af2a4a87b442cf08f77.jpg","text":"TemporaryFile(/tmp/multipartBody162276954024000065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_16_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ecdbbcc229f7599a0a602fa1c572091.jpg","text":"TemporaryFile(/tmp/multipartBody3128565035927577674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_16_24_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea4deeb374b3f43ee751b889878a2474.jpg","text":"TemporaryFile(/tmp/multipartBody8021376361746079980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_15_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83f335dd52dd5e364a099c918b83bbf5.jpg","text":"TemporaryFile(/tmp/multipartBody1102560406797296733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872623443,"filename":"image_26012025_07_15_44_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594451","file1":"1331594446","file0":"1331594441","file4":"1331594457","file5":"1331594459","file3":"1331594454"},"map_files_photo_id_array":[{"photo_id":"1331594459","filename":"file5"},{"photo_id":"1331594451","filename":"file2"},{"photo_id":"1331594457","filename":"file4"},{"photo_id":"1331594446","filename":"file1"},{"photo_id":"1331594441","filename":"file0"},{"photo_id":"1331594454","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594451":["hashtag1","hashtag2"]},{"1331594454":["hashtag1","hashtag2"]},{"1331594457":["hashtag1","hashtag2"]},{"1331594459":["hashtag1","hashtag2"]},{"1331594441":["hashtag1","hashtag2"]},{"1331594446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594451, 1331594454, 1331594457, 1331594459, 1331594441, 1331594446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80281352996826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:23:32.563492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_34_10346.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_45_10405.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_54_9362.jpg', '/home/pi/Desktop/images/26012025/07/16/image_26012025_07_17_04_10333.jpg', '/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_15_10349.jpg', '/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_24_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_34_10346.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_45_10405.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_16_54_9362.jpg
/home/pi/Desktop/images/26012025/07/16/image_26012025_07_17_04_10333.jpg
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_15_10349.jpg
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_24_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":["1331594481","1331594484","1331594474","1331594483","1331594479","1331594476"],"photo_ids_order":["1331594474","1331594476","1331594479","1331594481","1331594483","1331594484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b503c50ba643f402cf248b7ad523f849.jpg","text":"TemporaryFile(/tmp/multipartBody947265089878497331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_17_04_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/26/d263da4e68ff9aa5dccb7f3aa17b1b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4058315257224417925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_17_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/26/5688c7fbac9b3b1188317888ce78f70f.jpg","text":"TemporaryFile(/tmp/multipartBody2829960945124334934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_16_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/26/3ebaaf45ff80cd2d060f3d877414d08c.jpg","text":"TemporaryFile(/tmp/multipartBody6106430501114367045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_17_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/26/cc2ad602216f3ad77746334dc2b385f0.jpg","text":"TemporaryFile(/tmp/multipartBody3484111753429898802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_16_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/26/0553e7739ed22f8357d18eb335dd0cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6153110208555829469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872673483,"filename":"image_26012025_07_16_45_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594479","file1":"1331594476","file0":"1331594474","file4":"1331594483","file5":"1331594484","file3":"1331594481"},"map_files_photo_id_array":[{"photo_id":"1331594484","filename":"file5"},{"photo_id":"1331594479","filename":"file2"},{"photo_id":"1331594483","filename":"file4"},{"photo_id":"1331594476","filename":"file1"},{"photo_id":"1331594474","filename":"file0"},{"photo_id":"1331594481","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594481":["hashtag1","hashtag2"]},{"1331594484":["hashtag1","hashtag2"]},{"1331594474":["hashtag1","hashtag2"]},{"1331594483":["hashtag1","hashtag2"]},{"1331594479":["hashtag1","hashtag2"]},{"1331594476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594481, 1331594484, 1331594474, 1331594483, 1331594479, 1331594476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.196040868759155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:24:32.888569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_35_10494.jpg', '/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_44_9348.jpg', '/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_54_10363.jpg', '/home/pi/Desktop/images/26012025/07/17/image_26012025_07_18_05_10364.jpg', '/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_14_9331.jpg', '/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_24_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_35_10494.jpg
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_44_9348.jpg
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_17_54_10363.jpg
/home/pi/Desktop/images/26012025/07/17/image_26012025_07_18_05_10364.jpg
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_14_9331.jpg
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_24_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":["1331594803","1331594834","1331594711","1331594615","1331594767","1331594929"],"photo_ids_order":["1331594615","1331594711","1331594767","1331594803","1331594834","1331594929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a62d58624db3d45aa27703aa7ff98122.jpg","text":"TemporaryFile(/tmp/multipartBody8696738324961858537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_18_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/26/a7d47e6145309505df207d13c553c233.jpg","text":"TemporaryFile(/tmp/multipartBody5691977383421688977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_18_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/26/a18f5ea6fca84de3f2afc363a9f7c8c1.jpg","text":"TemporaryFile(/tmp/multipartBody867303742361504845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_17_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/26/37b5b9fc6556059279d568d9eec44006.jpg","text":"TemporaryFile(/tmp/multipartBody4942449252168392711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_17_35_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/26/6c0489a0f0c7ec8c1ab73aced2a3b462.jpg","text":"TemporaryFile(/tmp/multipartBody6804120651082594529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_17_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ffbc51e6b48f0742d32674bc143da3c.jpg","text":"TemporaryFile(/tmp/multipartBody4534451457014266931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872733809,"filename":"image_26012025_07_18_24_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331594767","file1":"1331594711","file0":"1331594615","file4":"1331594834","file5":"1331594929","file3":"1331594803"},"map_files_photo_id_array":[{"photo_id":"1331594929","filename":"file5"},{"photo_id":"1331594767","filename":"file2"},{"photo_id":"1331594834","filename":"file4"},{"photo_id":"1331594711","filename":"file1"},{"photo_id":"1331594615","filename":"file0"},{"photo_id":"1331594803","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331594803":["hashtag1","hashtag2"]},{"1331594834":["hashtag1","hashtag2"]},{"1331594711":["hashtag1","hashtag2"]},{"1331594615":["hashtag1","hashtag2"]},{"1331594767":["hashtag1","hashtag2"]},{"1331594929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331594803, 1331594834, 1331594711, 1331594615, 1331594767, 1331594929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.645845890045166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:25:33.044245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_35_10431.jpg', '/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_44_9367.jpg', '/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_55_10478.jpg', '/home/pi/Desktop/images/26012025/07/18/image_26012025_07_19_04_9340.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_14_10346.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_25_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_35_10431.jpg
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_44_9367.jpg
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_18_55_10478.jpg
/home/pi/Desktop/images/26012025/07/18/image_26012025_07_19_04_9340.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_14_10346.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_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":["1331595380","1331595373","1331595367","1331595361","1331595378","1331595357"],"photo_ids_order":["1331595357","1331595361","1331595367","1331595373","1331595378","1331595380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/371903b1d49e799b986b0a7cd9174e36.jpg","text":"TemporaryFile(/tmp/multipartBody8446862437694280671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_19_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/26/4a6c67ccff0ff09b33c19def7dee5a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3292077437487506842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_19_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/44f7583076b4db2dc4c53c95fa4b3595.jpg","text":"TemporaryFile(/tmp/multipartBody8648769020952926025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_18_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/26/6b29fe09706e6370472b80b45ff9b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody131552317125506355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_18_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/26/ca810115e4f0e86262616085e9850f8f.jpg","text":"TemporaryFile(/tmp/multipartBody4607019297078753120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_19_14_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35e2441fcef90934bbc61199b736bafb.jpg","text":"TemporaryFile(/tmp/multipartBody5956258179035853014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872793964,"filename":"image_26012025_07_18_35_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331595367","file1":"1331595361","file0":"1331595357","file4":"1331595378","file5":"1331595380","file3":"1331595373"},"map_files_photo_id_array":[{"photo_id":"1331595380","filename":"file5"},{"photo_id":"1331595367","filename":"file2"},{"photo_id":"1331595378","filename":"file4"},{"photo_id":"1331595361","filename":"file1"},{"photo_id":"1331595357","filename":"file0"},{"photo_id":"1331595373","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331595380":["hashtag1","hashtag2"]},{"1331595373":["hashtag1","hashtag2"]},{"1331595367":["hashtag1","hashtag2"]},{"1331595361":["hashtag1","hashtag2"]},{"1331595378":["hashtag1","hashtag2"]},{"1331595357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331595380, 1331595373, 1331595367, 1331595361, 1331595378, 1331595357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4239764213562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:26:32.426291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_34_9340.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_44_10418.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_55_10348.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_20_04_9321.jpg', '/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_14_10345.jpg', '/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_34_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_34_9340.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_44_10418.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_55_10348.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_20_04_9321.jpg
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_14_10345.jpg
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_34_9332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5424578189849854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:26:42.318301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_34_9340.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_44_10418.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_55_10348.jpg', '/home/pi/Desktop/images/26012025/07/19/image_26012025_07_20_04_9321.jpg', '/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_14_10345.jpg', '/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_34_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_34_9340.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_44_10418.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_19_55_10348.jpg
/home/pi/Desktop/images/26012025/07/19/image_26012025_07_20_04_9321.jpg
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_14_10345.jpg
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_34_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":["1331596148","1331596145","1331596100","1331596150","1331596141","1331595883"],"photo_ids_order":["1331595883","1331596100","1331596141","1331596145","1331596148","1331596150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8363aceb836c1f9a53b1cf00c88b99ab.jpg","text":"TemporaryFile(/tmp/multipartBody7616575707118807723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_20_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/26/64aa5c10ef07194846ff6f483fd7f3f6.jpg","text":"TemporaryFile(/tmp/multipartBody1155306022802791404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_20_04_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54ca3076f7a002516a4c6cc844842c25.jpg","text":"TemporaryFile(/tmp/multipartBody7768613473743372511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_19_44_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1373095d49ebf2119c6aa6ee59a75e4c.jpg","text":"TemporaryFile(/tmp/multipartBody5095106660011548398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_20_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/26/55874342c11b70181cc027f28a9a209a.jpg","text":"TemporaryFile(/tmp/multipartBody6791210433062072554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_19_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/26/e22aa506c55b7b950a305dcf4476005c.jpg","text":"TemporaryFile(/tmp/multipartBody2169327035786568600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872863240,"filename":"image_26012025_07_19_34_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331596141","file1":"1331596100","file0":"1331595883","file4":"1331596148","file5":"1331596150","file3":"1331596145"},"map_files_photo_id_array":[{"photo_id":"1331596150","filename":"file5"},{"photo_id":"1331596141","filename":"file2"},{"photo_id":"1331596148","filename":"file4"},{"photo_id":"1331596100","filename":"file1"},{"photo_id":"1331595883","filename":"file0"},{"photo_id":"1331596145","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331596148":["hashtag1","hashtag2"]},{"1331596145":["hashtag1","hashtag2"]},{"1331596100":["hashtag1","hashtag2"]},{"1331596150":["hashtag1","hashtag2"]},{"1331596141":["hashtag1","hashtag2"]},{"1331595883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331596148, 1331596145, 1331596100, 1331596150, 1331596141, 1331595883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.908971309661865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:27:32.647252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_45_10446.jpg', '/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_54_9341.jpg', '/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_15_10342.jpg', '/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_24_9336.jpg', '/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_34_10399.jpg', '/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_45_10446.jpg
/home/pi/Desktop/images/26012025/07/20/image_26012025_07_20_54_9341.jpg
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_15_10342.jpg
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_24_9336.jpg
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_34_10399.jpg
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_45_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331596355","1331596343","1331596351","1331596339","1331596354","1331596347"],"photo_ids_order":["1331596339","1331596343","1331596347","1331596351","1331596354","1331596355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02acc6d9c448c3c9ffe64c108f62be3f.jpg","text":"TemporaryFile(/tmp/multipartBody1587802980101016350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_21_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/26/b312b54939137a88cdf2b0b24eb53281.jpg","text":"TemporaryFile(/tmp/multipartBody7972941720645509320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_20_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/26/a56055a4d80bacb24fa03c3cadb757e4.jpg","text":"TemporaryFile(/tmp/multipartBody9135524697593255686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_21_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ffaa5a7bf4075eb06c4dfbe02678fcb3.jpg","text":"TemporaryFile(/tmp/multipartBody6716258446560120096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_20_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d0efeba722667ed754296e77ea3d2c2b.jpg","text":"TemporaryFile(/tmp/multipartBody6745890508611505468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_21_34_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5e23b1412472723c9b5eb9c5e22d776.jpg","text":"TemporaryFile(/tmp/multipartBody4542614670861635083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872913586,"filename":"image_26012025_07_21_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331596347","file1":"1331596343","file0":"1331596339","file4":"1331596354","file5":"1331596355","file3":"1331596351"},"map_files_photo_id_array":[{"photo_id":"1331596355","filename":"file5"},{"photo_id":"1331596347","filename":"file2"},{"photo_id":"1331596354","filename":"file4"},{"photo_id":"1331596343","filename":"file1"},{"photo_id":"1331596339","filename":"file0"},{"photo_id":"1331596351","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331596355":["hashtag1","hashtag2"]},{"1331596343":["hashtag1","hashtag2"]},{"1331596351":["hashtag1","hashtag2"]},{"1331596339":["hashtag1","hashtag2"]},{"1331596354":["hashtag1","hashtag2"]},{"1331596347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331596355, 1331596343, 1331596351, 1331596339, 1331596354, 1331596347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6567656993866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:28:33.077895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_54_9379.jpg', '/home/pi/Desktop/images/26012025/07/21/image_26012025_07_22_05_10484.jpg', '/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_14_9332.jpg', '/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_24_10351.jpg', '/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_35_10358.jpg', '/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_44_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_21_54_9379.jpg
/home/pi/Desktop/images/26012025/07/21/image_26012025_07_22_05_10484.jpg
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_14_9332.jpg
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_24_10351.jpg
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_35_10358.jpg
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_44_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331596407","1331596402","1331596386","1331596389","1331596410","1331596394"],"photo_ids_order":["1331596386","1331596389","1331596394","1331596402","1331596407","1331596410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cdcfa6c4c1ed244dc7d1967109bc1be0.jpg","text":"TemporaryFile(/tmp/multipartBody3963323510357321748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_22_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/26/f80ca6b9ef414b7eb597d8daaabe9842.jpg","text":"TemporaryFile(/tmp/multipartBody8997591407944284979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_22_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/26/1c01b42f62232ddc804e33bc1543750c.jpg","text":"TemporaryFile(/tmp/multipartBody6394732486069728805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_21_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/26/19ccc5daee61579f6112ebf14cedddd6.jpg","text":"TemporaryFile(/tmp/multipartBody2455990281871428972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_22_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/26/745407324f17721ae003e976be15bbc5.jpg","text":"TemporaryFile(/tmp/multipartBody9200648326243069617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_22_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/26/7c2e54db71effa3bfb52c8837903f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody4147444262822297082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737872973992,"filename":"image_26012025_07_22_14_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331596394","file1":"1331596389","file0":"1331596386","file4":"1331596407","file5":"1331596410","file3":"1331596402"},"map_files_photo_id_array":[{"photo_id":"1331596410","filename":"file5"},{"photo_id":"1331596394","filename":"file2"},{"photo_id":"1331596407","filename":"file4"},{"photo_id":"1331596389","filename":"file1"},{"photo_id":"1331596386","filename":"file0"},{"photo_id":"1331596402","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331596407":["hashtag1","hashtag2"]},{"1331596402":["hashtag1","hashtag2"]},{"1331596386":["hashtag1","hashtag2"]},{"1331596389":["hashtag1","hashtag2"]},{"1331596410":["hashtag1","hashtag2"]},{"1331596394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331596407, 1331596402, 1331596386, 1331596389, 1331596410, 1331596394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93739867210388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:29:32.208262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_54_10335.jpg', '/home/pi/Desktop/images/26012025/07/22/image_26012025_07_23_05_10464.jpg', '/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_14_9322.jpg', '/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_25_10491.jpg', '/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_34_9322.jpg', '/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_44_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_22_54_10335.jpg
/home/pi/Desktop/images/26012025/07/22/image_26012025_07_23_05_10464.jpg
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_14_9322.jpg
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_25_10491.jpg
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_34_9322.jpg
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_44_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331596428","1331596421","1331596438","1331596447","1331596449","1331596443"],"photo_ids_order":["1331596421","1331596428","1331596438","1331596443","1331596447","1331596449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bfd3ff7942581cc575f81c97249c68e.jpg","text":"TemporaryFile(/tmp/multipartBody3376709692212913681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_23_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9036f95d78b34e658204a9b84fc1145a.jpg","text":"TemporaryFile(/tmp/multipartBody6101203197698852599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_22_54_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/26/8cdd2e7b1f46f286543ec9994feec50b.jpg","text":"TemporaryFile(/tmp/multipartBody4377651869339489378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_23_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/26/7858c12fe4ff156b320ea1a9c2601017.jpg","text":"TemporaryFile(/tmp/multipartBody4021967025436866359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_23_34_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/26/632ee6d647d62892b97035f4d119ceba.jpg","text":"TemporaryFile(/tmp/multipartBody6792262635614651206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_23_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/26/281b16f237d8298a1594133508219980.jpg","text":"TemporaryFile(/tmp/multipartBody1747260571613057064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873033120,"filename":"image_26012025_07_23_25_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331596438","file1":"1331596428","file0":"1331596421","file4":"1331596447","file5":"1331596449","file3":"1331596443"},"map_files_photo_id_array":[{"photo_id":"1331596449","filename":"file5"},{"photo_id":"1331596438","filename":"file2"},{"photo_id":"1331596447","filename":"file4"},{"photo_id":"1331596428","filename":"file1"},{"photo_id":"1331596421","filename":"file0"},{"photo_id":"1331596443","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331596428":["hashtag1","hashtag2"]},{"1331596421":["hashtag1","hashtag2"]},{"1331596438":["hashtag1","hashtag2"]},{"1331596447":["hashtag1","hashtag2"]},{"1331596449":["hashtag1","hashtag2"]},{"1331596443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331596428, 1331596421, 1331596438, 1331596447, 1331596449, 1331596443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28965139389038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:30:32.418480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_55_10344.jpg', '/home/pi/Desktop/images/26012025/07/23/image_26012025_07_24_04_9440.jpg', '/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_15_10484.jpg', '/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_24_9341.jpg', '/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_34_10391.jpg', '/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_45_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_23_55_10344.jpg
/home/pi/Desktop/images/26012025/07/23/image_26012025_07_24_04_9440.jpg
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_15_10484.jpg
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_24_9341.jpg
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_34_10391.jpg
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_45_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331596943","1331596520","1331597068","1331596831","1331596566","1331596713"],"photo_ids_order":["1331596520","1331596566","1331596713","1331596831","1331596943","1331597068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c133da275c083cff045dff314cd40d35.jpg","text":"TemporaryFile(/tmp/multipartBody8494771148984332122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_24_34_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/26/8df19d5bbb1fdbc283ceeae319d2d0fe.jpg","text":"TemporaryFile(/tmp/multipartBody1135098921541154996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_23_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c7c56e42e6c9318ba3e46d76384fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody5493332876281078569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_24_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/26/9abe0302c8663422807af4dcc3a9eb99.jpg","text":"TemporaryFile(/tmp/multipartBody8391600517850408222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_24_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e937fbb76cb6e3797c8f3e62dd61a3a.jpg","text":"TemporaryFile(/tmp/multipartBody7884542132373190277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_24_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/26/c63058515f8f1bb424b1efca0024842d.jpg","text":"TemporaryFile(/tmp/multipartBody3404508378426829524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873093331,"filename":"image_26012025_07_24_15_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331596713","file1":"1331596566","file0":"1331596520","file4":"1331596943","file5":"1331597068","file3":"1331596831"},"map_files_photo_id_array":[{"photo_id":"1331597068","filename":"file5"},{"photo_id":"1331596713","filename":"file2"},{"photo_id":"1331596943","filename":"file4"},{"photo_id":"1331596566","filename":"file1"},{"photo_id":"1331596520","filename":"file0"},{"photo_id":"1331596831","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331596943":["hashtag1","hashtag2"]},{"1331596520":["hashtag1","hashtag2"]},{"1331597068":["hashtag1","hashtag2"]},{"1331596831":["hashtag1","hashtag2"]},{"1331596566":["hashtag1","hashtag2"]},{"1331596713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331596943, 1331596520, 1331597068, 1331596831, 1331596566, 1331596713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.84468078613281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:31:32.809593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_54_9350.jpg', '/home/pi/Desktop/images/26012025/07/24/image_26012025_07_25_04_10338.jpg', '/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_15_10414.jpg', '/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_24_9326.jpg', '/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_35_10395.jpg', '/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_44_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_24_54_9350.jpg
/home/pi/Desktop/images/26012025/07/24/image_26012025_07_25_04_10338.jpg
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_15_10414.jpg
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_24_9326.jpg
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_35_10395.jpg
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_44_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":["1331597569","1331597556","1331597571","1331597565","1331597550","1331597561"],"photo_ids_order":["1331597550","1331597556","1331597561","1331597565","1331597569","1331597571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/230bac12e206c93b272355e60ca79454.jpg","text":"TemporaryFile(/tmp/multipartBody4620903163483038622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_25_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/26/d55ac3d126612039feae86ab43d0fe47.jpg","text":"TemporaryFile(/tmp/multipartBody3093931042559746431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_25_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/26/d33097529598d5962570ce454628e1cc.jpg","text":"TemporaryFile(/tmp/multipartBody4428071663307471654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_25_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b52b6865f4b9b891829bb673cbb9387.jpg","text":"TemporaryFile(/tmp/multipartBody8004799636574687745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_25_24_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2922c6f02851fe7b76d36f79262711b0.jpg","text":"TemporaryFile(/tmp/multipartBody8047890469077090211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_24_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/26/0aba0df00ee1a11a98572b09fd412298.jpg","text":"TemporaryFile(/tmp/multipartBody1738479646126498137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873153760,"filename":"image_26012025_07_25_15_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331597561","file1":"1331597556","file0":"1331597550","file4":"1331597569","file5":"1331597571","file3":"1331597565"},"map_files_photo_id_array":[{"photo_id":"1331597571","filename":"file5"},{"photo_id":"1331597561","filename":"file2"},{"photo_id":"1331597569","filename":"file4"},{"photo_id":"1331597556","filename":"file1"},{"photo_id":"1331597550","filename":"file0"},{"photo_id":"1331597565","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331597569":["hashtag1","hashtag2"]},{"1331597556":["hashtag1","hashtag2"]},{"1331597571":["hashtag1","hashtag2"]},{"1331597565":["hashtag1","hashtag2"]},{"1331597550":["hashtag1","hashtag2"]},{"1331597561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331597569, 1331597556, 1331597571, 1331597565, 1331597550, 1331597561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.93135905265808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:32:33.035292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_54_10339.jpg', '/home/pi/Desktop/images/26012025/07/25/image_26012025_07_26_05_10350.jpg', '/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_14_9338.jpg', '/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_24_10343.jpg', '/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_35_10464.jpg', '/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_44_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_25_54_10339.jpg
/home/pi/Desktop/images/26012025/07/25/image_26012025_07_26_05_10350.jpg
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_14_9338.jpg
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_24_10343.jpg
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_35_10464.jpg
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_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":["1331597861","1331597807","1331597866","1331597749","1331597925","1331597858"],"photo_ids_order":["1331597749","1331597807","1331597858","1331597861","1331597866","1331597925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/963b9a39f21ae4cb6e4984769bbe21d3.jpg","text":"TemporaryFile(/tmp/multipartBody5032884498518950096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_26_24_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27796631c29d13c946adafd59f043376.jpg","text":"TemporaryFile(/tmp/multipartBody5898771603097842716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_26_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/26/cebb81e42ed9edeec985ed13ef0c8342.jpg","text":"TemporaryFile(/tmp/multipartBody548460427178312775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_26_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8faba9cc28a6ab9aac18031ef1e74aa.jpg","text":"TemporaryFile(/tmp/multipartBody6759010905573869823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_25_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/26/93d11b971bd173a2e13c53790a012e48.jpg","text":"TemporaryFile(/tmp/multipartBody3470268704422440651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_26_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/26/84672c08b712463444888eeb8a9e022b.jpg","text":"TemporaryFile(/tmp/multipartBody2858308549781818053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873213959,"filename":"image_26012025_07_26_14_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331597858","file1":"1331597807","file0":"1331597749","file4":"1331597866","file5":"1331597925","file3":"1331597861"},"map_files_photo_id_array":[{"photo_id":"1331597925","filename":"file5"},{"photo_id":"1331597858","filename":"file2"},{"photo_id":"1331597866","filename":"file4"},{"photo_id":"1331597807","filename":"file1"},{"photo_id":"1331597749","filename":"file0"},{"photo_id":"1331597861","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331597861":["hashtag1","hashtag2"]},{"1331597807":["hashtag1","hashtag2"]},{"1331597866":["hashtag1","hashtag2"]},{"1331597749":["hashtag1","hashtag2"]},{"1331597925":["hashtag1","hashtag2"]},{"1331597858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331597861, 1331597807, 1331597866, 1331597749, 1331597925, 1331597858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.67057538032532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:33:32.233791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_54_10373.jpg', '/home/pi/Desktop/images/26012025/07/26/image_26012025_07_27_05_10416.jpg', '/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_14_9356.jpg', '/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_25_10378.jpg', '/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_34_9348.jpg', '/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_44_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_26_54_10373.jpg
/home/pi/Desktop/images/26012025/07/26/image_26012025_07_27_05_10416.jpg
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_14_9356.jpg
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_25_10378.jpg
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_34_9348.jpg
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_44_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331598025","1331598007","1331598015","1331598030","1331598032","1331598020"],"photo_ids_order":["1331598007","1331598015","1331598020","1331598025","1331598030","1331598032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f671fd2057c19eef07e2ed32b5124d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6299946546000479888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_27_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/26/563e5d1269e669c8587a7629fcab01da.jpg","text":"TemporaryFile(/tmp/multipartBody4155951704304589453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_26_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90775bc372348addc1fc3390276c3a69.jpg","text":"TemporaryFile(/tmp/multipartBody7528217399691309739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_27_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6e76c6efa5cea3430b06566ab423b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3655460552131560879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_27_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31e8677eb7bf526a751bfea1943a594e.jpg","text":"TemporaryFile(/tmp/multipartBody4042160267629723375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_27_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4dbe1baa41a5332108179810d5340920.jpg","text":"TemporaryFile(/tmp/multipartBody8022182857644052699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873273175,"filename":"image_26012025_07_27_14_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331598020","file1":"1331598015","file0":"1331598007","file4":"1331598030","file5":"1331598032","file3":"1331598025"},"map_files_photo_id_array":[{"photo_id":"1331598032","filename":"file5"},{"photo_id":"1331598020","filename":"file2"},{"photo_id":"1331598030","filename":"file4"},{"photo_id":"1331598015","filename":"file1"},{"photo_id":"1331598007","filename":"file0"},{"photo_id":"1331598025","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331598025":["hashtag1","hashtag2"]},{"1331598007":["hashtag1","hashtag2"]},{"1331598015":["hashtag1","hashtag2"]},{"1331598030":["hashtag1","hashtag2"]},{"1331598032":["hashtag1","hashtag2"]},{"1331598020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331598025, 1331598007, 1331598015, 1331598030, 1331598032, 1331598020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57758688926697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:34:32.510262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_55_10359.jpg', '/home/pi/Desktop/images/26012025/07/27/image_26012025_07_28_04_9340.jpg', '/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_14_10343.jpg', '/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_25_10474.jpg', '/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_34_9325.jpg', '/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_45_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_27_55_10359.jpg
/home/pi/Desktop/images/26012025/07/27/image_26012025_07_28_04_9340.jpg
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_14_10343.jpg
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_25_10474.jpg
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_34_9325.jpg
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_45_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331598073","1331598076","1331598064","1331598078","1331598071","1331598068"],"photo_ids_order":["1331598064","1331598068","1331598071","1331598073","1331598076","1331598078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b888fdc027fcf6fb9198c08f09e9e41d.jpg","text":"TemporaryFile(/tmp/multipartBody8504960999154402637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_28_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/26/ca1dee29b7f49c3df1a73cbc116a8b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4393036805893708493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_28_34_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e5b190b7d4deace5c72a63394be9539.jpg","text":"TemporaryFile(/tmp/multipartBody6178921657451826755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_27_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/26/5876fe1e1ee56b883fc03557f425de06.jpg","text":"TemporaryFile(/tmp/multipartBody6186833648051623044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_28_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/26/4ab896c3f90c1a5b044cdde35d52e239.jpg","text":"TemporaryFile(/tmp/multipartBody4435731369396022017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_28_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad3206a6ff3206aabcf3923b5e9f5efc.jpg","text":"TemporaryFile(/tmp/multipartBody3448069337463542953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873333426,"filename":"image_26012025_07_28_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331598071","file1":"1331598068","file0":"1331598064","file4":"1331598076","file5":"1331598078","file3":"1331598073"},"map_files_photo_id_array":[{"photo_id":"1331598078","filename":"file5"},{"photo_id":"1331598071","filename":"file2"},{"photo_id":"1331598076","filename":"file4"},{"photo_id":"1331598068","filename":"file1"},{"photo_id":"1331598064","filename":"file0"},{"photo_id":"1331598073","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331598073":["hashtag1","hashtag2"]},{"1331598076":["hashtag1","hashtag2"]},{"1331598064":["hashtag1","hashtag2"]},{"1331598078":["hashtag1","hashtag2"]},{"1331598071":["hashtag1","hashtag2"]},{"1331598068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331598073, 1331598076, 1331598064, 1331598078, 1331598071, 1331598068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64388728141785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:35:32.695958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_54_9342.jpg', '/home/pi/Desktop/images/26012025/07/28/image_26012025_07_29_04_10342.jpg', '/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_15_10347.jpg', '/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_24_9407.jpg', '/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_34_10339.jpg', '/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_28_54_9342.jpg
/home/pi/Desktop/images/26012025/07/28/image_26012025_07_29_04_10342.jpg
/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_15_10347.jpg
/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_24_9407.jpg
/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_34_10339.jpg
/home/pi/Desktop/images/26012025/07/29/image_26012025_07_29_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":["1331598574","1331599123","1331599329","1331598885","1331599326","1331599322"],"photo_ids_order":["1331598574","1331598885","1331599123","1331599322","1331599326","1331599329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52ca8b30db0449b4932f7a601b5f9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6411785222976520774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_28_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f9a7c26f710d24490fe6aa1be1c71eb.jpg","text":"TemporaryFile(/tmp/multipartBody4607269172306375635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_29_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/26/e87edcab33cb048fa096bd6748c75683.jpg","text":"TemporaryFile(/tmp/multipartBody348764576179235211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_29_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/26/2a987559edb8b6a56e57b30871516cc3.jpg","text":"TemporaryFile(/tmp/multipartBody57718220224365979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_29_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/26/6717a794557cd0c94af619c67da6571d.jpg","text":"TemporaryFile(/tmp/multipartBody3345401433610334422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_29_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96e3f90b30de418e4a02e4892d463ef0.jpg","text":"TemporaryFile(/tmp/multipartBody6347543003133400787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873393700,"filename":"image_26012025_07_29_24_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331599123","file1":"1331598885","file0":"1331598574","file4":"1331599326","file5":"1331599329","file3":"1331599322"},"map_files_photo_id_array":[{"photo_id":"1331599329","filename":"file5"},{"photo_id":"1331599123","filename":"file2"},{"photo_id":"1331599326","filename":"file4"},{"photo_id":"1331598885","filename":"file1"},{"photo_id":"1331598574","filename":"file0"},{"photo_id":"1331599322","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331598574":["hashtag1","hashtag2"]},{"1331599123":["hashtag1","hashtag2"]},{"1331599329":["hashtag1","hashtag2"]},{"1331598885":["hashtag1","hashtag2"]},{"1331599326":["hashtag1","hashtag2"]},{"1331599322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331598574, 1331599123, 1331599329, 1331598885, 1331599326, 1331599322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.362735986709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:36:33.014738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/29/image_26012025_07_30_04_10384.jpg', '/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_15_10385.jpg', '/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_24_9337.jpg', '/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_35_10506.jpg', '/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_44_9345.jpg', '/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_54_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/29/image_26012025_07_30_04_10384.jpg
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_15_10385.jpg
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_24_9337.jpg
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_35_10506.jpg
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_44_9345.jpg
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_30_54_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331599333","1331599389","1331599503","1331599337","1331599435","1331599342"],"photo_ids_order":["1331599333","1331599337","1331599342","1331599389","1331599435","1331599503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2efd1f589af332a7ac3fc9412ee73196.jpg","text":"TemporaryFile(/tmp/multipartBody464534285296144382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_04_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/26/d7ddace1400d39fddd772814d008eb71.jpg","text":"TemporaryFile(/tmp/multipartBody7367171559019447191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_35_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/26/59574e4f9f15d4824239f177dd8aa39b.jpg","text":"TemporaryFile(/tmp/multipartBody4091866975652088191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_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/26/42657ef6b56d7e778e2c94511478c299.jpg","text":"TemporaryFile(/tmp/multipartBody6362746402646477309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f384780d7ccb181039182c5bbe609586.jpg","text":"TemporaryFile(/tmp/multipartBody6559525309457630679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_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/26/203cc097749c78ced7e56e91e71a0375.jpg","text":"TemporaryFile(/tmp/multipartBody5594495067463849952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873453939,"filename":"image_26012025_07_30_24_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331599342","file1":"1331599337","file0":"1331599333","file4":"1331599435","file5":"1331599503","file3":"1331599389"},"map_files_photo_id_array":[{"photo_id":"1331599503","filename":"file5"},{"photo_id":"1331599342","filename":"file2"},{"photo_id":"1331599435","filename":"file4"},{"photo_id":"1331599337","filename":"file1"},{"photo_id":"1331599333","filename":"file0"},{"photo_id":"1331599389","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331599333":["hashtag1","hashtag2"]},{"1331599389":["hashtag1","hashtag2"]},{"1331599503":["hashtag1","hashtag2"]},{"1331599337":["hashtag1","hashtag2"]},{"1331599435":["hashtag1","hashtag2"]},{"1331599342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331599333, 1331599389, 1331599503, 1331599337, 1331599435, 1331599342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62978768348694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:37:33.131552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/30/image_26012025_07_31_05_10453.jpg', '/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_14_9449.jpg', '/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_25_10358.jpg', '/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_34_9328.jpg', '/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_44_10362.jpg', '/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_55_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/30/image_26012025_07_31_05_10453.jpg
/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_14_9449.jpg
/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_25_10358.jpg
/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_34_9328.jpg
/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_44_10362.jpg
/home/pi/Desktop/images/26012025/07/31/image_26012025_07_31_55_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331599822","1331599743","1331599851","1331599847","1331599844","1331599747"],"photo_ids_order":["1331599743","1331599747","1331599822","1331599844","1331599847","1331599851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/354d17497e33781bd2ee51caba06ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody2803382356524625508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_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/26/878f358822f5d131f08a485e5ee460d0.jpg","text":"TemporaryFile(/tmp/multipartBody2699683322154359768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ecb67dd5e9f00407bd8dfe701b2f3926.jpg","text":"TemporaryFile(/tmp/multipartBody4272065532829734367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_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/26/eb049286bfa12cc105debedfb97720a0.jpg","text":"TemporaryFile(/tmp/multipartBody1897137645207170597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_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/26/29f0d3658f5cde1b9862d01317c0edb0.jpg","text":"TemporaryFile(/tmp/multipartBody2722758908769928369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08bc007a3a6ee02541379c3f6bfa779c.jpg","text":"TemporaryFile(/tmp/multipartBody6297448456230424140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873514071,"filename":"image_26012025_07_31_14_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331599822","file1":"1331599747","file0":"1331599743","file4":"1331599847","file5":"1331599851","file3":"1331599844"},"map_files_photo_id_array":[{"photo_id":"1331599851","filename":"file5"},{"photo_id":"1331599822","filename":"file2"},{"photo_id":"1331599847","filename":"file4"},{"photo_id":"1331599747","filename":"file1"},{"photo_id":"1331599743","filename":"file0"},{"photo_id":"1331599844","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331599822":["hashtag1","hashtag2"]},{"1331599743":["hashtag1","hashtag2"]},{"1331599851":["hashtag1","hashtag2"]},{"1331599847":["hashtag1","hashtag2"]},{"1331599844":["hashtag1","hashtag2"]},{"1331599747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331599822, 1331599743, 1331599851, 1331599847, 1331599844, 1331599747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37041449546814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:38:32.373891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_14_10355.jpg', '/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_25_10344.jpg', '/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_34_9343.jpg', '/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_55_10358.jpg', '/home/pi/Desktop/images/26012025/07/32/image_26012025_07_33_04_9342.jpg', '/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_15_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_14_10355.jpg
/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_25_10344.jpg
/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_34_9343.jpg
/home/pi/Desktop/images/26012025/07/32/image_26012025_07_32_55_10358.jpg
/home/pi/Desktop/images/26012025/07/32/image_26012025_07_33_04_9342.jpg
/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_15_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":["1331600628","1331600823","1331600508","1331600825","1331600741","1331600827"],"photo_ids_order":["1331600508","1331600628","1331600741","1331600823","1331600825","1331600827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/310622aa8619224bffb51c8ef6325a5f.jpg","text":"TemporaryFile(/tmp/multipartBody211567808873472864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_32_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/26/3aad377643d661bd65c8f8ea08996bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7914504960140359815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_32_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/26/74c3f10b880368bdd272fa70991fdd5f.jpg","text":"TemporaryFile(/tmp/multipartBody451465676282837438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_32_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/511f9bb9490a8bbc3d2be8809c8585cf.jpg","text":"TemporaryFile(/tmp/multipartBody9058013061367752869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_33_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/26/ca4dad7a77a0dd5553ff7fc02b9719bf.jpg","text":"TemporaryFile(/tmp/multipartBody1240069386045600777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_32_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/26/c070ba89d8376b0adde395e589cf5361.jpg","text":"TemporaryFile(/tmp/multipartBody5937439418476352414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873573290,"filename":"image_26012025_07_33_15_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331600741","file1":"1331600628","file0":"1331600508","file4":"1331600825","file5":"1331600827","file3":"1331600823"},"map_files_photo_id_array":[{"photo_id":"1331600827","filename":"file5"},{"photo_id":"1331600741","filename":"file2"},{"photo_id":"1331600825","filename":"file4"},{"photo_id":"1331600628","filename":"file1"},{"photo_id":"1331600508","filename":"file0"},{"photo_id":"1331600823","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331600628":["hashtag1","hashtag2"]},{"1331600823":["hashtag1","hashtag2"]},{"1331600508":["hashtag1","hashtag2"]},{"1331600825":["hashtag1","hashtag2"]},{"1331600741":["hashtag1","hashtag2"]},{"1331600827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331600628, 1331600823, 1331600508, 1331600825, 1331600741, 1331600827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46436405181885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:39:32.586108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_34_9333.jpg', '/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_45_10465.jpg', '/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_54_9337.jpg', '/home/pi/Desktop/images/26012025/07/33/image_26012025_07_34_04_10449.jpg', '/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_14_9443.jpg', '/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_24_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_34_9333.jpg
/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_45_10465.jpg
/home/pi/Desktop/images/26012025/07/33/image_26012025_07_33_54_9337.jpg
/home/pi/Desktop/images/26012025/07/33/image_26012025_07_34_04_10449.jpg
/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_14_9443.jpg
/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_24_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":["1331600867","1331600849","1331600950","1331601142","1331601037","1331600844"],"photo_ids_order":["1331600844","1331600849","1331600867","1331600950","1331601037","1331601142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0eaf4cd361af99acfbcb930860f9a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody6664991479809915956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_33_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f34046c3be3eb9646111e572b3dc55e.jpg","text":"TemporaryFile(/tmp/multipartBody96210657576185104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_33_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/26/9548000d2158e4be7d07f145f531e19d.jpg","text":"TemporaryFile(/tmp/multipartBody4111416494882874149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_34_04_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64057010cc6b80ade1549c51a62109f8.jpg","text":"TemporaryFile(/tmp/multipartBody1271413650164109383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_34_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/26/43904fdf1204f99e0496d40434f1a571.jpg","text":"TemporaryFile(/tmp/multipartBody252399637209286168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_34_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/26/ec7ea94ddd9b5f32fc12caffdadd06b3.jpg","text":"TemporaryFile(/tmp/multipartBody3344560620409156239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873633521,"filename":"image_26012025_07_33_34_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331600867","file1":"1331600849","file0":"1331600844","file4":"1331601037","file5":"1331601142","file3":"1331600950"},"map_files_photo_id_array":[{"photo_id":"1331601142","filename":"file5"},{"photo_id":"1331600867","filename":"file2"},{"photo_id":"1331601037","filename":"file4"},{"photo_id":"1331600849","filename":"file1"},{"photo_id":"1331600844","filename":"file0"},{"photo_id":"1331600950","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331600867":["hashtag1","hashtag2"]},{"1331600849":["hashtag1","hashtag2"]},{"1331600950":["hashtag1","hashtag2"]},{"1331601142":["hashtag1","hashtag2"]},{"1331601037":["hashtag1","hashtag2"]},{"1331600844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331600867, 1331600849, 1331600950, 1331601142, 1331601037, 1331600844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30734419822693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:40:32.938218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_44_9327.jpg', '/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_54_10345.jpg', '/home/pi/Desktop/images/26012025/07/34/image_26012025_07_35_05_10335.jpg', '/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_14_9306.jpg', '/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_24_10338.jpg', '/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_35_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_44_9327.jpg
/home/pi/Desktop/images/26012025/07/34/image_26012025_07_34_54_10345.jpg
/home/pi/Desktop/images/26012025/07/34/image_26012025_07_35_05_10335.jpg
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_14_9306.jpg
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_24_10338.jpg
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_35_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":["1331601309","1331601278","1331601317","1331601292","1331601305","1331601313"],"photo_ids_order":["1331601278","1331601292","1331601305","1331601309","1331601313","1331601317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7519f415a957619d126443dec99d04a5.jpg","text":"TemporaryFile(/tmp/multipartBody6019801142660790264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_35_14_9306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/400ca4b367a2e70ca6ae2dedb782b5c4.jpg","text":"TemporaryFile(/tmp/multipartBody8383121696952268332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_34_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/26/a43284736627c89d8b5889c637e97680.jpg","text":"TemporaryFile(/tmp/multipartBody3628875422666645185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_35_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/26/6237b4f6a587a33813c4ee92af2d70f8.jpg","text":"TemporaryFile(/tmp/multipartBody9173800985508502707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_34_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/26/1c4f498a9ee84247da2ef36cee3e8f44.jpg","text":"TemporaryFile(/tmp/multipartBody6728187108263932127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_35_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/26/3a88ee9026d48b3fe8f1af76e8882ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1901358755621618899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873693861,"filename":"image_26012025_07_35_24_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331601305","file1":"1331601292","file0":"1331601278","file4":"1331601313","file5":"1331601317","file3":"1331601309"},"map_files_photo_id_array":[{"photo_id":"1331601317","filename":"file5"},{"photo_id":"1331601305","filename":"file2"},{"photo_id":"1331601313","filename":"file4"},{"photo_id":"1331601292","filename":"file1"},{"photo_id":"1331601278","filename":"file0"},{"photo_id":"1331601309","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331601309":["hashtag1","hashtag2"]},{"1331601278":["hashtag1","hashtag2"]},{"1331601317":["hashtag1","hashtag2"]},{"1331601292":["hashtag1","hashtag2"]},{"1331601305":["hashtag1","hashtag2"]},{"1331601313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331601309, 1331601278, 1331601317, 1331601292, 1331601305, 1331601313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.89592409133911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:41:32.229710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_44_9327.jpg', '/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_54_10358.jpg', '/home/pi/Desktop/images/26012025/07/35/image_26012025_07_36_05_10465.jpg', '/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_14_9338.jpg', '/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_25_10464.jpg', '/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_34_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_44_9327.jpg
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_35_54_10358.jpg
/home/pi/Desktop/images/26012025/07/35/image_26012025_07_36_05_10465.jpg
/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_14_9338.jpg
/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_25_10464.jpg
/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_34_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331601347","1331601332","1331601326","1331601349","1331601343","1331601337"],"photo_ids_order":["1331601326","1331601332","1331601337","1331601343","1331601347","1331601349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41df096c4615f3e2908d9da1b30f50b8.jpg","text":"TemporaryFile(/tmp/multipartBody6589313550519130058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_36_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/26/e7616e45942ec00b7f86316a7b8ed210.jpg","text":"TemporaryFile(/tmp/multipartBody1171581091328352998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_35_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/26/f01ed990b598d0a3800b2fe4dba14c78.jpg","text":"TemporaryFile(/tmp/multipartBody3913798348068141364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_35_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/26/0a4aab3d8b70315537913023cfdb18f2.jpg","text":"TemporaryFile(/tmp/multipartBody3476565397998390737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_36_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/26/70523578151c98d0cf1584d88be3660d.jpg","text":"TemporaryFile(/tmp/multipartBody6969475572729671363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_36_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/26/6e7fd57478494b2317d0089a168277dc.jpg","text":"TemporaryFile(/tmp/multipartBody5605436277770878836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873753158,"filename":"image_26012025_07_36_05_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331601337","file1":"1331601332","file0":"1331601326","file4":"1331601347","file5":"1331601349","file3":"1331601343"},"map_files_photo_id_array":[{"photo_id":"1331601349","filename":"file5"},{"photo_id":"1331601337","filename":"file2"},{"photo_id":"1331601347","filename":"file4"},{"photo_id":"1331601332","filename":"file1"},{"photo_id":"1331601326","filename":"file0"},{"photo_id":"1331601343","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331601347":["hashtag1","hashtag2"]},{"1331601332":["hashtag1","hashtag2"]},{"1331601326":["hashtag1","hashtag2"]},{"1331601349":["hashtag1","hashtag2"]},{"1331601343":["hashtag1","hashtag2"]},{"1331601337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331601347, 1331601332, 1331601326, 1331601349, 1331601343, 1331601337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87852954864502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:42:32.390077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_44_10358.jpg', '/home/pi/Desktop/images/26012025/07/36/image_26012025_07_37_04_9333.jpg', '/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_24_9328.jpg', '/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_34_10354.jpg', '/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_54_9341.jpg', '/home/pi/Desktop/images/26012025/07/37/image_26012025_07_38_04_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/36/image_26012025_07_36_44_10358.jpg
/home/pi/Desktop/images/26012025/07/36/image_26012025_07_37_04_9333.jpg
/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_24_9328.jpg
/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_34_10354.jpg
/home/pi/Desktop/images/26012025/07/37/image_26012025_07_37_54_9341.jpg
/home/pi/Desktop/images/26012025/07/37/image_26012025_07_38_04_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":["1331601743","1331601746","1331601838","1331601805","1331601762","1331601750"],"photo_ids_order":["1331601743","1331601746","1331601750","1331601762","1331601805","1331601838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b6653760352f96d7057ac2b7f70e69a.jpg","text":"TemporaryFile(/tmp/multipartBody3900588288122444224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_36_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/26/e262aa2570e3def6d20f71ddea40b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8542953849637778198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_37_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/26/41dcf19ab5d9a96073aa3b938d4e3cd4.jpg","text":"TemporaryFile(/tmp/multipartBody117417166153795477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_38_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/26/d0340218650b63b46763f50854949f05.jpg","text":"TemporaryFile(/tmp/multipartBody3707400146821376292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_37_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/26/ae18cb94708905954c680c107ad38ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1937543833412569877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_37_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/26/e6cb34b3f2e2ab3f750d7e9274a33674.jpg","text":"TemporaryFile(/tmp/multipartBody801283848420505632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873813319,"filename":"image_26012025_07_37_24_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331601750","file1":"1331601746","file0":"1331601743","file4":"1331601805","file5":"1331601838","file3":"1331601762"},"map_files_photo_id_array":[{"photo_id":"1331601838","filename":"file5"},{"photo_id":"1331601750","filename":"file2"},{"photo_id":"1331601805","filename":"file4"},{"photo_id":"1331601746","filename":"file1"},{"photo_id":"1331601743","filename":"file0"},{"photo_id":"1331601762","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331601743":["hashtag1","hashtag2"]},{"1331601746":["hashtag1","hashtag2"]},{"1331601838":["hashtag1","hashtag2"]},{"1331601805":["hashtag1","hashtag2"]},{"1331601762":["hashtag1","hashtag2"]},{"1331601750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331601743, 1331601746, 1331601838, 1331601805, 1331601762, 1331601750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.30457592010498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:43:32.609502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_15_10454.jpg', '/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_24_9325.jpg', '/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_35_10469.jpg', '/home/pi/Desktop/images/26012025/07/38/image_26012025_07_39_05_10388.jpg', '/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_14_9334.jpg', '/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_24_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_15_10454.jpg
/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_24_9325.jpg
/home/pi/Desktop/images/26012025/07/38/image_26012025_07_38_35_10469.jpg
/home/pi/Desktop/images/26012025/07/38/image_26012025_07_39_05_10388.jpg
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_14_9334.jpg
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_24_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":["1331601992","1331602001","1331601988","1331601996","1331602005","1331602008"],"photo_ids_order":["1331601988","1331601992","1331601996","1331602001","1331602005","1331602008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22aa556a750489936423ba74e588426b.jpg","text":"TemporaryFile(/tmp/multipartBody2326747073510853623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_38_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34acfdf61f891c11b869f522afd699b2.jpg","text":"TemporaryFile(/tmp/multipartBody72610439433674704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_39_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/26/d5b84ea1de5c64ccbd81f94c7910fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody4036599736397123623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_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/26/873d4154a91360930971a83a782acc97.jpg","text":"TemporaryFile(/tmp/multipartBody8165557198460699500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_38_35_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9041dbc42e95748a78dc352e79c928ca.jpg","text":"TemporaryFile(/tmp/multipartBody6740969075292706330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_39_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/26/3cc50ba795aa1dda37efedcfcfe24d32.jpg","text":"TemporaryFile(/tmp/multipartBody5760701269077247300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873873527,"filename":"image_26012025_07_39_24_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331601996","file1":"1331601992","file0":"1331601988","file4":"1331602005","file5":"1331602008","file3":"1331602001"},"map_files_photo_id_array":[{"photo_id":"1331602008","filename":"file5"},{"photo_id":"1331601996","filename":"file2"},{"photo_id":"1331602005","filename":"file4"},{"photo_id":"1331601992","filename":"file1"},{"photo_id":"1331601988","filename":"file0"},{"photo_id":"1331602001","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331601992":["hashtag1","hashtag2"]},{"1331602001":["hashtag1","hashtag2"]},{"1331601988":["hashtag1","hashtag2"]},{"1331601996":["hashtag1","hashtag2"]},{"1331602005":["hashtag1","hashtag2"]},{"1331602008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331601992, 1331602001, 1331601988, 1331601996, 1331602005, 1331602008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78358507156372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:44:32.870821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_35_10421.jpg', '/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_44_9379.jpg', '/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_55_10364.jpg', '/home/pi/Desktop/images/26012025/07/39/image_26012025_07_40_04_9361.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_14_10468.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_25_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_35_10421.jpg
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_44_9379.jpg
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_39_55_10364.jpg
/home/pi/Desktop/images/26012025/07/39/image_26012025_07_40_04_9361.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_14_10468.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_25_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":["1331602031","1331602034","1331602028","1331602039","1331602036","1331602041"],"photo_ids_order":["1331602028","1331602031","1331602034","1331602036","1331602039","1331602041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e57881e583df1725fea7055f2b040a3c.jpg","text":"TemporaryFile(/tmp/multipartBody94566303456075572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_39_44_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/61e29a42ee5c123b96b8868055474724.jpg","text":"TemporaryFile(/tmp/multipartBody5258737981604290327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_39_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/26/e59c5045bd30d62878b2affcc2a1758e.jpg","text":"TemporaryFile(/tmp/multipartBody1164745269775337250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_39_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0209324456375bce54cb22329dcc5851.jpg","text":"TemporaryFile(/tmp/multipartBody8786760455596515423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_40_14_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/26/cbb101e847af8a615aed9bf7937cd52e.jpg","text":"TemporaryFile(/tmp/multipartBody7264347257752107281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_40_04_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/26/11e5406556f815358a792f841ccc4e81.jpg","text":"TemporaryFile(/tmp/multipartBody9142862259089856004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737873933790,"filename":"image_26012025_07_40_25_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602034","file1":"1331602031","file0":"1331602028","file4":"1331602039","file5":"1331602041","file3":"1331602036"},"map_files_photo_id_array":[{"photo_id":"1331602041","filename":"file5"},{"photo_id":"1331602034","filename":"file2"},{"photo_id":"1331602039","filename":"file4"},{"photo_id":"1331602031","filename":"file1"},{"photo_id":"1331602028","filename":"file0"},{"photo_id":"1331602036","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602031":["hashtag1","hashtag2"]},{"1331602034":["hashtag1","hashtag2"]},{"1331602028":["hashtag1","hashtag2"]},{"1331602039":["hashtag1","hashtag2"]},{"1331602036":["hashtag1","hashtag2"]},{"1331602041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602031, 1331602034, 1331602028, 1331602039, 1331602036, 1331602041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.762491941452026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:45:33.149360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_45_10537.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_54_9359.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_41_04_10354.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_15_10406.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_24_9386.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_35_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_45_10537.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_54_9359.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_41_04_10354.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_15_10406.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_24_9386.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_35_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.5598008632659912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:45:43.143075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_45_10537.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_54_9359.jpg', '/home/pi/Desktop/images/26012025/07/40/image_26012025_07_41_04_10354.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_15_10406.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_24_9386.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_35_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_45_10537.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_40_54_9359.jpg
/home/pi/Desktop/images/26012025/07/40/image_26012025_07_41_04_10354.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_15_10406.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_24_9386.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_35_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":["1331602073","1331602083","1331602071","1331602068","1331602076","1331602079"],"photo_ids_order":["1331602068","1331602071","1331602073","1331602076","1331602079","1331602083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1070f0a9b2405232e6db175b02a9f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody6190175822870990278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_41_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/26/a33652073df010dbd6e6e835c5aadf3b.jpg","text":"TemporaryFile(/tmp/multipartBody7184694895575818666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_41_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/26/58c46c058e0ca7e3d467b4d78b871fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7056768600097674598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_40_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6aee8e2e6d1c8cc4e971b37d7854a40.jpg","text":"TemporaryFile(/tmp/multipartBody5496126708055092144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_40_45_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/26/9cddf7c555cf0b06caee1fba878ebc17.jpg","text":"TemporaryFile(/tmp/multipartBody6167034135374600056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_41_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3189a21a7ac188a7a90187c2a08f1397.jpg","text":"TemporaryFile(/tmp/multipartBody8333358588641512212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874004091,"filename":"image_26012025_07_41_24_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602073","file1":"1331602071","file0":"1331602068","file4":"1331602079","file5":"1331602083","file3":"1331602076"},"map_files_photo_id_array":[{"photo_id":"1331602083","filename":"file5"},{"photo_id":"1331602073","filename":"file2"},{"photo_id":"1331602079","filename":"file4"},{"photo_id":"1331602071","filename":"file1"},{"photo_id":"1331602068","filename":"file0"},{"photo_id":"1331602076","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602073":["hashtag1","hashtag2"]},{"1331602083":["hashtag1","hashtag2"]},{"1331602071":["hashtag1","hashtag2"]},{"1331602068":["hashtag1","hashtag2"]},{"1331602076":["hashtag1","hashtag2"]},{"1331602079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602073, 1331602083, 1331602071, 1331602068, 1331602076, 1331602079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83199644088745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:46:32.270963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_44_9348.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_54_10412.jpg', '/home/pi/Desktop/images/26012025/07/41/image_26012025_07_42_05_10410.jpg', '/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_14_9433.jpg', '/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_25_10395.jpg', '/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_34_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_44_9348.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_41_54_10412.jpg
/home/pi/Desktop/images/26012025/07/41/image_26012025_07_42_05_10410.jpg
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_14_9433.jpg
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_25_10395.jpg
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_34_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":["1331602130","1331602099","1331602118","1331602146","1331602149","1331602094"],"photo_ids_order":["1331602094","1331602099","1331602118","1331602130","1331602146","1331602149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4443da357a4815e19f7716380494a26.jpg","text":"TemporaryFile(/tmp/multipartBody4678270296239150497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_42_14_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da98d1096020bc19a950b6137bcc0fca.jpg","text":"TemporaryFile(/tmp/multipartBody1905459003226355212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_41_54_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/26/394d5a148970d5281c7b998b0d85402e.jpg","text":"TemporaryFile(/tmp/multipartBody6257403036606777757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_42_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/26/c96f14a9fea84180850faba591a4e78f.jpg","text":"TemporaryFile(/tmp/multipartBody6017902804744971832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_42_25_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/26/9273cbbecc882ecb5bb780f4ec94b783.jpg","text":"TemporaryFile(/tmp/multipartBody2100890514738979199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_42_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0afb9f09e1c05956ccf49073254ece15.jpg","text":"TemporaryFile(/tmp/multipartBody3770375347424753796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874053196,"filename":"image_26012025_07_41_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602118","file1":"1331602099","file0":"1331602094","file4":"1331602146","file5":"1331602149","file3":"1331602130"},"map_files_photo_id_array":[{"photo_id":"1331602149","filename":"file5"},{"photo_id":"1331602118","filename":"file2"},{"photo_id":"1331602146","filename":"file4"},{"photo_id":"1331602099","filename":"file1"},{"photo_id":"1331602094","filename":"file0"},{"photo_id":"1331602130","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602130":["hashtag1","hashtag2"]},{"1331602099":["hashtag1","hashtag2"]},{"1331602118":["hashtag1","hashtag2"]},{"1331602146":["hashtag1","hashtag2"]},{"1331602149":["hashtag1","hashtag2"]},{"1331602094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602130, 1331602099, 1331602118, 1331602146, 1331602149, 1331602094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32614731788635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:47:32.489012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_44_10382.jpg', '/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_55_10429.jpg', '/home/pi/Desktop/images/26012025/07/42/image_26012025_07_43_04_9338.jpg', '/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_14_10336.jpg', '/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_25_10412.jpg', '/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_34_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_44_10382.jpg
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_42_55_10429.jpg
/home/pi/Desktop/images/26012025/07/42/image_26012025_07_43_04_9338.jpg
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_14_10336.jpg
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_25_10412.jpg
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_34_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":["1331602172","1331602174","1331602173","1331602176","1331602169","1331602178"],"photo_ids_order":["1331602169","1331602172","1331602173","1331602174","1331602176","1331602178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d1c5de16e81b5a8a0580d0a895c5322.jpg","text":"TemporaryFile(/tmp/multipartBody2804133605672170886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_42_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ab6d6a4e05790ca8e18c0d61930a90f.jpg","text":"TemporaryFile(/tmp/multipartBody2413328728343738367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_43_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fab2fd61517f9fba3890599b92c9a12d.jpg","text":"TemporaryFile(/tmp/multipartBody2895998679056905897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_43_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a906cdacc44286f0fc8a15ee25cf8250.jpg","text":"TemporaryFile(/tmp/multipartBody8666141417026889622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_43_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/26/53dc0a4733b4e747c9bd5a12dcfdb57c.jpg","text":"TemporaryFile(/tmp/multipartBody1416556752688277129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_42_44_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/26/4a940a46fbc2ff2aa7cb9fac3c7a68d0.jpg","text":"TemporaryFile(/tmp/multipartBody3136964147681561410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874113422,"filename":"image_26012025_07_43_34_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602173","file1":"1331602172","file0":"1331602169","file4":"1331602176","file5":"1331602178","file3":"1331602174"},"map_files_photo_id_array":[{"photo_id":"1331602178","filename":"file5"},{"photo_id":"1331602173","filename":"file2"},{"photo_id":"1331602176","filename":"file4"},{"photo_id":"1331602172","filename":"file1"},{"photo_id":"1331602169","filename":"file0"},{"photo_id":"1331602174","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602172":["hashtag1","hashtag2"]},{"1331602174":["hashtag1","hashtag2"]},{"1331602173":["hashtag1","hashtag2"]},{"1331602176":["hashtag1","hashtag2"]},{"1331602169":["hashtag1","hashtag2"]},{"1331602178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602172, 1331602174, 1331602173, 1331602176, 1331602169, 1331602178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.66631293296814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:48:32.538683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_45_10547.jpg', '/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_54_9386.jpg', '/home/pi/Desktop/images/26012025/07/43/image_26012025_07_44_05_10438.jpg', '/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_34_9352.jpg', '/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_44_10334.jpg', '/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_55_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_45_10547.jpg
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_43_54_9386.jpg
/home/pi/Desktop/images/26012025/07/43/image_26012025_07_44_05_10438.jpg
/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_34_9352.jpg
/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_44_10334.jpg
/home/pi/Desktop/images/26012025/07/44/image_26012025_07_44_55_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331602211","1331602205","1331602207","1331602197","1331602201","1331602209"],"photo_ids_order":["1331602197","1331602201","1331602205","1331602207","1331602209","1331602211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4216f287b78b55c5a43cc34f11570dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4690403052017384483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_44_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/26/fd77825db62423aa9e05356c973461e7.jpg","text":"TemporaryFile(/tmp/multipartBody702152112351930769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_44_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/26/0af9ef3494b2c6df309dd349f5716275.jpg","text":"TemporaryFile(/tmp/multipartBody6285966140472096798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_44_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/26/0ca10057d261c972093826d7ab06e0df.jpg","text":"TemporaryFile(/tmp/multipartBody5573614834453049226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_43_45_10547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd6ded9b5f8294f2f1b8ab2dc211ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody6878303975660333851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_43_54_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/26/e7b8a90ecbdfb1b1f3e469b8faf224b2.jpg","text":"TemporaryFile(/tmp/multipartBody6687638581371734418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874173505,"filename":"image_26012025_07_44_44_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602205","file1":"1331602201","file0":"1331602197","file4":"1331602209","file5":"1331602211","file3":"1331602207"},"map_files_photo_id_array":[{"photo_id":"1331602211","filename":"file5"},{"photo_id":"1331602205","filename":"file2"},{"photo_id":"1331602209","filename":"file4"},{"photo_id":"1331602201","filename":"file1"},{"photo_id":"1331602197","filename":"file0"},{"photo_id":"1331602207","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602211":["hashtag1","hashtag2"]},{"1331602205":["hashtag1","hashtag2"]},{"1331602207":["hashtag1","hashtag2"]},{"1331602197":["hashtag1","hashtag2"]},{"1331602201":["hashtag1","hashtag2"]},{"1331602209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602211, 1331602205, 1331602207, 1331602197, 1331602201, 1331602209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84608697891235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:49:32.864274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/44/image_26012025_07_45_04_9327.jpg', '/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_15_10461.jpg', '/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_34_10424.jpg', '/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_44_9710.jpg', '/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_54_10351.jpg', '/home/pi/Desktop/images/26012025/07/45/image_26012025_07_46_05_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/44/image_26012025_07_45_04_9327.jpg
/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_15_10461.jpg
/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_34_10424.jpg
/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_44_9710.jpg
/home/pi/Desktop/images/26012025/07/45/image_26012025_07_45_54_10351.jpg
/home/pi/Desktop/images/26012025/07/45/image_26012025_07_46_05_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":["1331602250","1331602234","1331602258","1331602222","1331602278","1331602274"],"photo_ids_order":["1331602222","1331602234","1331602250","1331602258","1331602274","1331602278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9fa7c6f964ca0ca8518cfd68838c47a7.jpg","text":"TemporaryFile(/tmp/multipartBody3922635476288965393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_45_34_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/26/80333c4c435cbf53c57a6578b245bb80.jpg","text":"TemporaryFile(/tmp/multipartBody2807851733584732951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_45_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3e0d6d74ad2acaf6f14d301701d80a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5138146981058291139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_45_44_9710.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8dca5e93cfdd45835fc1bd5d85afb5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5969403145361577491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_45_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/26/50f056a38953162db5acb2dda1264cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2327715357165481373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_46_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/26/1d364a2d5a48d9aadcffc558f540963a.jpg","text":"TemporaryFile(/tmp/multipartBody521631879718230880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874233865,"filename":"image_26012025_07_45_54_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602250","file1":"1331602234","file0":"1331602222","file4":"1331602274","file5":"1331602278","file3":"1331602258"},"map_files_photo_id_array":[{"photo_id":"1331602278","filename":"file5"},{"photo_id":"1331602250","filename":"file2"},{"photo_id":"1331602274","filename":"file4"},{"photo_id":"1331602234","filename":"file1"},{"photo_id":"1331602222","filename":"file0"},{"photo_id":"1331602258","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602250":["hashtag1","hashtag2"]},{"1331602234":["hashtag1","hashtag2"]},{"1331602258":["hashtag1","hashtag2"]},{"1331602222":["hashtag1","hashtag2"]},{"1331602278":["hashtag1","hashtag2"]},{"1331602274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602250, 1331602234, 1331602258, 1331602222, 1331602278, 1331602274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89552426338196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:50:33.094438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_14_9329.jpg', '/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_25_10391.jpg', '/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_35_10339.jpg', '/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_44_9391.jpg', '/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_55_10350.jpg', '/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_14_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_14_9329.jpg
/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_25_10391.jpg
/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_35_10339.jpg
/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_44_9391.jpg
/home/pi/Desktop/images/26012025/07/46/image_26012025_07_46_55_10350.jpg
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_14_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":["1331602303","1331602299","1331602293","1331602431","1331602308","1331602305"],"photo_ids_order":["1331602293","1331602299","1331602303","1331602305","1331602308","1331602431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01335c03c7f9ac0d707c816db85ace08.jpg","text":"TemporaryFile(/tmp/multipartBody7059231417231234872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_46_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/26/5168d3a1fb995a7036b9cf54db82b458.jpg","text":"TemporaryFile(/tmp/multipartBody990860152566346527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_46_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/26/466edc40a0750357167919d4303031e6.jpg","text":"TemporaryFile(/tmp/multipartBody5576462905608973160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_46_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79a619546681b6720c46179ba83adc6d.jpg","text":"TemporaryFile(/tmp/multipartBody330625404371863115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_47_14_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/26/245e8a0ef056dbbff2c6573228bb1bba.jpg","text":"TemporaryFile(/tmp/multipartBody7859201257499190994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_46_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/26/6b9400650e87d393db27591d6293604e.jpg","text":"TemporaryFile(/tmp/multipartBody5819774278605267638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874294020,"filename":"image_26012025_07_46_44_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331602303","file1":"1331602299","file0":"1331602293","file4":"1331602308","file5":"1331602431","file3":"1331602305"},"map_files_photo_id_array":[{"photo_id":"1331602431","filename":"file5"},{"photo_id":"1331602303","filename":"file2"},{"photo_id":"1331602308","filename":"file4"},{"photo_id":"1331602299","filename":"file1"},{"photo_id":"1331602293","filename":"file0"},{"photo_id":"1331602305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331602303":["hashtag1","hashtag2"]},{"1331602299":["hashtag1","hashtag2"]},{"1331602293":["hashtag1","hashtag2"]},{"1331602431":["hashtag1","hashtag2"]},{"1331602308":["hashtag1","hashtag2"]},{"1331602305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331602303, 1331602299, 1331602293, 1331602431, 1331602308, 1331602305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.59693217277527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:51:32.323724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_25_10358.jpg', '/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_34_9324.jpg', '/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_44_10342.jpg', '/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_55_10376.jpg', '/home/pi/Desktop/images/26012025/07/47/image_26012025_07_48_04_9343.jpg', '/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_14_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_25_10358.jpg
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_34_9324.jpg
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_44_10342.jpg
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_47_55_10376.jpg
/home/pi/Desktop/images/26012025/07/47/image_26012025_07_48_04_9343.jpg
/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_14_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331603411","1331603408","1331603406","1331603399","1331603414","1331603402"],"photo_ids_order":["1331603399","1331603402","1331603406","1331603408","1331603411","1331603414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e79f939bd5b2347e7b0b4a41457dd14.jpg","text":"TemporaryFile(/tmp/multipartBody8063388955754353301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_48_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/26/1f3df8bfe968cf394d1980cd2508d57c.jpg","text":"TemporaryFile(/tmp/multipartBody8475811615506974388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_47_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/26/0de6923f0ae9ae3b3fcaa648e2ffe493.jpg","text":"TemporaryFile(/tmp/multipartBody8012266171480322664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_47_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/26/90618029106892ce51bb6ddac8c33fae.jpg","text":"TemporaryFile(/tmp/multipartBody2086506835856619777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_47_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/26/6571460602fe3bafab91fc41c28eb561.jpg","text":"TemporaryFile(/tmp/multipartBody1375208965785298308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_48_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f947edbfd1e5e03cd0034fa3e82f879.jpg","text":"TemporaryFile(/tmp/multipartBody4019721270243268993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874353248,"filename":"image_26012025_07_47_34_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331603406","file1":"1331603402","file0":"1331603399","file4":"1331603411","file5":"1331603414","file3":"1331603408"},"map_files_photo_id_array":[{"photo_id":"1331603414","filename":"file5"},{"photo_id":"1331603406","filename":"file2"},{"photo_id":"1331603411","filename":"file4"},{"photo_id":"1331603402","filename":"file1"},{"photo_id":"1331603399","filename":"file0"},{"photo_id":"1331603408","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331603411":["hashtag1","hashtag2"]},{"1331603408":["hashtag1","hashtag2"]},{"1331603406":["hashtag1","hashtag2"]},{"1331603399":["hashtag1","hashtag2"]},{"1331603414":["hashtag1","hashtag2"]},{"1331603402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331603411, 1331603408, 1331603406, 1331603399, 1331603414, 1331603402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.44135904312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:52:32.516241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_34_9327.jpg', '/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_45_10405.jpg', '/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_55_10355.jpg', '/home/pi/Desktop/images/26012025/07/48/image_26012025_07_49_04_9329.jpg', '/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_15_10435.jpg', '/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_34_9327.jpg
/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_45_10405.jpg
/home/pi/Desktop/images/26012025/07/48/image_26012025_07_48_55_10355.jpg
/home/pi/Desktop/images/26012025/07/48/image_26012025_07_49_04_9329.jpg
/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_15_10435.jpg
/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_45_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331604067","1331603593","1331603954","1331603471","1331603834","1331603714"],"photo_ids_order":["1331603471","1331603593","1331603714","1331603834","1331603954","1331604067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e944377b02f151b972395aae9d4752a.jpg","text":"TemporaryFile(/tmp/multipartBody4681240050357823099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_49_45_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8414eb2c95bcd686ae7120c079d7e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4781154854533245230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_48_45_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/26/69d6e2a31f05b25323d3e2d187fe3397.jpg","text":"TemporaryFile(/tmp/multipartBody6163461224137962909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_49_15_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ac1524038f096e5252ba411ac02360c.jpg","text":"TemporaryFile(/tmp/multipartBody9186326743036734639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_48_34_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/26/b10327b68a99357fc3b2d93e5d9b97ff.jpg","text":"TemporaryFile(/tmp/multipartBody3856920256835984252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_49_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/26/721e1873c0cfe91ed0ff60bfebb70fce.jpg","text":"TemporaryFile(/tmp/multipartBody2010052677928230553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874413444,"filename":"image_26012025_07_48_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331603714","file1":"1331603593","file0":"1331603471","file4":"1331603954","file5":"1331604067","file3":"1331603834"},"map_files_photo_id_array":[{"photo_id":"1331604067","filename":"file5"},{"photo_id":"1331603714","filename":"file2"},{"photo_id":"1331603954","filename":"file4"},{"photo_id":"1331603593","filename":"file1"},{"photo_id":"1331603471","filename":"file0"},{"photo_id":"1331603834","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331604067":["hashtag1","hashtag2"]},{"1331603593":["hashtag1","hashtag2"]},{"1331603954":["hashtag1","hashtag2"]},{"1331603471":["hashtag1","hashtag2"]},{"1331603834":["hashtag1","hashtag2"]},{"1331603714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331604067, 1331603593, 1331603954, 1331603471, 1331603834, 1331603714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09212040901184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:53:32.769095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_54_9353.jpg', '/home/pi/Desktop/images/26012025/07/49/image_26012025_07_50_04_10328.jpg', '/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_15_10360.jpg', '/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_35_10459.jpg', '/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_44_9339.jpg', '/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_54_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/49/image_26012025_07_49_54_9353.jpg
/home/pi/Desktop/images/26012025/07/49/image_26012025_07_50_04_10328.jpg
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_15_10360.jpg
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_35_10459.jpg
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_44_9339.jpg
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_50_54_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":["1331604987","1331604954","1331604983","1331605016","1331604889","1331604886"],"photo_ids_order":["1331604886","1331604889","1331604954","1331604983","1331604987","1331605016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3217e6035e6b0091440cda6d9e8459ae.jpg","text":"TemporaryFile(/tmp/multipartBody7640589401585090285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_50_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/262fa611d025b08cdcb36d2d0864ed00.jpg","text":"TemporaryFile(/tmp/multipartBody2115882204683812301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_50_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/26/b28cc5c2d5bc8133dadb8a97d30a872e.jpg","text":"TemporaryFile(/tmp/multipartBody8113325609809286575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_50_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/26/7321331f9ffca882b35a0ceff1d2d4f5.jpg","text":"TemporaryFile(/tmp/multipartBody8933098413421416417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_50_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/26/f31b9b62d93b5451f0c9192578f64c83.jpg","text":"TemporaryFile(/tmp/multipartBody2677744094515642826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_50_04_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/272998cfcbc478e556db4e29cbd408e5.jpg","text":"TemporaryFile(/tmp/multipartBody2899100218610389064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874473715,"filename":"image_26012025_07_49_54_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331604954","file1":"1331604889","file0":"1331604886","file4":"1331604987","file5":"1331605016","file3":"1331604983"},"map_files_photo_id_array":[{"photo_id":"1331605016","filename":"file5"},{"photo_id":"1331604954","filename":"file2"},{"photo_id":"1331604987","filename":"file4"},{"photo_id":"1331604889","filename":"file1"},{"photo_id":"1331604886","filename":"file0"},{"photo_id":"1331604983","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331604987":["hashtag1","hashtag2"]},{"1331604954":["hashtag1","hashtag2"]},{"1331604983":["hashtag1","hashtag2"]},{"1331605016":["hashtag1","hashtag2"]},{"1331604889":["hashtag1","hashtag2"]},{"1331604886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331604987, 1331604954, 1331604983, 1331605016, 1331604889, 1331604886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56692099571228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:54:33.021419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/50/image_26012025_07_51_05_10435.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_14_9313.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_24_10344.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_35_10352.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_44_9339.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_55_10509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_51_05_10435.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_14_9313.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_24_10344.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_35_10352.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_44_9339.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_55_10509.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5637292861938477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:54:42.847590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/50/image_26012025_07_51_05_10435.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_14_9313.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_24_10344.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_35_10352.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_44_9339.jpg', '/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_55_10509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/50/image_26012025_07_51_05_10435.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_14_9313.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_24_10344.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_35_10352.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_44_9339.jpg
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_51_55_10509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331605344","1331605341","1331605343","1331605337","1331605331","1331605325"],"photo_ids_order":["1331605325","1331605331","1331605337","1331605341","1331605343","1331605344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3b1018f8a1bb9c420e1bbd03aa20bc4.jpg","text":"TemporaryFile(/tmp/multipartBody4505796471683099019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_55_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb2f20557160d6b7514140a58b7255d8.jpg","text":"TemporaryFile(/tmp/multipartBody6240965543643424125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_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/26/8431372ca4cbc2686a44b6b991048d86.jpg","text":"TemporaryFile(/tmp/multipartBody8343106305189834987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64f9b56dabb37c936ccd4b76503185fc.jpg","text":"TemporaryFile(/tmp/multipartBody9177518937105881398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_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/26/6b7c372197cad4b396af75dc740bda6e.jpg","text":"TemporaryFile(/tmp/multipartBody6148505795552261204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_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/26/457dcf16c41f1114139356ddae5781ac.jpg","text":"TemporaryFile(/tmp/multipartBody8855681886465561237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874543768,"filename":"image_26012025_07_51_05_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331605337","file1":"1331605331","file0":"1331605325","file4":"1331605343","file5":"1331605344","file3":"1331605341"},"map_files_photo_id_array":[{"photo_id":"1331605344","filename":"file5"},{"photo_id":"1331605337","filename":"file2"},{"photo_id":"1331605343","filename":"file4"},{"photo_id":"1331605331","filename":"file1"},{"photo_id":"1331605325","filename":"file0"},{"photo_id":"1331605341","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331605344":["hashtag1","hashtag2"]},{"1331605341":["hashtag1","hashtag2"]},{"1331605343":["hashtag1","hashtag2"]},{"1331605337":["hashtag1","hashtag2"]},{"1331605331":["hashtag1","hashtag2"]},{"1331605325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331605344, 1331605341, 1331605343, 1331605337, 1331605331, 1331605325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.07961130142212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:55:33.225018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/51/image_26012025_07_52_04_9414.jpg', '/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_14_10337.jpg', '/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_25_10348.jpg', '/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_34_9388.jpg', '/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_45_10441.jpg', '/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_54_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/51/image_26012025_07_52_04_9414.jpg
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_14_10337.jpg
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_25_10348.jpg
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_34_9388.jpg
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_45_10441.jpg
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_52_54_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331605389","1331605380","1331605382","1331605376","1331605384","1331605387"],"photo_ids_order":["1331605376","1331605380","1331605382","1331605384","1331605387","1331605389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7367ec45d1b1de13cc16bc5a4fba6c39.jpg","text":"TemporaryFile(/tmp/multipartBody294669277598681736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d4b2fff3979927886db5f473a26f1733.jpg","text":"TemporaryFile(/tmp/multipartBody7775351531418153989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_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/26/1e7bd72c4e393e082c9cf7c6016eb004.jpg","text":"TemporaryFile(/tmp/multipartBody5648914871776408184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_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/26/1324ed4d620d94403cceed9ca54ba87d.jpg","text":"TemporaryFile(/tmp/multipartBody8048070136576270152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cdcd3b8010fb7297a519dbfb570796c0.jpg","text":"TemporaryFile(/tmp/multipartBody4059973991892597285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_34_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c86a0a7aa526556ac9504d556b0f3ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8922795202231156139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874594181,"filename":"image_26012025_07_52_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331605382","file1":"1331605380","file0":"1331605376","file4":"1331605387","file5":"1331605389","file3":"1331605384"},"map_files_photo_id_array":[{"photo_id":"1331605389","filename":"file5"},{"photo_id":"1331605382","filename":"file2"},{"photo_id":"1331605387","filename":"file4"},{"photo_id":"1331605380","filename":"file1"},{"photo_id":"1331605376","filename":"file0"},{"photo_id":"1331605384","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331605389":["hashtag1","hashtag2"]},{"1331605380":["hashtag1","hashtag2"]},{"1331605382":["hashtag1","hashtag2"]},{"1331605376":["hashtag1","hashtag2"]},{"1331605384":["hashtag1","hashtag2"]},{"1331605387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331605389, 1331605380, 1331605382, 1331605376, 1331605384, 1331605387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.07773184776306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:56:32.317082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/52/image_26012025_07_53_04_10351.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_15_10371.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_24_9349.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_34_10345.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_45_10460.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_54_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_53_04_10351.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_15_10371.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_24_9349.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_34_10345.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_45_10460.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_54_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.5319106578826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 07:56:42.390017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/52/image_26012025_07_53_04_10351.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_15_10371.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_24_9349.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_34_10345.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_45_10460.jpg', '/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_54_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/52/image_26012025_07_53_04_10351.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_15_10371.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_24_9349.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_34_10345.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_45_10460.jpg
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_53_54_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":["1331605419","1331605413","1331605422","1331605416","1331605404","1331605409"],"photo_ids_order":["1331605404","1331605409","1331605413","1331605416","1331605419","1331605422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6225d2b08b2316455c44e65ea608d26.jpg","text":"TemporaryFile(/tmp/multipartBody1444291704195652285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_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/26/dc46912b8bff129d51b27aadd55220ce.jpg","text":"TemporaryFile(/tmp/multipartBody8925479807867779120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_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/26/c287d4d20b175f4abbdf939e0341e39b.jpg","text":"TemporaryFile(/tmp/multipartBody2952108195389158477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_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/26/e85ae152408f82ee2d88c09ee9d5fff0.jpg","text":"TemporaryFile(/tmp/multipartBody5749362316084326900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a17f9d884fcef0bfb527bb5eb119be81.jpg","text":"TemporaryFile(/tmp/multipartBody9076378872576924392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7368bfcff41a372dea87b2db98927b25.jpg","text":"TemporaryFile(/tmp/multipartBody4568430624226604563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874663331,"filename":"image_26012025_07_53_15_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331605413","file1":"1331605409","file0":"1331605404","file4":"1331605419","file5":"1331605422","file3":"1331605416"},"map_files_photo_id_array":[{"photo_id":"1331605422","filename":"file5"},{"photo_id":"1331605413","filename":"file2"},{"photo_id":"1331605419","filename":"file4"},{"photo_id":"1331605409","filename":"file1"},{"photo_id":"1331605404","filename":"file0"},{"photo_id":"1331605416","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331605419":["hashtag1","hashtag2"]},{"1331605413":["hashtag1","hashtag2"]},{"1331605422":["hashtag1","hashtag2"]},{"1331605416":["hashtag1","hashtag2"]},{"1331605404":["hashtag1","hashtag2"]},{"1331605409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331605419, 1331605413, 1331605422, 1331605416, 1331605404, 1331605409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85485053062439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 07:57:32.591076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/53/image_26012025_07_54_05_10491.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_14_9331.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_24_10356.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_35_10350.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_44_9343.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_55_05_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_54_05_10491.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_14_9331.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_24_10356.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_35_10350.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_44_9343.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_55_05_10438.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-26 07:59:04.534232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/53/image_26012025_07_54_05_10491.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_14_9331.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_24_10356.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_35_10350.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_44_9343.jpg', '/home/pi/Desktop/images/26012025/07/54/image_26012025_07_55_05_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/53/image_26012025_07_54_05_10491.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_14_9331.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_24_10356.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_35_10350.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_54_44_9343.jpg
/home/pi/Desktop/images/26012025/07/54/image_26012025_07_55_05_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331605506","1331605500","1331605503","1331605514","1331605511","1331605508"],"photo_ids_order":["1331605500","1331605503","1331605506","1331605508","1331605511","1331605514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01b620a7e607832fb1020977a244354a.jpg","text":"TemporaryFile(/tmp/multipartBody5705084544313617645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_54_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/870ab89c1fdae21d5744dcaa1684ba02.jpg","text":"TemporaryFile(/tmp/multipartBody1884513026244466359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_54_05_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/26/debee133db5e0f9c8e41c8742cea3bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8250640414397298667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_54_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/26/fa80e6dc3f209be19589102c9d2863cc.jpg","text":"TemporaryFile(/tmp/multipartBody6805360923395422521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_55_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/26/0e452c7e0c917f6b3c76b50b62ceafd2.jpg","text":"TemporaryFile(/tmp/multipartBody642172918206534428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_54_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/26/38e7d97f2595e021e69ed2e02a31df8d.jpg","text":"TemporaryFile(/tmp/multipartBody8788784377193645121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874805545,"filename":"image_26012025_07_54_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331605506","file1":"1331605503","file0":"1331605500","file4":"1331605511","file5":"1331605514","file3":"1331605508"},"map_files_photo_id_array":[{"photo_id":"1331605514","filename":"file5"},{"photo_id":"1331605506","filename":"file2"},{"photo_id":"1331605511","filename":"file4"},{"photo_id":"1331605503","filename":"file1"},{"photo_id":"1331605500","filename":"file0"},{"photo_id":"1331605508","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331605506":["hashtag1","hashtag2"]},{"1331605500":["hashtag1","hashtag2"]},{"1331605503":["hashtag1","hashtag2"]},{"1331605514":["hashtag1","hashtag2"]},{"1331605511":["hashtag1","hashtag2"]},{"1331605508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331605506, 1331605500, 1331605503, 1331605514, 1331605511, 1331605508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.995283365249634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 07:59:52.995868
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/35/image_23012025_21_36_05_10369.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_14_9338.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_55_10387.jpg', '/home/pi/Desktop/images/23012025/21/36/image_23012025_21_37_04_9403.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_15_10332.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_25_10487.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/35/image_23012025_21_36_05_10369.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_14_9338.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_36_55_10387.jpg
/home/pi/Desktop/images/23012025/21/36/image_23012025_21_37_04_9403.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_15_10332.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_25_10487.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":["1331606183","1331606180","1331605917","1331605574","1331606182","1331606178"],"photo_ids_order":["1331605574","1331605917","1331606178","1331606180","1331606182","1331606183"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91f5cff7bbee79ca494c92ab3f49c222.jpg","text":"TemporaryFile(/tmp/multipartBody5423308419514545988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_37_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/26/f421073e9d9c7981c91489cd59b678bb.jpg","text":"TemporaryFile(/tmp/multipartBody6139698316162467439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_37_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/26/84c388c218743c8b10e87c5eb740b959.jpg","text":"TemporaryFile(/tmp/multipartBody54784261347902272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_36_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/26/26102009013d26fbd954dc245ac664a2.jpg","text":"TemporaryFile(/tmp/multipartBody7107148197429783448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_36_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/26/2c7542c35625993290a4266db6607525.jpg","text":"TemporaryFile(/tmp/multipartBody7252530776724974252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_37_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/26/52572255d66561f6e44eeb6759ed9748.jpg","text":"TemporaryFile(/tmp/multipartBody7567666252866026626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874855386,"filename":"image_23012025_21_36_55_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331606178","file1":"1331605917","file0":"1331605574","file4":"1331606182","file5":"1331606183","file3":"1331606180"},"map_files_photo_id_array":[{"photo_id":"1331606183","filename":"file5"},{"photo_id":"1331606178","filename":"file2"},{"photo_id":"1331606182","filename":"file4"},{"photo_id":"1331605917","filename":"file1"},{"photo_id":"1331605574","filename":"file0"},{"photo_id":"1331606180","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331606183":["hashtag1","hashtag2"]},{"1331606180":["hashtag1","hashtag2"]},{"1331605917":["hashtag1","hashtag2"]},{"1331605574":["hashtag1","hashtag2"]},{"1331606182":["hashtag1","hashtag2"]},{"1331606178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331606183, 1331606180, 1331605917, 1331605574, 1331606182, 1331606178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.092307329177856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:01:04.095102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_14_9344.jpg', '/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_25_10469.jpg', '/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_34_9340.jpg', '/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_55_10360.jpg', '/home/pi/Desktop/images/26012025/07/55/image_26012025_07_56_04_9358.jpg', '/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_14_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_14_9344.jpg
/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_25_10469.jpg
/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_34_9340.jpg
/home/pi/Desktop/images/26012025/07/55/image_26012025_07_55_55_10360.jpg
/home/pi/Desktop/images/26012025/07/55/image_26012025_07_56_04_9358.jpg
/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_14_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":["1331607566","1331607405","1331607629","1331607632","1331607295","1331607625"],"photo_ids_order":["1331607295","1331607405","1331607566","1331607625","1331607629","1331607632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/136ba7249c2dbf7a615e1aebd21ef3bb.jpg","text":"TemporaryFile(/tmp/multipartBody9013549163214885103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_55_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/26/56010b71d82f67ae8eb3b2077c7d86a6.jpg","text":"TemporaryFile(/tmp/multipartBody2006762999979333232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_55_25_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/26/39ff1a9649b7f274776938b115a423e6.jpg","text":"TemporaryFile(/tmp/multipartBody7913489513269528926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_56_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/26/e3ca3ff7c0b38861aaaf2b883ad8720a.jpg","text":"TemporaryFile(/tmp/multipartBody622032514540728853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_56_14_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18606eed0541c7e6d9d8db21f1082bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6453822291193990263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_55_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ff3c718371cac6dca8e02d3e241f173.jpg","text":"TemporaryFile(/tmp/multipartBody3582831994923266140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874925200,"filename":"image_26012025_07_55_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331607566","file1":"1331607405","file0":"1331607295","file4":"1331607629","file5":"1331607632","file3":"1331607625"},"map_files_photo_id_array":[{"photo_id":"1331607632","filename":"file5"},{"photo_id":"1331607566","filename":"file2"},{"photo_id":"1331607629","filename":"file4"},{"photo_id":"1331607405","filename":"file1"},{"photo_id":"1331607295","filename":"file0"},{"photo_id":"1331607625","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331607566":["hashtag1","hashtag2"]},{"1331607405":["hashtag1","hashtag2"]},{"1331607629":["hashtag1","hashtag2"]},{"1331607632":["hashtag1","hashtag2"]},{"1331607295":["hashtag1","hashtag2"]},{"1331607625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331607566, 1331607405, 1331607629, 1331607632, 1331607295, 1331607625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12276482582092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 08:01:52.465052
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_35_9344.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_45_10401.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_54_9338.jpg', '/home/pi/Desktop/images/23012025/21/37/image_23012025_21_38_05_10392.jpg', '/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_15_10474.jpg', '/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_35_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_35_9344.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_45_10401.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_37_54_9338.jpg
/home/pi/Desktop/images/23012025/21/37/image_23012025_21_38_05_10392.jpg
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_15_10474.jpg
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_35_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":["1331607689","1331607725","1331607704","1331607691","1331607679","1331607655"],"photo_ids_order":["1331607655","1331607679","1331607689","1331607691","1331607704","1331607725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/56b24ee77d5817cc2002db639e90cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody7256669082195253841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_37_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/26/4d23beb9b0f11cf5b12e2c0a4dbfdb63.jpg","text":"TemporaryFile(/tmp/multipartBody3534480383770705125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_38_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/26/ef65108e4567e1c940143dabcbd70c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4495057139951033454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_38_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/26/e9e3c516f9a959af5493cd633aa938c8.jpg","text":"TemporaryFile(/tmp/multipartBody6466255039913235376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_38_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/26/f711bd2f30785c1939e34a6a5fb32103.jpg","text":"TemporaryFile(/tmp/multipartBody9112338725692521542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_37_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/26/38b883a3df89e8bd37a2aa25fbec0df8.jpg","text":"TemporaryFile(/tmp/multipartBody8396985671023253135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737874974901,"filename":"image_23012025_21_37_35_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331607689","file1":"1331607679","file0":"1331607655","file4":"1331607704","file5":"1331607725","file3":"1331607691"},"map_files_photo_id_array":[{"photo_id":"1331607725","filename":"file5"},{"photo_id":"1331607689","filename":"file2"},{"photo_id":"1331607704","filename":"file4"},{"photo_id":"1331607679","filename":"file1"},{"photo_id":"1331607655","filename":"file0"},{"photo_id":"1331607691","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331607689":["hashtag1","hashtag2"]},{"1331607725":["hashtag1","hashtag2"]},{"1331607704":["hashtag1","hashtag2"]},{"1331607691":["hashtag1","hashtag2"]},{"1331607679":["hashtag1","hashtag2"]},{"1331607655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331607689, 1331607725, 1331607704, 1331607691, 1331607679, 1331607655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23682761192322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:02:42.720791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_25_10439.jpg', '/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_45_10481.jpg', '/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_54_9351.jpg', '/home/pi/Desktop/images/26012025/07/56/image_26012025_07_57_04_10336.jpg', '/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_15_10363.jpg', '/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_24_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_25_10439.jpg
/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_45_10481.jpg
/home/pi/Desktop/images/26012025/07/56/image_26012025_07_56_54_9351.jpg
/home/pi/Desktop/images/26012025/07/56/image_26012025_07_57_04_10336.jpg
/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_15_10363.jpg
/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_24_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":["1331608010","1331608546","1331608491","1331608548","1331608550","1331608274"],"photo_ids_order":["1331608010","1331608274","1331608491","1331608546","1331608548","1331608550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a1a176e6c75d004e3d4bde4da4e87e4.jpg","text":"TemporaryFile(/tmp/multipartBody2206672255485224493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_56_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b73a308ba5dc396a44f4d809fbeabce.jpg","text":"TemporaryFile(/tmp/multipartBody8647655507941396926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_57_04_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/26/543b4e1802d1becaa79271bc6fda2456.jpg","text":"TemporaryFile(/tmp/multipartBody7767151395980611424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_56_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/26/40a5e6793e6976a6154fee9419cbffe0.jpg","text":"TemporaryFile(/tmp/multipartBody1380463594127611739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_57_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/26/30ec4ef95ce74526677314dc0b983a99.jpg","text":"TemporaryFile(/tmp/multipartBody5725471514411066414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_57_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ec42b2aed2258b26b7402cb733cd1c38.jpg","text":"TemporaryFile(/tmp/multipartBody8536876534358948570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875023635,"filename":"image_26012025_07_56_45_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331608491","file1":"1331608274","file0":"1331608010","file4":"1331608548","file5":"1331608550","file3":"1331608546"},"map_files_photo_id_array":[{"photo_id":"1331608550","filename":"file5"},{"photo_id":"1331608491","filename":"file2"},{"photo_id":"1331608548","filename":"file4"},{"photo_id":"1331608274","filename":"file1"},{"photo_id":"1331608010","filename":"file0"},{"photo_id":"1331608546","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331608010":["hashtag1","hashtag2"]},{"1331608546":["hashtag1","hashtag2"]},{"1331608491":["hashtag1","hashtag2"]},{"1331608548":["hashtag1","hashtag2"]},{"1331608550":["hashtag1","hashtag2"]},{"1331608274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331608010, 1331608546, 1331608491, 1331608548, 1331608550, 1331608274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25308799743652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:03:32.931066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_34_10338.jpg', '/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_54_9354.jpg', '/home/pi/Desktop/images/26012025/07/57/image_26012025_07_58_05_10486.jpg', '/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_24_10348.jpg', '/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_35_10421.jpg', '/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_44_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_34_10338.jpg
/home/pi/Desktop/images/26012025/07/57/image_26012025_07_57_54_9354.jpg
/home/pi/Desktop/images/26012025/07/57/image_26012025_07_58_05_10486.jpg
/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_24_10348.jpg
/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_35_10421.jpg
/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_44_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":["1331608808","1331608816","1331608801","1331608818","1331608812","1331608796"],"photo_ids_order":["1331608796","1331608801","1331608808","1331608812","1331608816","1331608818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff793923d6a52d1794d0a7f4bf2483cd.jpg","text":"TemporaryFile(/tmp/multipartBody8090803083752778099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_58_05_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/26/694e9a4f391872543780a4dfaa4f8f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2231981716449144577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_58_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d0965925532d12e0a4676eac19069eb.jpg","text":"TemporaryFile(/tmp/multipartBody4374450493218744083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_57_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/26/2475ee1768261c5c3ec7fb707bf66380.jpg","text":"TemporaryFile(/tmp/multipartBody5682624978480042057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_58_44_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/26/07cdb666f0bb1ded846464fcfe615b83.jpg","text":"TemporaryFile(/tmp/multipartBody6198641436576416712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_58_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/26/539fd395d35d4ce53c6e5012f7f9c4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4712591218022788495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875073860,"filename":"image_26012025_07_57_34_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331608808","file1":"1331608801","file0":"1331608796","file4":"1331608816","file5":"1331608818","file3":"1331608812"},"map_files_photo_id_array":[{"photo_id":"1331608818","filename":"file5"},{"photo_id":"1331608808","filename":"file2"},{"photo_id":"1331608816","filename":"file4"},{"photo_id":"1331608801","filename":"file1"},{"photo_id":"1331608796","filename":"file0"},{"photo_id":"1331608812","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331608808":["hashtag1","hashtag2"]},{"1331608816":["hashtag1","hashtag2"]},{"1331608801":["hashtag1","hashtag2"]},{"1331608818":["hashtag1","hashtag2"]},{"1331608812":["hashtag1","hashtag2"]},{"1331608796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331608808, 1331608816, 1331608801, 1331608818, 1331608812, 1331608796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32885265350342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:04:33.111557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_54_10410.jpg', '/home/pi/Desktop/images/26012025/07/58/image_26012025_07_59_05_10429.jpg', '/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_14_9430.jpg', '/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_25_10424.jpg', '/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_34_9394.jpg', '/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_45_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/58/image_26012025_07_58_54_10410.jpg
/home/pi/Desktop/images/26012025/07/58/image_26012025_07_59_05_10429.jpg
/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_14_9430.jpg
/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_25_10424.jpg
/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_34_9394.jpg
/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_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":["1331608882","1331608884","1331608878","1331608887","1331608889","1331608865"],"photo_ids_order":["1331608865","1331608878","1331608882","1331608884","1331608887","1331608889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a7bce38b268e519fa0c1f810cadf2bf.jpg","text":"TemporaryFile(/tmp/multipartBody8538246325008082600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_59_14_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/26/8daadbaa084c57d2b2970d4eba4f0ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7830833687859500159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_59_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/395cb2a3a2c83ff67f078d86f4264e48.jpg","text":"TemporaryFile(/tmp/multipartBody60939221436550285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_59_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/26/80ffc921fefd3e736e936b5d93b26965.jpg","text":"TemporaryFile(/tmp/multipartBody6080948237608639971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_59_34_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/26/12e3cdb56ad1096d2722565a11b7e57d.jpg","text":"TemporaryFile(/tmp/multipartBody1319868431581785380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_59_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/26/56fd5dc39f840abc71264312a9e08beb.jpg","text":"TemporaryFile(/tmp/multipartBody942298957047641982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875134038,"filename":"image_26012025_07_58_54_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331608882","file1":"1331608878","file0":"1331608865","file4":"1331608887","file5":"1331608889","file3":"1331608884"},"map_files_photo_id_array":[{"photo_id":"1331608889","filename":"file5"},{"photo_id":"1331608882","filename":"file2"},{"photo_id":"1331608887","filename":"file4"},{"photo_id":"1331608878","filename":"file1"},{"photo_id":"1331608865","filename":"file0"},{"photo_id":"1331608884","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331608882":["hashtag1","hashtag2"]},{"1331608884":["hashtag1","hashtag2"]},{"1331608878":["hashtag1","hashtag2"]},{"1331608887":["hashtag1","hashtag2"]},{"1331608889":["hashtag1","hashtag2"]},{"1331608865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331608882, 1331608884, 1331608878, 1331608887, 1331608889, 1331608865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.962385177612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:05:32.892440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_55_10350.jpg', '/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_14_10073.jpg', '/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_35_10329.jpg', '/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_44_9348.jpg', '/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_55_10476.jpg', '/home/pi/Desktop/images/26012025/08/01/image_26012025_08_02_04_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/07/59/image_26012025_07_59_55_10350.jpg
/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_14_10073.jpg
/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_35_10329.jpg
/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_44_9348.jpg
/home/pi/Desktop/images/26012025/08/01/image_26012025_08_01_55_10476.jpg
/home/pi/Desktop/images/26012025/08/01/image_26012025_08_02_04_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":["1331609041","1331609037","1331609046","1331609031","1331609049","1331609051"],"photo_ids_order":["1331609031","1331609037","1331609041","1331609046","1331609049","1331609051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71bfb86059ced9165c7dec7760afb9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6430124292996814888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_08_01_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b21ecd9f85eea7bd83e071c8ca31c55d.jpg","text":"TemporaryFile(/tmp/multipartBody9188162512303421668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_08_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a24ffbdbb0a677e163ab2483b2856dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8513688162491752706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_08_01_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/26/5facff519f9b9a061fef18284980e072.jpg","text":"TemporaryFile(/tmp/multipartBody8531281477107057734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_07_59_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/26/8652739be08de284c904b21d4f1ad11e.jpg","text":"TemporaryFile(/tmp/multipartBody661419393614699160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_08_01_55_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6df358c6aa9dd58f0ab9b2a3e040b21a.jpg","text":"TemporaryFile(/tmp/multipartBody840674145520989430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875193822,"filename":"image_26012025_08_02_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331609041","file1":"1331609037","file0":"1331609031","file4":"1331609049","file5":"1331609051","file3":"1331609046"},"map_files_photo_id_array":[{"photo_id":"1331609051","filename":"file5"},{"photo_id":"1331609041","filename":"file2"},{"photo_id":"1331609049","filename":"file4"},{"photo_id":"1331609037","filename":"file1"},{"photo_id":"1331609031","filename":"file0"},{"photo_id":"1331609046","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331609041":["hashtag1","hashtag2"]},{"1331609037":["hashtag1","hashtag2"]},{"1331609046":["hashtag1","hashtag2"]},{"1331609031":["hashtag1","hashtag2"]},{"1331609049":["hashtag1","hashtag2"]},{"1331609051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331609041, 1331609037, 1331609046, 1331609031, 1331609049, 1331609051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54931592941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:06:33.143134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_14_10348.jpg', '/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_25_10353.jpg', '/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_34_9348.jpg', '/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_44_10347.jpg', '/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_55_10345.jpg', '/home/pi/Desktop/images/26012025/08/02/image_26012025_08_03_04_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_14_10348.jpg
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_25_10353.jpg
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_34_9348.jpg
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_44_10347.jpg
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_02_55_10345.jpg
/home/pi/Desktop/images/26012025/08/02/image_26012025_08_03_04_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":["1331609125","1331609452","1331609212","1331609577","1331609063","1331609330"],"photo_ids_order":["1331609063","1331609125","1331609212","1331609330","1331609452","1331609577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f69f3ff15e206935409da6dfb7384f23.jpg","text":"TemporaryFile(/tmp/multipartBody8725636522515675960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_02_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/26/3bcadb32906fa9da4fee94fa39730909.jpg","text":"TemporaryFile(/tmp/multipartBody7218257077827419970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_02_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/26/54f37e57f670867f38321498c2cbf146.jpg","text":"TemporaryFile(/tmp/multipartBody3625013443359994403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_02_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2569cb7ca573e5487c90061feb7ab96b.jpg","text":"TemporaryFile(/tmp/multipartBody4086028101445553301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_03_04_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/26/fd4dd12df024ac45df75b9d056284885.jpg","text":"TemporaryFile(/tmp/multipartBody7100626732070290163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_02_14_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/26/b03982bb25f3fdd4a00b88900fd88b26.jpg","text":"TemporaryFile(/tmp/multipartBody7778627489829659007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875254092,"filename":"image_26012025_08_02_44_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331609212","file1":"1331609125","file0":"1331609063","file4":"1331609452","file5":"1331609577","file3":"1331609330"},"map_files_photo_id_array":[{"photo_id":"1331609577","filename":"file5"},{"photo_id":"1331609212","filename":"file2"},{"photo_id":"1331609452","filename":"file4"},{"photo_id":"1331609125","filename":"file1"},{"photo_id":"1331609063","filename":"file0"},{"photo_id":"1331609330","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331609125":["hashtag1","hashtag2"]},{"1331609452":["hashtag1","hashtag2"]},{"1331609212":["hashtag1","hashtag2"]},{"1331609577":["hashtag1","hashtag2"]},{"1331609063":["hashtag1","hashtag2"]},{"1331609330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331609125, 1331609452, 1331609212, 1331609577, 1331609063, 1331609330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.829992055892944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:07:32.430884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_25_10337.jpg', '/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_34_9335.jpg', '/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_45_10341.jpg', '/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_55_10361.jpg', '/home/pi/Desktop/images/26012025/08/03/image_26012025_08_04_04_9400.jpg', '/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_15_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_25_10337.jpg
/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_34_9335.jpg
/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_45_10341.jpg
/home/pi/Desktop/images/26012025/08/03/image_26012025_08_03_55_10361.jpg
/home/pi/Desktop/images/26012025/08/03/image_26012025_08_04_04_9400.jpg
/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_15_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331610184","1331610186","1331610189","1331610180","1331610177","1331610188"],"photo_ids_order":["1331610177","1331610180","1331610184","1331610186","1331610188","1331610189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e34862f2e13d5ddcb97c8483a60c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody6230740694428479937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_03_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/26/bb654f65dd9ce59c33abca5960609373.jpg","text":"TemporaryFile(/tmp/multipartBody286323014919773953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_03_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b0c99f0550d0eef0264b059a74c48b0.jpg","text":"TemporaryFile(/tmp/multipartBody4651474513574704461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_04_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/26/97e1f88d4c02327c88a9f0bd5b73b998.jpg","text":"TemporaryFile(/tmp/multipartBody5313130362660482025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_03_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/26/35152b73ec2acd55dbe36c6e5103a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody2681106723560561812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_03_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/26/231ca6bb23f6542447c53b32c3687da3.jpg","text":"TemporaryFile(/tmp/multipartBody576815285118740629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875313348,"filename":"image_26012025_08_04_04_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331610184","file1":"1331610180","file0":"1331610177","file4":"1331610188","file5":"1331610189","file3":"1331610186"},"map_files_photo_id_array":[{"photo_id":"1331610189","filename":"file5"},{"photo_id":"1331610184","filename":"file2"},{"photo_id":"1331610188","filename":"file4"},{"photo_id":"1331610180","filename":"file1"},{"photo_id":"1331610177","filename":"file0"},{"photo_id":"1331610186","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331610184":["hashtag1","hashtag2"]},{"1331610186":["hashtag1","hashtag2"]},{"1331610189":["hashtag1","hashtag2"]},{"1331610180":["hashtag1","hashtag2"]},{"1331610177":["hashtag1","hashtag2"]},{"1331610188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331610184, 1331610186, 1331610189, 1331610180, 1331610177, 1331610188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.14222455024719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:08:32.651058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_35_10442.jpg', '/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_45_10346.jpg', '/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_54_9337.jpg', '/home/pi/Desktop/images/26012025/08/04/image_26012025_08_05_05_10334.jpg', '/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_15_10358.jpg', '/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_24_9325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_35_10442.jpg
/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_45_10346.jpg
/home/pi/Desktop/images/26012025/08/04/image_26012025_08_04_54_9337.jpg
/home/pi/Desktop/images/26012025/08/04/image_26012025_08_05_05_10334.jpg
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_15_10358.jpg
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_24_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":["1331610200","1331610280","1331610206","1331610220","1331610216","1331610210"],"photo_ids_order":["1331610200","1331610206","1331610210","1331610216","1331610220","1331610280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f46cb745813e2a640425c23d85afb810.jpg","text":"TemporaryFile(/tmp/multipartBody3856903352448376205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_04_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e03a5d8d65dbb6c3d3a99719fca6615.jpg","text":"TemporaryFile(/tmp/multipartBody6527439230556277051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_05_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b89cdaaccb284adf177ec35b3bebb0b1.jpg","text":"TemporaryFile(/tmp/multipartBody5898829814773555594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_04_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f64bc380686e4d3c9abf901299976172.jpg","text":"TemporaryFile(/tmp/multipartBody5108675893105286610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_05_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/26/8d1ab4d6c32e7f22598106abfd747556.jpg","text":"TemporaryFile(/tmp/multipartBody1254111200992040276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_05_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/26/54187b05ae99851e29a33ffb7519eefc.jpg","text":"TemporaryFile(/tmp/multipartBody5483177319117481266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875373585,"filename":"image_26012025_08_04_54_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331610210","file1":"1331610206","file0":"1331610200","file4":"1331610220","file5":"1331610280","file3":"1331610216"},"map_files_photo_id_array":[{"photo_id":"1331610280","filename":"file5"},{"photo_id":"1331610210","filename":"file2"},{"photo_id":"1331610220","filename":"file4"},{"photo_id":"1331610206","filename":"file1"},{"photo_id":"1331610200","filename":"file0"},{"photo_id":"1331610216","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331610200":["hashtag1","hashtag2"]},{"1331610280":["hashtag1","hashtag2"]},{"1331610206":["hashtag1","hashtag2"]},{"1331610220":["hashtag1","hashtag2"]},{"1331610216":["hashtag1","hashtag2"]},{"1331610210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331610200, 1331610280, 1331610206, 1331610220, 1331610216, 1331610210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.757009506225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:09:32.939493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_35_10362.jpg', '/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_44_9353.jpg', '/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_54_10367.jpg', '/home/pi/Desktop/images/26012025/08/05/image_26012025_08_06_05_10418.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_14_9322.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_25_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_35_10362.jpg
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_44_9353.jpg
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_05_54_10367.jpg
/home/pi/Desktop/images/26012025/08/05/image_26012025_08_06_05_10418.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_14_9322.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_25_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":["1331610758","1331610701","1331610739","1331610760","1331610690","1331610753"],"photo_ids_order":["1331610690","1331610701","1331610739","1331610753","1331610758","1331610760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9924e323032db46873e332b22d9c9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5388271429013818113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_06_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/26/f2920f1eb88f77685113cc31d9b1eec7.jpg","text":"TemporaryFile(/tmp/multipartBody6308969391644660001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_05_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ecfc6ce6f6e1ea0198757ece50a224f5.jpg","text":"TemporaryFile(/tmp/multipartBody3306481038068349756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_05_54_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/26/36abada9e6d439a5df39242e0eb7d55c.jpg","text":"TemporaryFile(/tmp/multipartBody3580382836785680273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_06_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/26/bcd6978d2efa8b3e6ad63598f5995277.jpg","text":"TemporaryFile(/tmp/multipartBody8594567846384172119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_05_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/26/2078321a27a03658c62d0f49c08f58a2.jpg","text":"TemporaryFile(/tmp/multipartBody5191824148356502862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875433900,"filename":"image_26012025_08_06_05_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331610739","file1":"1331610701","file0":"1331610690","file4":"1331610758","file5":"1331610760","file3":"1331610753"},"map_files_photo_id_array":[{"photo_id":"1331610760","filename":"file5"},{"photo_id":"1331610739","filename":"file2"},{"photo_id":"1331610758","filename":"file4"},{"photo_id":"1331610701","filename":"file1"},{"photo_id":"1331610690","filename":"file0"},{"photo_id":"1331610753","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331610758":["hashtag1","hashtag2"]},{"1331610701":["hashtag1","hashtag2"]},{"1331610739":["hashtag1","hashtag2"]},{"1331610760":["hashtag1","hashtag2"]},{"1331610690":["hashtag1","hashtag2"]},{"1331610753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331610758, 1331610701, 1331610739, 1331610760, 1331610690, 1331610753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.739911794662476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:10:33.102164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_35_10350.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_44_9339.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_55_10424.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_07_04_9344.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_14_10330.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_34_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_35_10350.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_44_9339.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_55_10424.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_07_04_9344.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_14_10330.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_34_9345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5279016494750977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:10:42.994817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_35_10350.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_44_9339.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_55_10424.jpg', '/home/pi/Desktop/images/26012025/08/06/image_26012025_08_07_04_9344.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_14_10330.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_34_9345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_35_10350.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_44_9339.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_06_55_10424.jpg
/home/pi/Desktop/images/26012025/08/06/image_26012025_08_07_04_9344.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_14_10330.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_34_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":["1331610836","1331610839","1331610830","1331610838","1331610840","1331610833"],"photo_ids_order":["1331610830","1331610833","1331610836","1331610838","1331610839","1331610840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2f22f27a1b67ab89c29c4f136ef4633.jpg","text":"TemporaryFile(/tmp/multipartBody6951821751159737453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_06_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/26/3883ada95faaa5beeeaef1755f8d17fe.jpg","text":"TemporaryFile(/tmp/multipartBody8937326732760775370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_07_14_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/51fb9ff6ac185fe3879fd3410cc08c31.jpg","text":"TemporaryFile(/tmp/multipartBody3740012866134913501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_06_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/26/826a7b024654dd6d1723590b1d03bd0b.jpg","text":"TemporaryFile(/tmp/multipartBody3768792281041305532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_07_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/26/b5febc3c1495fa3b78027419cdd0bd56.jpg","text":"TemporaryFile(/tmp/multipartBody7430358483846052292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_07_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e05653f46f1104e3fd50cfc3c920125a.jpg","text":"TemporaryFile(/tmp/multipartBody6070290410730919276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875503917,"filename":"image_26012025_08_06_44_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331610836","file1":"1331610833","file0":"1331610830","file4":"1331610839","file5":"1331610840","file3":"1331610838"},"map_files_photo_id_array":[{"photo_id":"1331610840","filename":"file5"},{"photo_id":"1331610836","filename":"file2"},{"photo_id":"1331610839","filename":"file4"},{"photo_id":"1331610833","filename":"file1"},{"photo_id":"1331610830","filename":"file0"},{"photo_id":"1331610838","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331610836":["hashtag1","hashtag2"]},{"1331610839":["hashtag1","hashtag2"]},{"1331610830":["hashtag1","hashtag2"]},{"1331610838":["hashtag1","hashtag2"]},{"1331610840":["hashtag1","hashtag2"]},{"1331610833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331610836, 1331610839, 1331610830, 1331610838, 1331610840, 1331610833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20751357078552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:11:32.376545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_45_10499.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_55_10361.jpg', '/home/pi/Desktop/images/26012025/08/07/image_26012025_08_08_04_9408.jpg', '/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_15_10413.jpg', '/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_24_9339.jpg', '/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_45_10499.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_07_55_10361.jpg
/home/pi/Desktop/images/26012025/08/07/image_26012025_08_08_04_9408.jpg
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_15_10413.jpg
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_24_9339.jpg
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_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":["1331610859","1331610850","1331610855","1331610864","1331610845","1331610869"],"photo_ids_order":["1331610845","1331610850","1331610855","1331610859","1331610864","1331610869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d770e9295da7e0aaeca47e456512018e.jpg","text":"TemporaryFile(/tmp/multipartBody7425151908699445691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_08_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/26/47cf3d4c8c870585c74692357342faa2.jpg","text":"TemporaryFile(/tmp/multipartBody1510251245700306080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_07_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/26/ebf431ea0c13bda8fe700531103c4b53.jpg","text":"TemporaryFile(/tmp/multipartBody7061139574761385848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_08_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79155632a51fe220f9718382e971c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8098662881492753821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_08_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c22adc51db663712722cbf8e5e8f8fee.jpg","text":"TemporaryFile(/tmp/multipartBody5994054518055587208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_07_45_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/26/c0231f63b91fdf6cea5a498372eb2913.jpg","text":"TemporaryFile(/tmp/multipartBody7483329921884161975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875553289,"filename":"image_26012025_08_08_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331610855","file1":"1331610850","file0":"1331610845","file4":"1331610864","file5":"1331610869","file3":"1331610859"},"map_files_photo_id_array":[{"photo_id":"1331610869","filename":"file5"},{"photo_id":"1331610855","filename":"file2"},{"photo_id":"1331610864","filename":"file4"},{"photo_id":"1331610850","filename":"file1"},{"photo_id":"1331610845","filename":"file0"},{"photo_id":"1331610859","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331610859":["hashtag1","hashtag2"]},{"1331610850":["hashtag1","hashtag2"]},{"1331610855":["hashtag1","hashtag2"]},{"1331610864":["hashtag1","hashtag2"]},{"1331610845":["hashtag1","hashtag2"]},{"1331610869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331610859, 1331610850, 1331610855, 1331610864, 1331610845, 1331610869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.236748933792114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:12:32.595531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_54_9345.jpg', '/home/pi/Desktop/images/26012025/08/08/image_26012025_08_09_05_10408.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_15_10344.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_24_9344.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_35_10348.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_44_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_54_9345.jpg
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_09_05_10408.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_15_10344.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_24_9344.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_35_10348.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_44_9336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5404887199401855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:12:42.638749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_54_9345.jpg', '/home/pi/Desktop/images/26012025/08/08/image_26012025_08_09_05_10408.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_15_10344.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_24_9344.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_35_10348.jpg', '/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_44_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_08_54_9345.jpg
/home/pi/Desktop/images/26012025/08/08/image_26012025_08_09_05_10408.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_15_10344.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_24_9344.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_35_10348.jpg
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_09_44_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":["1331611909","1331611899","1331611677","1331611904","1331611907","1331611792"],"photo_ids_order":["1331611677","1331611792","1331611899","1331611904","1331611907","1331611909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22fc9fdae870000f34c15a1cceede8cf.jpg","text":"TemporaryFile(/tmp/multipartBody5572015516950436539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_09_44_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/26/a651f2a4a6ecb74d304900beef71b0c6.jpg","text":"TemporaryFile(/tmp/multipartBody3716350331104982788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_09_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/26/400f0b5c08a72bdcc992b07938db93b8.jpg","text":"TemporaryFile(/tmp/multipartBody1482845176784739464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_08_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/26/8e24d50426919424451e722bb02ff2e4.jpg","text":"TemporaryFile(/tmp/multipartBody486373100130938979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_09_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/26/1624d2a08a643c44875f92b9e6ba8fde.jpg","text":"TemporaryFile(/tmp/multipartBody8782156096473665631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_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/26/9ac21c5c065619ac5a16526148fc1be7.jpg","text":"TemporaryFile(/tmp/multipartBody2295052231416774705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875623566,"filename":"image_26012025_08_09_05_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331611899","file1":"1331611792","file0":"1331611677","file4":"1331611907","file5":"1331611909","file3":"1331611904"},"map_files_photo_id_array":[{"photo_id":"1331611909","filename":"file5"},{"photo_id":"1331611899","filename":"file2"},{"photo_id":"1331611907","filename":"file4"},{"photo_id":"1331611792","filename":"file1"},{"photo_id":"1331611677","filename":"file0"},{"photo_id":"1331611904","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331611909":["hashtag1","hashtag2"]},{"1331611899":["hashtag1","hashtag2"]},{"1331611677":["hashtag1","hashtag2"]},{"1331611904":["hashtag1","hashtag2"]},{"1331611907":["hashtag1","hashtag2"]},{"1331611792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331611909, 1331611899, 1331611677, 1331611904, 1331611907, 1331611792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0656943321228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:13:32.951165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/09/image_26012025_08_10_05_10431.jpg', '/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_14_9335.jpg', '/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_25_10407.jpg', '/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_34_9418.jpg', '/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_55_10357.jpg', '/home/pi/Desktop/images/26012025/08/10/image_26012025_08_11_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/09/image_26012025_08_10_05_10431.jpg
/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_14_9335.jpg
/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_25_10407.jpg
/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_34_9418.jpg
/home/pi/Desktop/images/26012025/08/10/image_26012025_08_10_55_10357.jpg
/home/pi/Desktop/images/26012025/08/10/image_26012025_08_11_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331611960","1331611954","1331611956","1331611950","1331611958","1331611952"],"photo_ids_order":["1331611950","1331611952","1331611954","1331611956","1331611958","1331611960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49713a2ee3f99b8861540ddb9a1d8b72.jpg","text":"TemporaryFile(/tmp/multipartBody2998266911889336751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_11_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/26/5fa9d9a8feb65081a1572746c76c7aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1776073547667709770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_10_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/26/3523f4950260dd953e7fe89711cf7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody462347734459406571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_10_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccd2aaed9034bda1f1892bbda1cb8300.jpg","text":"TemporaryFile(/tmp/multipartBody7355548478033498027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_10_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6755c6a6864ad4422dba92cea16458c6.jpg","text":"TemporaryFile(/tmp/multipartBody5526046205500516860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_10_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/26/37b5a270704a1f6b0e8880698f0cb874.jpg","text":"TemporaryFile(/tmp/multipartBody8238798621370462789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875673888,"filename":"image_26012025_08_10_14_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331611954","file1":"1331611952","file0":"1331611950","file4":"1331611958","file5":"1331611960","file3":"1331611956"},"map_files_photo_id_array":[{"photo_id":"1331611960","filename":"file5"},{"photo_id":"1331611954","filename":"file2"},{"photo_id":"1331611958","filename":"file4"},{"photo_id":"1331611952","filename":"file1"},{"photo_id":"1331611950","filename":"file0"},{"photo_id":"1331611956","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331611960":["hashtag1","hashtag2"]},{"1331611954":["hashtag1","hashtag2"]},{"1331611956":["hashtag1","hashtag2"]},{"1331611950":["hashtag1","hashtag2"]},{"1331611958":["hashtag1","hashtag2"]},{"1331611952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331611960, 1331611954, 1331611956, 1331611950, 1331611958, 1331611952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.006715536117554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:14:33.165634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_25_10436.jpg', '/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_34_9403.jpg', '/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_55_10371.jpg', '/home/pi/Desktop/images/26012025/08/11/image_26012025_08_12_04_9350.jpg', '/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_15_10423.jpg', '/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_24_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_25_10436.jpg
/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_34_9403.jpg
/home/pi/Desktop/images/26012025/08/11/image_26012025_08_11_55_10371.jpg
/home/pi/Desktop/images/26012025/08/11/image_26012025_08_12_04_9350.jpg
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_15_10423.jpg
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_24_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331612484","1331612416","1331612421","1331612412","1331612282","1331612398"],"photo_ids_order":["1331612282","1331612398","1331612412","1331612416","1331612421","1331612484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/103a58d30724547ab724facb3ff4c040.jpg","text":"TemporaryFile(/tmp/multipartBody7047720927371289123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_12_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d3bcf084526db9959c3e76e8c0edf68.jpg","text":"TemporaryFile(/tmp/multipartBody7537839840373018409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_12_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/26/6a63b1ffa93c2c69b63576ecd6942451.jpg","text":"TemporaryFile(/tmp/multipartBody3766387349083984943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_12_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/26/559ed3b25f30b59d4f00a4264cdad44f.jpg","text":"TemporaryFile(/tmp/multipartBody9123632248972574820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_11_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/26/13b5f77979a0daf63628aa2d4c94dafb.jpg","text":"TemporaryFile(/tmp/multipartBody3138751597359487819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_11_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/26/3d7bd6ad54bff6bde29f0cb4531895c5.jpg","text":"TemporaryFile(/tmp/multipartBody8322978031075228215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875734100,"filename":"image_26012025_08_11_34_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331612412","file1":"1331612398","file0":"1331612282","file4":"1331612421","file5":"1331612484","file3":"1331612416"},"map_files_photo_id_array":[{"photo_id":"1331612484","filename":"file5"},{"photo_id":"1331612412","filename":"file2"},{"photo_id":"1331612421","filename":"file4"},{"photo_id":"1331612398","filename":"file1"},{"photo_id":"1331612282","filename":"file0"},{"photo_id":"1331612416","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331612484":["hashtag1","hashtag2"]},{"1331612416":["hashtag1","hashtag2"]},{"1331612421":["hashtag1","hashtag2"]},{"1331612412":["hashtag1","hashtag2"]},{"1331612282":["hashtag1","hashtag2"]},{"1331612398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331612484, 1331612416, 1331612421, 1331612412, 1331612282, 1331612398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.115331411361694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:15:32.416576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_35_10441.jpg', '/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_44_9415.jpg', '/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_54_10374.jpg', '/home/pi/Desktop/images/26012025/08/12/image_26012025_08_13_05_10416.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_14_9327.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_25_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_35_10441.jpg
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_44_9415.jpg
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_12_54_10374.jpg
/home/pi/Desktop/images/26012025/08/12/image_26012025_08_13_05_10416.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_14_9327.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_25_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":["1331612611","1331612598","1331612594","1331612606","1331612609","1331612603"],"photo_ids_order":["1331612594","1331612598","1331612603","1331612606","1331612609","1331612611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0f0a46fe89f0f97c4c579499f7f2edf.jpg","text":"TemporaryFile(/tmp/multipartBody3181718472343965203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_13_25_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/471cf44233a75b4c2ccef577abdd9263.jpg","text":"TemporaryFile(/tmp/multipartBody9053873631839517988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_12_44_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/47b4de6eba3c3766844137ebc0acbee3.jpg","text":"TemporaryFile(/tmp/multipartBody1769794930604356623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_12_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/26/9b4bd82651da53cb4394d2edd57931e2.jpg","text":"TemporaryFile(/tmp/multipartBody6844496073044730996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_13_05_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b658ad81ffca7ac307c55588787cd200.jpg","text":"TemporaryFile(/tmp/multipartBody6036582171810953601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_13_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/26/dede64e0ae748a322338cc06d8752057.jpg","text":"TemporaryFile(/tmp/multipartBody4670302754537972052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875793334,"filename":"image_26012025_08_12_54_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331612603","file1":"1331612598","file0":"1331612594","file4":"1331612609","file5":"1331612611","file3":"1331612606"},"map_files_photo_id_array":[{"photo_id":"1331612611","filename":"file5"},{"photo_id":"1331612603","filename":"file2"},{"photo_id":"1331612609","filename":"file4"},{"photo_id":"1331612598","filename":"file1"},{"photo_id":"1331612594","filename":"file0"},{"photo_id":"1331612606","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331612611":["hashtag1","hashtag2"]},{"1331612598":["hashtag1","hashtag2"]},{"1331612594":["hashtag1","hashtag2"]},{"1331612606":["hashtag1","hashtag2"]},{"1331612609":["hashtag1","hashtag2"]},{"1331612603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331612611, 1331612598, 1331612594, 1331612606, 1331612609, 1331612603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.305994272232056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:16:32.685670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_35_10335.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_44_9346.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_55_10425.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_14_04_9352.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_25_10384.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_34_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_35_10335.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_44_9346.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_55_10425.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_14_04_9352.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_25_10384.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_34_9322.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5403721332550049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:16:42.591957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_35_10335.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_44_9346.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_55_10425.jpg', '/home/pi/Desktop/images/26012025/08/13/image_26012025_08_14_04_9352.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_25_10384.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_34_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_35_10335.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_44_9346.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_13_55_10425.jpg
/home/pi/Desktop/images/26012025/08/13/image_26012025_08_14_04_9352.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_25_10384.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_34_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331612676","1331612679","1331612673","1331612669","1331612663","1331612683"],"photo_ids_order":["1331612663","1331612669","1331612673","1331612676","1331612679","1331612683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ed6988b8a73654fcb16c6ddf4a87f211.jpg","text":"TemporaryFile(/tmp/multipartBody5600874254285682793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_14_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/26/6898f81457eb31ee82b8b739fc052de9.jpg","text":"TemporaryFile(/tmp/multipartBody6583854922243500473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_14_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/26/393e9b39a7bb33388bb7fc43d6c64c19.jpg","text":"TemporaryFile(/tmp/multipartBody6691802338045662443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_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/26/b941f9cb00459000233b1956d5554516.jpg","text":"TemporaryFile(/tmp/multipartBody2076889261061880644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_13_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/26/79c64dde36ded12ccc09416e123f3813.jpg","text":"TemporaryFile(/tmp/multipartBody7257181859226664972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_13_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/26/2d5f2cf6c04a9c021abc4610fb931a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8675915358510928978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875863519,"filename":"image_26012025_08_14_34_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331612673","file1":"1331612669","file0":"1331612663","file4":"1331612679","file5":"1331612683","file3":"1331612676"},"map_files_photo_id_array":[{"photo_id":"1331612683","filename":"file5"},{"photo_id":"1331612673","filename":"file2"},{"photo_id":"1331612679","filename":"file4"},{"photo_id":"1331612669","filename":"file1"},{"photo_id":"1331612663","filename":"file0"},{"photo_id":"1331612676","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331612676":["hashtag1","hashtag2"]},{"1331612679":["hashtag1","hashtag2"]},{"1331612673":["hashtag1","hashtag2"]},{"1331612669":["hashtag1","hashtag2"]},{"1331612663":["hashtag1","hashtag2"]},{"1331612683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331612676, 1331612679, 1331612673, 1331612669, 1331612663, 1331612683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44843339920044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:17:32.899452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_45_10424.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_55_10408.jpg', '/home/pi/Desktop/images/26012025/08/14/image_26012025_08_15_04_9381.jpg', '/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_24_9354.jpg', '/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_35_10479.jpg', '/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_54_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_45_10424.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_14_55_10408.jpg
/home/pi/Desktop/images/26012025/08/14/image_26012025_08_15_04_9381.jpg
/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_24_9354.jpg
/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_35_10479.jpg
/home/pi/Desktop/images/26012025/08/15/image_26012025_08_15_54_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331613309","1331613144","1331613308","1331613310","1331612851","1331613307"],"photo_ids_order":["1331612851","1331613144","1331613307","1331613308","1331613309","1331613310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b41a12add2e276ce73b0ab45e2d51323.jpg","text":"TemporaryFile(/tmp/multipartBody3352609364739250071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_15_35_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/26/12e6ef286ced5715d85ebca1c20798fe.jpg","text":"TemporaryFile(/tmp/multipartBody8330407345803325667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_14_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/98ab67b4eb2d47c1b0e36d6d7f2f420d.jpg","text":"TemporaryFile(/tmp/multipartBody752390445482652180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_15_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/26/1b989decea63c457d2a8858e770f226e.jpg","text":"TemporaryFile(/tmp/multipartBody2623680087803748301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_15_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bcce664e25e72a2ee700fcd34f230cf9.jpg","text":"TemporaryFile(/tmp/multipartBody451261052198991621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_14_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/26/8efec1ccfb73777771c77ab54a54ae44.jpg","text":"TemporaryFile(/tmp/multipartBody1003340137453613598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875913828,"filename":"image_26012025_08_15_04_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331613307","file1":"1331613144","file0":"1331612851","file4":"1331613309","file5":"1331613310","file3":"1331613308"},"map_files_photo_id_array":[{"photo_id":"1331613310","filename":"file5"},{"photo_id":"1331613307","filename":"file2"},{"photo_id":"1331613309","filename":"file4"},{"photo_id":"1331613144","filename":"file1"},{"photo_id":"1331612851","filename":"file0"},{"photo_id":"1331613308","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331613309":["hashtag1","hashtag2"]},{"1331613144":["hashtag1","hashtag2"]},{"1331613308":["hashtag1","hashtag2"]},{"1331613310":["hashtag1","hashtag2"]},{"1331612851":["hashtag1","hashtag2"]},{"1331613307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331613309, 1331613144, 1331613308, 1331613310, 1331612851, 1331613307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15226364135742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:18:33.162845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/15/image_26012025_08_16_05_10349.jpg', '/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_15_10349.jpg', '/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_24_9346.jpg', '/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_35_10421.jpg', '/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_44_9331.jpg', '/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_54_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/15/image_26012025_08_16_05_10349.jpg
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_15_10349.jpg
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_24_9346.jpg
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_35_10421.jpg
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_44_9331.jpg
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_16_54_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331613744","1331614154","1331613893","1331614040","1331613620","1331614273"],"photo_ids_order":["1331613620","1331613744","1331613893","1331614040","1331614154","1331614273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96cb7f6b4e28bd1428d3bcb73a0d6a51.jpg","text":"TemporaryFile(/tmp/multipartBody6110555788582726638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f3faec01c2b37175bda5a81c7c701b9.jpg","text":"TemporaryFile(/tmp/multipartBody836172574506267458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0dfb1f6160d175ab40597b5f864fa07e.jpg","text":"TemporaryFile(/tmp/multipartBody103963543870548211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_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/26/9b473fc3f9f618e3ba1ac42168414df3.jpg","text":"TemporaryFile(/tmp/multipartBody1596764187965126058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6a62133b803b63541b991138eafd42f.jpg","text":"TemporaryFile(/tmp/multipartBody8072850180820412698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_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/26/41eca457ee3b450466d2094bd94f1096.jpg","text":"TemporaryFile(/tmp/multipartBody2362201609054313344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737875974093,"filename":"image_26012025_08_16_54_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331613893","file1":"1331613744","file0":"1331613620","file4":"1331614154","file5":"1331614273","file3":"1331614040"},"map_files_photo_id_array":[{"photo_id":"1331614273","filename":"file5"},{"photo_id":"1331613893","filename":"file2"},{"photo_id":"1331614154","filename":"file4"},{"photo_id":"1331613744","filename":"file1"},{"photo_id":"1331613620","filename":"file0"},{"photo_id":"1331614040","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331613744":["hashtag1","hashtag2"]},{"1331614154":["hashtag1","hashtag2"]},{"1331613893":["hashtag1","hashtag2"]},{"1331614040":["hashtag1","hashtag2"]},{"1331613620":["hashtag1","hashtag2"]},{"1331614273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331613744, 1331614154, 1331613893, 1331614040, 1331613620, 1331614273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.296602964401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:19:32.330331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/16/image_26012025_08_17_05_10339.jpg', '/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_25_10471.jpg', '/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_35_10343.jpg', '/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_44_9448.jpg', '/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_55_10356.jpg', '/home/pi/Desktop/images/26012025/08/17/image_26012025_08_18_04_9371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/16/image_26012025_08_17_05_10339.jpg
/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_25_10471.jpg
/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_35_10343.jpg
/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_44_9448.jpg
/home/pi/Desktop/images/26012025/08/17/image_26012025_08_17_55_10356.jpg
/home/pi/Desktop/images/26012025/08/17/image_26012025_08_18_04_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":["1331614605","1331614608","1331614604","1331614606","1331614590","1331614587"],"photo_ids_order":["1331614587","1331614590","1331614604","1331614605","1331614606","1331614608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ef90a5cca23503449c06b7ad2a69763.jpg","text":"TemporaryFile(/tmp/multipartBody4867201950969379260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_17_44_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb1a5d5fa9958d7697efa83d4e57f45e.jpg","text":"TemporaryFile(/tmp/multipartBody6843210989613518831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_18_04_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/26/ee8f7af64df2b98306af9b72dd3a4d19.jpg","text":"TemporaryFile(/tmp/multipartBody1253697927859824419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_17_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/26/a017b76a845d6a57b2512b0d09714a87.jpg","text":"TemporaryFile(/tmp/multipartBody3386984155019188850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_17_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/26/884bb4a36f7ea6bd068c90e9d5cc489b.jpg","text":"TemporaryFile(/tmp/multipartBody6762338964941092001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_17_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/473fc12c21768a5e2a734408b67110c3.jpg","text":"TemporaryFile(/tmp/multipartBody8490011712186048339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876033286,"filename":"image_26012025_08_17_05_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331614604","file1":"1331614590","file0":"1331614587","file4":"1331614606","file5":"1331614608","file3":"1331614605"},"map_files_photo_id_array":[{"photo_id":"1331614608","filename":"file5"},{"photo_id":"1331614604","filename":"file2"},{"photo_id":"1331614606","filename":"file4"},{"photo_id":"1331614590","filename":"file1"},{"photo_id":"1331614587","filename":"file0"},{"photo_id":"1331614605","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331614605":["hashtag1","hashtag2"]},{"1331614608":["hashtag1","hashtag2"]},{"1331614604":["hashtag1","hashtag2"]},{"1331614606":["hashtag1","hashtag2"]},{"1331614590":["hashtag1","hashtag2"]},{"1331614587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331614605, 1331614608, 1331614604, 1331614606, 1331614590, 1331614587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.145084619522095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:20:32.499899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_14_10377.jpg', '/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_25_10335.jpg', '/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_34_9304.jpg', '/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_44_10342.jpg', '/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_55_10408.jpg', '/home/pi/Desktop/images/26012025/08/18/image_26012025_08_19_04_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_14_10377.jpg
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_25_10335.jpg
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_34_9304.jpg
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_44_10342.jpg
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_18_55_10408.jpg
/home/pi/Desktop/images/26012025/08/18/image_26012025_08_19_04_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":["1331614806","1331615044","1331614630","1331614930","1331614683","1331614632"],"photo_ids_order":["1331614630","1331614632","1331614683","1331614806","1331614930","1331615044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c594b51deb1bd3beab045d42616d16c.jpg","text":"TemporaryFile(/tmp/multipartBody2460057905265402592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_18_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/26/0c0afc7eff991bd5bbc92d9d771afda7.jpg","text":"TemporaryFile(/tmp/multipartBody8353711601446665809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_19_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/26/00e4ac7146354a7c72741f063e24a5ca.jpg","text":"TemporaryFile(/tmp/multipartBody729456073882681567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_18_14_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/26/5d2a678976ba2a1908cfcbeba2184074.jpg","text":"TemporaryFile(/tmp/multipartBody1816257197329646734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_18_55_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa3638ba85226664cc2ad3edd3a30c10.jpg","text":"TemporaryFile(/tmp/multipartBody7394541816736174164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_18_34_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00d4d3a18b5565dfc60f3d08cc3a81fe.jpg","text":"TemporaryFile(/tmp/multipartBody3670390129339331112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876093429,"filename":"image_26012025_08_18_25_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331614683","file1":"1331614632","file0":"1331614630","file4":"1331614930","file5":"1331615044","file3":"1331614806"},"map_files_photo_id_array":[{"photo_id":"1331615044","filename":"file5"},{"photo_id":"1331614683","filename":"file2"},{"photo_id":"1331614930","filename":"file4"},{"photo_id":"1331614632","filename":"file1"},{"photo_id":"1331614630","filename":"file0"},{"photo_id":"1331614806","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331614806":["hashtag1","hashtag2"]},{"1331615044":["hashtag1","hashtag2"]},{"1331614630":["hashtag1","hashtag2"]},{"1331614930":["hashtag1","hashtag2"]},{"1331614683":["hashtag1","hashtag2"]},{"1331614632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331614806, 1331615044, 1331614630, 1331614930, 1331614683, 1331614632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64415407180786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:21:32.724126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_15_10395.jpg', '/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_25_10424.jpg', '/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_34_9430.jpg', '/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_45_10357.jpg', '/home/pi/Desktop/images/26012025/08/20/image_26012025_08_20_14_9400.jpg', '/home/pi/Desktop/images/26012025/08/20/image_26012025_08_20_44_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_15_10395.jpg
/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_25_10424.jpg
/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_34_9430.jpg
/home/pi/Desktop/images/26012025/08/19/image_26012025_08_19_45_10357.jpg
/home/pi/Desktop/images/26012025/08/20/image_26012025_08_20_14_9400.jpg
/home/pi/Desktop/images/26012025/08/20/image_26012025_08_20_44_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":["1331615194","1331615197","1331615182","1331615199","1331615190","1331615187"],"photo_ids_order":["1331615182","1331615187","1331615190","1331615194","1331615197","1331615199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f664001b811488a17037879317c17efe.jpg","text":"TemporaryFile(/tmp/multipartBody7660548011322422253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_19_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/26/4d5ef2b7edd142950f90b828821719ba.jpg","text":"TemporaryFile(/tmp/multipartBody5535343206855677615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_20_14_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/26/a8a25a1adddd52b5bc1871341ef44a36.jpg","text":"TemporaryFile(/tmp/multipartBody7584128255475734549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_19_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/28fc052a8dc813d0c51a0627da859cb4.jpg","text":"TemporaryFile(/tmp/multipartBody521770969685012756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_20_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/853cfe913ba9d4e8d8ac84c27e6b3187.jpg","text":"TemporaryFile(/tmp/multipartBody2528072861075182751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_19_34_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7db1707aa5624ce7f444b6a952865bec.jpg","text":"TemporaryFile(/tmp/multipartBody5236311351736896122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876153659,"filename":"image_26012025_08_19_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615190","file1":"1331615187","file0":"1331615182","file4":"1331615197","file5":"1331615199","file3":"1331615194"},"map_files_photo_id_array":[{"photo_id":"1331615199","filename":"file5"},{"photo_id":"1331615190","filename":"file2"},{"photo_id":"1331615197","filename":"file4"},{"photo_id":"1331615187","filename":"file1"},{"photo_id":"1331615182","filename":"file0"},{"photo_id":"1331615194","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615194":["hashtag1","hashtag2"]},{"1331615197":["hashtag1","hashtag2"]},{"1331615182":["hashtag1","hashtag2"]},{"1331615199":["hashtag1","hashtag2"]},{"1331615190":["hashtag1","hashtag2"]},{"1331615187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615194, 1331615197, 1331615182, 1331615199, 1331615190, 1331615187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.783424615859985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:22:32.996791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/20/image_26012025_08_21_05_10429.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_14_9317.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_25_10455.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_34_9414.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_55_10379.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_22_04_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/20/image_26012025_08_21_05_10429.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_14_9317.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_25_10455.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_34_9414.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_55_10379.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_22_04_9322.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5313208103179932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:22:42.855470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/20/image_26012025_08_21_05_10429.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_14_9317.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_25_10455.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_34_9414.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_55_10379.jpg', '/home/pi/Desktop/images/26012025/08/21/image_26012025_08_22_04_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/20/image_26012025_08_21_05_10429.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_14_9317.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_25_10455.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_34_9414.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_21_55_10379.jpg
/home/pi/Desktop/images/26012025/08/21/image_26012025_08_22_04_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331615260","1331615257","1331615251","1331615254","1331615248","1331615262"],"photo_ids_order":["1331615248","1331615251","1331615254","1331615257","1331615260","1331615262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7dd02414071e653e6a319506cf1f558f.jpg","text":"TemporaryFile(/tmp/multipartBody2873108904735897665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_21_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/26/aab2048c21c76b8769091f9fe043c917.jpg","text":"TemporaryFile(/tmp/multipartBody2854797774853610936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_21_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/946398d5b8cfc4bc99e540024bca3f1b.jpg","text":"TemporaryFile(/tmp/multipartBody5997955395440669295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_21_14_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3aa876dc93f61727a85f17a37d5ac378.jpg","text":"TemporaryFile(/tmp/multipartBody7982577461142562095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_21_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/26/5b71acb7d9371760d5be733bf3c1c230.jpg","text":"TemporaryFile(/tmp/multipartBody3626339587389780279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_21_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/26/abca655d39a91c458b49cf1de17fb73f.jpg","text":"TemporaryFile(/tmp/multipartBody293201835374633649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876223798,"filename":"image_26012025_08_22_04_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615254","file1":"1331615251","file0":"1331615248","file4":"1331615260","file5":"1331615262","file3":"1331615257"},"map_files_photo_id_array":[{"photo_id":"1331615262","filename":"file5"},{"photo_id":"1331615254","filename":"file2"},{"photo_id":"1331615260","filename":"file4"},{"photo_id":"1331615251","filename":"file1"},{"photo_id":"1331615248","filename":"file0"},{"photo_id":"1331615257","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615260":["hashtag1","hashtag2"]},{"1331615257":["hashtag1","hashtag2"]},{"1331615251":["hashtag1","hashtag2"]},{"1331615254":["hashtag1","hashtag2"]},{"1331615248":["hashtag1","hashtag2"]},{"1331615262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615260, 1331615257, 1331615251, 1331615254, 1331615248, 1331615262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77861213684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:23:33.224434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_15_10397.jpg', '/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_45_10462.jpg', '/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_54_9427.jpg', '/home/pi/Desktop/images/26012025/08/22/image_26012025_08_23_04_10340.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_15_10319.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_24_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_15_10397.jpg
/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_45_10462.jpg
/home/pi/Desktop/images/26012025/08/22/image_26012025_08_22_54_9427.jpg
/home/pi/Desktop/images/26012025/08/22/image_26012025_08_23_04_10340.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_15_10319.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_24_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":["1331615284","1331615278","1331615283","1331615271","1331615280","1331615274"],"photo_ids_order":["1331615271","1331615274","1331615278","1331615280","1331615283","1331615284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74126c954c7d7c0ae9d918962c18ce8c.jpg","text":"TemporaryFile(/tmp/multipartBody7490589787157217677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_23_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/26/79594063730b725d10a6b34f28fbabb2.jpg","text":"TemporaryFile(/tmp/multipartBody353725761067750385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_22_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/26/5ce96b09e20df1fa3fbaea918f1bc598.jpg","text":"TemporaryFile(/tmp/multipartBody9191491342265142463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_23_15_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/26/e132b1211fc6b89abca332793cb1fc6c.jpg","text":"TemporaryFile(/tmp/multipartBody6410634263971246557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_22_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/26/b95984fd50ef72edf8d379d1becaaaf7.jpg","text":"TemporaryFile(/tmp/multipartBody6359731690646935607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_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/26/c93c885fec2f0b9062a835dbea7a603e.jpg","text":"TemporaryFile(/tmp/multipartBody2305811233301033327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876274189,"filename":"image_26012025_08_22_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615278","file1":"1331615274","file0":"1331615271","file4":"1331615283","file5":"1331615284","file3":"1331615280"},"map_files_photo_id_array":[{"photo_id":"1331615284","filename":"file5"},{"photo_id":"1331615278","filename":"file2"},{"photo_id":"1331615283","filename":"file4"},{"photo_id":"1331615274","filename":"file1"},{"photo_id":"1331615271","filename":"file0"},{"photo_id":"1331615280","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615284":["hashtag1","hashtag2"]},{"1331615278":["hashtag1","hashtag2"]},{"1331615283":["hashtag1","hashtag2"]},{"1331615271":["hashtag1","hashtag2"]},{"1331615280":["hashtag1","hashtag2"]},{"1331615274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615284, 1331615278, 1331615283, 1331615271, 1331615280, 1331615274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06985640525818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:24:32.386223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_35_10453.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_45_10343.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_54_9420.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_24_05_10356.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_14_9365.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_24_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_35_10453.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_45_10343.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_54_9420.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_24_05_10356.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_14_9365.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_24_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.5449202060699463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:24:42.363407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_35_10453.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_45_10343.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_54_9420.jpg', '/home/pi/Desktop/images/26012025/08/23/image_26012025_08_24_05_10356.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_14_9365.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_24_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_35_10453.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_45_10343.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_23_54_9420.jpg
/home/pi/Desktop/images/26012025/08/23/image_26012025_08_24_05_10356.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_14_9365.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_24_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":["1331615327","1331615323","1331615329","1331615334","1331615331","1331615325"],"photo_ids_order":["1331615323","1331615325","1331615327","1331615329","1331615331","1331615334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d74c6c6733ef18f56634373581c2e34.jpg","text":"TemporaryFile(/tmp/multipartBody1104399219438627568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_23_54_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14b02c6e80b2c8c27fa80c71b43fa310.jpg","text":"TemporaryFile(/tmp/multipartBody5840041534796952256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_23_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/26/8d6e4cb17e772ba2b618d1db2667826c.jpg","text":"TemporaryFile(/tmp/multipartBody1454778153210934862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_24_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/26/8a16aaee8211b2e5f0940c539d4668c1.jpg","text":"TemporaryFile(/tmp/multipartBody6087270295232836323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_24_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a3d4ff9f95b4c21936fa34e27f5f95a.jpg","text":"TemporaryFile(/tmp/multipartBody6534797439900125165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_24_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/28847cd74a8e6f2a9040d947692c18d5.jpg","text":"TemporaryFile(/tmp/multipartBody85321829661527346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876343324,"filename":"image_26012025_08_23_45_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615327","file1":"1331615325","file0":"1331615323","file4":"1331615331","file5":"1331615334","file3":"1331615329"},"map_files_photo_id_array":[{"photo_id":"1331615334","filename":"file5"},{"photo_id":"1331615327","filename":"file2"},{"photo_id":"1331615331","filename":"file4"},{"photo_id":"1331615325","filename":"file1"},{"photo_id":"1331615323","filename":"file0"},{"photo_id":"1331615329","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615327":["hashtag1","hashtag2"]},{"1331615323":["hashtag1","hashtag2"]},{"1331615329":["hashtag1","hashtag2"]},{"1331615334":["hashtag1","hashtag2"]},{"1331615331":["hashtag1","hashtag2"]},{"1331615325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615327, 1331615323, 1331615329, 1331615334, 1331615331, 1331615325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.943384885787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:25:32.575045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_35_10405.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_44_9402.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_55_10380.jpg', '/home/pi/Desktop/images/26012025/08/24/image_26012025_08_25_05_10352.jpg', '/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_14_9338.jpg', '/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_25_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_35_10405.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_44_9402.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_24_55_10380.jpg
/home/pi/Desktop/images/26012025/08/24/image_26012025_08_25_05_10352.jpg
/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_14_9338.jpg
/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_25_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":["1331615348","1331615356","1331615344","1331615484","1331615352","1331615508"],"photo_ids_order":["1331615344","1331615348","1331615352","1331615356","1331615484","1331615508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e40454941ca2faa104073957054bb86c.jpg","text":"TemporaryFile(/tmp/multipartBody2305056926349368259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_24_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/26/eeb4804e3ca2b6de97d721efedb59e59.jpg","text":"TemporaryFile(/tmp/multipartBody7912746611425721421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_25_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/26/23c717529d747e547dddbcdde52257d3.jpg","text":"TemporaryFile(/tmp/multipartBody3153894129728939066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_24_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15f9efecf10a5d2a7133b1173643101c.jpg","text":"TemporaryFile(/tmp/multipartBody2385553572845311289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_25_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/26/76b548cc9580cbfc4c4642bdf0ccd1c8.jpg","text":"TemporaryFile(/tmp/multipartBody4267060776670264807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_24_55_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/26/367805ddf01de0e4976e84b0c9a9e4bd.jpg","text":"TemporaryFile(/tmp/multipartBody770463816003039480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876393499,"filename":"image_26012025_08_25_25_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615352","file1":"1331615348","file0":"1331615344","file4":"1331615484","file5":"1331615508","file3":"1331615356"},"map_files_photo_id_array":[{"photo_id":"1331615508","filename":"file5"},{"photo_id":"1331615352","filename":"file2"},{"photo_id":"1331615484","filename":"file4"},{"photo_id":"1331615348","filename":"file1"},{"photo_id":"1331615344","filename":"file0"},{"photo_id":"1331615356","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615348":["hashtag1","hashtag2"]},{"1331615356":["hashtag1","hashtag2"]},{"1331615344":["hashtag1","hashtag2"]},{"1331615484":["hashtag1","hashtag2"]},{"1331615352":["hashtag1","hashtag2"]},{"1331615508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615348, 1331615356, 1331615344, 1331615484, 1331615352, 1331615508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03236722946167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:26:32.777240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_34_9372.jpg', '/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_44_10381.jpg', '/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_55_10349.jpg', '/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_15_10391.jpg', '/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_25_10389.jpg', '/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_34_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_34_9372.jpg
/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_44_10381.jpg
/home/pi/Desktop/images/26012025/08/25/image_26012025_08_25_55_10349.jpg
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_15_10391.jpg
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_25_10389.jpg
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_34_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":["1331615543","1331615539","1331615532","1331615526","1331615535","1331615529"],"photo_ids_order":["1331615526","1331615529","1331615532","1331615535","1331615539","1331615543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71b4a8f6740e8c16040235e1c457069b.jpg","text":"TemporaryFile(/tmp/multipartBody7566510019704358680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_26_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/26/3d94d840b43dc8cf479d466806c552f3.jpg","text":"TemporaryFile(/tmp/multipartBody3554211785250522435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_26_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/26/7b6a13cd399bc4651d53001a73fc749c.jpg","text":"TemporaryFile(/tmp/multipartBody7979136099203919573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_25_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de7f62ab719195418199b6e2dacae9f6.jpg","text":"TemporaryFile(/tmp/multipartBody2037342967105541215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_25_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/26/238da05fe19c0799093fa855029b3e17.jpg","text":"TemporaryFile(/tmp/multipartBody7960928169787528963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_26_15_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/26/464f75d05bb3bebd5bd793d05fd7feca.jpg","text":"TemporaryFile(/tmp/multipartBody971333619818825720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876453733,"filename":"image_26012025_08_25_44_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615532","file1":"1331615529","file0":"1331615526","file4":"1331615539","file5":"1331615543","file3":"1331615535"},"map_files_photo_id_array":[{"photo_id":"1331615543","filename":"file5"},{"photo_id":"1331615532","filename":"file2"},{"photo_id":"1331615539","filename":"file4"},{"photo_id":"1331615529","filename":"file1"},{"photo_id":"1331615526","filename":"file0"},{"photo_id":"1331615535","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615543":["hashtag1","hashtag2"]},{"1331615539":["hashtag1","hashtag2"]},{"1331615532":["hashtag1","hashtag2"]},{"1331615526":["hashtag1","hashtag2"]},{"1331615535":["hashtag1","hashtag2"]},{"1331615529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615543, 1331615539, 1331615532, 1331615526, 1331615535, 1331615529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.391000509262085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:27:33.062789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_45_10462.jpg', '/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_54_9406.jpg', '/home/pi/Desktop/images/26012025/08/26/image_26012025_08_27_05_10413.jpg', '/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_35_10356.jpg', '/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_45_10462.jpg
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_26_54_9406.jpg
/home/pi/Desktop/images/26012025/08/26/image_26012025_08_27_05_10413.jpg
/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_35_10356.jpg
/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_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":["1331615576","1331615564","1331615571","1331615574","1331615567"],"photo_ids_order":["1331615564","1331615567","1331615571","1331615574","1331615576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be32658743a4efc1484f8b5e13d0ae79.jpg","text":"TemporaryFile(/tmp/multipartBody3461668234407188197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876513976,"filename":"image_26012025_08_27_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/26/411a9758a483691a43575cd2dedea028.jpg","text":"TemporaryFile(/tmp/multipartBody3859224652775328780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876513976,"filename":"image_26012025_08_26_45_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/26/d7afbe51e3557691d5b7e3854b4eccc8.jpg","text":"TemporaryFile(/tmp/multipartBody668242724977745299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876513976,"filename":"image_26012025_08_27_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/26/eba5a7fc8c895d6c5fa197bfe2ef6d88.jpg","text":"TemporaryFile(/tmp/multipartBody3756594582813911497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876513976,"filename":"image_26012025_08_27_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/26/e09aca22fc12f1997ad5fe1e8f0034e3.jpg","text":"TemporaryFile(/tmp/multipartBody9041867516869450477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876513976,"filename":"image_26012025_08_26_54_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615571","file1":"1331615567","file0":"1331615564","file4":"1331615576","file3":"1331615574"},"map_files_photo_id_array":[{"photo_id":"1331615571","filename":"file2"},{"photo_id":"1331615576","filename":"file4"},{"photo_id":"1331615567","filename":"file1"},{"photo_id":"1331615564","filename":"file0"},{"photo_id":"1331615574","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615576":["hashtag1","hashtag2"]},{"1331615564":["hashtag1","hashtag2"]},{"1331615571":["hashtag1","hashtag2"]},{"1331615574":["hashtag1","hashtag2"]},{"1331615567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615576, 1331615564, 1331615571, 1331615574, 1331615567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.9683039188385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:28:32.395424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_54_9351.jpg', '/home/pi/Desktop/images/26012025/08/27/image_26012025_08_28_05_10353.jpg', '/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_15_10321.jpg', '/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/27/image_26012025_08_27_54_9351.jpg
/home/pi/Desktop/images/26012025/08/27/image_26012025_08_28_05_10353.jpg
/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_15_10321.jpg
/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_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":["1331615606","1331615596","1331615593","1331615619"],"photo_ids_order":["1331615593","1331615596","1331615606","1331615619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0eaa63bf8ca2fea4c21c73703eba76bb.jpg","text":"TemporaryFile(/tmp/multipartBody4628526652513376005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876573280,"filename":"image_26012025_08_28_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54a5141f07b668d52e28a469cf0513a5.jpg","text":"TemporaryFile(/tmp/multipartBody8203233222989872597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876573280,"filename":"image_26012025_08_28_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/26/ffbaab100488d26167505c6c6f9263f9.jpg","text":"TemporaryFile(/tmp/multipartBody3947671536335697873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876573280,"filename":"image_26012025_08_27_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/26/51d328416ea0bfa7cd13953e8c5574ed.jpg","text":"TemporaryFile(/tmp/multipartBody3048406342354665013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876573280,"filename":"image_26012025_08_28_44_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615606","file1":"1331615596","file0":"1331615593","file3":"1331615619"},"map_files_photo_id_array":[{"photo_id":"1331615606","filename":"file2"},{"photo_id":"1331615596","filename":"file1"},{"photo_id":"1331615593","filename":"file0"},{"photo_id":"1331615619","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615606":["hashtag1","hashtag2"]},{"1331615596":["hashtag1","hashtag2"]},{"1331615593":["hashtag1","hashtag2"]},{"1331615619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615606, 1331615596, 1331615593, 1331615619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.0678813457489 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-26 08:29:32.477353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_54_10339.jpg', '/home/pi/Desktop/images/26012025/08/28/image_26012025_08_29_05_10366.jpg', '/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_14_9341.jpg', '/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_24_10350.jpg', '/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_35_10393.jpg', '/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_44_9443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/28/image_26012025_08_28_54_10339.jpg
/home/pi/Desktop/images/26012025/08/28/image_26012025_08_29_05_10366.jpg
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_14_9341.jpg
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_24_10350.jpg
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_35_10393.jpg
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_44_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":["1331615669","1331615674","1331615662","1331615676","1331615672","1331615666"],"photo_ids_order":["1331615662","1331615666","1331615669","1331615672","1331615674","1331615676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/399f97e980564bbd04595da3b52b06ae.jpg","text":"TemporaryFile(/tmp/multipartBody3845172428506281462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_29_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/26/a62f5d84c291a5fa64ab0a6adeafa52b.jpg","text":"TemporaryFile(/tmp/multipartBody4091610376734911611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_29_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/26/553b9485450c11a23f8c1c1dff841d88.jpg","text":"TemporaryFile(/tmp/multipartBody6314334587481683335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_28_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/26/53264839c9ce5b13675536dc197a9f92.jpg","text":"TemporaryFile(/tmp/multipartBody7833101405615804566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_29_44_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eda86f2cc1240c645c39f01b4bd3094e.jpg","text":"TemporaryFile(/tmp/multipartBody6361068793541703118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_29_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/26/915195aef0179bbae7afb17c2f5a593a.jpg","text":"TemporaryFile(/tmp/multipartBody4373317175632466189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876633414,"filename":"image_26012025_08_29_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615669","file1":"1331615666","file0":"1331615662","file4":"1331615674","file5":"1331615676","file3":"1331615672"},"map_files_photo_id_array":[{"photo_id":"1331615676","filename":"file5"},{"photo_id":"1331615669","filename":"file2"},{"photo_id":"1331615674","filename":"file4"},{"photo_id":"1331615666","filename":"file1"},{"photo_id":"1331615662","filename":"file0"},{"photo_id":"1331615672","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615669":["hashtag1","hashtag2"]},{"1331615674":["hashtag1","hashtag2"]},{"1331615662":["hashtag1","hashtag2"]},{"1331615676":["hashtag1","hashtag2"]},{"1331615672":["hashtag1","hashtag2"]},{"1331615666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615669, 1331615674, 1331615662, 1331615676, 1331615672, 1331615666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32758855819702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:30:32.721021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_55_10415.jpg', '/home/pi/Desktop/images/26012025/08/29/image_26012025_08_30_05_10337.jpg', '/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_25_10457.jpg', '/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_35_10352.jpg', '/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_44_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_29_55_10415.jpg
/home/pi/Desktop/images/26012025/08/29/image_26012025_08_30_05_10337.jpg
/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_25_10457.jpg
/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_35_10352.jpg
/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_44_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":["1331615702","1331615705","1331615698","1331615704","1331615700"],"photo_ids_order":["1331615698","1331615700","1331615702","1331615704","1331615705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b35f5ab0bd73a9707d7b4b908cf6db60.jpg","text":"TemporaryFile(/tmp/multipartBody5012898225372961786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876693676,"filename":"image_26012025_08_30_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/81bbae798dca9f9defd5de0332e7b5e6.jpg","text":"TemporaryFile(/tmp/multipartBody2786053111006186021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876693676,"filename":"image_26012025_08_30_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/26/592bca20cf37122431ac790f7f96c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody3333123248441579221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876693676,"filename":"image_26012025_08_29_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/26/5e92adf1ca156bd6fc94c449069bc073.jpg","text":"TemporaryFile(/tmp/multipartBody1901081372196645087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876693676,"filename":"image_26012025_08_30_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/26/eeb4da1c651651627dd46ef551167c64.jpg","text":"TemporaryFile(/tmp/multipartBody4307966113005586101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876693676,"filename":"image_26012025_08_30_05_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615702","file1":"1331615700","file0":"1331615698","file4":"1331615705","file3":"1331615704"},"map_files_photo_id_array":[{"photo_id":"1331615702","filename":"file2"},{"photo_id":"1331615705","filename":"file4"},{"photo_id":"1331615700","filename":"file1"},{"photo_id":"1331615698","filename":"file0"},{"photo_id":"1331615704","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615702":["hashtag1","hashtag2"]},{"1331615705":["hashtag1","hashtag2"]},{"1331615698":["hashtag1","hashtag2"]},{"1331615704":["hashtag1","hashtag2"]},{"1331615700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615702, 1331615705, 1331615698, 1331615704, 1331615700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.00414299964905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:31:32.945868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_55_10360.jpg', '/home/pi/Desktop/images/26012025/08/30/image_26012025_08_31_04_9376.jpg', '/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_14_10356.jpg', '/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_25_10347.jpg', '/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_34_9366.jpg', '/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_45_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/30/image_26012025_08_30_55_10360.jpg
/home/pi/Desktop/images/26012025/08/30/image_26012025_08_31_04_9376.jpg
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_14_10356.jpg
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_25_10347.jpg
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_34_9366.jpg
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_45_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":["1331615735","1331615738","1331615723","1331615731","1331615740","1331615727"],"photo_ids_order":["1331615723","1331615727","1331615731","1331615735","1331615738","1331615740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76d578ca979350e444a6858ae60de16b.jpg","text":"TemporaryFile(/tmp/multipartBody2558560284449614821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_31_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/26/e8c84f0c1cbd961135d516ac31a15806.jpg","text":"TemporaryFile(/tmp/multipartBody2409557864891533543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_31_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/26/6836476b712a00a418e1c6c45a6a88c1.jpg","text":"TemporaryFile(/tmp/multipartBody647940144243233453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_30_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/26/3fce9640fc5bd4b2782c77f6a1e5727d.jpg","text":"TemporaryFile(/tmp/multipartBody749103522374620904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_31_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/26/87c610618849bf09cd5d79dceb13412c.jpg","text":"TemporaryFile(/tmp/multipartBody5249337518785097746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_31_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/26/0bd7008f2fec38fab7ece7c361373251.jpg","text":"TemporaryFile(/tmp/multipartBody7880602226147336316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876753870,"filename":"image_26012025_08_31_04_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615731","file1":"1331615727","file0":"1331615723","file4":"1331615738","file5":"1331615740","file3":"1331615735"},"map_files_photo_id_array":[{"photo_id":"1331615740","filename":"file5"},{"photo_id":"1331615731","filename":"file2"},{"photo_id":"1331615738","filename":"file4"},{"photo_id":"1331615727","filename":"file1"},{"photo_id":"1331615723","filename":"file0"},{"photo_id":"1331615735","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615735":["hashtag1","hashtag2"]},{"1331615738":["hashtag1","hashtag2"]},{"1331615723":["hashtag1","hashtag2"]},{"1331615731":["hashtag1","hashtag2"]},{"1331615740":["hashtag1","hashtag2"]},{"1331615727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615735, 1331615738, 1331615723, 1331615731, 1331615740, 1331615727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84452986717224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:32:32.195464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_55_10362.jpg', '/home/pi/Desktop/images/26012025/08/31/image_26012025_08_32_04_9342.jpg', '/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_15_10375.jpg', '/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_24_9364.jpg', '/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_34_10445.jpg', '/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_45_10454.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_31_55_10362.jpg
/home/pi/Desktop/images/26012025/08/31/image_26012025_08_32_04_9342.jpg
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_15_10375.jpg
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_24_9364.jpg
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_34_10445.jpg
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_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":["1331615804","1331615813","1331615807","1331615809","1331615811","1331615792"],"photo_ids_order":["1331615792","1331615804","1331615807","1331615809","1331615811","1331615813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/68139796e44e06ecaf88ca4f6b85ccc2.jpg","text":"TemporaryFile(/tmp/multipartBody8443751863046619628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_32_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/26/be4d4e9bb5e055e33621a37110e197b0.jpg","text":"TemporaryFile(/tmp/multipartBody1753961658388808171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_32_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/26/dd4aa26c5ba4eff7f9390ea883528da5.jpg","text":"TemporaryFile(/tmp/multipartBody4442722810823973030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_32_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fce2871fb95a871f10beaa26cee5536d.jpg","text":"TemporaryFile(/tmp/multipartBody6045166510396739409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_32_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/736ea2ad475907353db67560cd368500.jpg","text":"TemporaryFile(/tmp/multipartBody4726375503381289484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_32_34_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/26/98a4270bbbc665808c8a5099de821914.jpg","text":"TemporaryFile(/tmp/multipartBody6060740357147757108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876813119,"filename":"image_26012025_08_31_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615807","file1":"1331615804","file0":"1331615792","file4":"1331615811","file5":"1331615813","file3":"1331615809"},"map_files_photo_id_array":[{"photo_id":"1331615813","filename":"file5"},{"photo_id":"1331615807","filename":"file2"},{"photo_id":"1331615811","filename":"file4"},{"photo_id":"1331615804","filename":"file1"},{"photo_id":"1331615792","filename":"file0"},{"photo_id":"1331615809","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615804":["hashtag1","hashtag2"]},{"1331615813":["hashtag1","hashtag2"]},{"1331615807":["hashtag1","hashtag2"]},{"1331615809":["hashtag1","hashtag2"]},{"1331615811":["hashtag1","hashtag2"]},{"1331615792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615804, 1331615813, 1331615807, 1331615809, 1331615811, 1331615792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54416823387146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:33:32.385958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_54_9387.jpg', '/home/pi/Desktop/images/26012025/08/32/image_26012025_08_33_05_10377.jpg', '/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_14_9342.jpg', '/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_24_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_32_54_9387.jpg
/home/pi/Desktop/images/26012025/08/32/image_26012025_08_33_05_10377.jpg
/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_14_9342.jpg
/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_24_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":["1331615837","1331615831","1331615833","1331615835"],"photo_ids_order":["1331615831","1331615833","1331615835","1331615837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb0df71d6128ac4bf3b2fe87533fe63f.jpg","text":"TemporaryFile(/tmp/multipartBody5154177302441521734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876873291,"filename":"image_26012025_08_33_24_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/26/3e1b072db5574c76005861c42fb6825d.jpg","text":"TemporaryFile(/tmp/multipartBody3557914211189268573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876873291,"filename":"image_26012025_08_32_54_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/26/21a487da1d15208eff9b7924c8b8ec1b.jpg","text":"TemporaryFile(/tmp/multipartBody8905040792224445368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876873291,"filename":"image_26012025_08_33_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/26/5d3ca93f2f877be5ca6090455bf278fe.jpg","text":"TemporaryFile(/tmp/multipartBody7405117422678239112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876873291,"filename":"image_26012025_08_33_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615835","file1":"1331615833","file0":"1331615831","file3":"1331615837"},"map_files_photo_id_array":[{"photo_id":"1331615835","filename":"file2"},{"photo_id":"1331615833","filename":"file1"},{"photo_id":"1331615831","filename":"file0"},{"photo_id":"1331615837","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615837":["hashtag1","hashtag2"]},{"1331615831":["hashtag1","hashtag2"]},{"1331615833":["hashtag1","hashtag2"]},{"1331615835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615837, 1331615831, 1331615833, 1331615835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.02400255203247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:34:03.306264
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_44_9354.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_14_9322.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_25_10362.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_35_10481.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_45_9480.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_55_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_44_9354.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_14_9322.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_25_10362.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_35_10481.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_45_9480.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_55_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: 1.2430171966552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:34:32.620157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_55_10421.jpg', '/home/pi/Desktop/images/26012025/08/33/image_26012025_08_34_05_10331.jpg', '/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_14_9321.jpg', '/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_44_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/33/image_26012025_08_33_55_10421.jpg
/home/pi/Desktop/images/26012025/08/33/image_26012025_08_34_05_10331.jpg
/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_14_9321.jpg
/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_44_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":["1331615923","1331615931","1331615928","1331615913"],"photo_ids_order":["1331615913","1331615923","1331615928","1331615931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6974ac1cdc5ee2c0c1ad200b94bf6bb3.jpg","text":"TemporaryFile(/tmp/multipartBody556565509916661215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876933523,"filename":"image_26012025_08_34_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aee6d8d2d45ef72e14fd2eebff142d98.jpg","text":"TemporaryFile(/tmp/multipartBody6395621820574496494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876933523,"filename":"image_26012025_08_34_44_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/26/6f001a98092b3df0a6964324f1a0efff.jpg","text":"TemporaryFile(/tmp/multipartBody6022977223989350949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876933523,"filename":"image_26012025_08_34_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/26/8cc4796acd3e2b1fcbb0ef12def0204d.jpg","text":"TemporaryFile(/tmp/multipartBody8629455120870586945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876933523,"filename":"image_26012025_08_33_55_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331615928","file1":"1331615923","file0":"1331615913","file3":"1331615931"},"map_files_photo_id_array":[{"photo_id":"1331615928","filename":"file2"},{"photo_id":"1331615923","filename":"file1"},{"photo_id":"1331615913","filename":"file0"},{"photo_id":"1331615931","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331615923":["hashtag1","hashtag2"]},{"1331615931":["hashtag1","hashtag2"]},{"1331615928":["hashtag1","hashtag2"]},{"1331615913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331615923, 1331615931, 1331615928, 1331615913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.731688976287842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:35:33.120391
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_44_9354.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_14_9322.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_25_10362.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_35_10481.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_45_9480.jpg', '/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_55_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/38/image_23012025_21_38_44_9354.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_14_9322.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_25_10362.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_35_10481.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_45_9480.jpg
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_39_55_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":["1331616002","1331616110","1331616451","1331616798","1331615964","1331617139"],"photo_ids_order":["1331615964","1331616002","1331616110","1331616451","1331616798","1331617139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d35b31932cc33b9da478a9b700b645d8.jpg","text":"TemporaryFile(/tmp/multipartBody7452813487913665516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_39_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/26/447af9d3070b69ee96df101629ce5306.jpg","text":"TemporaryFile(/tmp/multipartBody8371723021097106296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_39_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/26/efaaad558f41c825956c52ace97114e4.jpg","text":"TemporaryFile(/tmp/multipartBody8018012320641756397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_39_35_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/26/34460c14c85c2450172d7f18122455fb.jpg","text":"TemporaryFile(/tmp/multipartBody4956357097752741877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_39_45_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d8a343817adccec28d440903ea4b8479.jpg","text":"TemporaryFile(/tmp/multipartBody3297848948381317099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_38_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/780c9992742967c057941ebe8731282c.jpg","text":"TemporaryFile(/tmp/multipartBody711293959937799602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737876995421,"filename":"image_23012025_21_39_55_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331616110","file1":"1331616002","file0":"1331615964","file4":"1331616798","file5":"1331617139","file3":"1331616451"},"map_files_photo_id_array":[{"photo_id":"1331617139","filename":"file5"},{"photo_id":"1331616110","filename":"file2"},{"photo_id":"1331616798","filename":"file4"},{"photo_id":"1331616002","filename":"file1"},{"photo_id":"1331615964","filename":"file0"},{"photo_id":"1331616451","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331616002":["hashtag1","hashtag2"]},{"1331616110":["hashtag1","hashtag2"]},{"1331616451":["hashtag1","hashtag2"]},{"1331616798":["hashtag1","hashtag2"]},{"1331615964":["hashtag1","hashtag2"]},{"1331617139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331616002, 1331616110, 1331616451, 1331616798, 1331615964, 1331617139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.56570363044739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:36:33.108339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_55_10341.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_15_10394.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_25_10181.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_34_9342.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_45_10467.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_55_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_55_10341.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_15_10394.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_25_10181.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_34_9342.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_45_10467.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_55_10385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5334727764129639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:36:43.224899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_55_10341.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_15_10394.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_25_10181.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_34_9342.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_45_10467.jpg', '/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_55_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/34/image_26012025_08_34_55_10341.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_15_10394.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_25_10181.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_34_9342.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_45_10467.jpg
/home/pi/Desktop/images/26012025/08/35/image_26012025_08_35_55_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":["1331617186","1331617171","1331617165","1331617174","1331617447","1331617454"],"photo_ids_order":["1331617165","1331617171","1331617174","1331617186","1331617447","1331617454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb1c901bacabd1e473cc3204fa01a193.jpg","text":"TemporaryFile(/tmp/multipartBody1548747414763689246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_35_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccdc8afd6f5b55daa5150ec465494bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6125274549452575573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_35_15_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/26/73dad0ea0232f6bc5097b23da7559d51.jpg","text":"TemporaryFile(/tmp/multipartBody6525644416923266189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_34_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/26/be007ca7569b829cef260319052975aa.jpg","text":"TemporaryFile(/tmp/multipartBody4507792592312985282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_35_25_10181.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/420eb3ed7cc1f633cb70a7b8e8830b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6517099766327346674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_35_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/26/0269d31307eafb55fce6b71a6b09dfcc.jpg","text":"TemporaryFile(/tmp/multipartBody8859205944194389862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877064163,"filename":"image_26012025_08_35_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617174","file1":"1331617171","file0":"1331617165","file4":"1331617447","file5":"1331617454","file3":"1331617186"},"map_files_photo_id_array":[{"photo_id":"1331617454","filename":"file5"},{"photo_id":"1331617174","filename":"file2"},{"photo_id":"1331617447","filename":"file4"},{"photo_id":"1331617171","filename":"file1"},{"photo_id":"1331617165","filename":"file0"},{"photo_id":"1331617186","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617186":["hashtag1","hashtag2"]},{"1331617171":["hashtag1","hashtag2"]},{"1331617165":["hashtag1","hashtag2"]},{"1331617174":["hashtag1","hashtag2"]},{"1331617447":["hashtag1","hashtag2"]},{"1331617454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617186, 1331617171, 1331617165, 1331617174, 1331617447, 1331617454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24050521850586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:37:32.426051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_15_10410.jpg', '/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_24_9399.jpg', '/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_34_10374.jpg', '/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_45_10355.jpg', '/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_54_9362.jpg', '/home/pi/Desktop/images/26012025/08/36/image_26012025_08_37_05_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_15_10410.jpg
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_24_9399.jpg
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_34_10374.jpg
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_45_10355.jpg
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_36_54_9362.jpg
/home/pi/Desktop/images/26012025/08/36/image_26012025_08_37_05_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331617621","1331617617","1331617611","1331617605","1331617571","1331617591"],"photo_ids_order":["1331617571","1331617591","1331617605","1331617611","1331617617","1331617621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e13290807ec408ef43730d20781e84b4.jpg","text":"TemporaryFile(/tmp/multipartBody8438410720437938645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_37_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/26/11a9d2f3497cce13f5dde86c4a24e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody6569814030291506598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_36_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/26/7be54fd470e11c0faee84389a9370708.jpg","text":"TemporaryFile(/tmp/multipartBody6281687558840460113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_36_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/26/d8d3a503385dc1639218939c4b167cc6.jpg","text":"TemporaryFile(/tmp/multipartBody9040071625480511488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_36_34_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/26/863be46f7bb54d93633c0edb2723978d.jpg","text":"TemporaryFile(/tmp/multipartBody771493001090586198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_36_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/26/44b94623cb883fa724bcf1162da1e64a.jpg","text":"TemporaryFile(/tmp/multipartBody5189230348004752587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877113348,"filename":"image_26012025_08_36_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617605","file1":"1331617591","file0":"1331617571","file4":"1331617617","file5":"1331617621","file3":"1331617611"},"map_files_photo_id_array":[{"photo_id":"1331617621","filename":"file5"},{"photo_id":"1331617605","filename":"file2"},{"photo_id":"1331617617","filename":"file4"},{"photo_id":"1331617591","filename":"file1"},{"photo_id":"1331617571","filename":"file0"},{"photo_id":"1331617611","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617621":["hashtag1","hashtag2"]},{"1331617617":["hashtag1","hashtag2"]},{"1331617611":["hashtag1","hashtag2"]},{"1331617605":["hashtag1","hashtag2"]},{"1331617571":["hashtag1","hashtag2"]},{"1331617591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617621, 1331617617, 1331617611, 1331617605, 1331617571, 1331617591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.248549699783325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:38:32.729334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_15_10346.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_24_9352.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_35_10350.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_45_10340.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_54_9348.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_38_05_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_15_10346.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_24_9352.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_35_10350.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_45_10340.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_54_9348.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_38_05_10455.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5711119174957275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:38:42.660646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_15_10346.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_24_9352.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_35_10350.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_45_10340.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_54_9348.jpg', '/home/pi/Desktop/images/26012025/08/37/image_26012025_08_38_05_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_15_10346.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_24_9352.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_35_10350.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_45_10340.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_37_54_9348.jpg
/home/pi/Desktop/images/26012025/08/37/image_26012025_08_38_05_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":["1331617663","1331617642","1331617650","1331617670","1331617658","1331617667"],"photo_ids_order":["1331617642","1331617650","1331617658","1331617663","1331617667","1331617670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8889a23ce2801e08dd9c7e7c2893b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody8851168952942638329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_37_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/26/ae44b14ec61b51ad6b0a8a1c2b186f19.jpg","text":"TemporaryFile(/tmp/multipartBody2359559974573191764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_37_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/26/9705abbab17b5333d881cc0ebbb8bd60.jpg","text":"TemporaryFile(/tmp/multipartBody8525842286512608033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_37_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/26/0f8d6ab58ba4d43cd96a2bbb95cf1342.jpg","text":"TemporaryFile(/tmp/multipartBody7492195042335967160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_38_05_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/26/7b5c96ad26879323068c9c68dcf43767.jpg","text":"TemporaryFile(/tmp/multipartBody1746001740162758289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_37_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/26/cf7c87e52e94a7bf8373947460cafb48.jpg","text":"TemporaryFile(/tmp/multipartBody6843562595223627498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877183607,"filename":"image_26012025_08_37_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617658","file1":"1331617650","file0":"1331617642","file4":"1331617667","file5":"1331617670","file3":"1331617663"},"map_files_photo_id_array":[{"photo_id":"1331617670","filename":"file5"},{"photo_id":"1331617658","filename":"file2"},{"photo_id":"1331617667","filename":"file4"},{"photo_id":"1331617650","filename":"file1"},{"photo_id":"1331617642","filename":"file0"},{"photo_id":"1331617663","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617663":["hashtag1","hashtag2"]},{"1331617642":["hashtag1","hashtag2"]},{"1331617650":["hashtag1","hashtag2"]},{"1331617670":["hashtag1","hashtag2"]},{"1331617658":["hashtag1","hashtag2"]},{"1331617667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617663, 1331617642, 1331617650, 1331617670, 1331617658, 1331617667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45858979225159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:39:32.933460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_14_9327.jpg', '/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_25_10429.jpg', '/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_35_10401.jpg', '/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_55_10433.jpg', '/home/pi/Desktop/images/26012025/08/38/image_26012025_08_39_04_9344.jpg', '/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_14_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_14_9327.jpg
/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_25_10429.jpg
/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_35_10401.jpg
/home/pi/Desktop/images/26012025/08/38/image_26012025_08_38_55_10433.jpg
/home/pi/Desktop/images/26012025/08/38/image_26012025_08_39_04_9344.jpg
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_14_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":["1331617702","1331617705","1331617683","1331617692","1331617707","1331617687"],"photo_ids_order":["1331617683","1331617687","1331617692","1331617702","1331617705","1331617707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef94859d428c058e54911e42691fec5a.jpg","text":"TemporaryFile(/tmp/multipartBody8650835422699541116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_38_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/26/484d2acf596c615fd2acabfa6f75f1c4.jpg","text":"TemporaryFile(/tmp/multipartBody486438448834873527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_39_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/26/4c7acf03566eae5ef90770fe2ebb6aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6525978119771155900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_38_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/26/68deaf0e46bf24bdada374b12e195e36.jpg","text":"TemporaryFile(/tmp/multipartBody7185080552225751802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_38_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b9798ea40ff6ca6176ceba9fdf6d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8315872618552819409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_39_14_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/26/51049b7fcf2084f00a2f184ad22006e4.jpg","text":"TemporaryFile(/tmp/multipartBody5874610522598560510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877233865,"filename":"image_26012025_08_38_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617692","file1":"1331617687","file0":"1331617683","file4":"1331617705","file5":"1331617707","file3":"1331617702"},"map_files_photo_id_array":[{"photo_id":"1331617707","filename":"file5"},{"photo_id":"1331617692","filename":"file2"},{"photo_id":"1331617705","filename":"file4"},{"photo_id":"1331617687","filename":"file1"},{"photo_id":"1331617683","filename":"file0"},{"photo_id":"1331617702","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617702":["hashtag1","hashtag2"]},{"1331617705":["hashtag1","hashtag2"]},{"1331617683":["hashtag1","hashtag2"]},{"1331617692":["hashtag1","hashtag2"]},{"1331617707":["hashtag1","hashtag2"]},{"1331617687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617702, 1331617705, 1331617683, 1331617692, 1331617707, 1331617687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49828600883484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:40:33.148913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_25_10386.jpg', '/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_45_10393.jpg', '/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_55_10354.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_15_10323.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_24_9359.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_35_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_25_10386.jpg
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_45_10393.jpg
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_55_10354.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_15_10323.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_24_9359.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_35_10446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.532968282699585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:40:43.199468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_25_10386.jpg', '/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_45_10393.jpg', '/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_55_10354.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_15_10323.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_24_9359.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_35_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_25_10386.jpg
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_45_10393.jpg
/home/pi/Desktop/images/26012025/08/39/image_26012025_08_39_55_10354.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_15_10323.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_24_9359.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_35_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":["1331617822","1331617816","1331617825","1331617796","1331617823","1331617820"],"photo_ids_order":["1331617796","1331617816","1331617820","1331617822","1331617823","1331617825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02cfc40fbd3001dd5fdd5da193c4bf2e.jpg","text":"TemporaryFile(/tmp/multipartBody1050483772255215074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_40_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/26/190b9ba8fd11128fc7265caba1b56d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1346557843225058902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_39_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3eac4e2bb6a2d5016ce0227b7f35529.jpg","text":"TemporaryFile(/tmp/multipartBody6757368193065155967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_40_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/26/7d577c0e5e654cb817e6c0ef0865c1c6.jpg","text":"TemporaryFile(/tmp/multipartBody7065572879750350041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_39_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/26/a270b19b6bad4eb85285d5a203b479a9.jpg","text":"TemporaryFile(/tmp/multipartBody5738253976161645403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_40_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/26/fbb5c55753dd9aa357feb719fd07e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3142229001374277366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877304114,"filename":"image_26012025_08_39_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617820","file1":"1331617816","file0":"1331617796","file4":"1331617823","file5":"1331617825","file3":"1331617822"},"map_files_photo_id_array":[{"photo_id":"1331617825","filename":"file5"},{"photo_id":"1331617820","filename":"file2"},{"photo_id":"1331617823","filename":"file4"},{"photo_id":"1331617816","filename":"file1"},{"photo_id":"1331617796","filename":"file0"},{"photo_id":"1331617822","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617822":["hashtag1","hashtag2"]},{"1331617816":["hashtag1","hashtag2"]},{"1331617825":["hashtag1","hashtag2"]},{"1331617796":["hashtag1","hashtag2"]},{"1331617823":["hashtag1","hashtag2"]},{"1331617820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617822, 1331617816, 1331617825, 1331617796, 1331617823, 1331617820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69425368309021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:41:32.394299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_45_10445.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_54_9350.jpg', '/home/pi/Desktop/images/26012025/08/40/image_26012025_08_41_05_10443.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_14_9309.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_24_10340.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_35_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_45_10445.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_40_54_9350.jpg
/home/pi/Desktop/images/26012025/08/40/image_26012025_08_41_05_10443.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_14_9309.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_24_10340.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_35_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331617842","1331617851","1331617854","1331617853","1331617838","1331617847"],"photo_ids_order":["1331617838","1331617842","1331617847","1331617851","1331617853","1331617854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7430967fbf27189d3212423814a38e08.jpg","text":"TemporaryFile(/tmp/multipartBody3636586484272899091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_40_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/26/c469fc2dd695943cd1af4cd3170c8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5920652622218758392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_41_14_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d86100498fa6c0465726cc6310e15aa.jpg","text":"TemporaryFile(/tmp/multipartBody3007394351889361670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_41_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/26/97e50967a4d472df212a03990cb10ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8647432462760057824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_41_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/26/8260ac6ae98c0eb1672bf469c271a270.jpg","text":"TemporaryFile(/tmp/multipartBody5808935484813443580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_40_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/26/727c716aa532e8248e7c6b7a31c00be2.jpg","text":"TemporaryFile(/tmp/multipartBody5678321651799270308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877353337,"filename":"image_26012025_08_41_05_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617847","file1":"1331617842","file0":"1331617838","file4":"1331617853","file5":"1331617854","file3":"1331617851"},"map_files_photo_id_array":[{"photo_id":"1331617854","filename":"file5"},{"photo_id":"1331617847","filename":"file2"},{"photo_id":"1331617853","filename":"file4"},{"photo_id":"1331617842","filename":"file1"},{"photo_id":"1331617838","filename":"file0"},{"photo_id":"1331617851","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617842":["hashtag1","hashtag2"]},{"1331617851":["hashtag1","hashtag2"]},{"1331617854":["hashtag1","hashtag2"]},{"1331617853":["hashtag1","hashtag2"]},{"1331617838":["hashtag1","hashtag2"]},{"1331617847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617842, 1331617851, 1331617854, 1331617853, 1331617838, 1331617847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.93589496612549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:42:32.615276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_44_9346.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_54_10348.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_42_05_10374.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_24_10168.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_35_10425.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_44_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_44_9346.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_54_10348.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_42_05_10374.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_24_10168.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_35_10425.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_44_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.527376651763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:42:42.559429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_44_9346.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_54_10348.jpg', '/home/pi/Desktop/images/26012025/08/41/image_26012025_08_42_05_10374.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_24_10168.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_35_10425.jpg', '/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_44_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_44_9346.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_41_54_10348.jpg
/home/pi/Desktop/images/26012025/08/41/image_26012025_08_42_05_10374.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_24_10168.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_35_10425.jpg
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_44_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":["1331617884","1331617898","1331617892","1331617889","1331617877","1331617894"],"photo_ids_order":["1331617877","1331617884","1331617889","1331617892","1331617894","1331617898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/907e14ef95d74907fe9de60ad6f76f25.jpg","text":"TemporaryFile(/tmp/multipartBody740914403663521132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_41_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34f4e921c752644dd5bf00b944571716.jpg","text":"TemporaryFile(/tmp/multipartBody1106925285223612339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_42_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/26/c013d872eed2396fae65788111dc2c87.jpg","text":"TemporaryFile(/tmp/multipartBody5753369816856089827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_42_24_10168.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2b51bdd1a284b34002ea9ba4ce9534e.jpg","text":"TemporaryFile(/tmp/multipartBody1023371767517097267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_42_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/26/d32c89746909f01b60ca8e75bddb6c78.jpg","text":"TemporaryFile(/tmp/multipartBody3294874916727589939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_41_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/26/e4d06365a084138734990a8f194f5657.jpg","text":"TemporaryFile(/tmp/multipartBody6660144536887182816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877423513,"filename":"image_26012025_08_42_35_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617889","file1":"1331617884","file0":"1331617877","file4":"1331617894","file5":"1331617898","file3":"1331617892"},"map_files_photo_id_array":[{"photo_id":"1331617898","filename":"file5"},{"photo_id":"1331617889","filename":"file2"},{"photo_id":"1331617894","filename":"file4"},{"photo_id":"1331617884","filename":"file1"},{"photo_id":"1331617877","filename":"file0"},{"photo_id":"1331617892","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617884":["hashtag1","hashtag2"]},{"1331617898":["hashtag1","hashtag2"]},{"1331617892":["hashtag1","hashtag2"]},{"1331617889":["hashtag1","hashtag2"]},{"1331617877":["hashtag1","hashtag2"]},{"1331617894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617884, 1331617898, 1331617892, 1331617889, 1331617877, 1331617894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08502435684204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:43:32.895852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_54_10347.jpg', '/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_14_9335.jpg', '/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_25_10459.jpg', '/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_35_10356.jpg', '/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_44_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/42/image_26012025_08_42_54_10347.jpg
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_14_9335.jpg
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_25_10459.jpg
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_35_10356.jpg
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_44_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331617924","1331618010","1331617997","1331617970","1331617978"],"photo_ids_order":["1331617924","1331617970","1331617978","1331617997","1331618010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60d5d3f71a758067ccd679b39bac56b5.jpg","text":"TemporaryFile(/tmp/multipartBody3935431378351139419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877473798,"filename":"image_26012025_08_42_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/26/419949fda6c9c56f6c0fde5701f0c287.jpg","text":"TemporaryFile(/tmp/multipartBody1635162627742113250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877473798,"filename":"image_26012025_08_43_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c82d9e208e2024a03f95ad4bc4b344e.jpg","text":"TemporaryFile(/tmp/multipartBody92903257393148107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877473798,"filename":"image_26012025_08_43_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/26/7d6faad02f212028fa4787f5544070bc.jpg","text":"TemporaryFile(/tmp/multipartBody7561527594041423496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877473798,"filename":"image_26012025_08_43_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db7e603c306da639af48330302f561d9.jpg","text":"TemporaryFile(/tmp/multipartBody7072038943149225817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877473798,"filename":"image_26012025_08_43_25_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331617978","file1":"1331617970","file0":"1331617924","file4":"1331618010","file3":"1331617997"},"map_files_photo_id_array":[{"photo_id":"1331617978","filename":"file2"},{"photo_id":"1331618010","filename":"file4"},{"photo_id":"1331617970","filename":"file1"},{"photo_id":"1331617924","filename":"file0"},{"photo_id":"1331617997","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331617924":["hashtag1","hashtag2"]},{"1331618010":["hashtag1","hashtag2"]},{"1331617997":["hashtag1","hashtag2"]},{"1331617970":["hashtag1","hashtag2"]},{"1331617978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331617924, 1331618010, 1331617997, 1331617970, 1331617978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.02552056312561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:44:33.111616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_55_10358.jpg', '/home/pi/Desktop/images/26012025/08/43/image_26012025_08_44_04_9435.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_14_10349.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_25_10346.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_34_9347.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_45_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_43_55_10358.jpg
/home/pi/Desktop/images/26012025/08/43/image_26012025_08_44_04_9435.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_14_10349.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_25_10346.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_34_9347.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_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":["1331618073","1331618076","1331618033","1331618027","1331618062","1331618068"],"photo_ids_order":["1331618027","1331618033","1331618062","1331618068","1331618073","1331618076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/369e24a3a5f10d2898534b61893e5173.jpg","text":"TemporaryFile(/tmp/multipartBody5521237013717364654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_44_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/26/7689f1c2a8827c8447729c48777a6d55.jpg","text":"TemporaryFile(/tmp/multipartBody5431221103060492373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_44_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/26/976254fc25b123c1c81c1a46d04a96c6.jpg","text":"TemporaryFile(/tmp/multipartBody3948133351320334440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_44_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/26/ae430efb3cfb948644c53ea866437afb.jpg","text":"TemporaryFile(/tmp/multipartBody3481309040344574443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_43_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fd84dfd248d385a7ecb25071c0922857.jpg","text":"TemporaryFile(/tmp/multipartBody8800409912385920068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_44_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c4f5650bf4ee8e5c79c4b259a77d042.jpg","text":"TemporaryFile(/tmp/multipartBody2409931232545793811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877534052,"filename":"image_26012025_08_44_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618062","file1":"1331618033","file0":"1331618027","file4":"1331618073","file5":"1331618076","file3":"1331618068"},"map_files_photo_id_array":[{"photo_id":"1331618076","filename":"file5"},{"photo_id":"1331618062","filename":"file2"},{"photo_id":"1331618073","filename":"file4"},{"photo_id":"1331618033","filename":"file1"},{"photo_id":"1331618027","filename":"file0"},{"photo_id":"1331618068","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331618073":["hashtag1","hashtag2"]},{"1331618076":["hashtag1","hashtag2"]},{"1331618033":["hashtag1","hashtag2"]},{"1331618027":["hashtag1","hashtag2"]},{"1331618062":["hashtag1","hashtag2"]},{"1331618068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331618073, 1331618076, 1331618033, 1331618027, 1331618062, 1331618068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20169639587402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:45:32.431922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_55_10379.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_45_04_9338.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_24_9348.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_34_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_55_10379.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_45_04_9338.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_24_9348.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_34_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":["1331618096","1331618092","1331618089","1331618083","1331618086"],"photo_ids_order":["1331618083","1331618086","1331618089","1331618092","1331618096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b070dd68f7822af2295c38c554aa2f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7846749700917307277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877593327,"filename":"image_26012025_08_45_34_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/26/c0ad2f139d431179a4c48e78a0084866.jpg","text":"TemporaryFile(/tmp/multipartBody2614107819402943788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877593327,"filename":"image_26012025_08_45_24_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/26/7ac6dd262be09c29ea4cbd8ec387d093.jpg","text":"TemporaryFile(/tmp/multipartBody3722167729586644885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877593327,"filename":"image_26012025_08_45_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/26/b21a40076f982648be71d7719ad476e7.jpg","text":"TemporaryFile(/tmp/multipartBody7107444972293615547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877593327,"filename":"image_26012025_08_44_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/26/6550c605c927ad6bd7d9b5f562618b06.jpg","text":"TemporaryFile(/tmp/multipartBody6400264795226563521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877593327,"filename":"image_26012025_08_45_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618089","file1":"1331618086","file0":"1331618083","file4":"1331618096","file3":"1331618092"},"map_files_photo_id_array":[{"photo_id":"1331618089","filename":"file2"},{"photo_id":"1331618096","filename":"file4"},{"photo_id":"1331618086","filename":"file1"},{"photo_id":"1331618083","filename":"file0"},{"photo_id":"1331618092","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331618096":["hashtag1","hashtag2"]},{"1331618092":["hashtag1","hashtag2"]},{"1331618089":["hashtag1","hashtag2"]},{"1331618083":["hashtag1","hashtag2"]},{"1331618086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331618096, 1331618092, 1331618089, 1331618083, 1331618086)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1331618089 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1331618089 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg";
uploaded 5 photos
time to upload: 59.326990365982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:46:42.562638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 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-26 08:46:52.529626
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/39/image_23012025_21_40_05_9391.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_24_9355.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_35_10352.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_45_10373.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_41_05_10467.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_40_05_9391.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_24_9355.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_35_10352.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_45_10373.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_41_05_10467.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_15_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9252650737762451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:47:04.180911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_55_10379.jpg', '/home/pi/Desktop/images/26012025/08/44/image_26012025_08_45_04_9338.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_24_9348.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_34_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_44_55_10379.jpg
/home/pi/Desktop/images/26012025/08/44/image_26012025_08_45_04_9338.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_15_10350.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_24_9348.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_34_10374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331618169","1331618160","1331618173","1331618164","1331618167"],"photo_ids_order":["1331618160","1331618164","1331618167","1331618169","1331618173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c69d63002b7b913322c233528300d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2173784045757459312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877685301,"filename":"image_26012025_08_45_24_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/26/38b6b1c01875f46766b6d26231ea30e2.jpg","text":"TemporaryFile(/tmp/multipartBody4084291956257407568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877685301,"filename":"image_26012025_08_44_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/26/e8e7a314f0a084c223e9c80711d7f60c.jpg","text":"TemporaryFile(/tmp/multipartBody1951502964769040049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877685301,"filename":"image_26012025_08_45_34_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/26/7e91d393259c6e51ca18604a41dccafe.jpg","text":"TemporaryFile(/tmp/multipartBody4508802852779710898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877685301,"filename":"image_26012025_08_45_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/57f4158b4dcece7e12550effc960436b.jpg","text":"TemporaryFile(/tmp/multipartBody4743200288041475158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877685301,"filename":"image_26012025_08_45_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618167","file1":"1331618164","file0":"1331618160","file4":"1331618173","file3":"1331618169"},"map_files_photo_id_array":[{"photo_id":"1331618167","filename":"file2"},{"photo_id":"1331618173","filename":"file4"},{"photo_id":"1331618164","filename":"file1"},{"photo_id":"1331618160","filename":"file0"},{"photo_id":"1331618169","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331618169":["hashtag1","hashtag2"]},{"1331618160":["hashtag1","hashtag2"]},{"1331618173":["hashtag1","hashtag2"]},{"1331618164":["hashtag1","hashtag2"]},{"1331618167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331618169, 1331618160, 1331618173, 1331618164, 1331618167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.02283239364624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:47:42.755446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_45_10341.jpg', '/home/pi/Desktop/images/26012025/08/45/image_26012025_08_46_04_10362.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_15_10344.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_24_9377.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_35_10466.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_45_45_10341.jpg
/home/pi/Desktop/images/26012025/08/45/image_26012025_08_46_04_10362.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_15_10344.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_24_9377.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_35_10466.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_45_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":["1331618193","1331618195","1331618194","1331618188","1331618197","1331618185"],"photo_ids_order":["1331618185","1331618188","1331618193","1331618194","1331618195","1331618197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/494d6ce8ddc062d44a370fae527c5353.jpg","text":"TemporaryFile(/tmp/multipartBody6577736311379208913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_46_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/26/76f1b3a1dcbbf35db191fe1a40de8529.jpg","text":"TemporaryFile(/tmp/multipartBody5231860214305819442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_46_35_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/26/bcfae1452c1760fc7ea5e47759128781.jpg","text":"TemporaryFile(/tmp/multipartBody336857241947029650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_46_24_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/26/1e84f710cacb124519c4417f2ec1129b.jpg","text":"TemporaryFile(/tmp/multipartBody8419154296633815279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_46_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/26/39c538bfeb4bf8b1d4dc190c853a829d.jpg","text":"TemporaryFile(/tmp/multipartBody103837526796868645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_46_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/26/30d29d051c2a2715ba441df0185d00d8.jpg","text":"TemporaryFile(/tmp/multipartBody2387902641609135124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877723684,"filename":"image_26012025_08_45_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618193","file1":"1331618188","file0":"1331618185","file4":"1331618195","file5":"1331618197","file3":"1331618194"},"map_files_photo_id_array":[{"photo_id":"1331618197","filename":"file5"},{"photo_id":"1331618193","filename":"file2"},{"photo_id":"1331618195","filename":"file4"},{"photo_id":"1331618188","filename":"file1"},{"photo_id":"1331618185","filename":"file0"},{"photo_id":"1331618194","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331618193":["hashtag1","hashtag2"]},{"1331618195":["hashtag1","hashtag2"]},{"1331618194":["hashtag1","hashtag2"]},{"1331618188":["hashtag1","hashtag2"]},{"1331618197":["hashtag1","hashtag2"]},{"1331618185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331618193, 1331618195, 1331618194, 1331618188, 1331618197, 1331618185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.235093116760254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:48:33.000969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_54_9331.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_47_05_10359.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_14_9395.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_24_10362.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_38_13304.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_44_6297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_54_9331.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_47_05_10359.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_14_9395.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_24_10362.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_38_13304.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_44_6297.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.1248695850372314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:48:43.667644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_54_9331.jpg', '/home/pi/Desktop/images/26012025/08/46/image_26012025_08_47_05_10359.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_14_9395.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_24_10362.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_38_13304.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_44_6297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_46_54_9331.jpg
/home/pi/Desktop/images/26012025/08/46/image_26012025_08_47_05_10359.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_14_9395.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_24_10362.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_38_13304.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_44_6297.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331618220","1331618238","1331618226","1331618231","1331618234","1331618236"],"photo_ids_order":["1331618220","1331618226","1331618231","1331618234","1331618236","1331618238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1be114a14c8ec0c2a40b8ec79f282ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6906054670721974913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_46_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/26/d5b38911b8f377f773a0671e3016c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody8723813436175269135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_47_44_6297.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/683a82cb92d8f96758561a9fbc1d41ee.jpg","text":"TemporaryFile(/tmp/multipartBody9122134647945891582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_47_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/06d2c42391c681e0c77a8feb55fed9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7440214826005062128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_47_14_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/38a4fff361cf8edd807e6846117be9ee.jpg","text":"TemporaryFile(/tmp/multipartBody8794045786468500020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_47_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/26/2ac3145dfb2e93ac1a56401bd297dda5.jpg","text":"TemporaryFile(/tmp/multipartBody7689602151463474302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877784581,"filename":"image_26012025_08_47_38_13304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618231","file1":"1331618226","file0":"1331618220","file4":"1331618236","file5":"1331618238","file3":"1331618234"},"map_files_photo_id_array":[{"photo_id":"1331618238","filename":"file5"},{"photo_id":"1331618231","filename":"file2"},{"photo_id":"1331618236","filename":"file4"},{"photo_id":"1331618226","filename":"file1"},{"photo_id":"1331618220","filename":"file0"},{"photo_id":"1331618234","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331618220":["hashtag1","hashtag2"]},{"1331618238":["hashtag1","hashtag2"]},{"1331618226":["hashtag1","hashtag2"]},{"1331618231":["hashtag1","hashtag2"]},{"1331618234":["hashtag1","hashtag2"]},{"1331618236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331618220, 1331618238, 1331618226, 1331618231, 1331618234, 1331618236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5755889415741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:49:32.281758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_54_10329.jpg', '/home/pi/Desktop/images/26012025/08/47/image_26012025_08_48_05_10353.jpg', '/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_14_9329.jpg', '/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_25_10499.jpg', '/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_35_10357.jpg', '/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_44_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_47_54_10329.jpg
/home/pi/Desktop/images/26012025/08/47/image_26012025_08_48_05_10353.jpg
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_14_9329.jpg
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_25_10499.jpg
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_35_10357.jpg
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_44_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331619258","1331618286","1331618282","1331618930","1331618582","1331619256"],"photo_ids_order":["1331618282","1331618286","1331618582","1331618930","1331619256","1331619258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f791166c8be8527ed070f43e0fd316e1.jpg","text":"TemporaryFile(/tmp/multipartBody5827606436422680338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_48_44_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/253e35b436fdea349de9a009882be745.jpg","text":"TemporaryFile(/tmp/multipartBody2391163198991985226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_48_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/26/ada958491db3ac420f3ce76fbbf0944d.jpg","text":"TemporaryFile(/tmp/multipartBody6215236633798840039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_47_54_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/26/fa5c919ace29bc173b563ad3b1120d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4880696209628489198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_48_25_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/26/04f3d30a3be5e24dcecd1d4152b93107.jpg","text":"TemporaryFile(/tmp/multipartBody1726406679147675988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_48_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/26/a3fdb328100f60cd910c10c253750aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4951129550319921660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877833182,"filename":"image_26012025_08_48_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331618582","file1":"1331618286","file0":"1331618282","file4":"1331619256","file5":"1331619258","file3":"1331618930"},"map_files_photo_id_array":[{"photo_id":"1331619258","filename":"file5"},{"photo_id":"1331618582","filename":"file2"},{"photo_id":"1331619256","filename":"file4"},{"photo_id":"1331618286","filename":"file1"},{"photo_id":"1331618282","filename":"file0"},{"photo_id":"1331618930","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331619258":["hashtag1","hashtag2"]},{"1331618286":["hashtag1","hashtag2"]},{"1331618282":["hashtag1","hashtag2"]},{"1331618930":["hashtag1","hashtag2"]},{"1331618582":["hashtag1","hashtag2"]},{"1331619256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331619258, 1331618286, 1331618282, 1331618930, 1331618582, 1331619256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.951639890670776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:50:32.585345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_55_10457.jpg', '/home/pi/Desktop/images/26012025/08/48/image_26012025_08_49_04_9369.jpg', '/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_15_10410.jpg', '/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_25_10349.jpg', '/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_34_9374.jpg', '/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_45_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_48_55_10457.jpg
/home/pi/Desktop/images/26012025/08/48/image_26012025_08_49_04_9369.jpg
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_15_10410.jpg
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_25_10349.jpg
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_34_9374.jpg
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_45_10246.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331619311","1331619308","1331619298","1331619313","1331619301","1331619304"],"photo_ids_order":["1331619298","1331619301","1331619304","1331619308","1331619311","1331619313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac6d09888f5fc09ab470d1e7eb2f8c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1774295180437811191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_49_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/26/6234cdf6f48aa16a3a1da72e0061c0d4.jpg","text":"TemporaryFile(/tmp/multipartBody3141969847308300497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_49_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/81ae8575bd1ac626c44c25ca593bbd43.jpg","text":"TemporaryFile(/tmp/multipartBody1516644118871058377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_48_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/26/4a9b426fbfabaeedc5618933df136d84.jpg","text":"TemporaryFile(/tmp/multipartBody4969130914323348389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_49_45_10246.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39ca96e2e9aabbcc0207e251e8a7a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody8092919351370691247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_49_04_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/26/2b68a3f957b73b13c5bb402f8acd07ae.jpg","text":"TemporaryFile(/tmp/multipartBody9143052948674802165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877893502,"filename":"image_26012025_08_49_15_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331619304","file1":"1331619301","file0":"1331619298","file4":"1331619311","file5":"1331619313","file3":"1331619308"},"map_files_photo_id_array":[{"photo_id":"1331619313","filename":"file5"},{"photo_id":"1331619304","filename":"file2"},{"photo_id":"1331619311","filename":"file4"},{"photo_id":"1331619301","filename":"file1"},{"photo_id":"1331619298","filename":"file0"},{"photo_id":"1331619308","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331619311":["hashtag1","hashtag2"]},{"1331619308":["hashtag1","hashtag2"]},{"1331619298":["hashtag1","hashtag2"]},{"1331619313":["hashtag1","hashtag2"]},{"1331619301":["hashtag1","hashtag2"]},{"1331619304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331619311, 1331619308, 1331619298, 1331619313, 1331619301, 1331619304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91721796989441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:51:32.785382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_54_9502.jpg', '/home/pi/Desktop/images/26012025/08/49/image_26012025_08_50_04_10353.jpg', '/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_15_10353.jpg', '/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_35_10476.jpg', '/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_45_10351.jpg', '/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_54_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_49_54_9502.jpg
/home/pi/Desktop/images/26012025/08/49/image_26012025_08_50_04_10353.jpg
/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_15_10353.jpg
/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_35_10476.jpg
/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_45_10351.jpg
/home/pi/Desktop/images/26012025/08/50/image_26012025_08_50_54_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":["1331619890","1331619744","1331619782","1331619952","1331619946","1331619486"],"photo_ids_order":["1331619486","1331619744","1331619782","1331619890","1331619946","1331619952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7eb3d5f4c6c7eb349421b983517becb3.jpg","text":"TemporaryFile(/tmp/multipartBody4823805620697680330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_50_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/26/e63e8bde613a06cbc1645d030eaeb15c.jpg","text":"TemporaryFile(/tmp/multipartBody6431019640283406159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_50_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/26/826dc919e5cb32cb37b4cb9249fe050b.jpg","text":"TemporaryFile(/tmp/multipartBody5719024854297879737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_50_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/26/7ff8636d3e9c18029880359740c7391a.jpg","text":"TemporaryFile(/tmp/multipartBody5533892763449184272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_50_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/26/39478d20e254572866846f1e00a588fc.jpg","text":"TemporaryFile(/tmp/multipartBody332909803734395686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_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/26/7df0d10e34fa5caf1ad1227eb7a6ce83.jpg","text":"TemporaryFile(/tmp/multipartBody1855554761515970823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737877953715,"filename":"image_26012025_08_49_54_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331619782","file1":"1331619744","file0":"1331619486","file4":"1331619946","file5":"1331619952","file3":"1331619890"},"map_files_photo_id_array":[{"photo_id":"1331619952","filename":"file5"},{"photo_id":"1331619782","filename":"file2"},{"photo_id":"1331619946","filename":"file4"},{"photo_id":"1331619744","filename":"file1"},{"photo_id":"1331619486","filename":"file0"},{"photo_id":"1331619890","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331619890":["hashtag1","hashtag2"]},{"1331619744":["hashtag1","hashtag2"]},{"1331619782":["hashtag1","hashtag2"]},{"1331619952":["hashtag1","hashtag2"]},{"1331619946":["hashtag1","hashtag2"]},{"1331619486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331619890, 1331619744, 1331619782, 1331619952, 1331619946, 1331619486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24145531654358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:52:33.105557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/50/image_26012025_08_51_05_10409.jpg', '/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_14_9336.jpg', '/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_24_10329.jpg', '/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_35_10327.jpg', '/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_44_9346.jpg', '/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_54_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/50/image_26012025_08_51_05_10409.jpg
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_14_9336.jpg
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_24_10329.jpg
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_35_10327.jpg
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_44_9346.jpg
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_51_54_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":["1331620083","1331620058","1331620051","1331620075","1331620054","1331620048"],"photo_ids_order":["1331620048","1331620051","1331620054","1331620058","1331620075","1331620083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ced17fff89078923915fb5b07cb9a125.jpg","text":"TemporaryFile(/tmp/multipartBody2975360607990715277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_54_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/26/c19fb3028da7df155d078a4f969c6307.jpg","text":"TemporaryFile(/tmp/multipartBody2892190466926270179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30e3756531310e0e65ff665a1a396c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8240689948007135490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/99e679f2195a79ced2a5a04e7ed6fc9c.jpg","text":"TemporaryFile(/tmp/multipartBody7422887572779663698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_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/26/f81b616e1631abf3761bf27807e13ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2136324653624278346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_24_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/26/6df25b2f204ea145a21aec2ea06b9a20.jpg","text":"TemporaryFile(/tmp/multipartBody3289230165150362124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878014024,"filename":"image_26012025_08_51_05_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620054","file1":"1331620051","file0":"1331620048","file4":"1331620075","file5":"1331620083","file3":"1331620058"},"map_files_photo_id_array":[{"photo_id":"1331620083","filename":"file5"},{"photo_id":"1331620054","filename":"file2"},{"photo_id":"1331620075","filename":"file4"},{"photo_id":"1331620051","filename":"file1"},{"photo_id":"1331620048","filename":"file0"},{"photo_id":"1331620058","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620083":["hashtag1","hashtag2"]},{"1331620058":["hashtag1","hashtag2"]},{"1331620051":["hashtag1","hashtag2"]},{"1331620075":["hashtag1","hashtag2"]},{"1331620054":["hashtag1","hashtag2"]},{"1331620048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620083, 1331620058, 1331620051, 1331620075, 1331620054, 1331620048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.06003522872925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:53:32.414660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/51/image_26012025_08_52_05_10451.jpg', '/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_14_9377.jpg', '/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_25_10449.jpg', '/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_35_10345.jpg', '/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_44_9419.jpg', '/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_55_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/51/image_26012025_08_52_05_10451.jpg
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_14_9377.jpg
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_25_10449.jpg
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_35_10345.jpg
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_44_9419.jpg
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_52_55_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620170","1331620167","1331620172","1331620163","1331620165","1331620168"],"photo_ids_order":["1331620163","1331620165","1331620167","1331620168","1331620170","1331620172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79c693252b72985c876494d110466766.jpg","text":"TemporaryFile(/tmp/multipartBody6986451689384722048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_52_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/26/09807cb964a9f3d67123a035d33cc412.jpg","text":"TemporaryFile(/tmp/multipartBody3399867837353662180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_52_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/26/8a1a7b158d090a27aba5431977b19e27.jpg","text":"TemporaryFile(/tmp/multipartBody724845657128500495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_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/26/a7de22aea49f45f32696edccd4399f86.jpg","text":"TemporaryFile(/tmp/multipartBody3648940876820226743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_52_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/26/4d0cad242bc91fc696747c9490247ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2471914739836702287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_52_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/26/484ab15ee037b48966f5abd789acc803.jpg","text":"TemporaryFile(/tmp/multipartBody1665745668886506249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878073400,"filename":"image_26012025_08_52_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620167","file1":"1331620165","file0":"1331620163","file4":"1331620170","file5":"1331620172","file3":"1331620168"},"map_files_photo_id_array":[{"photo_id":"1331620172","filename":"file5"},{"photo_id":"1331620167","filename":"file2"},{"photo_id":"1331620170","filename":"file4"},{"photo_id":"1331620165","filename":"file1"},{"photo_id":"1331620163","filename":"file0"},{"photo_id":"1331620168","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620170":["hashtag1","hashtag2"]},{"1331620167":["hashtag1","hashtag2"]},{"1331620172":["hashtag1","hashtag2"]},{"1331620163":["hashtag1","hashtag2"]},{"1331620165":["hashtag1","hashtag2"]},{"1331620168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620170, 1331620167, 1331620172, 1331620163, 1331620165, 1331620168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85730004310608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:54:32.592100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/52/image_26012025_08_53_04_9371.jpg', '/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_15_10462.jpg', '/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_25_10370.jpg', '/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_34_9319.jpg', '/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_45_10364.jpg', '/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_55_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/52/image_26012025_08_53_04_9371.jpg
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_15_10462.jpg
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_25_10370.jpg
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_34_9319.jpg
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_45_10364.jpg
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_53_55_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620207","1331620206","1331620199","1331620203","1331620193","1331620196"],"photo_ids_order":["1331620193","1331620196","1331620199","1331620203","1331620206","1331620207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca14bf6b4a880b30f56579aad015ac91.jpg","text":"TemporaryFile(/tmp/multipartBody8940723422457974510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_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/26/da3f70db1f1cb813253eaf16e8d51b82.jpg","text":"TemporaryFile(/tmp/multipartBody409015646635385581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_53_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/26/a3fdd2daf4c618d3420f50e52e2cf3cf.jpg","text":"TemporaryFile(/tmp/multipartBody4371434837682226568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_53_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/26/2f8e54de41573b8330583775d45ab3da.jpg","text":"TemporaryFile(/tmp/multipartBody4577520918298214605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_53_34_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0fad82b67a2dcb5d1b55975573babc75.jpg","text":"TemporaryFile(/tmp/multipartBody5426330128894605754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_53_04_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/26/93b2a680e5f992f4ba65185c31a86296.jpg","text":"TemporaryFile(/tmp/multipartBody8922266439201768798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878133514,"filename":"image_26012025_08_53_15_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620199","file1":"1331620196","file0":"1331620193","file4":"1331620206","file5":"1331620207","file3":"1331620203"},"map_files_photo_id_array":[{"photo_id":"1331620207","filename":"file5"},{"photo_id":"1331620199","filename":"file2"},{"photo_id":"1331620206","filename":"file4"},{"photo_id":"1331620196","filename":"file1"},{"photo_id":"1331620193","filename":"file0"},{"photo_id":"1331620203","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620207":["hashtag1","hashtag2"]},{"1331620206":["hashtag1","hashtag2"]},{"1331620199":["hashtag1","hashtag2"]},{"1331620203":["hashtag1","hashtag2"]},{"1331620193":["hashtag1","hashtag2"]},{"1331620196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620207, 1331620206, 1331620199, 1331620203, 1331620193, 1331620196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4015908241272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:55:32.767228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/53/image_26012025_08_54_04_9354.jpg', '/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_15_10359.jpg', '/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_24_9370.jpg', '/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_34_10337.jpg', '/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_45_10418.jpg', '/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_54_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/53/image_26012025_08_54_04_9354.jpg
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_15_10359.jpg
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_24_9370.jpg
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_34_10337.jpg
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_45_10418.jpg
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_54_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620224","1331620280","1331620282","1331620267","1331620240","1331620228"],"photo_ids_order":["1331620224","1331620228","1331620240","1331620267","1331620280","1331620282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23a46c78a00ceb56280c64c64d5629f1.jpg","text":"TemporaryFile(/tmp/multipartBody3271331235693962039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_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/26/81abbefcd1258606087901c2633b354e.jpg","text":"TemporaryFile(/tmp/multipartBody589048556582760328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_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/26/dd3d59efef920ddadc61077aa7cada68.jpg","text":"TemporaryFile(/tmp/multipartBody3910379245125117347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_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/26/f640479be0ef6808956926fc2473e117.jpg","text":"TemporaryFile(/tmp/multipartBody475949532574977248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_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/26/074a2301fa7ec4792be4df8863d09954.jpg","text":"TemporaryFile(/tmp/multipartBody2636817763082831188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_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/26/e463e8752a159fbaf23b2af7b9a750ba.jpg","text":"TemporaryFile(/tmp/multipartBody7938983665723479950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878193688,"filename":"image_26012025_08_54_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620240","file1":"1331620228","file0":"1331620224","file4":"1331620280","file5":"1331620282","file3":"1331620267"},"map_files_photo_id_array":[{"photo_id":"1331620282","filename":"file5"},{"photo_id":"1331620240","filename":"file2"},{"photo_id":"1331620280","filename":"file4"},{"photo_id":"1331620228","filename":"file1"},{"photo_id":"1331620224","filename":"file0"},{"photo_id":"1331620267","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620224":["hashtag1","hashtag2"]},{"1331620280":["hashtag1","hashtag2"]},{"1331620282":["hashtag1","hashtag2"]},{"1331620267":["hashtag1","hashtag2"]},{"1331620240":["hashtag1","hashtag2"]},{"1331620228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620224, 1331620280, 1331620282, 1331620267, 1331620240, 1331620228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.081053495407104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:56:33.026516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/54/image_26012025_08_55_05_10401.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_15_10345.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_24_9378.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_35_10428.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_44_9371.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_55_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_55_05_10401.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_15_10345.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_24_9378.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_35_10428.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_44_9371.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_55_10471.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5200893878936768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:56:42.963223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/54/image_26012025_08_55_05_10401.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_15_10345.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_24_9378.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_35_10428.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_44_9371.jpg', '/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_55_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/54/image_26012025_08_55_05_10401.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_15_10345.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_24_9378.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_35_10428.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_44_9371.jpg
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_55_55_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620309","1331620323","1331620314","1331620325","1331620319","1331620304"],"photo_ids_order":["1331620304","1331620309","1331620314","1331620319","1331620323","1331620325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e74e6521f98a6191c6cfe58ac73b99de.jpg","text":"TemporaryFile(/tmp/multipartBody6260110908324181658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_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/26/27ae15c68db6d4f9d2715372c9212500.jpg","text":"TemporaryFile(/tmp/multipartBody8451985587675200911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_44_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/26/38ae919c3464168466a26b983cc9e95b.jpg","text":"TemporaryFile(/tmp/multipartBody9220008722849105130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_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/26/1f4a7215522de271b69e43b3ab9b95d2.jpg","text":"TemporaryFile(/tmp/multipartBody218725769776613151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_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/26/aa60241381f1cac36924b6eefd69a7e9.jpg","text":"TemporaryFile(/tmp/multipartBody1137036202436497675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_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/26/84290bf2fc9a496f02ea9fe43bf8c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody2352172816510853366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878263870,"filename":"image_26012025_08_55_05_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620314","file1":"1331620309","file0":"1331620304","file4":"1331620323","file5":"1331620325","file3":"1331620319"},"map_files_photo_id_array":[{"photo_id":"1331620325","filename":"file5"},{"photo_id":"1331620314","filename":"file2"},{"photo_id":"1331620323","filename":"file4"},{"photo_id":"1331620309","filename":"file1"},{"photo_id":"1331620304","filename":"file0"},{"photo_id":"1331620319","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620309":["hashtag1","hashtag2"]},{"1331620323":["hashtag1","hashtag2"]},{"1331620314":["hashtag1","hashtag2"]},{"1331620325":["hashtag1","hashtag2"]},{"1331620319":["hashtag1","hashtag2"]},{"1331620304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620309, 1331620323, 1331620314, 1331620325, 1331620319, 1331620304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60061240196228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 08:57:32.212439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/55/image_26012025_08_56_05_10346.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_14_9400.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_25_10383.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_34_9453.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_45_10394.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_56_05_10346.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_14_9400.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_25_10383.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_34_9453.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_45_10394.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 08:59:04.034556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/55/image_26012025_08_56_05_10346.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_14_9400.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_25_10383.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_34_9453.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_45_10394.jpg', '/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_55_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/55/image_26012025_08_56_05_10346.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_14_9400.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_25_10383.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_34_9453.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_45_10394.jpg
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_56_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620420","1331620402","1331620416","1331620413","1331620409","1331620406"],"photo_ids_order":["1331620402","1331620406","1331620409","1331620413","1331620416","1331620420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/744504d0cad5c8e7ae8c8aa8530d858d.jpg","text":"TemporaryFile(/tmp/multipartBody1975157372155366057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_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/26/85be0e4f6ee44febe9343d70aabe6fff.jpg","text":"TemporaryFile(/tmp/multipartBody6407589335105968861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_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/26/d86b1bab22d7c71ce1a086137dfeac78.jpg","text":"TemporaryFile(/tmp/multipartBody5704760695996561165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_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/26/0701e4cf1a1d5f0e3b80cdeb4677d470.jpg","text":"TemporaryFile(/tmp/multipartBody4823458463850678154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_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/26/e90847ec74739fc84c88dd3b7ac14705.jpg","text":"TemporaryFile(/tmp/multipartBody2818889993335501031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_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/26/4c8f1041b982ed4721c6e63a93b402a2.jpg","text":"TemporaryFile(/tmp/multipartBody7912204059359579771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878405110,"filename":"image_26012025_08_56_14_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620409","file1":"1331620406","file0":"1331620402","file4":"1331620416","file5":"1331620420","file3":"1331620413"},"map_files_photo_id_array":[{"photo_id":"1331620420","filename":"file5"},{"photo_id":"1331620409","filename":"file2"},{"photo_id":"1331620416","filename":"file4"},{"photo_id":"1331620406","filename":"file1"},{"photo_id":"1331620402","filename":"file0"},{"photo_id":"1331620413","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620420":["hashtag1","hashtag2"]},{"1331620402":["hashtag1","hashtag2"]},{"1331620416":["hashtag1","hashtag2"]},{"1331620413":["hashtag1","hashtag2"]},{"1331620409":["hashtag1","hashtag2"]},{"1331620406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620420, 1331620402, 1331620416, 1331620413, 1331620409, 1331620406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60206866264343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 08:59:53.007856
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/39/image_23012025_21_40_05_9391.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_24_9355.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_35_10352.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_45_10373.jpg', '/home/pi/Desktop/images/23012025/21/40/image_23012025_21_41_05_10467.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/39/image_23012025_21_40_05_9391.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_24_9355.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_35_10352.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_40_45_10373.jpg
/home/pi/Desktop/images/23012025/21/40/image_23012025_21_41_05_10467.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331620452","1331620440","1331620434","1331620443","1331620438","1331620447"],"photo_ids_order":["1331620434","1331620438","1331620440","1331620443","1331620447","1331620452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/634c0d008367546a971a8e8a0e53e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody1561550942131997641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_41_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/26/a86fa58cd3a37f179ffa2ca23569de75.jpg","text":"TemporaryFile(/tmp/multipartBody828903602769476736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_40_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/26/4efe9a234bfcf3d6441cb234308b21a5.jpg","text":"TemporaryFile(/tmp/multipartBody998095364826002382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_40_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/26/b98b81a92ae4edb747e73fcb93266646.jpg","text":"TemporaryFile(/tmp/multipartBody8145894425157469820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_40_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/26/88f699c1548882b2aa118a00985f2e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5705510663780426475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_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/26/a7e5b9e9a04a840c06f522f702703953.jpg","text":"TemporaryFile(/tmp/multipartBody7013595669261279470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878455222,"filename":"image_23012025_21_41_05_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620440","file1":"1331620438","file0":"1331620434","file4":"1331620447","file5":"1331620452","file3":"1331620443"},"map_files_photo_id_array":[{"photo_id":"1331620452","filename":"file5"},{"photo_id":"1331620440","filename":"file2"},{"photo_id":"1331620447","filename":"file4"},{"photo_id":"1331620438","filename":"file1"},{"photo_id":"1331620434","filename":"file0"},{"photo_id":"1331620443","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331620452":["hashtag1","hashtag2"]},{"1331620440":["hashtag1","hashtag2"]},{"1331620434":["hashtag1","hashtag2"]},{"1331620443":["hashtag1","hashtag2"]},{"1331620438":["hashtag1","hashtag2"]},{"1331620447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331620452, 1331620440, 1331620434, 1331620443, 1331620438, 1331620447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.603110551834106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:00:42.288886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/56/image_26012025_08_57_04_9355.jpg', '/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_15_10420.jpg', '/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_34_10370.jpg', '/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_45_10335.jpg', '/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_54_9343.jpg', '/home/pi/Desktop/images/26012025/08/57/image_26012025_08_58_05_10495.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/56/image_26012025_08_57_04_9355.jpg
/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_15_10420.jpg
/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_34_10370.jpg
/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_45_10335.jpg
/home/pi/Desktop/images/26012025/08/57/image_26012025_08_57_54_9343.jpg
/home/pi/Desktop/images/26012025/08/57/image_26012025_08_58_05_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":["1331620668","1331620647","1331620455","1331620457","1331620670","1331620459"],"photo_ids_order":["1331620455","1331620457","1331620459","1331620647","1331620668","1331620670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64021beee1502c7bc886203763d9f4b5.jpg","text":"TemporaryFile(/tmp/multipartBody1858666028825472992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_57_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/26/64c0cbc004788cde7ccdb6a714366bc2.jpg","text":"TemporaryFile(/tmp/multipartBody7044059743201742704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_57_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a540101ef643412432ded80ae07f290.jpg","text":"TemporaryFile(/tmp/multipartBody6554782683189457710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_57_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/26/7064a51412cb577c8bea07338fa66738.jpg","text":"TemporaryFile(/tmp/multipartBody1616039683069599282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_57_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/26/f89105b26cfc3da9a07b0d33ec7f2c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4595748886315079924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_58_05_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/26/0ba317459ebc494f8b4a67fa0038c765.jpg","text":"TemporaryFile(/tmp/multipartBody8670468922470025797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878503223,"filename":"image_26012025_08_57_34_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620459","file1":"1331620457","file0":"1331620455","file4":"1331620668","file5":"1331620670","file3":"1331620647"},"map_files_photo_id_array":[{"photo_id":"1331620670","filename":"file5"},{"photo_id":"1331620459","filename":"file2"},{"photo_id":"1331620668","filename":"file4"},{"photo_id":"1331620457","filename":"file1"},{"photo_id":"1331620455","filename":"file0"},{"photo_id":"1331620647","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620668":["hashtag1","hashtag2"]},{"1331620647":["hashtag1","hashtag2"]},{"1331620455":["hashtag1","hashtag2"]},{"1331620457":["hashtag1","hashtag2"]},{"1331620670":["hashtag1","hashtag2"]},{"1331620459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620668, 1331620647, 1331620455, 1331620457, 1331620670, 1331620459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.664854764938354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:01:32.590344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_15_10350.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_24_9346.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_35_10365.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_45_10335.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_54_9343.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_59_05_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_15_10350.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_24_9346.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_35_10365.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_45_10335.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_54_9343.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_59_05_10340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5482645034790039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:01:42.463842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_15_10350.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_24_9346.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_35_10365.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_45_10335.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_54_9343.jpg', '/home/pi/Desktop/images/26012025/08/58/image_26012025_08_59_05_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_15_10350.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_24_9346.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_35_10365.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_45_10335.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_58_54_9343.jpg
/home/pi/Desktop/images/26012025/08/58/image_26012025_08_59_05_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":["1331620698","1331620728","1331620701","1331620730","1331620724","1331620733"],"photo_ids_order":["1331620698","1331620701","1331620724","1331620728","1331620730","1331620733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ddbbe13b03f4663a134a2abd6260544.jpg","text":"TemporaryFile(/tmp/multipartBody81292199206054148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_58_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/26/a21fa81be317884660cec691389e92e9.jpg","text":"TemporaryFile(/tmp/multipartBody6222226266746052123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_58_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0426113a3b2ac3f0f97343dbf0008f23.jpg","text":"TemporaryFile(/tmp/multipartBody3196316804774856381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_58_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/26/a34fcf63916748d8e80d3100087fd9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1006258741636243717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_58_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/26/d48a22260a89a92a8b481d90740ac148.jpg","text":"TemporaryFile(/tmp/multipartBody1270304698613473740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_58_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a9241fbac3a1bbd98444406be69101dd.jpg","text":"TemporaryFile(/tmp/multipartBody1527320468531961912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878563396,"filename":"image_26012025_08_59_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331620724","file1":"1331620701","file0":"1331620698","file4":"1331620730","file5":"1331620733","file3":"1331620728"},"map_files_photo_id_array":[{"photo_id":"1331620733","filename":"file5"},{"photo_id":"1331620724","filename":"file2"},{"photo_id":"1331620730","filename":"file4"},{"photo_id":"1331620701","filename":"file1"},{"photo_id":"1331620698","filename":"file0"},{"photo_id":"1331620728","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331620698":["hashtag1","hashtag2"]},{"1331620728":["hashtag1","hashtag2"]},{"1331620701":["hashtag1","hashtag2"]},{"1331620730":["hashtag1","hashtag2"]},{"1331620724":["hashtag1","hashtag2"]},{"1331620733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331620698, 1331620728, 1331620701, 1331620730, 1331620724, 1331620733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4610915184021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:02:32.636466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_14_9338.jpg', '/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_24_10413.jpg', '/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_35_10360.jpg', '/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_44_9422.jpg', '/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_55_10379.jpg', '/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_14_10073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_14_9338.jpg
/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_24_10413.jpg
/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_35_10360.jpg
/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_44_9422.jpg
/home/pi/Desktop/images/26012025/08/59/image_26012025_08_59_55_10379.jpg
/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_14_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":["1331621757","1331622116","1331620772","1331621036","1331621395","1331622450"],"photo_ids_order":["1331620772","1331621036","1331621395","1331621757","1331622116","1331622450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f23521288bfe92550d7208212b4e4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody125394806198727312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_08_59_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/26/d4ed341d74e5df195db895fdbec5f334.jpg","text":"TemporaryFile(/tmp/multipartBody5660741900299239737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_08_59_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/26/ed9b1ab5e0130782452954a8e4e38909.jpg","text":"TemporaryFile(/tmp/multipartBody8425615887942824523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_08_59_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/26/6aeaf60b28177039a11907f8c5528b24.jpg","text":"TemporaryFile(/tmp/multipartBody2359607528107046249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_08_59_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/26/61af5cf64baeb4f1fefc99443a599d82.jpg","text":"TemporaryFile(/tmp/multipartBody267526051774533330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_08_59_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/26/0e79ce391d4c72bfc1c52c65a34b8245.jpg","text":"TemporaryFile(/tmp/multipartBody1095771371233131292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878613570,"filename":"image_26012025_09_01_14_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331621395","file1":"1331621036","file0":"1331620772","file4":"1331622116","file5":"1331622450","file3":"1331621757"},"map_files_photo_id_array":[{"photo_id":"1331622450","filename":"file5"},{"photo_id":"1331621395","filename":"file2"},{"photo_id":"1331622116","filename":"file4"},{"photo_id":"1331621036","filename":"file1"},{"photo_id":"1331620772","filename":"file0"},{"photo_id":"1331621757","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331621757":["hashtag1","hashtag2"]},{"1331622116":["hashtag1","hashtag2"]},{"1331620772":["hashtag1","hashtag2"]},{"1331621036":["hashtag1","hashtag2"]},{"1331621395":["hashtag1","hashtag2"]},{"1331622450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331621757, 1331622116, 1331620772, 1331621036, 1331621395, 1331622450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3024582862854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:03:32.796568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_24_10355.jpg', '/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_35_10356.jpg', '/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_44_9367.jpg', '/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_55_10490.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_14_10430.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_25_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_24_10355.jpg
/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_35_10356.jpg
/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_44_9367.jpg
/home/pi/Desktop/images/26012025/09/01/image_26012025_09_01_55_10490.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_14_10430.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_25_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":["1331623075","1331623048","1331623003","1331623008","1331622720","1331622899"],"photo_ids_order":["1331622720","1331622899","1331623003","1331623008","1331623048","1331623075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a877a331dec0bf3c88197b8ba170d05d.jpg","text":"TemporaryFile(/tmp/multipartBody344118385293719495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_02_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/26/b9df1f2441fa87c87bbf98b9fb1eab1e.jpg","text":"TemporaryFile(/tmp/multipartBody3053322908345057077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_02_14_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/26/8dbc48f9350896d432bce422ee8c5b01.jpg","text":"TemporaryFile(/tmp/multipartBody7525896757078166590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_01_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/26/1eb2c517be0fbfddaa26c14f1d160134.jpg","text":"TemporaryFile(/tmp/multipartBody2398305464822648692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_01_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/26/083501082cc952f23cb043b76345fd34.jpg","text":"TemporaryFile(/tmp/multipartBody226284657400392144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_01_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/26/fb4ac01c742dff610a454f199133ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody6606352818310470857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878673716,"filename":"image_26012025_09_01_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331623003","file1":"1331622899","file0":"1331622720","file4":"1331623048","file5":"1331623075","file3":"1331623008"},"map_files_photo_id_array":[{"photo_id":"1331623075","filename":"file5"},{"photo_id":"1331623003","filename":"file2"},{"photo_id":"1331623048","filename":"file4"},{"photo_id":"1331622899","filename":"file1"},{"photo_id":"1331622720","filename":"file0"},{"photo_id":"1331623008","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331623075":["hashtag1","hashtag2"]},{"1331623048":["hashtag1","hashtag2"]},{"1331623003":["hashtag1","hashtag2"]},{"1331623008":["hashtag1","hashtag2"]},{"1331622720":["hashtag1","hashtag2"]},{"1331622899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331623075, 1331623048, 1331623003, 1331623008, 1331622720, 1331622899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.853464126586914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:04:33.016805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_34_9330.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_44_10345.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_55_10361.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_03_04_9360.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_14_10340.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_25_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_34_9330.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_44_10345.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_55_10361.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_03_04_9360.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_14_10340.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_25_10341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5250816345214844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:04:42.920461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_34_9330.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_44_10345.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_55_10361.jpg', '/home/pi/Desktop/images/26012025/09/02/image_26012025_09_03_04_9360.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_14_10340.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_25_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_34_9330.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_44_10345.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_02_55_10361.jpg
/home/pi/Desktop/images/26012025/09/02/image_26012025_09_03_04_9360.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_14_10340.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_25_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":["1331624402","1331624353","1331624475","1331624397","1331624697","1331624405"],"photo_ids_order":["1331624353","1331624397","1331624402","1331624405","1331624475","1331624697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ecc9ebe33bbdd7ea24047d48bfac072.jpg","text":"TemporaryFile(/tmp/multipartBody7583607173423086329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_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/26/f901ecfea8625b9a9195617010d55297.jpg","text":"TemporaryFile(/tmp/multipartBody9040436342570829518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_02_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc5058ca5a5414f2fbbb2279eb8bb1ab.jpg","text":"TemporaryFile(/tmp/multipartBody6962321947028581173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_03_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/26/52e771f9457860f3a4d2f2338250a9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5029004316692795832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_02_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9aca60fcb8e6f75f9a36353492e5b918.jpg","text":"TemporaryFile(/tmp/multipartBody6590630645638866212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_03_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/26/d7087f53ba51ae2425c59b55e19191ea.jpg","text":"TemporaryFile(/tmp/multipartBody1834410701146472254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878743871,"filename":"image_26012025_09_03_04_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624402","file1":"1331624397","file0":"1331624353","file4":"1331624475","file5":"1331624697","file3":"1331624405"},"map_files_photo_id_array":[{"photo_id":"1331624697","filename":"file5"},{"photo_id":"1331624402","filename":"file2"},{"photo_id":"1331624475","filename":"file4"},{"photo_id":"1331624397","filename":"file1"},{"photo_id":"1331624353","filename":"file0"},{"photo_id":"1331624405","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624402":["hashtag1","hashtag2"]},{"1331624353":["hashtag1","hashtag2"]},{"1331624475":["hashtag1","hashtag2"]},{"1331624397":["hashtag1","hashtag2"]},{"1331624697":["hashtag1","hashtag2"]},{"1331624405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624402, 1331624353, 1331624475, 1331624397, 1331624697, 1331624405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11417770385742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:05:32.347479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_34_9336.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_45_10426.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_54_9407.jpg', '/home/pi/Desktop/images/26012025/09/03/image_26012025_09_04_04_10353.jpg', '/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_15_10410.jpg', '/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_24_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_34_9336.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_45_10426.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_03_54_9407.jpg
/home/pi/Desktop/images/26012025/09/03/image_26012025_09_04_04_10353.jpg
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_15_10410.jpg
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_24_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331624820","1331624823","1331624832","1331624814","1331624834","1331624828"],"photo_ids_order":["1331624814","1331624820","1331624823","1331624828","1331624832","1331624834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3aadbe77888c7ff9557d8ba87a53046.jpg","text":"TemporaryFile(/tmp/multipartBody7899346575945219476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_03_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/26/0fe9dad874e2005938aac4b4297779a6.jpg","text":"TemporaryFile(/tmp/multipartBody756257535195172116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_03_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a06d7eb03a0e78dfd87c77b17676286.jpg","text":"TemporaryFile(/tmp/multipartBody9077031915927548737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_04_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/26/0cb8e085d1be38bd0d4b9933aad1f1c4.jpg","text":"TemporaryFile(/tmp/multipartBody6614914817165704580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_03_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/26/4eae4e98e0ea059fe1e8de59ac35d86f.jpg","text":"TemporaryFile(/tmp/multipartBody1067086511769148257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_04_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/26/76fac3bd5074e7c1509563d2fc808a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6114674286042559818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878793263,"filename":"image_26012025_09_04_04_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624823","file1":"1331624820","file0":"1331624814","file4":"1331624832","file5":"1331624834","file3":"1331624828"},"map_files_photo_id_array":[{"photo_id":"1331624834","filename":"file5"},{"photo_id":"1331624823","filename":"file2"},{"photo_id":"1331624832","filename":"file4"},{"photo_id":"1331624820","filename":"file1"},{"photo_id":"1331624814","filename":"file0"},{"photo_id":"1331624828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624820":["hashtag1","hashtag2"]},{"1331624823":["hashtag1","hashtag2"]},{"1331624832":["hashtag1","hashtag2"]},{"1331624814":["hashtag1","hashtag2"]},{"1331624834":["hashtag1","hashtag2"]},{"1331624828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624820, 1331624823, 1331624832, 1331624814, 1331624834, 1331624828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80735516548157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:06:32.421084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_34_10336.jpg', '/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_45_10433.jpg', '/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_54_9371.jpg', '/home/pi/Desktop/images/26012025/09/04/image_26012025_09_05_05_10389.jpg', '/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_14_9336.jpg', '/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_24_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_34_10336.jpg
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_45_10433.jpg
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_04_54_9371.jpg
/home/pi/Desktop/images/26012025/09/04/image_26012025_09_05_05_10389.jpg
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_14_9336.jpg
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_24_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":["1331624857","1331624865","1331624853","1331624862","1331624850","1331624867"],"photo_ids_order":["1331624850","1331624853","1331624857","1331624862","1331624865","1331624867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/303c2c8ad3f01f2a48df25b2c4226e08.jpg","text":"TemporaryFile(/tmp/multipartBody8320142522980317583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_04_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5137290dc130c26e84e4b51f7d04c555.jpg","text":"TemporaryFile(/tmp/multipartBody5253552076203881289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_05_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42a1b1095b1a03dc9f2889c430ed3302.jpg","text":"TemporaryFile(/tmp/multipartBody7530075281399335760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_04_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/26/890f3d250654f614000ccc947ac27079.jpg","text":"TemporaryFile(/tmp/multipartBody7094516446975294635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_05_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/26/b8bdf55e3ec2d45c2bce798795b56e90.jpg","text":"TemporaryFile(/tmp/multipartBody7261865707801393660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_04_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c08b55dacfcbaf7c4fbf2464b073a1e.jpg","text":"TemporaryFile(/tmp/multipartBody9171713937798304165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878853370,"filename":"image_26012025_09_05_24_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624857","file1":"1331624853","file0":"1331624850","file4":"1331624865","file5":"1331624867","file3":"1331624862"},"map_files_photo_id_array":[{"photo_id":"1331624867","filename":"file5"},{"photo_id":"1331624857","filename":"file2"},{"photo_id":"1331624865","filename":"file4"},{"photo_id":"1331624853","filename":"file1"},{"photo_id":"1331624850","filename":"file0"},{"photo_id":"1331624862","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624857":["hashtag1","hashtag2"]},{"1331624865":["hashtag1","hashtag2"]},{"1331624853":["hashtag1","hashtag2"]},{"1331624862":["hashtag1","hashtag2"]},{"1331624850":["hashtag1","hashtag2"]},{"1331624867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624857, 1331624865, 1331624853, 1331624862, 1331624850, 1331624867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47971987724304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:07:32.784922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_35_10364.jpg', '/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_44_9365.jpg', '/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_54_10358.jpg', '/home/pi/Desktop/images/26012025/09/05/image_26012025_09_06_05_10418.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_14_9337.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_25_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_35_10364.jpg
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_44_9365.jpg
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_05_54_10358.jpg
/home/pi/Desktop/images/26012025/09/05/image_26012025_09_06_05_10418.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_14_9337.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_25_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331624923","1331624914","1331624925","1331624919","1331624910","1331624897"],"photo_ids_order":["1331624897","1331624910","1331624914","1331624919","1331624923","1331624925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c04e5d186ba6ad2d8d33b23c2f1c9226.jpg","text":"TemporaryFile(/tmp/multipartBody3143673951642777039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_06_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/26/bdf455170eec4268810d39f7162bfda2.jpg","text":"TemporaryFile(/tmp/multipartBody3210726880623769733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_05_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/26/3a37de9558579570cfefb8c8490ce0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4051618107395210395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_06_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/26/a6c6d464ed93cd09e0e06caf3b89779e.jpg","text":"TemporaryFile(/tmp/multipartBody603501531668262924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_06_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/26/0560198a93561f18672b9dde2ab3e488.jpg","text":"TemporaryFile(/tmp/multipartBody2167635647258205380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_05_44_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/26/860ee52ff9b91c2703c33f2b3a590640.jpg","text":"TemporaryFile(/tmp/multipartBody1960066516419203401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878913701,"filename":"image_26012025_09_05_35_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624914","file1":"1331624910","file0":"1331624897","file4":"1331624923","file5":"1331624925","file3":"1331624919"},"map_files_photo_id_array":[{"photo_id":"1331624925","filename":"file5"},{"photo_id":"1331624914","filename":"file2"},{"photo_id":"1331624923","filename":"file4"},{"photo_id":"1331624910","filename":"file1"},{"photo_id":"1331624897","filename":"file0"},{"photo_id":"1331624919","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624923":["hashtag1","hashtag2"]},{"1331624914":["hashtag1","hashtag2"]},{"1331624925":["hashtag1","hashtag2"]},{"1331624919":["hashtag1","hashtag2"]},{"1331624910":["hashtag1","hashtag2"]},{"1331624897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624923, 1331624914, 1331624925, 1331624919, 1331624910, 1331624897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64403009414673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:08:33.045642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_34_9377.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_44_10404.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_55_10362.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_07_04_9346.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_14_10335.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_34_9377.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_44_10404.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_55_10362.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_07_04_9346.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_14_10335.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_25_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5217647552490234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:08:42.953472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_34_9377.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_44_10404.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_55_10362.jpg', '/home/pi/Desktop/images/26012025/09/06/image_26012025_09_07_04_9346.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_14_10335.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_34_9377.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_44_10404.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_06_55_10362.jpg
/home/pi/Desktop/images/26012025/09/06/image_26012025_09_07_04_9346.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_14_10335.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_25_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":["1331624953","1331624956","1331624940","1331624951","1331624945","1331624948"],"photo_ids_order":["1331624940","1331624945","1331624948","1331624951","1331624953","1331624956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/529d1a2bdd76987a90c85a48f9659e2f.jpg","text":"TemporaryFile(/tmp/multipartBody1016209549898365397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_07_14_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb7e9eaaa390264147ae8646c49c80a4.jpg","text":"TemporaryFile(/tmp/multipartBody1594693243441152458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_07_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/26/60d97a45484138391ccc51f87eb82bed.jpg","text":"TemporaryFile(/tmp/multipartBody3634461132896960209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_06_34_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/26/7d95f336742bed6746e56f461fa31bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3200396357532822966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_07_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/26/9b6b0f5a3f8d64ba8459612957959ac6.jpg","text":"TemporaryFile(/tmp/multipartBody886498594119802629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_06_44_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/26/41be0023987756c2a24f530d7780137e.jpg","text":"TemporaryFile(/tmp/multipartBody6553649187591308007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737878983859,"filename":"image_26012025_09_06_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624948","file1":"1331624945","file0":"1331624940","file4":"1331624953","file5":"1331624956","file3":"1331624951"},"map_files_photo_id_array":[{"photo_id":"1331624956","filename":"file5"},{"photo_id":"1331624948","filename":"file2"},{"photo_id":"1331624953","filename":"file4"},{"photo_id":"1331624945","filename":"file1"},{"photo_id":"1331624940","filename":"file0"},{"photo_id":"1331624951","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624953":["hashtag1","hashtag2"]},{"1331624956":["hashtag1","hashtag2"]},{"1331624940":["hashtag1","hashtag2"]},{"1331624951":["hashtag1","hashtag2"]},{"1331624945":["hashtag1","hashtag2"]},{"1331624948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624953, 1331624956, 1331624940, 1331624951, 1331624945, 1331624948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.05692768096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:09:32.239438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_34_9340.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_44_10374.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_55_10377.jpg', '/home/pi/Desktop/images/26012025/09/07/image_26012025_09_08_04_9417.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_15_10394.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_34_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_34_9340.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_44_10374.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_07_55_10377.jpg
/home/pi/Desktop/images/26012025/09/07/image_26012025_09_08_04_9417.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_15_10394.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_34_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":["1331624974","1331624968","1331624977","1331624965","1331624976","1331624972"],"photo_ids_order":["1331624965","1331624968","1331624972","1331624974","1331624976","1331624977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/989cd04aad5be114a2b31104b5398c34.jpg","text":"TemporaryFile(/tmp/multipartBody369301451575254289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_08_04_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/26/e2672594aac6e4f6229cc0bc5da0620c.jpg","text":"TemporaryFile(/tmp/multipartBody5055249817144212969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_07_44_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/26/92434f1e60e2de5e4f94e6a0c9515247.jpg","text":"TemporaryFile(/tmp/multipartBody3284658340871341316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_08_34_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/26/dd48c36d3e08f8614eb10b10205e5eac.jpg","text":"TemporaryFile(/tmp/multipartBody702557778086480040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_07_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/26/5926d978ebf9b7c06691252efe35e0d4.jpg","text":"TemporaryFile(/tmp/multipartBody7968621287924528986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_08_15_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/26/193ae928afe76dd99c83f55316f0eb87.jpg","text":"TemporaryFile(/tmp/multipartBody8335260469491840853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879033185,"filename":"image_26012025_09_07_55_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331624972","file1":"1331624968","file0":"1331624965","file4":"1331624976","file5":"1331624977","file3":"1331624974"},"map_files_photo_id_array":[{"photo_id":"1331624977","filename":"file5"},{"photo_id":"1331624972","filename":"file2"},{"photo_id":"1331624976","filename":"file4"},{"photo_id":"1331624968","filename":"file1"},{"photo_id":"1331624965","filename":"file0"},{"photo_id":"1331624974","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331624974":["hashtag1","hashtag2"]},{"1331624968":["hashtag1","hashtag2"]},{"1331624977":["hashtag1","hashtag2"]},{"1331624965":["hashtag1","hashtag2"]},{"1331624976":["hashtag1","hashtag2"]},{"1331624972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331624974, 1331624968, 1331624977, 1331624965, 1331624976, 1331624972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.77270579338074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:10:32.424928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_45_10458.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_54_9425.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_09_05_10474.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_14_9361.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_24_10344.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_35_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_45_10458.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_54_9425.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_09_05_10474.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_14_9361.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_24_10344.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_35_10421.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5466868877410889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:10:42.397515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_45_10458.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_54_9425.jpg', '/home/pi/Desktop/images/26012025/09/08/image_26012025_09_09_05_10474.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_14_9361.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_24_10344.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_35_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_45_10458.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_08_54_9425.jpg
/home/pi/Desktop/images/26012025/09/08/image_26012025_09_09_05_10474.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_14_9361.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_24_10344.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_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":["1331625055","1331625064","1331625043","1331625048","1331625059","1331625052"],"photo_ids_order":["1331625043","1331625048","1331625052","1331625055","1331625059","1331625064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62d12588356b78e2730b5827e62eaf6b.jpg","text":"TemporaryFile(/tmp/multipartBody6829946699595170622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_09_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b02176ac9a23d06dc0e6a7e84528cf16.jpg","text":"TemporaryFile(/tmp/multipartBody4536939483925912215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_09_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7720c1d03fc0e93bf32322f5c99c540f.jpg","text":"TemporaryFile(/tmp/multipartBody6533757206759776932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_08_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/26/1e04a908d2aba6bcf9a9012a2d3d7d75.jpg","text":"TemporaryFile(/tmp/multipartBody721546198002657575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_08_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/26/ce2f32c840470638298e8ccb685e22c5.jpg","text":"TemporaryFile(/tmp/multipartBody799066315716053545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_09_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/26/325eb5adfa99220ea2509b3e4617e59d.jpg","text":"TemporaryFile(/tmp/multipartBody331791310762988086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879103301,"filename":"image_26012025_09_09_05_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625052","file1":"1331625048","file0":"1331625043","file4":"1331625059","file5":"1331625064","file3":"1331625055"},"map_files_photo_id_array":[{"photo_id":"1331625064","filename":"file5"},{"photo_id":"1331625052","filename":"file2"},{"photo_id":"1331625059","filename":"file4"},{"photo_id":"1331625048","filename":"file1"},{"photo_id":"1331625043","filename":"file0"},{"photo_id":"1331625055","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625055":["hashtag1","hashtag2"]},{"1331625064":["hashtag1","hashtag2"]},{"1331625043":["hashtag1","hashtag2"]},{"1331625048":["hashtag1","hashtag2"]},{"1331625059":["hashtag1","hashtag2"]},{"1331625052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625055, 1331625064, 1331625043, 1331625048, 1331625059, 1331625052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.648887157440186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:11:32.616767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_44_9388.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_55_10367.jpg', '/home/pi/Desktop/images/26012025/09/09/image_26012025_09_10_04_9344.jpg', '/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_14_10374.jpg', '/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_25_10363.jpg', '/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_34_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_44_9388.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_09_55_10367.jpg
/home/pi/Desktop/images/26012025/09/09/image_26012025_09_10_04_9344.jpg
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_14_10374.jpg
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_25_10363.jpg
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_34_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":["1331625081","1331625084","1331625077","1331625091","1331625094","1331625088"],"photo_ids_order":["1331625077","1331625081","1331625084","1331625088","1331625091","1331625094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54fe0c268702f03df87db824956a233e.jpg","text":"TemporaryFile(/tmp/multipartBody8702312588418210805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_09_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/26/d817fb7c6f0b8bc92977b973dca6e6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3796592203594136203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_10_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/26/b0294305622706da88cf6b389d3f2461.jpg","text":"TemporaryFile(/tmp/multipartBody2142971603798339639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_09_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/26/b8a6016c979904795a2d447e838d5be1.jpg","text":"TemporaryFile(/tmp/multipartBody3225163284087953046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_10_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/26/fe98716b8ee96523e7a843b0891f11ba.jpg","text":"TemporaryFile(/tmp/multipartBody3698123802723639372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_10_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/26/60de4d355369be53225349f9dd9e1251.jpg","text":"TemporaryFile(/tmp/multipartBody2241719231826842770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879153547,"filename":"image_26012025_09_10_14_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625084","file1":"1331625081","file0":"1331625077","file4":"1331625091","file5":"1331625094","file3":"1331625088"},"map_files_photo_id_array":[{"photo_id":"1331625094","filename":"file5"},{"photo_id":"1331625084","filename":"file2"},{"photo_id":"1331625091","filename":"file4"},{"photo_id":"1331625081","filename":"file1"},{"photo_id":"1331625077","filename":"file0"},{"photo_id":"1331625088","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625081":["hashtag1","hashtag2"]},{"1331625084":["hashtag1","hashtag2"]},{"1331625077":["hashtag1","hashtag2"]},{"1331625091":["hashtag1","hashtag2"]},{"1331625094":["hashtag1","hashtag2"]},{"1331625088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625081, 1331625084, 1331625077, 1331625091, 1331625094, 1331625088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73248887062073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:12:32.912753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_55_10354.jpg', '/home/pi/Desktop/images/26012025/09/10/image_26012025_09_11_04_9375.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_15_10370.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_24_9357.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_34_10358.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_45_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_55_10354.jpg
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_11_04_9375.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_15_10370.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_24_9357.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_34_10358.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_45_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.5258920192718506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:12:42.806554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_55_10354.jpg', '/home/pi/Desktop/images/26012025/09/10/image_26012025_09_11_04_9375.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_15_10370.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_24_9357.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_34_10358.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_45_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_10_55_10354.jpg
/home/pi/Desktop/images/26012025/09/10/image_26012025_09_11_04_9375.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_15_10370.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_24_9357.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_34_10358.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_45_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":["1331625160","1331625148","1331625139","1331625130","1331625155","1331625146"],"photo_ids_order":["1331625130","1331625139","1331625146","1331625148","1331625155","1331625160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c969260a5c5635b24ceaf013298b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody4656617898270601849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_11_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f50fc60334d2ab49117919a5169f63fb.jpg","text":"TemporaryFile(/tmp/multipartBody8135983060931836998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_11_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bacc6aa1a052e247273dd04823731dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1112522890595399267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_11_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/184c31f0ea65ae21feeea7f6b928661b.jpg","text":"TemporaryFile(/tmp/multipartBody7309496009324291716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_10_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/26/ed80a9ec23b2a7812a46129ca4b97d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5720828642798994174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_11_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/26/d09555d1596b0bbf07107f51bb5fab88.jpg","text":"TemporaryFile(/tmp/multipartBody650990262366414802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879223736,"filename":"image_26012025_09_11_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625146","file1":"1331625139","file0":"1331625130","file4":"1331625155","file5":"1331625160","file3":"1331625148"},"map_files_photo_id_array":[{"photo_id":"1331625160","filename":"file5"},{"photo_id":"1331625146","filename":"file2"},{"photo_id":"1331625155","filename":"file4"},{"photo_id":"1331625139","filename":"file1"},{"photo_id":"1331625130","filename":"file0"},{"photo_id":"1331625148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625160":["hashtag1","hashtag2"]},{"1331625148":["hashtag1","hashtag2"]},{"1331625139":["hashtag1","hashtag2"]},{"1331625130":["hashtag1","hashtag2"]},{"1331625155":["hashtag1","hashtag2"]},{"1331625146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625160, 1331625148, 1331625139, 1331625130, 1331625155, 1331625146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4366774559021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:13:33.170086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_54_9335.jpg', '/home/pi/Desktop/images/26012025/09/11/image_26012025_09_12_05_10480.jpg', '/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_14_9359.jpg', '/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_24_10372.jpg', '/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_35_10383.jpg', '/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_44_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_11_54_9335.jpg
/home/pi/Desktop/images/26012025/09/11/image_26012025_09_12_05_10480.jpg
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_14_9359.jpg
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_24_10372.jpg
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_35_10383.jpg
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_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":["1331625175","1331625191","1331625188","1331625179","1331625184","1331625193"],"photo_ids_order":["1331625175","1331625179","1331625184","1331625188","1331625191","1331625193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/460dadb17f6315b77eb99faba611237a.jpg","text":"TemporaryFile(/tmp/multipartBody6336051505490484452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_11_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/26/1c3bc20eab3f2f3b1f2ce1521271e339.jpg","text":"TemporaryFile(/tmp/multipartBody1924552098173322619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_12_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/26/2a355c9e08fbf3b1a9a672955123e7ba.jpg","text":"TemporaryFile(/tmp/multipartBody7339648128754626223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_12_24_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/26/2b9701597712e5be4141a7d109f5f077.jpg","text":"TemporaryFile(/tmp/multipartBody1082429310881649094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_12_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/26/75d786899dbac74c48ad59e38197b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody7224899265161983153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_12_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/26/47b8efcdee55322d82ddc55f8cca14f6.jpg","text":"TemporaryFile(/tmp/multipartBody8450134326442756153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879274091,"filename":"image_26012025_09_12_44_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625184","file1":"1331625179","file0":"1331625175","file4":"1331625191","file5":"1331625193","file3":"1331625188"},"map_files_photo_id_array":[{"photo_id":"1331625193","filename":"file5"},{"photo_id":"1331625184","filename":"file2"},{"photo_id":"1331625191","filename":"file4"},{"photo_id":"1331625179","filename":"file1"},{"photo_id":"1331625175","filename":"file0"},{"photo_id":"1331625188","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625175":["hashtag1","hashtag2"]},{"1331625191":["hashtag1","hashtag2"]},{"1331625188":["hashtag1","hashtag2"]},{"1331625179":["hashtag1","hashtag2"]},{"1331625184":["hashtag1","hashtag2"]},{"1331625193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625175, 1331625191, 1331625188, 1331625179, 1331625184, 1331625193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66547107696533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:14:32.186196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_54_10412.jpg', '/home/pi/Desktop/images/26012025/09/12/image_26012025_09_13_05_10351.jpg', '/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_14_9318.jpg', '/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_25_10451.jpg', '/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_34_9336.jpg', '/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_44_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_12_54_10412.jpg
/home/pi/Desktop/images/26012025/09/12/image_26012025_09_13_05_10351.jpg
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_14_9318.jpg
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_25_10451.jpg
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_34_9336.jpg
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_44_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331625238","1331625208","1331625210","1331625212","1331625206","1331625215"],"photo_ids_order":["1331625206","1331625208","1331625210","1331625212","1331625215","1331625238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d903356aaa4d6618009f36352753bdf9.jpg","text":"TemporaryFile(/tmp/multipartBody7093101968076549409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_13_44_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a9208590c7ba34ebd9781e21d72dd9e8.jpg","text":"TemporaryFile(/tmp/multipartBody930803740477840690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_13_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/26/166115975b7ff36473db823b6a0c7bbd.jpg","text":"TemporaryFile(/tmp/multipartBody8956375711384553329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_13_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/26/b629c36e1f4b0670fb16dca3b5c4d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody607447277476998853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_13_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/26/cecf3a5a9a85fa29a0f990b04d4a864e.jpg","text":"TemporaryFile(/tmp/multipartBody7136947363104010237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_12_54_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/26/5aeacbd17724bbbf1264ff7575cc19ea.jpg","text":"TemporaryFile(/tmp/multipartBody4658171049138096122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879333094,"filename":"image_26012025_09_13_34_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625210","file1":"1331625208","file0":"1331625206","file4":"1331625215","file5":"1331625238","file3":"1331625212"},"map_files_photo_id_array":[{"photo_id":"1331625238","filename":"file5"},{"photo_id":"1331625210","filename":"file2"},{"photo_id":"1331625215","filename":"file4"},{"photo_id":"1331625208","filename":"file1"},{"photo_id":"1331625206","filename":"file0"},{"photo_id":"1331625212","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625238":["hashtag1","hashtag2"]},{"1331625208":["hashtag1","hashtag2"]},{"1331625210":["hashtag1","hashtag2"]},{"1331625212":["hashtag1","hashtag2"]},{"1331625206":["hashtag1","hashtag2"]},{"1331625215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625238, 1331625208, 1331625210, 1331625212, 1331625206, 1331625215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79876756668091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:15:32.553860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_55_10466.jpg', '/home/pi/Desktop/images/26012025/09/13/image_26012025_09_14_04_9413.jpg', '/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_15_10466.jpg', '/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_24_9400.jpg', '/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_34_10338.jpg', '/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_45_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_13_55_10466.jpg
/home/pi/Desktop/images/26012025/09/13/image_26012025_09_14_04_9413.jpg
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_15_10466.jpg
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_24_9400.jpg
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_34_10338.jpg
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_45_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":["1331625415","1331625384","1331625411","1331625392","1331625389","1331625413"],"photo_ids_order":["1331625384","1331625389","1331625392","1331625411","1331625413","1331625415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d1b676b4cdfeffca04c8488971b60fd9.jpg","text":"TemporaryFile(/tmp/multipartBody4272694961903334136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_14_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/26/3ffad7e4e68447f7414c35dee9da5301.jpg","text":"TemporaryFile(/tmp/multipartBody1886576746743370895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_13_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/26/c9823504ab5b620b25311fcc36b35e44.jpg","text":"TemporaryFile(/tmp/multipartBody4049232065740967946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_14_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f4869fc2e7e1ee13acfe2017e2a500b.jpg","text":"TemporaryFile(/tmp/multipartBody6779870867535007139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_14_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/26/4b4ab4173f28c72cede7eec74641a778.jpg","text":"TemporaryFile(/tmp/multipartBody2783559249053740362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_14_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff91f0d3d600516e95c1f5e90564041d.jpg","text":"TemporaryFile(/tmp/multipartBody4762966365358442764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879393468,"filename":"image_26012025_09_14_34_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625392","file1":"1331625389","file0":"1331625384","file4":"1331625413","file5":"1331625415","file3":"1331625411"},"map_files_photo_id_array":[{"photo_id":"1331625415","filename":"file5"},{"photo_id":"1331625392","filename":"file2"},{"photo_id":"1331625413","filename":"file4"},{"photo_id":"1331625389","filename":"file1"},{"photo_id":"1331625384","filename":"file0"},{"photo_id":"1331625411","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625415":["hashtag1","hashtag2"]},{"1331625384":["hashtag1","hashtag2"]},{"1331625411":["hashtag1","hashtag2"]},{"1331625392":["hashtag1","hashtag2"]},{"1331625389":["hashtag1","hashtag2"]},{"1331625413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625415, 1331625384, 1331625411, 1331625392, 1331625389, 1331625413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3362295627594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:16:32.640068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_54_9372.jpg', '/home/pi/Desktop/images/26012025/09/14/image_26012025_09_15_05_10498.jpg', '/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_14_9342.jpg', '/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_24_10384.jpg', '/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_35_10346.jpg', '/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_44_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_14_54_9372.jpg
/home/pi/Desktop/images/26012025/09/14/image_26012025_09_15_05_10498.jpg
/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_14_9342.jpg
/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_24_10384.jpg
/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_35_10346.jpg
/home/pi/Desktop/images/26012025/09/15/image_26012025_09_15_44_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":["1331625538","1331625534","1331625644","1331625545","1331625542","1331625562"],"photo_ids_order":["1331625534","1331625538","1331625542","1331625545","1331625562","1331625644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/add032b907e3c58513badb2cc98e609c.jpg","text":"TemporaryFile(/tmp/multipartBody8360483483198595909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_15_05_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/26/ed7f6387089990543aa6a2ec614addd1.jpg","text":"TemporaryFile(/tmp/multipartBody1285775344170851038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_14_54_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/26/6835b12e41f0f6bd082a9a2bac3e0665.jpg","text":"TemporaryFile(/tmp/multipartBody1813447037076176762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_15_44_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/26/a767c462440338c63cc57dc161fecefc.jpg","text":"TemporaryFile(/tmp/multipartBody7625662403421592904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_15_24_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/26/b79f381892d1a0e1bfef7bda2c5c434b.jpg","text":"TemporaryFile(/tmp/multipartBody1106892758904948986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_15_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/26/651e198216996f7540e4bb354c4a6ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4216586413183122381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879453551,"filename":"image_26012025_09_15_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331625542","file1":"1331625538","file0":"1331625534","file4":"1331625562","file5":"1331625644","file3":"1331625545"},"map_files_photo_id_array":[{"photo_id":"1331625644","filename":"file5"},{"photo_id":"1331625542","filename":"file2"},{"photo_id":"1331625562","filename":"file4"},{"photo_id":"1331625538","filename":"file1"},{"photo_id":"1331625534","filename":"file0"},{"photo_id":"1331625545","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331625538":["hashtag1","hashtag2"]},{"1331625534":["hashtag1","hashtag2"]},{"1331625644":["hashtag1","hashtag2"]},{"1331625545":["hashtag1","hashtag2"]},{"1331625542":["hashtag1","hashtag2"]},{"1331625562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331625538, 1331625534, 1331625644, 1331625545, 1331625542, 1331625562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91632294654846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:17:32.888519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/15/image_26012025_09_16_05_10397.jpg', '/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_25_10500.jpg', '/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_34_9337.jpg', '/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_44_10336.jpg', '/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_55_10356.jpg', '/home/pi/Desktop/images/26012025/09/16/image_26012025_09_17_04_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/15/image_26012025_09_16_05_10397.jpg
/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_25_10500.jpg
/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_34_9337.jpg
/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_44_10336.jpg
/home/pi/Desktop/images/26012025/09/16/image_26012025_09_16_55_10356.jpg
/home/pi/Desktop/images/26012025/09/16/image_26012025_09_17_04_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":["1331626155","1331626170","1331626172","1331626166","1331626163","1331626159"],"photo_ids_order":["1331626155","1331626159","1331626163","1331626166","1331626170","1331626172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26232e5d1e885b924e3491ecc2092e39.jpg","text":"TemporaryFile(/tmp/multipartBody3393420429936795006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_16_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/26/4b08fdd8e00b3af4f7e057941d8d8aa3.jpg","text":"TemporaryFile(/tmp/multipartBody8565601192659367048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_16_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/26/7f34e7dd3f9a15282ed86883b5808243.jpg","text":"TemporaryFile(/tmp/multipartBody5861340530187486914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_17_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/26/9b438a36cdac4cb11f1a91b83d10d25a.jpg","text":"TemporaryFile(/tmp/multipartBody5356230298344690840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_16_44_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4322c8055019866a23e7e16da3f37dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4350299779306759194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_16_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/26/a51cc6cc507b1c87608afe5369ecf919.jpg","text":"TemporaryFile(/tmp/multipartBody6339181461454580051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879513816,"filename":"image_26012025_09_16_25_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626163","file1":"1331626159","file0":"1331626155","file4":"1331626170","file5":"1331626172","file3":"1331626166"},"map_files_photo_id_array":[{"photo_id":"1331626172","filename":"file5"},{"photo_id":"1331626163","filename":"file2"},{"photo_id":"1331626170","filename":"file4"},{"photo_id":"1331626159","filename":"file1"},{"photo_id":"1331626155","filename":"file0"},{"photo_id":"1331626166","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626155":["hashtag1","hashtag2"]},{"1331626170":["hashtag1","hashtag2"]},{"1331626172":["hashtag1","hashtag2"]},{"1331626166":["hashtag1","hashtag2"]},{"1331626163":["hashtag1","hashtag2"]},{"1331626159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626155, 1331626170, 1331626172, 1331626166, 1331626163, 1331626159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.418246269226074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:18:33.140127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_14_10348.jpg', '/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_25_10343.jpg', '/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_34_9335.jpg', '/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_45_10426.jpg', '/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_54_9399.jpg', '/home/pi/Desktop/images/26012025/09/17/image_26012025_09_18_04_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_14_10348.jpg
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_25_10343.jpg
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_34_9335.jpg
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_45_10426.jpg
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_17_54_9399.jpg
/home/pi/Desktop/images/26012025/09/17/image_26012025_09_18_04_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":["1331626408","1331626410","1331626407","1331626412","1331626403","1331626405"],"photo_ids_order":["1331626403","1331626405","1331626407","1331626408","1331626410","1331626412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7103bf30bff20e58cd813b8866d70eba.jpg","text":"TemporaryFile(/tmp/multipartBody5035887475309690560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_17_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/26/dd50102684810bf15cafbccad7d90ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6928915538327832866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_17_54_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/26/7e6693a56dbd9cc0b70dcfda4de92409.jpg","text":"TemporaryFile(/tmp/multipartBody7000931399132693170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_17_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/26/4df1afbc52ee14479e9c692253a7a2c2.jpg","text":"TemporaryFile(/tmp/multipartBody8454614911128532510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_18_04_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ebba0f2a24b3f865fc515d51d23c7f63.jpg","text":"TemporaryFile(/tmp/multipartBody3608816299529121396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_17_14_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/26/03fad4a9e41e99397dfc181291ddaa6b.jpg","text":"TemporaryFile(/tmp/multipartBody9138882764841757331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879574053,"filename":"image_26012025_09_17_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626407","file1":"1331626405","file0":"1331626403","file4":"1331626410","file5":"1331626412","file3":"1331626408"},"map_files_photo_id_array":[{"photo_id":"1331626412","filename":"file5"},{"photo_id":"1331626407","filename":"file2"},{"photo_id":"1331626410","filename":"file4"},{"photo_id":"1331626405","filename":"file1"},{"photo_id":"1331626403","filename":"file0"},{"photo_id":"1331626408","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626408":["hashtag1","hashtag2"]},{"1331626410":["hashtag1","hashtag2"]},{"1331626407":["hashtag1","hashtag2"]},{"1331626412":["hashtag1","hashtag2"]},{"1331626403":["hashtag1","hashtag2"]},{"1331626405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626408, 1331626410, 1331626407, 1331626412, 1331626403, 1331626405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35262846946716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:19:32.263745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_15_10491.jpg', '/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_35_10395.jpg', '/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_54_10366.jpg', '/home/pi/Desktop/images/26012025/09/18/image_26012025_09_19_05_10364.jpg', '/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_14_9402.jpg', '/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_25_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_15_10491.jpg
/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_35_10395.jpg
/home/pi/Desktop/images/26012025/09/18/image_26012025_09_18_54_10366.jpg
/home/pi/Desktop/images/26012025/09/18/image_26012025_09_19_05_10364.jpg
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_14_9402.jpg
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_25_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":["1331626440","1331626434","1331626430","1331626427","1331626436","1331626438"],"photo_ids_order":["1331626427","1331626430","1331626434","1331626436","1331626438","1331626440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8751b411b20c43946a2c576ae20b1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody609241152277417110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_19_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/26/9aa669974635fa794a5a891f2f7c1f52.jpg","text":"TemporaryFile(/tmp/multipartBody4471231564263469903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_18_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/26/489fb63ccd64b1a25492cf22883afdde.jpg","text":"TemporaryFile(/tmp/multipartBody8144304194862373067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_18_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/26/f775729172013d181ccd8a83cecdb0e7.jpg","text":"TemporaryFile(/tmp/multipartBody5099316924093327248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_18_15_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/26/43862f6e916289d21b756b97d1b527eb.jpg","text":"TemporaryFile(/tmp/multipartBody4178268417382500524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_19_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/26/8f94a4425c282476caea674d4d11ad4d.jpg","text":"TemporaryFile(/tmp/multipartBody5306565939886778887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879633183,"filename":"image_26012025_09_19_14_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626434","file1":"1331626430","file0":"1331626427","file4":"1331626438","file5":"1331626440","file3":"1331626436"},"map_files_photo_id_array":[{"photo_id":"1331626440","filename":"file5"},{"photo_id":"1331626434","filename":"file2"},{"photo_id":"1331626438","filename":"file4"},{"photo_id":"1331626430","filename":"file1"},{"photo_id":"1331626427","filename":"file0"},{"photo_id":"1331626436","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626440":["hashtag1","hashtag2"]},{"1331626434":["hashtag1","hashtag2"]},{"1331626430":["hashtag1","hashtag2"]},{"1331626427":["hashtag1","hashtag2"]},{"1331626436":["hashtag1","hashtag2"]},{"1331626438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626440, 1331626434, 1331626430, 1331626427, 1331626436, 1331626438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.6499605178833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:20:32.508746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_34_9361.jpg', '/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_44_10341.jpg', '/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_55_10426.jpg', '/home/pi/Desktop/images/26012025/09/19/image_26012025_09_20_04_9338.jpg', '/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_14_10355.jpg', '/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_44_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_34_9361.jpg
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_44_10341.jpg
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_19_55_10426.jpg
/home/pi/Desktop/images/26012025/09/19/image_26012025_09_20_04_9338.jpg
/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_14_10355.jpg
/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_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":["1331626470","1331626461","1331626457","1331626468","1331626453","1331626465"],"photo_ids_order":["1331626453","1331626457","1331626461","1331626465","1331626468","1331626470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7a61fd105c9fdafbb548af2ce89145b.jpg","text":"TemporaryFile(/tmp/multipartBody8928299743644249939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_20_44_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/26/bfdc7adcb52d106448f13ff748a53a7c.jpg","text":"TemporaryFile(/tmp/multipartBody6859744509783098078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_19_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/26/eefcee581243260c34fa7688eb6fadda.jpg","text":"TemporaryFile(/tmp/multipartBody8777101843446564026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_19_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/26/9c20d2cda3058ce97176388326fed4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5176543884965749148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_20_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e552354ad373c3ea6ba01f906aedc9a.jpg","text":"TemporaryFile(/tmp/multipartBody6494956103733038361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_19_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/26/9bdd86bb13f4381c12cb13037cc647ee.jpg","text":"TemporaryFile(/tmp/multipartBody2027553249190840426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879693435,"filename":"image_26012025_09_20_04_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626461","file1":"1331626457","file0":"1331626453","file4":"1331626468","file5":"1331626470","file3":"1331626465"},"map_files_photo_id_array":[{"photo_id":"1331626470","filename":"file5"},{"photo_id":"1331626461","filename":"file2"},{"photo_id":"1331626468","filename":"file4"},{"photo_id":"1331626457","filename":"file1"},{"photo_id":"1331626453","filename":"file0"},{"photo_id":"1331626465","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626470":["hashtag1","hashtag2"]},{"1331626461":["hashtag1","hashtag2"]},{"1331626457":["hashtag1","hashtag2"]},{"1331626468":["hashtag1","hashtag2"]},{"1331626453":["hashtag1","hashtag2"]},{"1331626465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626470, 1331626461, 1331626457, 1331626468, 1331626453, 1331626465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.262351989746094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:21:32.634966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_55_10422.jpg', '/home/pi/Desktop/images/26012025/09/20/image_26012025_09_21_04_9335.jpg', '/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_15_10395.jpg', '/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_24_9378.jpg', '/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_34_10411.jpg', '/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/20/image_26012025_09_20_55_10422.jpg
/home/pi/Desktop/images/26012025/09/20/image_26012025_09_21_04_9335.jpg
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_15_10395.jpg
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_24_9378.jpg
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_34_10411.jpg
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_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":["1331626515","1331626518","1331626484","1331626511","1331626520","1331626508"],"photo_ids_order":["1331626484","1331626508","1331626511","1331626515","1331626518","1331626520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0999fde304073ef44e62c82f6efb0a56.jpg","text":"TemporaryFile(/tmp/multipartBody5960425815647368734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_21_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/26/93f51f2fb2570caa356a119b30102e99.jpg","text":"TemporaryFile(/tmp/multipartBody5897499124906628449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_21_34_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/26/de8d59c4569017d0f671375bef9ba88e.jpg","text":"TemporaryFile(/tmp/multipartBody107466389925125911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_20_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e6ba53390ed98e367e0a3854edfa85b.jpg","text":"TemporaryFile(/tmp/multipartBody5133214265593648470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_21_15_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4ba089c3d91cfbc357a8c1a4045a119.jpg","text":"TemporaryFile(/tmp/multipartBody1237861429125348100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_21_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/26/c92ffe1cb3d8a536bf06564f95038b73.jpg","text":"TemporaryFile(/tmp/multipartBody1793536266506164367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879753549,"filename":"image_26012025_09_21_04_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626511","file1":"1331626508","file0":"1331626484","file4":"1331626518","file5":"1331626520","file3":"1331626515"},"map_files_photo_id_array":[{"photo_id":"1331626520","filename":"file5"},{"photo_id":"1331626511","filename":"file2"},{"photo_id":"1331626518","filename":"file4"},{"photo_id":"1331626508","filename":"file1"},{"photo_id":"1331626484","filename":"file0"},{"photo_id":"1331626515","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626515":["hashtag1","hashtag2"]},{"1331626518":["hashtag1","hashtag2"]},{"1331626484":["hashtag1","hashtag2"]},{"1331626511":["hashtag1","hashtag2"]},{"1331626520":["hashtag1","hashtag2"]},{"1331626508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626515, 1331626518, 1331626484, 1331626511, 1331626520, 1331626508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.730666160583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:22:32.866940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_54_9367.jpg', '/home/pi/Desktop/images/26012025/09/21/image_26012025_09_22_05_10485.jpg', '/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_24_10384.jpg', '/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_35_10340.jpg', '/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_44_9326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_21_54_9367.jpg
/home/pi/Desktop/images/26012025/09/21/image_26012025_09_22_05_10485.jpg
/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_24_10384.jpg
/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_35_10340.jpg
/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_44_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331626599","1331626602","1331626595","1331626597","1331626601"],"photo_ids_order":["1331626595","1331626597","1331626599","1331626601","1331626602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d22a459fa5bd141c4b74c0a3158376f.jpg","text":"TemporaryFile(/tmp/multipartBody8019538774766977595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879813777,"filename":"image_26012025_09_22_24_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/26/aa1a1f77ed25e159c8c9fd0651604f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4110512119703737567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879813777,"filename":"image_26012025_09_22_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3e2875292632128dc74e67a0270734fd.jpg","text":"TemporaryFile(/tmp/multipartBody7707065887370148037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879813777,"filename":"image_26012025_09_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/26/0bbe6aec9fc1f2550354cdd77f34ac13.jpg","text":"TemporaryFile(/tmp/multipartBody8964888712993795892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879813777,"filename":"image_26012025_09_22_05_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d4c51f2d94154c4e51d7ff49c4a3bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2173064678125530674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879813777,"filename":"image_26012025_09_22_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331626599","file1":"1331626597","file0":"1331626595","file4":"1331626602","file3":"1331626601"},"map_files_photo_id_array":[{"photo_id":"1331626599","filename":"file2"},{"photo_id":"1331626602","filename":"file4"},{"photo_id":"1331626597","filename":"file1"},{"photo_id":"1331626595","filename":"file0"},{"photo_id":"1331626601","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331626599":["hashtag1","hashtag2"]},{"1331626602":["hashtag1","hashtag2"]},{"1331626595":["hashtag1","hashtag2"]},{"1331626597":["hashtag1","hashtag2"]},{"1331626601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331626599, 1331626602, 1331626595, 1331626597, 1331626601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.139498710632324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:23:33.179201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_54_10376.jpg', '/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_14_9370.jpg', '/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_34_9412.jpg', '/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_44_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/22/image_26012025_09_22_54_10376.jpg
/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_14_9370.jpg
/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_34_9412.jpg
/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_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":["1331628092","1331628170","1331628241","1331628273"],"photo_ids_order":["1331628092","1331628170","1331628241","1331628273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/247c67c37a999f86b1233c8fdcbaa376.jpg","text":"TemporaryFile(/tmp/multipartBody540376624199160975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879874061,"filename":"image_26012025_09_22_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ff1025e6c8552dae723fb3a504ed21a.jpg","text":"TemporaryFile(/tmp/multipartBody3517513400756147434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879874061,"filename":"image_26012025_09_23_14_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ffe3e6c746259c8c37d940292c3274a.jpg","text":"TemporaryFile(/tmp/multipartBody5066609368938093504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879874061,"filename":"image_26012025_09_23_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/26/52ad277c1731e73edfb98dc7f97c70a6.jpg","text":"TemporaryFile(/tmp/multipartBody2980440599372344448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879874061,"filename":"image_26012025_09_23_44_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331628241","file1":"1331628170","file0":"1331628092","file3":"1331628273"},"map_files_photo_id_array":[{"photo_id":"1331628241","filename":"file2"},{"photo_id":"1331628170","filename":"file1"},{"photo_id":"1331628092","filename":"file0"},{"photo_id":"1331628273","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331628092":["hashtag1","hashtag2"]},{"1331628170":["hashtag1","hashtag2"]},{"1331628241":["hashtag1","hashtag2"]},{"1331628273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331628092, 1331628170, 1331628241, 1331628273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.58747887611389 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:24:32.300535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_55_10349.jpg', '/home/pi/Desktop/images/26012025/09/23/image_26012025_09_24_04_9366.jpg', '/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_14_10329.jpg', '/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_25_10350.jpg', '/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_34_9428.jpg', '/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_45_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/23/image_26012025_09_23_55_10349.jpg
/home/pi/Desktop/images/26012025/09/23/image_26012025_09_24_04_9366.jpg
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_14_10329.jpg
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_25_10350.jpg
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_34_9428.jpg
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_45_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":["1331628311","1331628292","1331628325","1331628340","1331628294","1331628327"],"photo_ids_order":["1331628292","1331628294","1331628311","1331628325","1331628327","1331628340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2104ac3dcecf14c95e469fde146205b.jpg","text":"TemporaryFile(/tmp/multipartBody5380374784896132231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_24_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/26/3dd4deabed40db3edb9bef331a5b2aba.jpg","text":"TemporaryFile(/tmp/multipartBody7493355622774181963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_23_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/26/78f257787de834de620e58e8ef7bb60b.jpg","text":"TemporaryFile(/tmp/multipartBody6628927046398001582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_24_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/26/7124fb4cc44aa3e294f929a37a8e460a.jpg","text":"TemporaryFile(/tmp/multipartBody6010513707697325486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_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/26/b70b1b7009eb62007cb688aa8b56bbae.jpg","text":"TemporaryFile(/tmp/multipartBody4166556220257743108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_24_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d315f0f38e63dfe0b04ba652f58d316.jpg","text":"TemporaryFile(/tmp/multipartBody940502619004122545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879933206,"filename":"image_26012025_09_24_34_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331628311","file1":"1331628294","file0":"1331628292","file4":"1331628327","file5":"1331628340","file3":"1331628325"},"map_files_photo_id_array":[{"photo_id":"1331628340","filename":"file5"},{"photo_id":"1331628311","filename":"file2"},{"photo_id":"1331628327","filename":"file4"},{"photo_id":"1331628294","filename":"file1"},{"photo_id":"1331628292","filename":"file0"},{"photo_id":"1331628325","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331628311":["hashtag1","hashtag2"]},{"1331628292":["hashtag1","hashtag2"]},{"1331628325":["hashtag1","hashtag2"]},{"1331628340":["hashtag1","hashtag2"]},{"1331628294":["hashtag1","hashtag2"]},{"1331628327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331628311, 1331628292, 1331628325, 1331628340, 1331628294, 1331628327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.12588381767273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:25:32.492619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_54_9351.jpg', '/home/pi/Desktop/images/26012025/09/24/image_26012025_09_25_04_10346.jpg', '/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_15_10413.jpg', '/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_24_9342.jpg', '/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_34_10350.jpg', '/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_24_54_9351.jpg
/home/pi/Desktop/images/26012025/09/24/image_26012025_09_25_04_10346.jpg
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_15_10413.jpg
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_24_9342.jpg
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_34_10350.jpg
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_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":["1331628989","1331629010","1331629013","1331628914","1331629015","1331628909"],"photo_ids_order":["1331628909","1331628914","1331628989","1331629010","1331629013","1331629015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15dadc468f2833e9c9d00882a593e84e.jpg","text":"TemporaryFile(/tmp/multipartBody5242462669428381878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_25_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/26/9503cb564bba96a59908c4e7b83201b0.jpg","text":"TemporaryFile(/tmp/multipartBody2423026051050736106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_25_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc0a502a57702de54a86661920ef9d11.jpg","text":"TemporaryFile(/tmp/multipartBody1766403127707800326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_25_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/26/c241d2e266991514ec2fff9aec9c3319.jpg","text":"TemporaryFile(/tmp/multipartBody6844903361399414891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_25_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2f4df3c8a889578925d67e867e904af.jpg","text":"TemporaryFile(/tmp/multipartBody779764104606157449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_25_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/26/3aafe00b63882dec9b160583c1926e84.jpg","text":"TemporaryFile(/tmp/multipartBody5084417891444503770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737879993430,"filename":"image_26012025_09_24_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331628989","file1":"1331628914","file0":"1331628909","file4":"1331629013","file5":"1331629015","file3":"1331629010"},"map_files_photo_id_array":[{"photo_id":"1331629015","filename":"file5"},{"photo_id":"1331628989","filename":"file2"},{"photo_id":"1331629013","filename":"file4"},{"photo_id":"1331628914","filename":"file1"},{"photo_id":"1331628909","filename":"file0"},{"photo_id":"1331629010","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331628989":["hashtag1","hashtag2"]},{"1331629010":["hashtag1","hashtag2"]},{"1331629013":["hashtag1","hashtag2"]},{"1331628914":["hashtag1","hashtag2"]},{"1331629015":["hashtag1","hashtag2"]},{"1331628909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331628989, 1331629010, 1331629013, 1331628914, 1331629015, 1331628909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02690768241882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:26:32.877240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_54_9379.jpg', '/home/pi/Desktop/images/26012025/09/25/image_26012025_09_26_05_10392.jpg', '/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_14_9331.jpg', '/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_24_10346.jpg', '/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_35_10528.jpg', '/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_45_9741.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_25_54_9379.jpg
/home/pi/Desktop/images/26012025/09/25/image_26012025_09_26_05_10392.jpg
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_14_9331.jpg
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_24_10346.jpg
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_35_10528.jpg
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_45_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331629076","1331629048","1331629080","1331629083","1331629085","1331629052"],"photo_ids_order":["1331629048","1331629052","1331629076","1331629080","1331629083","1331629085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6de3336417d8dc6bd433ff8c06db9673.jpg","text":"TemporaryFile(/tmp/multipartBody8130437032355469811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_26_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/26/b61256872b31ab0b349e4066cf27d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody1187463924243960951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_25_54_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1aef089957e5f4f54964cd50745685d.jpg","text":"TemporaryFile(/tmp/multipartBody1822727854578692154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_26_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/26/956e0934e7f5eede07712f14cdf61bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7540048896035436543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_26_35_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7eab9b18040ee26c9351a4557f29ce64.jpg","text":"TemporaryFile(/tmp/multipartBody331915845701836974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_26_45_9741.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de51061dd4ea083c1346462f33bfec5b.jpg","text":"TemporaryFile(/tmp/multipartBody6240100911991148867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880053803,"filename":"image_26012025_09_26_05_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629076","file1":"1331629052","file0":"1331629048","file4":"1331629083","file5":"1331629085","file3":"1331629080"},"map_files_photo_id_array":[{"photo_id":"1331629085","filename":"file5"},{"photo_id":"1331629076","filename":"file2"},{"photo_id":"1331629083","filename":"file4"},{"photo_id":"1331629052","filename":"file1"},{"photo_id":"1331629048","filename":"file0"},{"photo_id":"1331629080","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629076":["hashtag1","hashtag2"]},{"1331629048":["hashtag1","hashtag2"]},{"1331629080":["hashtag1","hashtag2"]},{"1331629083":["hashtag1","hashtag2"]},{"1331629085":["hashtag1","hashtag2"]},{"1331629052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629076, 1331629048, 1331629080, 1331629083, 1331629085, 1331629052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37706112861633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:27:32.955570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_54_9360.jpg', '/home/pi/Desktop/images/26012025/09/26/image_26012025_09_27_04_10428.jpg', '/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_15_10422.jpg', '/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_24_9341.jpg', '/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_34_10350.jpg', '/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_26_54_9360.jpg
/home/pi/Desktop/images/26012025/09/26/image_26012025_09_27_04_10428.jpg
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_15_10422.jpg
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_24_9341.jpg
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_34_10350.jpg
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_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":["1331629273","1331629312","1331629299","1331629289","1331629097","1331629101"],"photo_ids_order":["1331629097","1331629101","1331629273","1331629289","1331629299","1331629312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ba7898a6e9f2c6395efbcd18e4dc09e.jpg","text":"TemporaryFile(/tmp/multipartBody8306364537955227995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_27_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/26/5fcaa6667400463fd8ec2802330a222e.jpg","text":"TemporaryFile(/tmp/multipartBody2763548851728345724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_27_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/26/91169f2de64a8199eddce66e1a8ed330.jpg","text":"TemporaryFile(/tmp/multipartBody8180103581718169910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_27_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/26/774e2ede6ec6e57eac500b1d0b3063e9.jpg","text":"TemporaryFile(/tmp/multipartBody5136511907974623234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_27_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4dd5ab394edc7f18b34a557cfa7bb852.jpg","text":"TemporaryFile(/tmp/multipartBody722965898956183521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_26_54_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/26/e52734088c3270b14bdd44e75aaaa657.jpg","text":"TemporaryFile(/tmp/multipartBody6802680365543573514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880113866,"filename":"image_26012025_09_27_04_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629273","file1":"1331629101","file0":"1331629097","file4":"1331629299","file5":"1331629312","file3":"1331629289"},"map_files_photo_id_array":[{"photo_id":"1331629312","filename":"file5"},{"photo_id":"1331629273","filename":"file2"},{"photo_id":"1331629299","filename":"file4"},{"photo_id":"1331629101","filename":"file1"},{"photo_id":"1331629097","filename":"file0"},{"photo_id":"1331629289","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629273":["hashtag1","hashtag2"]},{"1331629312":["hashtag1","hashtag2"]},{"1331629299":["hashtag1","hashtag2"]},{"1331629289":["hashtag1","hashtag2"]},{"1331629097":["hashtag1","hashtag2"]},{"1331629101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629273, 1331629312, 1331629299, 1331629289, 1331629097, 1331629101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21550750732422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:28:32.186046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_54_9362.jpg', '/home/pi/Desktop/images/26012025/09/27/image_26012025_09_28_05_10395.jpg', '/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_15_10336.jpg', '/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_24_9334.jpg', '/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_35_10346.jpg', '/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_44_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_27_54_9362.jpg
/home/pi/Desktop/images/26012025/09/27/image_26012025_09_28_05_10395.jpg
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_15_10336.jpg
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_24_9334.jpg
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_35_10346.jpg
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_44_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":["1331629538","1331629525","1331629482","1331629530","1331629533","1331629536"],"photo_ids_order":["1331629482","1331629525","1331629530","1331629533","1331629536","1331629538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/985ce12561bb82f3774fbb5dae53aede.jpg","text":"TemporaryFile(/tmp/multipartBody308792799844030729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_28_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/26/e074c15fe333ee86dc781b5176979c52.jpg","text":"TemporaryFile(/tmp/multipartBody1210731039862937086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_28_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/26/324e94fac1f4b5b3e726728b3211a332.jpg","text":"TemporaryFile(/tmp/multipartBody1802699101383754840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_27_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/26/1f7a465c27d7b1e53d7108503318840f.jpg","text":"TemporaryFile(/tmp/multipartBody9063095425679809756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_28_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/26/1d7a25ee67c13ebc9ef2f0d16584ccac.jpg","text":"TemporaryFile(/tmp/multipartBody2318649398530921729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_28_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/26/d6a38f657a7ede002ad3a16df7aea583.jpg","text":"TemporaryFile(/tmp/multipartBody16091976752160924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880173096,"filename":"image_26012025_09_28_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629530","file1":"1331629525","file0":"1331629482","file4":"1331629536","file5":"1331629538","file3":"1331629533"},"map_files_photo_id_array":[{"photo_id":"1331629538","filename":"file5"},{"photo_id":"1331629530","filename":"file2"},{"photo_id":"1331629536","filename":"file4"},{"photo_id":"1331629525","filename":"file1"},{"photo_id":"1331629482","filename":"file0"},{"photo_id":"1331629533","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629538":["hashtag1","hashtag2"]},{"1331629525":["hashtag1","hashtag2"]},{"1331629482":["hashtag1","hashtag2"]},{"1331629530":["hashtag1","hashtag2"]},{"1331629533":["hashtag1","hashtag2"]},{"1331629536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629538, 1331629525, 1331629482, 1331629530, 1331629533, 1331629536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.994808197021484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:29:32.337068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_54_10427.jpg', '/home/pi/Desktop/images/26012025/09/28/image_26012025_09_29_05_10361.jpg', '/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_14_9388.jpg', '/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_25_10463.jpg', '/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_34_9437.jpg', '/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_44_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_28_54_10427.jpg
/home/pi/Desktop/images/26012025/09/28/image_26012025_09_29_05_10361.jpg
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_14_9388.jpg
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_25_10463.jpg
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_34_9437.jpg
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_44_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":["1331629565","1331629561","1331629563","1331629557","1331629566","1331629554"],"photo_ids_order":["1331629554","1331629557","1331629561","1331629563","1331629565","1331629566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45341abd168aa034fc15444c05d7e74d.jpg","text":"TemporaryFile(/tmp/multipartBody6999962001151219996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_29_34_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b85dbdfe37e5bb35075628e94f744d89.jpg","text":"TemporaryFile(/tmp/multipartBody7422946185690728973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_29_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/26/4246ef00b2dee00d089ffe5d32c82220.jpg","text":"TemporaryFile(/tmp/multipartBody4472637088238941423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_29_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3c97794ac80c3dc591057ea2b4155cf.jpg","text":"TemporaryFile(/tmp/multipartBody8143786021732547844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_29_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/26/3efbad547ebfac29d5a393c62273fced.jpg","text":"TemporaryFile(/tmp/multipartBody2393480287956559586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_29_44_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/26/ebc9f4e4b04c628b4abb22161ea933a0.jpg","text":"TemporaryFile(/tmp/multipartBody1202294038467380198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880233241,"filename":"image_26012025_09_28_54_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629561","file1":"1331629557","file0":"1331629554","file4":"1331629565","file5":"1331629566","file3":"1331629563"},"map_files_photo_id_array":[{"photo_id":"1331629566","filename":"file5"},{"photo_id":"1331629561","filename":"file2"},{"photo_id":"1331629565","filename":"file4"},{"photo_id":"1331629557","filename":"file1"},{"photo_id":"1331629554","filename":"file0"},{"photo_id":"1331629563","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629565":["hashtag1","hashtag2"]},{"1331629561":["hashtag1","hashtag2"]},{"1331629563":["hashtag1","hashtag2"]},{"1331629557":["hashtag1","hashtag2"]},{"1331629566":["hashtag1","hashtag2"]},{"1331629554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629565, 1331629561, 1331629563, 1331629557, 1331629566, 1331629554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.342331886291504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:30:32.550632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_55_10451.jpg', '/home/pi/Desktop/images/26012025/09/29/image_26012025_09_30_04_9329.jpg', '/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_15_10409.jpg', '/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_24_9333.jpg', '/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_34_10390.jpg', '/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_29_55_10451.jpg
/home/pi/Desktop/images/26012025/09/29/image_26012025_09_30_04_9329.jpg
/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_15_10409.jpg
/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_24_9333.jpg
/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_34_10390.jpg
/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_45_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331629613","1331629615","1331629609","1331629593","1331629605","1331629598"],"photo_ids_order":["1331629593","1331629598","1331629605","1331629609","1331629613","1331629615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b08d618ae90b2a50ed640f6e139e79a4.jpg","text":"TemporaryFile(/tmp/multipartBody2435329331306708552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_30_34_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d533007a7a212ff2ff1729e17065b17.jpg","text":"TemporaryFile(/tmp/multipartBody5900340570654690892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_30_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/26/33b5f413fd9f02053a4288b5227c302e.jpg","text":"TemporaryFile(/tmp/multipartBody5838364643554246435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_30_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2874cd5a5f0e499cbdce549840bb5c90.jpg","text":"TemporaryFile(/tmp/multipartBody1422032695872517485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_29_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/26/545b5b35b35862e02ecee5506b93a9bb.jpg","text":"TemporaryFile(/tmp/multipartBody3873695879207599470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_30_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/26/21ac4914429656d8ba430a46d83ff283.jpg","text":"TemporaryFile(/tmp/multipartBody2826263303587638068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880293469,"filename":"image_26012025_09_30_04_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629605","file1":"1331629598","file0":"1331629593","file4":"1331629613","file5":"1331629615","file3":"1331629609"},"map_files_photo_id_array":[{"photo_id":"1331629615","filename":"file5"},{"photo_id":"1331629605","filename":"file2"},{"photo_id":"1331629613","filename":"file4"},{"photo_id":"1331629598","filename":"file1"},{"photo_id":"1331629593","filename":"file0"},{"photo_id":"1331629609","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629613":["hashtag1","hashtag2"]},{"1331629615":["hashtag1","hashtag2"]},{"1331629609":["hashtag1","hashtag2"]},{"1331629593":["hashtag1","hashtag2"]},{"1331629605":["hashtag1","hashtag2"]},{"1331629598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629613, 1331629615, 1331629609, 1331629593, 1331629605, 1331629598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14872694015503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:31:32.805618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_54_9350.jpg', '/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_15_10393.jpg', '/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_24_9368.jpg', '/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_35_10470.jpg', '/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/30/image_26012025_09_30_54_9350.jpg
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_15_10393.jpg
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_24_9368.jpg
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_35_10470.jpg
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_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":["1331629668","1331629656","1331629665","1331629652","1331629661"],"photo_ids_order":["1331629652","1331629656","1331629661","1331629665","1331629668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27f5484823258403ffa7a43609824549.jpg","text":"TemporaryFile(/tmp/multipartBody1850381396966583809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880353705,"filename":"image_26012025_09_31_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/26/5cd5591f3d33ed19e5ce6ea4e2c3ceeb.jpg","text":"TemporaryFile(/tmp/multipartBody4130676644354106050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880353705,"filename":"image_26012025_09_31_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/26/320b0441daa9cd49e4ef3efe1ea26885.jpg","text":"TemporaryFile(/tmp/multipartBody2563759147224683311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880353705,"filename":"image_26012025_09_31_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/26/6e848bf60e5aaf52bd2fd2cd0e2f8713.jpg","text":"TemporaryFile(/tmp/multipartBody8605126240698264788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880353705,"filename":"image_26012025_09_30_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/26/471764dab358ad5e7c6e12535d36cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1644494733491573266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880353705,"filename":"image_26012025_09_31_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629661","file1":"1331629656","file0":"1331629652","file4":"1331629668","file3":"1331629665"},"map_files_photo_id_array":[{"photo_id":"1331629661","filename":"file2"},{"photo_id":"1331629668","filename":"file4"},{"photo_id":"1331629656","filename":"file1"},{"photo_id":"1331629652","filename":"file0"},{"photo_id":"1331629665","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629668":["hashtag1","hashtag2"]},{"1331629656":["hashtag1","hashtag2"]},{"1331629665":["hashtag1","hashtag2"]},{"1331629652":["hashtag1","hashtag2"]},{"1331629661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629668, 1331629656, 1331629665, 1331629652, 1331629661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.324209451675415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:32:33.138619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_54_10354.jpg', '/home/pi/Desktop/images/26012025/09/31/image_26012025_09_32_05_10389.jpg', '/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_14_9364.jpg', '/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_24_10367.jpg', '/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_35_10355.jpg', '/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_44_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_31_54_10354.jpg
/home/pi/Desktop/images/26012025/09/31/image_26012025_09_32_05_10389.jpg
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_14_9364.jpg
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_24_10367.jpg
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_35_10355.jpg
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_44_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":["1331629699","1331629684","1331629695","1331629698","1331629679","1331629688"],"photo_ids_order":["1331629679","1331629684","1331629688","1331629695","1331629698","1331629699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f62ee0864d242c8d7605ac17eeb10ee.jpg","text":"TemporaryFile(/tmp/multipartBody3797458841627157701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_32_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/26/35942edfda664e3cb07c558b44285a63.jpg","text":"TemporaryFile(/tmp/multipartBody8301590554948275827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_32_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/26/1bed4680dd23564cfebfa63638e50eaf.jpg","text":"TemporaryFile(/tmp/multipartBody5816555779371579340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_32_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/26/5f7aae46c37d9dd4f1a830b3a1767a77.jpg","text":"TemporaryFile(/tmp/multipartBody7707756754042479949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_32_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/26/fb862071a65083bbd00249709c75df6f.jpg","text":"TemporaryFile(/tmp/multipartBody4353158080581409964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_31_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/26/843d97a0af1a3bcc76fcca6eb9785f4e.jpg","text":"TemporaryFile(/tmp/multipartBody621047417729105115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880414093,"filename":"image_26012025_09_32_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629688","file1":"1331629684","file0":"1331629679","file4":"1331629698","file5":"1331629699","file3":"1331629695"},"map_files_photo_id_array":[{"photo_id":"1331629699","filename":"file5"},{"photo_id":"1331629688","filename":"file2"},{"photo_id":"1331629698","filename":"file4"},{"photo_id":"1331629684","filename":"file1"},{"photo_id":"1331629679","filename":"file0"},{"photo_id":"1331629695","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629699":["hashtag1","hashtag2"]},{"1331629684":["hashtag1","hashtag2"]},{"1331629695":["hashtag1","hashtag2"]},{"1331629698":["hashtag1","hashtag2"]},{"1331629679":["hashtag1","hashtag2"]},{"1331629688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629699, 1331629684, 1331629695, 1331629698, 1331629679, 1331629688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59450840950012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:33:32.349910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_55_10450.jpg', '/home/pi/Desktop/images/26012025/09/32/image_26012025_09_33_04_9344.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_14_10340.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_25_10395.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_34_9348.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_44_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_32_55_10450.jpg
/home/pi/Desktop/images/26012025/09/32/image_26012025_09_33_04_9344.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_14_10340.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_25_10395.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_34_9348.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_44_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":["1331629736","1331629741","1331629794","1331629746","1331629796","1331629790"],"photo_ids_order":["1331629736","1331629741","1331629746","1331629790","1331629794","1331629796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c5988174140e01f3c64e08c144e9dc2a.jpg","text":"TemporaryFile(/tmp/multipartBody1295513901406580115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_32_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/26/b66aceeb5766e3ff2e813035aabf0e40.jpg","text":"TemporaryFile(/tmp/multipartBody1370862148929878882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_33_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/26/248b324a9cb7d3bdc260f03c6960117a.jpg","text":"TemporaryFile(/tmp/multipartBody1473191846273518596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_33_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a02ee790b59eafd961d6bf9accfb36d5.jpg","text":"TemporaryFile(/tmp/multipartBody7420429237335804072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_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/26/3207123386cadbed72062a89e0ad118c.jpg","text":"TemporaryFile(/tmp/multipartBody5015004610188869447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_33_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0128d7aa64c68fa0b6ac34318f22df4f.jpg","text":"TemporaryFile(/tmp/multipartBody878818826380226399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880473251,"filename":"image_26012025_09_33_25_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629746","file1":"1331629741","file0":"1331629736","file4":"1331629794","file5":"1331629796","file3":"1331629790"},"map_files_photo_id_array":[{"photo_id":"1331629796","filename":"file5"},{"photo_id":"1331629746","filename":"file2"},{"photo_id":"1331629794","filename":"file4"},{"photo_id":"1331629741","filename":"file1"},{"photo_id":"1331629736","filename":"file0"},{"photo_id":"1331629790","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629736":["hashtag1","hashtag2"]},{"1331629741":["hashtag1","hashtag2"]},{"1331629794":["hashtag1","hashtag2"]},{"1331629746":["hashtag1","hashtag2"]},{"1331629796":["hashtag1","hashtag2"]},{"1331629790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629736, 1331629741, 1331629794, 1331629746, 1331629796, 1331629790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.374293088912964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:34:32.563551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_55_10339.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_34_04_9332.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_14_10359.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_25_10436.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_34_9345.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_45_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_55_10339.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_34_04_9332.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_14_10359.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_25_10436.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_34_9345.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_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.5348677635192871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:34:42.486678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_55_10339.jpg', '/home/pi/Desktop/images/26012025/09/33/image_26012025_09_34_04_9332.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_14_10359.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_25_10436.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_34_9345.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_45_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_33_55_10339.jpg
/home/pi/Desktop/images/26012025/09/33/image_26012025_09_34_04_9332.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_14_10359.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_25_10436.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_34_9345.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_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":["1331629831","1331629825","1331629828","1331629813","1331629830","1331629818"],"photo_ids_order":["1331629813","1331629818","1331629825","1331629828","1331629830","1331629831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18dc58e10c9f9c2cec6fae342fa32a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7010574890823306190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_34_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/26/c5436dda772c8b8bb547f66e3f7d4e67.jpg","text":"TemporaryFile(/tmp/multipartBody6608321879896636705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_34_14_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18730efb64164f08d507e260f859eb72.jpg","text":"TemporaryFile(/tmp/multipartBody7341166450767280207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_34_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/26/103effbff6a00993b8dcb7922d7fa268.jpg","text":"TemporaryFile(/tmp/multipartBody1285095072060266064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_33_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea8d169492de1df7ca2dcd1934f47675.jpg","text":"TemporaryFile(/tmp/multipartBody512627519803357735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_34_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0b947ca751886fbec5920860a4746d05.jpg","text":"TemporaryFile(/tmp/multipartBody347684600466451325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880543834,"filename":"image_26012025_09_34_04_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629825","file1":"1331629818","file0":"1331629813","file4":"1331629830","file5":"1331629831","file3":"1331629828"},"map_files_photo_id_array":[{"photo_id":"1331629831","filename":"file5"},{"photo_id":"1331629825","filename":"file2"},{"photo_id":"1331629830","filename":"file4"},{"photo_id":"1331629818","filename":"file1"},{"photo_id":"1331629813","filename":"file0"},{"photo_id":"1331629828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629831":["hashtag1","hashtag2"]},{"1331629825":["hashtag1","hashtag2"]},{"1331629828":["hashtag1","hashtag2"]},{"1331629813":["hashtag1","hashtag2"]},{"1331629830":["hashtag1","hashtag2"]},{"1331629818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629831, 1331629825, 1331629828, 1331629813, 1331629830, 1331629818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.891932010650635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:35:32.843392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_54_9356.jpg', '/home/pi/Desktop/images/26012025/09/34/image_26012025_09_35_04_10404.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_15_10350.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_24_9367.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_35_10432.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_44_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_34_54_9356.jpg
/home/pi/Desktop/images/26012025/09/34/image_26012025_09_35_04_10404.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_15_10350.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_24_9367.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_35_10432.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_44_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331629844","1331629838","1331629852","1331629846","1331629842","1331629850"],"photo_ids_order":["1331629838","1331629842","1331629844","1331629846","1331629850","1331629852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1c3c209ffab8720f625a0add0d39c72.jpg","text":"TemporaryFile(/tmp/multipartBody4873843286175931016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_35_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/26/9b369ebd7f8b12ada907bd83d03832c7.jpg","text":"TemporaryFile(/tmp/multipartBody9004763674181066143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_34_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/26/6c8866db2911658ff529ec5188f761cb.jpg","text":"TemporaryFile(/tmp/multipartBody3163399155296172969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_35_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c02caeb19716f0e76b04262d81072a2.jpg","text":"TemporaryFile(/tmp/multipartBody5064308985354793930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_35_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd33336cc69f5c84908e3cf69db9ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody4975616673329529337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_35_04_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/26/b78050bc6354fefebf95a00578efd8a2.jpg","text":"TemporaryFile(/tmp/multipartBody6478086135777547981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880593762,"filename":"image_26012025_09_35_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331629844","file1":"1331629842","file0":"1331629838","file4":"1331629850","file5":"1331629852","file3":"1331629846"},"map_files_photo_id_array":[{"photo_id":"1331629852","filename":"file5"},{"photo_id":"1331629844","filename":"file2"},{"photo_id":"1331629850","filename":"file4"},{"photo_id":"1331629842","filename":"file1"},{"photo_id":"1331629838","filename":"file0"},{"photo_id":"1331629846","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331629844":["hashtag1","hashtag2"]},{"1331629838":["hashtag1","hashtag2"]},{"1331629852":["hashtag1","hashtag2"]},{"1331629846":["hashtag1","hashtag2"]},{"1331629842":["hashtag1","hashtag2"]},{"1331629850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331629844, 1331629838, 1331629852, 1331629846, 1331629842, 1331629850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.127683877944946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:36:32.954801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_54_10422.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_36_05_10439.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_14_9313.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_24_10345.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_35_10419.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_44_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_54_10422.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_36_05_10439.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_14_9313.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_24_10345.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_35_10419.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_44_9452.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5295250415802002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:36:42.894264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_54_10422.jpg', '/home/pi/Desktop/images/26012025/09/35/image_26012025_09_36_05_10439.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_14_9313.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_24_10345.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_35_10419.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_44_9452.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_35_54_10422.jpg
/home/pi/Desktop/images/26012025/09/35/image_26012025_09_36_05_10439.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_14_9313.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_24_10345.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_35_10419.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_44_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331631262","1331631271","1331631274","1331631272","1331631266","1331631269"],"photo_ids_order":["1331631262","1331631266","1331631269","1331631271","1331631272","1331631274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/772c311c9269a9f861092f1a3d021aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6933524497504387704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_35_54_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/26/77b2005d39225cfc84e1dcf86c60c271.jpg","text":"TemporaryFile(/tmp/multipartBody2701373127049378316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_36_24_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/26/83f779dbdee1b00ef47fa6df2c9208f6.jpg","text":"TemporaryFile(/tmp/multipartBody90894980954828494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_36_44_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c247974e5138014930f93c06d253878b.jpg","text":"TemporaryFile(/tmp/multipartBody7557329929217484847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_36_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/26/822f2d1ed473545d4153f296ff62ee40.jpg","text":"TemporaryFile(/tmp/multipartBody6541273064613385506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_36_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/26/bb4d7b0767367619218c12e7967b7c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8475700637001407840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880663799,"filename":"image_26012025_09_36_14_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331631269","file1":"1331631266","file0":"1331631262","file4":"1331631272","file5":"1331631274","file3":"1331631271"},"map_files_photo_id_array":[{"photo_id":"1331631274","filename":"file5"},{"photo_id":"1331631269","filename":"file2"},{"photo_id":"1331631272","filename":"file4"},{"photo_id":"1331631266","filename":"file1"},{"photo_id":"1331631262","filename":"file0"},{"photo_id":"1331631271","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331631262":["hashtag1","hashtag2"]},{"1331631271":["hashtag1","hashtag2"]},{"1331631274":["hashtag1","hashtag2"]},{"1331631272":["hashtag1","hashtag2"]},{"1331631266":["hashtag1","hashtag2"]},{"1331631269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331631262, 1331631271, 1331631274, 1331631272, 1331631266, 1331631269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54187798500061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:37:32.247210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_55_10356.jpg', '/home/pi/Desktop/images/26012025/09/36/image_26012025_09_37_04_9346.jpg', '/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_14_10326.jpg', '/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_34_9382.jpg', '/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_44_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_36_55_10356.jpg
/home/pi/Desktop/images/26012025/09/36/image_26012025_09_37_04_9346.jpg
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_14_10326.jpg
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_34_9382.jpg
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_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":["1331631314","1331631682","1331631583","1331631491","1331631686"],"photo_ids_order":["1331631314","1331631491","1331631583","1331631682","1331631686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/504811048e05d3da986b96e9e09fe6c0.jpg","text":"TemporaryFile(/tmp/multipartBody4819413182334038585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880713137,"filename":"image_26012025_09_36_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/26/c79ecb8968d996db9254f1fba102b660.jpg","text":"TemporaryFile(/tmp/multipartBody363645551028781154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880713137,"filename":"image_26012025_09_37_34_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c2ac530c022f421f922ce625078958d.jpg","text":"TemporaryFile(/tmp/multipartBody8017163473929719785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880713137,"filename":"image_26012025_09_37_14_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/132fd59d45bb37417c8242ff179af405.jpg","text":"TemporaryFile(/tmp/multipartBody8286868806808901331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880713137,"filename":"image_26012025_09_37_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/26/e554c6da395521461c2dc32c0bb3c527.jpg","text":"TemporaryFile(/tmp/multipartBody572821344516149283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880713137,"filename":"image_26012025_09_37_44_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331631583","file1":"1331631491","file0":"1331631314","file4":"1331631686","file3":"1331631682"},"map_files_photo_id_array":[{"photo_id":"1331631583","filename":"file2"},{"photo_id":"1331631686","filename":"file4"},{"photo_id":"1331631491","filename":"file1"},{"photo_id":"1331631314","filename":"file0"},{"photo_id":"1331631682","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331631314":["hashtag1","hashtag2"]},{"1331631682":["hashtag1","hashtag2"]},{"1331631583":["hashtag1","hashtag2"]},{"1331631491":["hashtag1","hashtag2"]},{"1331631686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331631314, 1331631682, 1331631583, 1331631491, 1331631686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.79926657676697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:38:33.583532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_55_10421.jpg', '/home/pi/Desktop/images/26012025/09/37/image_26012025_09_38_04_9359.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_15_10482.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_24_9354.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_34_10352.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_55_10421.jpg
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_38_04_9359.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_15_10482.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_24_9354.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_34_10352.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_45_10427.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5573267936706543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:38:43.375882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_55_10421.jpg', '/home/pi/Desktop/images/26012025/09/37/image_26012025_09_38_04_9359.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_15_10482.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_24_9354.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_34_10352.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_45_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_37_55_10421.jpg
/home/pi/Desktop/images/26012025/09/37/image_26012025_09_38_04_9359.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_15_10482.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_24_9354.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_34_10352.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_45_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331631905","1331631908","1331631892","1331631913","1331631882","1331631900"],"photo_ids_order":["1331631882","1331631892","1331631900","1331631905","1331631908","1331631913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c753d85d16d614bf2431e7ad1a13094e.jpg","text":"TemporaryFile(/tmp/multipartBody4395328188183830855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_38_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/26/c3686cd9184648fbf4342a5fb04cb12f.jpg","text":"TemporaryFile(/tmp/multipartBody7514756291885132382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_38_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5f74f311b9e966e7c374dd19fbfea1b.jpg","text":"TemporaryFile(/tmp/multipartBody3800699862953737499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_38_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3e75aaa286eb12831501f64a83414328.jpg","text":"TemporaryFile(/tmp/multipartBody6537367570884500751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_38_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/26/b5fbdd1a75ab30b4c090ad1ecb30a060.jpg","text":"TemporaryFile(/tmp/multipartBody5727543087958025291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_37_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/26/7e212d273ecc729f4f48085d6648f40b.jpg","text":"TemporaryFile(/tmp/multipartBody1819571017681677048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880784285,"filename":"image_26012025_09_38_15_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331631900","file1":"1331631892","file0":"1331631882","file4":"1331631908","file5":"1331631913","file3":"1331631905"},"map_files_photo_id_array":[{"photo_id":"1331631913","filename":"file5"},{"photo_id":"1331631900","filename":"file2"},{"photo_id":"1331631908","filename":"file4"},{"photo_id":"1331631892","filename":"file1"},{"photo_id":"1331631882","filename":"file0"},{"photo_id":"1331631905","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331631905":["hashtag1","hashtag2"]},{"1331631908":["hashtag1","hashtag2"]},{"1331631892":["hashtag1","hashtag2"]},{"1331631913":["hashtag1","hashtag2"]},{"1331631882":["hashtag1","hashtag2"]},{"1331631900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331631905, 1331631908, 1331631892, 1331631913, 1331631882, 1331631900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48527789115906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:39:32.800627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_54_9352.jpg', '/home/pi/Desktop/images/26012025/09/38/image_26012025_09_39_05_10414.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_14_9396.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_24_10359.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_35_10470.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_44_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_38_54_9352.jpg
/home/pi/Desktop/images/26012025/09/38/image_26012025_09_39_05_10414.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_14_9396.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_24_10359.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_35_10470.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_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":["1331631959","1331631970","1331631964","1331631967","1331631966","1331631968"],"photo_ids_order":["1331631959","1331631964","1331631966","1331631967","1331631968","1331631970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/314224ea49cca018c736f93fb454ffab.jpg","text":"TemporaryFile(/tmp/multipartBody1379139790360738633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_38_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7fcbded695b4332a59e90e84c76424b3.jpg","text":"TemporaryFile(/tmp/multipartBody3592845961046518324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_39_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/26/e8756d7a62389ca7ede275dc5a4d77ab.jpg","text":"TemporaryFile(/tmp/multipartBody9066474072380088209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_39_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/26/51e9a3f8d75f12ba79641303925b9b90.jpg","text":"TemporaryFile(/tmp/multipartBody962984785041575881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_39_24_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/26/4b92d2e99f8d35925814808debffb0fc.jpg","text":"TemporaryFile(/tmp/multipartBody183250297892241257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_39_14_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3aee248c3c48a692569175c3f352e26.jpg","text":"TemporaryFile(/tmp/multipartBody3133531781466911120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880833718,"filename":"image_26012025_09_39_35_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331631966","file1":"1331631964","file0":"1331631959","file4":"1331631968","file5":"1331631970","file3":"1331631967"},"map_files_photo_id_array":[{"photo_id":"1331631970","filename":"file5"},{"photo_id":"1331631966","filename":"file2"},{"photo_id":"1331631968","filename":"file4"},{"photo_id":"1331631964","filename":"file1"},{"photo_id":"1331631959","filename":"file0"},{"photo_id":"1331631967","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331631959":["hashtag1","hashtag2"]},{"1331631970":["hashtag1","hashtag2"]},{"1331631964":["hashtag1","hashtag2"]},{"1331631967":["hashtag1","hashtag2"]},{"1331631966":["hashtag1","hashtag2"]},{"1331631968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331631959, 1331631970, 1331631964, 1331631967, 1331631966, 1331631968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49852657318115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:40:33.069630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_55_10428.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_40_04_9328.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_14_10348.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_25_10376.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_44_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_55_10428.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_40_04_9328.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_14_10348.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_25_10376.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_44_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5130603313446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:40:43.014945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_55_10428.jpg', '/home/pi/Desktop/images/26012025/09/39/image_26012025_09_40_04_9328.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_14_10348.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_25_10376.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_44_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_39_55_10428.jpg
/home/pi/Desktop/images/26012025/09/39/image_26012025_09_40_04_9328.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_14_10348.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_25_10376.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_44_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":["1331632041","1331632026","1331632035","1331632037","1331632031"],"photo_ids_order":["1331632026","1331632031","1331632035","1331632037","1331632041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22214cbde211bd2b818549821cf04932.jpg","text":"TemporaryFile(/tmp/multipartBody6900985428877377619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880903898,"filename":"image_26012025_09_40_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/26/b899ec10962c3fefe73e6e096d5d3b22.jpg","text":"TemporaryFile(/tmp/multipartBody7752585563734152400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880903898,"filename":"image_26012025_09_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/26/1a3a676b1d6a76b146a166a079ab9109.jpg","text":"TemporaryFile(/tmp/multipartBody9632562946008893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880903898,"filename":"image_26012025_09_40_14_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/26/88449bd9b714294db0fb4b1dab3e3699.jpg","text":"TemporaryFile(/tmp/multipartBody7263834489994968412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880903898,"filename":"image_26012025_09_40_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/26/5720230399b6c6bc00b4a1d9b389b0da.jpg","text":"TemporaryFile(/tmp/multipartBody7716100978395623529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880903898,"filename":"image_26012025_09_40_04_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632035","file1":"1331632031","file0":"1331632026","file4":"1331632041","file3":"1331632037"},"map_files_photo_id_array":[{"photo_id":"1331632035","filename":"file2"},{"photo_id":"1331632041","filename":"file4"},{"photo_id":"1331632031","filename":"file1"},{"photo_id":"1331632026","filename":"file0"},{"photo_id":"1331632037","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632041":["hashtag1","hashtag2"]},{"1331632026":["hashtag1","hashtag2"]},{"1331632035":["hashtag1","hashtag2"]},{"1331632037":["hashtag1","hashtag2"]},{"1331632031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632041, 1331632026, 1331632035, 1331632037, 1331632031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.08552265167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:41:32.280920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_55_10454.jpg', '/home/pi/Desktop/images/26012025/09/40/image_26012025_09_41_04_9402.jpg', '/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_15_10375.jpg', '/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_24_9353.jpg', '/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_34_10353.jpg', '/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_40_55_10454.jpg
/home/pi/Desktop/images/26012025/09/40/image_26012025_09_41_04_9402.jpg
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_15_10375.jpg
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_24_9353.jpg
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_34_10353.jpg
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_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":["1331632112","1331632060","1331632121","1331632115","1331632124","1331632118"],"photo_ids_order":["1331632060","1331632112","1331632115","1331632118","1331632121","1331632124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3af5bbfc291673db2dfdaee2882884f1.jpg","text":"TemporaryFile(/tmp/multipartBody6948271890014112825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_41_04_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/26/e80916b2c26827440bbffc5cc2e0d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3989934707948005330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_40_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70b05bbeee2b1d5fd240f96be6519009.jpg","text":"TemporaryFile(/tmp/multipartBody8070991012978253635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_41_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/26/d8c3da97d9f481ebbb02fa29a0b9e9de.jpg","text":"TemporaryFile(/tmp/multipartBody5197282362839261090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_41_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05356a4782227095970823ce1d2fe620.jpg","text":"TemporaryFile(/tmp/multipartBody5390623456218316723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_41_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/26/7c1bcc2578b7878b69c783fd2cef943c.jpg","text":"TemporaryFile(/tmp/multipartBody2103957294493350944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737880953186,"filename":"image_26012025_09_41_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632115","file1":"1331632112","file0":"1331632060","file4":"1331632121","file5":"1331632124","file3":"1331632118"},"map_files_photo_id_array":[{"photo_id":"1331632124","filename":"file5"},{"photo_id":"1331632115","filename":"file2"},{"photo_id":"1331632121","filename":"file4"},{"photo_id":"1331632112","filename":"file1"},{"photo_id":"1331632060","filename":"file0"},{"photo_id":"1331632118","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632112":["hashtag1","hashtag2"]},{"1331632060":["hashtag1","hashtag2"]},{"1331632121":["hashtag1","hashtag2"]},{"1331632115":["hashtag1","hashtag2"]},{"1331632124":["hashtag1","hashtag2"]},{"1331632118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632112, 1331632060, 1331632121, 1331632115, 1331632124, 1331632118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52398109436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:42:34.121879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_54_9351.jpg', '/home/pi/Desktop/images/26012025/09/41/image_26012025_09_42_04_10396.jpg', '/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_15_10330.jpg', '/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_24_9358.jpg', '/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_35_10395.jpg', '/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_45_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_41_54_9351.jpg
/home/pi/Desktop/images/26012025/09/41/image_26012025_09_42_04_10396.jpg
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_15_10330.jpg
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_24_9358.jpg
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_35_10395.jpg
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_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":["1331632360","1331632348","1331632309","1331632300","1331632305","1331632358"],"photo_ids_order":["1331632300","1331632305","1331632309","1331632348","1331632358","1331632360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3a7584f72f4ba36c6f11f0f189571c6.jpg","text":"TemporaryFile(/tmp/multipartBody7191492207072375569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_42_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/26/efd5095ff4b4ee4f1ee65e0e30fc224a.jpg","text":"TemporaryFile(/tmp/multipartBody966092133663856637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_42_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/26/77d583c6eb6baaa209628caaf74ca517.jpg","text":"TemporaryFile(/tmp/multipartBody1204012646248461643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_42_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/26/d9ed3dc1f413d4b0f6a49527005999ed.jpg","text":"TemporaryFile(/tmp/multipartBody5335101393733642611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_41_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/26/f9f023ea072eefb607e53d977a6b717b.jpg","text":"TemporaryFile(/tmp/multipartBody2872622686115240154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_42_04_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/26/1440a33624f7832aefa052cdd00a6a56.jpg","text":"TemporaryFile(/tmp/multipartBody8705840641788512702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881015052,"filename":"image_26012025_09_42_35_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632309","file1":"1331632305","file0":"1331632300","file4":"1331632358","file5":"1331632360","file3":"1331632348"},"map_files_photo_id_array":[{"photo_id":"1331632360","filename":"file5"},{"photo_id":"1331632309","filename":"file2"},{"photo_id":"1331632358","filename":"file4"},{"photo_id":"1331632305","filename":"file1"},{"photo_id":"1331632300","filename":"file0"},{"photo_id":"1331632348","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632360":["hashtag1","hashtag2"]},{"1331632348":["hashtag1","hashtag2"]},{"1331632309":["hashtag1","hashtag2"]},{"1331632300":["hashtag1","hashtag2"]},{"1331632305":["hashtag1","hashtag2"]},{"1331632358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632360, 1331632348, 1331632309, 1331632300, 1331632305, 1331632358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.282655239105225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:43:33.269439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_54_9388.jpg', '/home/pi/Desktop/images/26012025/09/42/image_26012025_09_43_05_10354.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_14_9497.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_25_10426.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_34_9332.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_44_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_42_54_9388.jpg
/home/pi/Desktop/images/26012025/09/42/image_26012025_09_43_05_10354.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_14_9497.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_25_10426.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_34_9332.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_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":["1331632420","1331632423","1331632426","1331632398","1331632428","1331632394"],"photo_ids_order":["1331632394","1331632398","1331632420","1331632423","1331632426","1331632428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d9d1d4a2ff392db115db5a69be852ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6708942485777290528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_43_14_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/26/867596ce77d9f43f6c5b17d15b5291b6.jpg","text":"TemporaryFile(/tmp/multipartBody6822775512133959263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_43_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/26/057971e97503235036ebb812005c594e.jpg","text":"TemporaryFile(/tmp/multipartBody1070472787470609030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_43_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/26/77086fcb3ab96bb18fa84ba4f16cff45.jpg","text":"TemporaryFile(/tmp/multipartBody1785661905700364752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_43_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/26/d5ef3962374197cdd8d4a4adf25fcfe6.jpg","text":"TemporaryFile(/tmp/multipartBody4510608346564989544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_43_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/26/98a04d1aea47007f2cc514fa738d3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7007175794127905748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881074181,"filename":"image_26012025_09_42_54_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632420","file1":"1331632398","file0":"1331632394","file4":"1331632426","file5":"1331632428","file3":"1331632423"},"map_files_photo_id_array":[{"photo_id":"1331632428","filename":"file5"},{"photo_id":"1331632420","filename":"file2"},{"photo_id":"1331632426","filename":"file4"},{"photo_id":"1331632398","filename":"file1"},{"photo_id":"1331632394","filename":"file0"},{"photo_id":"1331632423","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632420":["hashtag1","hashtag2"]},{"1331632423":["hashtag1","hashtag2"]},{"1331632426":["hashtag1","hashtag2"]},{"1331632398":["hashtag1","hashtag2"]},{"1331632428":["hashtag1","hashtag2"]},{"1331632394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632420, 1331632423, 1331632426, 1331632398, 1331632428, 1331632394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34459137916565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:44:32.500709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_55_10385.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_44_04_9355.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_14_10352.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_25_10367.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_34_9387.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_44_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_55_10385.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_44_04_9355.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_14_10352.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_25_10367.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_34_9387.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_44_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.5193667411804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:44:42.373021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_55_10385.jpg', '/home/pi/Desktop/images/26012025/09/43/image_26012025_09_44_04_9355.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_14_10352.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_25_10367.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_34_9387.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_44_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_43_55_10385.jpg
/home/pi/Desktop/images/26012025/09/43/image_26012025_09_44_04_9355.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_14_10352.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_25_10367.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_34_9387.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_44_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":["1331632492","1331632534","1331632551","1331632518","1331632565","1331632529"],"photo_ids_order":["1331632492","1331632518","1331632529","1331632534","1331632551","1331632565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/377ef822c4e13cd8e26a62cb1feb235d.jpg","text":"TemporaryFile(/tmp/multipartBody7807664684241040999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_43_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2f5478db9ee78678e338bc430270e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5219555063195313951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_44_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/26/97a0b7c6d1486bf98e57670d62fc0c24.jpg","text":"TemporaryFile(/tmp/multipartBody5532328097539477818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_44_34_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee63768e6eb48bf585abf6fdf8e5e337.jpg","text":"TemporaryFile(/tmp/multipartBody6186493011905007838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_44_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/26/f703fb26b9ad22f81c6af0acbb571783.jpg","text":"TemporaryFile(/tmp/multipartBody1034671080594946623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_44_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bde4b212e8e0e5d58546a05bf042024b.jpg","text":"TemporaryFile(/tmp/multipartBody4674418129576488721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881143311,"filename":"image_26012025_09_44_14_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632529","file1":"1331632518","file0":"1331632492","file4":"1331632551","file5":"1331632565","file3":"1331632534"},"map_files_photo_id_array":[{"photo_id":"1331632565","filename":"file5"},{"photo_id":"1331632529","filename":"file2"},{"photo_id":"1331632551","filename":"file4"},{"photo_id":"1331632518","filename":"file1"},{"photo_id":"1331632492","filename":"file0"},{"photo_id":"1331632534","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632492":["hashtag1","hashtag2"]},{"1331632534":["hashtag1","hashtag2"]},{"1331632551":["hashtag1","hashtag2"]},{"1331632518":["hashtag1","hashtag2"]},{"1331632565":["hashtag1","hashtag2"]},{"1331632529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632492, 1331632534, 1331632551, 1331632518, 1331632565, 1331632529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57225012779236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:45:32.780398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_55_10396.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_45_04_9338.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_15_10479.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_24_9360.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_34_10346.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_55_10396.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_45_04_9338.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_15_10479.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_24_9360.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_34_10346.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_45_10352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5275352001190186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:45:42.717044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_55_10396.jpg', '/home/pi/Desktop/images/26012025/09/44/image_26012025_09_45_04_9338.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_15_10479.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_24_9360.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_34_10346.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_44_55_10396.jpg
/home/pi/Desktop/images/26012025/09/44/image_26012025_09_45_04_9338.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_15_10479.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_24_9360.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_34_10346.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_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":["1331632660","1331632630","1331632638","1331632641","1331632655","1331632625"],"photo_ids_order":["1331632625","1331632630","1331632638","1331632641","1331632655","1331632660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f2130760838927c2ce54fd2327697e5.jpg","text":"TemporaryFile(/tmp/multipartBody8413768544768691283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_45_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/26/4364063741ac8a089edeedee9edf0e8c.jpg","text":"TemporaryFile(/tmp/multipartBody5094913726638633295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_45_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e353ba62f331eca68882fcddaac0029.jpg","text":"TemporaryFile(/tmp/multipartBody4946284298419979515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_45_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/26/ef3f9837453566b0e6657f09a3fed3a4.jpg","text":"TemporaryFile(/tmp/multipartBody2239458776586961690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_45_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/26/3a64ecc5538573781b96d54c217280cc.jpg","text":"TemporaryFile(/tmp/multipartBody5603572302825578753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_45_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/26/cb7f0e4f678a7c231357bf5410bb3f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7434347121731184050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881203628,"filename":"image_26012025_09_44_55_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632638","file1":"1331632630","file0":"1331632625","file4":"1331632655","file5":"1331632660","file3":"1331632641"},"map_files_photo_id_array":[{"photo_id":"1331632660","filename":"file5"},{"photo_id":"1331632638","filename":"file2"},{"photo_id":"1331632655","filename":"file4"},{"photo_id":"1331632630","filename":"file1"},{"photo_id":"1331632625","filename":"file0"},{"photo_id":"1331632641","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632660":["hashtag1","hashtag2"]},{"1331632630":["hashtag1","hashtag2"]},{"1331632638":["hashtag1","hashtag2"]},{"1331632641":["hashtag1","hashtag2"]},{"1331632655":["hashtag1","hashtag2"]},{"1331632625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632660, 1331632630, 1331632638, 1331632641, 1331632655, 1331632625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.410595417022705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:46:32.875698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_54_9346.jpg', '/home/pi/Desktop/images/26012025/09/45/image_26012025_09_46_04_10401.jpg', '/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_15_10353.jpg', '/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_24_9366.jpg', '/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_35_10380.jpg', '/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_44_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_45_54_9346.jpg
/home/pi/Desktop/images/26012025/09/45/image_26012025_09_46_04_10401.jpg
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_15_10353.jpg
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_24_9366.jpg
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_35_10380.jpg
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_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":["1331632750","1331632702","1331632692","1331632688","1331632724","1331632706"],"photo_ids_order":["1331632688","1331632692","1331632702","1331632706","1331632724","1331632750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/24b4f75c8ecb00a44d21361f22721537.jpg","text":"TemporaryFile(/tmp/multipartBody5927802798574448211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_46_44_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/477f972eaf7deadeb13da79f4b230223.jpg","text":"TemporaryFile(/tmp/multipartBody400842459143600583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_46_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/26/8a613ddf39ec543a309220518f66b2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7342426249174342947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_46_04_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/26/6a9491033e7730218db4f8609792e36b.jpg","text":"TemporaryFile(/tmp/multipartBody5795775716084898139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_45_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/26/0fed795a0c8fa435a6126a8637a003d1.jpg","text":"TemporaryFile(/tmp/multipartBody6232336835458193102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_46_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/26/af2ddd02d77f158370b81decee81b3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3400161351446487034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881253790,"filename":"image_26012025_09_46_24_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331632702","file1":"1331632692","file0":"1331632688","file4":"1331632724","file5":"1331632750","file3":"1331632706"},"map_files_photo_id_array":[{"photo_id":"1331632750","filename":"file5"},{"photo_id":"1331632702","filename":"file2"},{"photo_id":"1331632724","filename":"file4"},{"photo_id":"1331632692","filename":"file1"},{"photo_id":"1331632688","filename":"file0"},{"photo_id":"1331632706","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331632750":["hashtag1","hashtag2"]},{"1331632702":["hashtag1","hashtag2"]},{"1331632692":["hashtag1","hashtag2"]},{"1331632688":["hashtag1","hashtag2"]},{"1331632724":["hashtag1","hashtag2"]},{"1331632706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331632750, 1331632702, 1331632692, 1331632688, 1331632724, 1331632706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.824532985687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:47:33.103214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_54_10343.jpg', '/home/pi/Desktop/images/26012025/09/46/image_26012025_09_47_05_10422.jpg', '/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_14_9340.jpg', '/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_24_10385.jpg', '/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_35_10396.jpg', '/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_44_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_46_54_10343.jpg
/home/pi/Desktop/images/26012025/09/46/image_26012025_09_47_05_10422.jpg
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_14_9340.jpg
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_24_10385.jpg
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_35_10396.jpg
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_44_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331633454","1331632927","1331633448","1331633282","1331633444","1331633452"],"photo_ids_order":["1331632927","1331633282","1331633444","1331633448","1331633452","1331633454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69322b6cd0ae1823e63136bd11fe41e7.jpg","text":"TemporaryFile(/tmp/multipartBody5849197793797024792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_47_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f57290d61ba17d55bf334b0ba968c52c.jpg","text":"TemporaryFile(/tmp/multipartBody2316546081276854197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_46_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/26/ace63c6422add580f575f68f96d8d881.jpg","text":"TemporaryFile(/tmp/multipartBody2022717628193357495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_47_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e03b32bc25ed0f61b0ee604bb548b668.jpg","text":"TemporaryFile(/tmp/multipartBody4201173056685850560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_47_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/26/b8c52f830cf9159c77cb9892bd8bb8a0.jpg","text":"TemporaryFile(/tmp/multipartBody973201091145439121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_47_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/26/940a0b7911de640b96a4a5850a1ded48.jpg","text":"TemporaryFile(/tmp/multipartBody2456463543114459554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881314020,"filename":"image_26012025_09_47_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331633444","file1":"1331633282","file0":"1331632927","file4":"1331633452","file5":"1331633454","file3":"1331633448"},"map_files_photo_id_array":[{"photo_id":"1331633454","filename":"file5"},{"photo_id":"1331633444","filename":"file2"},{"photo_id":"1331633452","filename":"file4"},{"photo_id":"1331633282","filename":"file1"},{"photo_id":"1331632927","filename":"file0"},{"photo_id":"1331633448","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331633454":["hashtag1","hashtag2"]},{"1331632927":["hashtag1","hashtag2"]},{"1331633448":["hashtag1","hashtag2"]},{"1331633282":["hashtag1","hashtag2"]},{"1331633444":["hashtag1","hashtag2"]},{"1331633452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331633454, 1331632927, 1331633448, 1331633282, 1331633444, 1331633452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6821084022522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:48:32.218316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_55_10397.jpg', '/home/pi/Desktop/images/26012025/09/47/image_26012025_09_48_04_9360.jpg', '/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_14_10353.jpg', '/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_25_10429.jpg', '/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_44_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_47_55_10397.jpg
/home/pi/Desktop/images/26012025/09/47/image_26012025_09_48_04_9360.jpg
/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_14_10353.jpg
/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_25_10429.jpg
/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_44_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":["1331633653","1331633475","1331633471","1331633587","1331633473"],"photo_ids_order":["1331633471","1331633473","1331633475","1331633587","1331633653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2bf84e222cad75e094210c4f16f0ee48.jpg","text":"TemporaryFile(/tmp/multipartBody4825629089971025253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881373108,"filename":"image_26012025_09_48_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb437895acb1d26fb861cef31370821e.jpg","text":"TemporaryFile(/tmp/multipartBody3650107081322762707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881373108,"filename":"image_26012025_09_48_14_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54336601669d61d4d2453491f2b2538c.jpg","text":"TemporaryFile(/tmp/multipartBody886568024669689924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881373108,"filename":"image_26012025_09_47_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/26/9d765e58241e70939c7ddd5775d2e425.jpg","text":"TemporaryFile(/tmp/multipartBody4923162061553091999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881373108,"filename":"image_26012025_09_48_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/26/a7d30f05279c9fc91d7996bbca61345b.jpg","text":"TemporaryFile(/tmp/multipartBody6412521783301876396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881373108,"filename":"image_26012025_09_48_04_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331633475","file1":"1331633473","file0":"1331633471","file4":"1331633653","file3":"1331633587"},"map_files_photo_id_array":[{"photo_id":"1331633475","filename":"file2"},{"photo_id":"1331633653","filename":"file4"},{"photo_id":"1331633473","filename":"file1"},{"photo_id":"1331633471","filename":"file0"},{"photo_id":"1331633587","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331633653":["hashtag1","hashtag2"]},{"1331633475":["hashtag1","hashtag2"]},{"1331633471":["hashtag1","hashtag2"]},{"1331633587":["hashtag1","hashtag2"]},{"1331633473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331633653, 1331633475, 1331633471, 1331633587, 1331633473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.71820569038391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:49:32.506342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_55_10399.jpg', '/home/pi/Desktop/images/26012025/09/48/image_26012025_09_49_04_9348.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_15_10491.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_24_9346.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_34_10337.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/48/image_26012025_09_48_55_10399.jpg
/home/pi/Desktop/images/26012025/09/48/image_26012025_09_49_04_9348.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_15_10491.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_24_9346.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_34_10337.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_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":["1331633959","1331633949","1331633960","1331633954","1331633951","1331633956"],"photo_ids_order":["1331633949","1331633951","1331633954","1331633956","1331633959","1331633960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2cd210c17a07481809c05e29eecf683b.jpg","text":"TemporaryFile(/tmp/multipartBody7561561836330781203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_49_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/26/7322db6c17c46f58ba5a97823738d2df.jpg","text":"TemporaryFile(/tmp/multipartBody2538204946867966698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_48_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/26/80e61c670eb21460f88b6917f4fdb21e.jpg","text":"TemporaryFile(/tmp/multipartBody7634737964930170986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_49_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/26/839ec2cc5f1b01b9b8a56c3ed92ea18e.jpg","text":"TemporaryFile(/tmp/multipartBody3499556728704643667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_49_15_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/26/c84c93a19374bda61e6249e6c7b71a98.jpg","text":"TemporaryFile(/tmp/multipartBody1600528563028752481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_49_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/26/b518e275663547c166e11fe4ad5ad47b.jpg","text":"TemporaryFile(/tmp/multipartBody4112029047917129047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881433464,"filename":"image_26012025_09_49_24_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331633954","file1":"1331633951","file0":"1331633949","file4":"1331633959","file5":"1331633960","file3":"1331633956"},"map_files_photo_id_array":[{"photo_id":"1331633960","filename":"file5"},{"photo_id":"1331633954","filename":"file2"},{"photo_id":"1331633959","filename":"file4"},{"photo_id":"1331633951","filename":"file1"},{"photo_id":"1331633949","filename":"file0"},{"photo_id":"1331633956","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331633959":["hashtag1","hashtag2"]},{"1331633949":["hashtag1","hashtag2"]},{"1331633960":["hashtag1","hashtag2"]},{"1331633954":["hashtag1","hashtag2"]},{"1331633951":["hashtag1","hashtag2"]},{"1331633956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331633959, 1331633949, 1331633960, 1331633954, 1331633951, 1331633956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38984680175781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:50:32.656674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_54_9361.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_50_04_10376.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_15_10358.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_24_9352.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_35_10408.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_54_9361.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_50_04_10376.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_15_10358.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_24_9352.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_35_10408.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_45_10339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5522708892822266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:50:42.631936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_54_9361.jpg', '/home/pi/Desktop/images/26012025/09/49/image_26012025_09_50_04_10376.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_15_10358.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_24_9352.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_35_10408.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_49_54_9361.jpg
/home/pi/Desktop/images/26012025/09/49/image_26012025_09_50_04_10376.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_15_10358.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_24_9352.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_35_10408.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_45_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331633988","1331633982","1331633991","1331633979","1331633984","1331633986"],"photo_ids_order":["1331633979","1331633982","1331633984","1331633986","1331633988","1331633991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da553fdf1a099fa07b09ed0642417e08.jpg","text":"TemporaryFile(/tmp/multipartBody2074710727098803741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_50_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/26/727042e749df1cc495037de78d46a9b2.jpg","text":"TemporaryFile(/tmp/multipartBody3011454201604136886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_50_04_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/26/4fdde5ddc4b8835f59f9fd52ddc2d5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8717677583156347413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_50_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/26/0875c5627ad690561bfdcb7262dac14d.jpg","text":"TemporaryFile(/tmp/multipartBody1878960233997021353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_49_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a67283c65c6e9d19b1cd9976b29506af.jpg","text":"TemporaryFile(/tmp/multipartBody2508097103833038250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_50_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/26/c5e26668af1071511c4f679a87b1495a.jpg","text":"TemporaryFile(/tmp/multipartBody8695853681166721012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881503567,"filename":"image_26012025_09_50_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331633984","file1":"1331633982","file0":"1331633979","file4":"1331633988","file5":"1331633991","file3":"1331633986"},"map_files_photo_id_array":[{"photo_id":"1331633991","filename":"file5"},{"photo_id":"1331633984","filename":"file2"},{"photo_id":"1331633988","filename":"file4"},{"photo_id":"1331633982","filename":"file1"},{"photo_id":"1331633979","filename":"file0"},{"photo_id":"1331633986","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331633988":["hashtag1","hashtag2"]},{"1331633982":["hashtag1","hashtag2"]},{"1331633991":["hashtag1","hashtag2"]},{"1331633979":["hashtag1","hashtag2"]},{"1331633984":["hashtag1","hashtag2"]},{"1331633986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331633988, 1331633982, 1331633991, 1331633979, 1331633984, 1331633986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.275808572769165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:51:32.960633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_54_9353.jpg', '/home/pi/Desktop/images/26012025/09/50/image_26012025_09_51_05_10474.jpg', '/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_14_9320.jpg', '/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_24_10364.jpg', '/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_35_10363.jpg', '/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_44_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_50_54_9353.jpg
/home/pi/Desktop/images/26012025/09/50/image_26012025_09_51_05_10474.jpg
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_14_9320.jpg
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_24_10364.jpg
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_35_10363.jpg
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_44_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331634039","1331634015","1331634000","1331634024","1331634044","1331634004"],"photo_ids_order":["1331634000","1331634004","1331634015","1331634024","1331634039","1331634044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e85f36ae83bbded962e32c16bdeaa44.jpg","text":"TemporaryFile(/tmp/multipartBody5468466188358910136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_51_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/26/5020f15ba64e3427b2eaf391aecf7be6.jpg","text":"TemporaryFile(/tmp/multipartBody2521101097725428485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_51_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/26/b483e0dbcaa88c6f1b39f5707ce1651f.jpg","text":"TemporaryFile(/tmp/multipartBody3977966695278547861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_50_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/26/591ba4d0c06465b12f834b53ab7e66d0.jpg","text":"TemporaryFile(/tmp/multipartBody2989573917869231481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_51_24_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32cdee2591a2749f1965a52682763fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5407208214174585003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_51_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a51182ff8136a1fc08d26dbdd31ff13e.jpg","text":"TemporaryFile(/tmp/multipartBody676432680068876804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881553880,"filename":"image_26012025_09_51_05_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634015","file1":"1331634004","file0":"1331634000","file4":"1331634039","file5":"1331634044","file3":"1331634024"},"map_files_photo_id_array":[{"photo_id":"1331634044","filename":"file5"},{"photo_id":"1331634015","filename":"file2"},{"photo_id":"1331634039","filename":"file4"},{"photo_id":"1331634004","filename":"file1"},{"photo_id":"1331634000","filename":"file0"},{"photo_id":"1331634024","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634039":["hashtag1","hashtag2"]},{"1331634015":["hashtag1","hashtag2"]},{"1331634000":["hashtag1","hashtag2"]},{"1331634024":["hashtag1","hashtag2"]},{"1331634044":["hashtag1","hashtag2"]},{"1331634004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634039, 1331634015, 1331634000, 1331634024, 1331634044, 1331634004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.914260387420654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:52:33.136320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_55_10494.jpg', '/home/pi/Desktop/images/26012025/09/51/image_26012025_09_52_04_9349.jpg', '/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_14_10330.jpg', '/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_25_10436.jpg', '/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_34_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_51_55_10494.jpg
/home/pi/Desktop/images/26012025/09/51/image_26012025_09_52_04_9349.jpg
/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_14_10330.jpg
/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_25_10436.jpg
/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_34_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331634089","1331634080","1331634083","1331634091","1331634087"],"photo_ids_order":["1331634080","1331634083","1331634087","1331634089","1331634091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c4b7c5cc1cc8be22b5ba969daf7bd65.jpg","text":"TemporaryFile(/tmp/multipartBody8640056593291124519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881614056,"filename":"image_26012025_09_52_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/26/8e3bd09c4a194e92bb1eb947d2d9e581.jpg","text":"TemporaryFile(/tmp/multipartBody9107232670492249509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881614056,"filename":"image_26012025_09_51_55_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/26/84123151ba5f781769e9222f11df16aa.jpg","text":"TemporaryFile(/tmp/multipartBody4110646031633237753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881614056,"filename":"image_26012025_09_52_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/26/6daa83f55bdbd2f1b67f5dd1d5ecc890.jpg","text":"TemporaryFile(/tmp/multipartBody5392118764883628318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881614056,"filename":"image_26012025_09_52_34_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dda6fe811f1123d9c6a958bcbb90171d.jpg","text":"TemporaryFile(/tmp/multipartBody4741731444172960826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881614056,"filename":"image_26012025_09_52_14_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634087","file1":"1331634083","file0":"1331634080","file4":"1331634091","file3":"1331634089"},"map_files_photo_id_array":[{"photo_id":"1331634087","filename":"file2"},{"photo_id":"1331634091","filename":"file4"},{"photo_id":"1331634083","filename":"file1"},{"photo_id":"1331634080","filename":"file0"},{"photo_id":"1331634089","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634089":["hashtag1","hashtag2"]},{"1331634080":["hashtag1","hashtag2"]},{"1331634083":["hashtag1","hashtag2"]},{"1331634091":["hashtag1","hashtag2"]},{"1331634087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634089, 1331634080, 1331634083, 1331634091, 1331634087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.521249532699585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:53:32.388264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_54_9366.jpg', '/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_15_10336.jpg', '/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_24_9361.jpg', '/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_34_10359.jpg', '/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_45_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/52/image_26012025_09_52_54_9366.jpg
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_15_10336.jpg
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_24_9361.jpg
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_34_10359.jpg
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_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":["1331634123","1331634119","1331634104","1331634113","1331634109"],"photo_ids_order":["1331634104","1331634109","1331634113","1331634119","1331634123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97ba40cd482f352746cc2db4747c1111.jpg","text":"TemporaryFile(/tmp/multipartBody3680919408139493436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881673343,"filename":"image_26012025_09_53_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/26/166d865af534274667cfd442874a66e8.jpg","text":"TemporaryFile(/tmp/multipartBody5480389846339409841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881673343,"filename":"image_26012025_09_53_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1b642287105c3d646ad811220636776b.jpg","text":"TemporaryFile(/tmp/multipartBody811769402460653124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881673343,"filename":"image_26012025_09_52_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/26/c421c7763ac632c3df0fe00efca1f647.jpg","text":"TemporaryFile(/tmp/multipartBody6963760720669454831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881673343,"filename":"image_26012025_09_53_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a526bd44e4e66821b1b2d951397ad8c1.jpg","text":"TemporaryFile(/tmp/multipartBody1765635877308541439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881673343,"filename":"image_26012025_09_53_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634113","file1":"1331634109","file0":"1331634104","file4":"1331634123","file3":"1331634119"},"map_files_photo_id_array":[{"photo_id":"1331634113","filename":"file2"},{"photo_id":"1331634123","filename":"file4"},{"photo_id":"1331634109","filename":"file1"},{"photo_id":"1331634104","filename":"file0"},{"photo_id":"1331634119","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634123":["hashtag1","hashtag2"]},{"1331634119":["hashtag1","hashtag2"]},{"1331634104":["hashtag1","hashtag2"]},{"1331634113":["hashtag1","hashtag2"]},{"1331634109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634123, 1331634119, 1331634104, 1331634113, 1331634109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.890336990356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:54:32.554650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_54_9346.jpg', '/home/pi/Desktop/images/26012025/09/53/image_26012025_09_54_04_10372.jpg', '/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_15_10342.jpg', '/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_24_9349.jpg', '/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_34_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_53_54_9346.jpg
/home/pi/Desktop/images/26012025/09/53/image_26012025_09_54_04_10372.jpg
/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_15_10342.jpg
/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_24_9349.jpg
/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_34_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":["1331634171","1331634138","1331634188","1331634166","1331634148"],"photo_ids_order":["1331634138","1331634148","1331634166","1331634171","1331634188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddff31afa7d92842840c01591f4a6060.jpg","text":"TemporaryFile(/tmp/multipartBody3213869266285690289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881733458,"filename":"image_26012025_09_54_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/26/09d79ca0257aaf76ec50aaf51e55b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody5012489410785234891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881733458,"filename":"image_26012025_09_53_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/26/e552dca8022b09f9719e0460d77a6bba.jpg","text":"TemporaryFile(/tmp/multipartBody1740565198720102975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881733458,"filename":"image_26012025_09_54_34_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/26/d915f8516b0763df927f920cfffe3ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6245678409341008958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881733458,"filename":"image_26012025_09_54_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/26/2e220112e66fda88a7acb1ec04648c86.jpg","text":"TemporaryFile(/tmp/multipartBody7007258022529137055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881733458,"filename":"image_26012025_09_54_04_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634166","file1":"1331634148","file0":"1331634138","file4":"1331634188","file3":"1331634171"},"map_files_photo_id_array":[{"photo_id":"1331634166","filename":"file2"},{"photo_id":"1331634188","filename":"file4"},{"photo_id":"1331634148","filename":"file1"},{"photo_id":"1331634138","filename":"file0"},{"photo_id":"1331634171","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634171":["hashtag1","hashtag2"]},{"1331634138":["hashtag1","hashtag2"]},{"1331634188":["hashtag1","hashtag2"]},{"1331634166":["hashtag1","hashtag2"]},{"1331634148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634171, 1331634138, 1331634188, 1331634166, 1331634148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.1262743473053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:55:32.817294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_54_10365.jpg', '/home/pi/Desktop/images/26012025/09/54/image_26012025_09_55_05_10425.jpg', '/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_14_9322.jpg', '/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_24_10361.jpg', '/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_35_10347.jpg', '/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_44_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/54/image_26012025_09_54_54_10365.jpg
/home/pi/Desktop/images/26012025/09/54/image_26012025_09_55_05_10425.jpg
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_14_9322.jpg
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_24_10361.jpg
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_35_10347.jpg
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_44_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331634219","1331634216","1331634201","1331634221","1331634212","1331634206"],"photo_ids_order":["1331634201","1331634206","1331634212","1331634216","1331634219","1331634221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c9b2d33990de44bdfd38f56bb8b1d36.jpg","text":"TemporaryFile(/tmp/multipartBody1443112586577551799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_55_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/26/0db2c3a3969d05f2ab06523d185ee4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6677353798124472500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_55_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/26/0e9ebe54a45dcff43b492b312839dddc.jpg","text":"TemporaryFile(/tmp/multipartBody6032949650003887687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_54_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e8cbb5d2711833142bc97b067180e73e.jpg","text":"TemporaryFile(/tmp/multipartBody3083009865299382902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_55_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ba21836521d0cfb38b040ffa2392c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6702357460986864195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_55_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/26/d7aaa3ea9208d80d068a9d636b0b5566.jpg","text":"TemporaryFile(/tmp/multipartBody3424754225207919362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881793760,"filename":"image_26012025_09_55_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634212","file1":"1331634206","file0":"1331634201","file4":"1331634219","file5":"1331634221","file3":"1331634216"},"map_files_photo_id_array":[{"photo_id":"1331634221","filename":"file5"},{"photo_id":"1331634212","filename":"file2"},{"photo_id":"1331634219","filename":"file4"},{"photo_id":"1331634206","filename":"file1"},{"photo_id":"1331634201","filename":"file0"},{"photo_id":"1331634216","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634219":["hashtag1","hashtag2"]},{"1331634216":["hashtag1","hashtag2"]},{"1331634201":["hashtag1","hashtag2"]},{"1331634221":["hashtag1","hashtag2"]},{"1331634212":["hashtag1","hashtag2"]},{"1331634206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634219, 1331634216, 1331634201, 1331634221, 1331634212, 1331634206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.850324392318726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:56:33.070704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_54_10348.jpg', '/home/pi/Desktop/images/26012025/09/55/image_26012025_09_56_05_10419.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_14_9356.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_25_10527.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_34_9365.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_45_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_55_54_10348.jpg
/home/pi/Desktop/images/26012025/09/55/image_26012025_09_56_05_10419.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_14_9356.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_25_10527.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_34_9365.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_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":["1331634237","1331634251","1331634248","1331634233","1331634244","1331634253"],"photo_ids_order":["1331634233","1331634237","1331634244","1331634248","1331634251","1331634253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cdc755bf3cf5c0ae858fe17be0fdc9c4.jpg","text":"TemporaryFile(/tmp/multipartBody6089392882487502806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_56_05_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/26/b001b1d4f7bf4bc0627907dbdd6075c2.jpg","text":"TemporaryFile(/tmp/multipartBody8870724824950321542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_56_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/26/6067b5f881cca1b84599d4d1fe4c2790.jpg","text":"TemporaryFile(/tmp/multipartBody5946798407968797806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_56_25_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/26/b32b0c4f16fc42c73ad46637ef807f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7261542600198521559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_55_54_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5fd63fae75de76a1ab842123df9228b.jpg","text":"TemporaryFile(/tmp/multipartBody8143972776486623161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_56_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/26/4ae6c0b57fc079a2857e6e2ad7ae0bac.jpg","text":"TemporaryFile(/tmp/multipartBody1695801485282937903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737881853981,"filename":"image_26012025_09_56_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634244","file1":"1331634237","file0":"1331634233","file4":"1331634251","file5":"1331634253","file3":"1331634248"},"map_files_photo_id_array":[{"photo_id":"1331634253","filename":"file5"},{"photo_id":"1331634244","filename":"file2"},{"photo_id":"1331634251","filename":"file4"},{"photo_id":"1331634237","filename":"file1"},{"photo_id":"1331634233","filename":"file0"},{"photo_id":"1331634248","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331634237":["hashtag1","hashtag2"]},{"1331634251":["hashtag1","hashtag2"]},{"1331634248":["hashtag1","hashtag2"]},{"1331634233":["hashtag1","hashtag2"]},{"1331634244":["hashtag1","hashtag2"]},{"1331634253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331634237, 1331634251, 1331634248, 1331634233, 1331634244, 1331634253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66958427429199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 09:57:33.699698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_55_10352.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_57_04_9336.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_15_10364.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_24_9361.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_34_10362.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_55_10352.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_57_04_9336.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_15_10364.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_24_9361.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_34_10362.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_45_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 09:59:03.739368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_55_10352.jpg', '/home/pi/Desktop/images/26012025/09/56/image_26012025_09_57_04_9336.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_15_10364.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_24_9361.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_34_10362.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_45_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_56_55_10352.jpg
/home/pi/Desktop/images/26012025/09/56/image_26012025_09_57_04_9336.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_15_10364.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_24_9361.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_34_10362.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_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":["1331635070","1331634714","1331634330","1331634324","1331634318","1331634383"],"photo_ids_order":["1331634318","1331634324","1331634330","1331634383","1331634714","1331635070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/25bbe20af7a82f2c777021106bdbe583.jpg","text":"TemporaryFile(/tmp/multipartBody6676636057986215315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_57_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/26/7b699c005aea0a9acd2dac7db8c3b0cc.jpg","text":"TemporaryFile(/tmp/multipartBody317164063321993247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_57_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b97c820f45abc214127c03f33de3fb8d.jpg","text":"TemporaryFile(/tmp/multipartBody7106907341538234990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_57_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/26/f09843dd8f7e48d48b4a67196c0c2a62.jpg","text":"TemporaryFile(/tmp/multipartBody7809781862517240576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_57_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/26/9e187faf9161b3bb8562c43b8324b26a.jpg","text":"TemporaryFile(/tmp/multipartBody6230612404645965574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_56_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/26/8c77b8a225fe598326510f88f2ce15b3.jpg","text":"TemporaryFile(/tmp/multipartBody4215096270443160311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882004792,"filename":"image_26012025_09_57_24_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331634330","file1":"1331634324","file0":"1331634318","file4":"1331634714","file5":"1331635070","file3":"1331634383"},"map_files_photo_id_array":[{"photo_id":"1331635070","filename":"file5"},{"photo_id":"1331634330","filename":"file2"},{"photo_id":"1331634714","filename":"file4"},{"photo_id":"1331634324","filename":"file1"},{"photo_id":"1331634318","filename":"file0"},{"photo_id":"1331634383","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331635070":["hashtag1","hashtag2"]},{"1331634714":["hashtag1","hashtag2"]},{"1331634330":["hashtag1","hashtag2"]},{"1331634324":["hashtag1","hashtag2"]},{"1331634318":["hashtag1","hashtag2"]},{"1331634383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331635070, 1331634714, 1331634330, 1331634324, 1331634318, 1331634383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.03068995475769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 09:59:52.719040
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_25_9365.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_35_10402.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_44_9394.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_55_10347.jpg', '/home/pi/Desktop/images/23012025/21/41/image_23012025_21_42_05_10333.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_14_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_25_9365.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_35_10402.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_44_9394.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_41_55_10347.jpg
/home/pi/Desktop/images/23012025/21/41/image_23012025_21_42_05_10333.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_14_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":["1331635196","1331635199","1331635379","1331635202","1331635372","1331635204"],"photo_ids_order":["1331635196","1331635199","1331635202","1331635204","1331635372","1331635379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a6ca21e40cad1ba197b78452173d01b.jpg","text":"TemporaryFile(/tmp/multipartBody6951416973334162523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_41_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/26/cc62c40f43c7af2fcc951b7d6e77aec3.jpg","text":"TemporaryFile(/tmp/multipartBody3959097144926145867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_41_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/26/27d1e91d4f5f7e8376d58948ff2930d5.jpg","text":"TemporaryFile(/tmp/multipartBody4178107995805218669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_42_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/26/a8b5b15d3bc405cd39a28fa1a3ba7d37.jpg","text":"TemporaryFile(/tmp/multipartBody4256917895751881053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_41_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/26/46e975a959f6621a365f9b3385e2ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody3885745868035096521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_42_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/26/3599eb5521e65e539a0a3eff7f9b3023.jpg","text":"TemporaryFile(/tmp/multipartBody6797462877805586576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882055026,"filename":"image_23012025_21_41_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331635202","file1":"1331635199","file0":"1331635196","file4":"1331635372","file5":"1331635379","file3":"1331635204"},"map_files_photo_id_array":[{"photo_id":"1331635379","filename":"file5"},{"photo_id":"1331635202","filename":"file2"},{"photo_id":"1331635372","filename":"file4"},{"photo_id":"1331635199","filename":"file1"},{"photo_id":"1331635196","filename":"file0"},{"photo_id":"1331635204","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331635196":["hashtag1","hashtag2"]},{"1331635199":["hashtag1","hashtag2"]},{"1331635379":["hashtag1","hashtag2"]},{"1331635202":["hashtag1","hashtag2"]},{"1331635372":["hashtag1","hashtag2"]},{"1331635204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331635196, 1331635199, 1331635379, 1331635202, 1331635372, 1331635204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.013383865356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:00:42.899676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_54_9340.jpg', '/home/pi/Desktop/images/26012025/09/57/image_26012025_09_58_04_10361.jpg', '/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_15_10340.jpg', '/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_24_9377.jpg', '/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_34_10355.jpg', '/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_45_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_57_54_9340.jpg
/home/pi/Desktop/images/26012025/09/57/image_26012025_09_58_04_10361.jpg
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_15_10340.jpg
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_24_9377.jpg
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_34_10355.jpg
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_45_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":["1331635437","1331635442","1331635448","1331635447","1331635479","1331635446"],"photo_ids_order":["1331635437","1331635442","1331635446","1331635447","1331635448","1331635479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0b5f93e5666fa0853366bdd8ae6643d.jpg","text":"TemporaryFile(/tmp/multipartBody586956761827305012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_57_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e63834c6d24abbd65d4959fe7aceb85.jpg","text":"TemporaryFile(/tmp/multipartBody7162365470871681244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_58_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/80a15db36b62326d3c5b77eeaabf55c4.jpg","text":"TemporaryFile(/tmp/multipartBody3993725346332917421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_58_34_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/26/cc675bdf1e7de171d6452461c8365336.jpg","text":"TemporaryFile(/tmp/multipartBody1464926656440965332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_58_24_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/26/cc53bf9e870a2fe747e6afde46452eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5232057234484751227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_58_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/26/ea5701114cc1ba1495f71566578c62d9.jpg","text":"TemporaryFile(/tmp/multipartBody316459630589243386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882103825,"filename":"image_26012025_09_58_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331635446","file1":"1331635442","file0":"1331635437","file4":"1331635448","file5":"1331635479","file3":"1331635447"},"map_files_photo_id_array":[{"photo_id":"1331635479","filename":"file5"},{"photo_id":"1331635446","filename":"file2"},{"photo_id":"1331635448","filename":"file4"},{"photo_id":"1331635442","filename":"file1"},{"photo_id":"1331635437","filename":"file0"},{"photo_id":"1331635447","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331635437":["hashtag1","hashtag2"]},{"1331635442":["hashtag1","hashtag2"]},{"1331635448":["hashtag1","hashtag2"]},{"1331635447":["hashtag1","hashtag2"]},{"1331635479":["hashtag1","hashtag2"]},{"1331635446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331635437, 1331635442, 1331635448, 1331635447, 1331635479, 1331635446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.5104603767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:01:32.202759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_54_9353.jpg', '/home/pi/Desktop/images/26012025/09/58/image_26012025_09_59_05_10367.jpg', '/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_14_9342.jpg', '/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_24_10342.jpg', '/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_35_10422.jpg', '/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_44_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_58_54_9353.jpg
/home/pi/Desktop/images/26012025/09/58/image_26012025_09_59_05_10367.jpg
/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_14_9342.jpg
/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_24_10342.jpg
/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_35_10422.jpg
/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_44_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":["1331635500","1331635541","1331635535","1331635513","1331635494","1331635488"],"photo_ids_order":["1331635488","1331635494","1331635500","1331635513","1331635535","1331635541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9883e05a4826e8651b86da3028e63630.jpg","text":"TemporaryFile(/tmp/multipartBody2760851547385725875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_59_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/26/cd3bd1e7a159bd7020b5e280cc5f9a86.jpg","text":"TemporaryFile(/tmp/multipartBody7969012290676631545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_59_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6f7f1ba7b2846d723dec1b567c3fc47.jpg","text":"TemporaryFile(/tmp/multipartBody6166625046461542881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_59_35_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/26/c5cf6dd8cc9ef36554e696cfa9a0a831.jpg","text":"TemporaryFile(/tmp/multipartBody8424866967628834387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_59_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/26/eb70729673efda60f55fb51b6a791e33.jpg","text":"TemporaryFile(/tmp/multipartBody1925620220776005050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_59_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/26/bf364445ce29145795df70f44ab01922.jpg","text":"TemporaryFile(/tmp/multipartBody5523409601929776584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882153136,"filename":"image_26012025_09_58_54_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331635500","file1":"1331635494","file0":"1331635488","file4":"1331635535","file5":"1331635541","file3":"1331635513"},"map_files_photo_id_array":[{"photo_id":"1331635541","filename":"file5"},{"photo_id":"1331635500","filename":"file2"},{"photo_id":"1331635535","filename":"file4"},{"photo_id":"1331635494","filename":"file1"},{"photo_id":"1331635488","filename":"file0"},{"photo_id":"1331635513","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331635500":["hashtag1","hashtag2"]},{"1331635541":["hashtag1","hashtag2"]},{"1331635535":["hashtag1","hashtag2"]},{"1331635513":["hashtag1","hashtag2"]},{"1331635494":["hashtag1","hashtag2"]},{"1331635488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331635500, 1331635541, 1331635535, 1331635513, 1331635494, 1331635488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.204424142837524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:02:32.440278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_54_10403.jpg', '/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_15_10073.jpg', '/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_25_10369.jpg', '/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_35_10352.jpg', '/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_45_9413.jpg', '/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/09/59/image_26012025_09_59_54_10403.jpg
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_15_10073.jpg
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_25_10369.jpg
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_35_10352.jpg
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_45_9413.jpg
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_01_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":["1331635571","1331635589","1331635580","1331635565","1331635576","1331635585"],"photo_ids_order":["1331635565","1331635571","1331635576","1331635580","1331635585","1331635589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae6f1a91c2688f738bd94dc6142ece08.jpg","text":"TemporaryFile(/tmp/multipartBody7053216427019106004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_10_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/26/34d80088088c1c8a6a50a6e70a229974.jpg","text":"TemporaryFile(/tmp/multipartBody7423665509231224576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_10_01_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/26/ba13e04b717285e4f54c7a02d322c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody431638727367544197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_10_01_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/26/87f79f3fd01a5809a8f974b0c165c40a.jpg","text":"TemporaryFile(/tmp/multipartBody2201221982052498098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_09_59_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/26/3d55a9a203a0a988c6fd9f8e0ea4a474.jpg","text":"TemporaryFile(/tmp/multipartBody4296700776005975525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_10_01_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/26/c0fff40c350143f798974c5f66639291.jpg","text":"TemporaryFile(/tmp/multipartBody1435233102013829838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882213362,"filename":"image_26012025_10_01_45_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331635576","file1":"1331635571","file0":"1331635565","file4":"1331635585","file5":"1331635589","file3":"1331635580"},"map_files_photo_id_array":[{"photo_id":"1331635589","filename":"file5"},{"photo_id":"1331635576","filename":"file2"},{"photo_id":"1331635585","filename":"file4"},{"photo_id":"1331635571","filename":"file1"},{"photo_id":"1331635565","filename":"file0"},{"photo_id":"1331635580","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331635571":["hashtag1","hashtag2"]},{"1331635589":["hashtag1","hashtag2"]},{"1331635580":["hashtag1","hashtag2"]},{"1331635565":["hashtag1","hashtag2"]},{"1331635576":["hashtag1","hashtag2"]},{"1331635585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331635571, 1331635589, 1331635580, 1331635565, 1331635576, 1331635585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29797434806824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:03:32.642700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/01/image_26012025_10_02_06_10394.jpg', '/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_15_9335.jpg', '/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_25_10335.jpg', '/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_35_9442.jpg', '/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_45_10347.jpg', '/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_55_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/01/image_26012025_10_02_06_10394.jpg
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_15_9335.jpg
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_25_10335.jpg
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_35_9442.jpg
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_45_10347.jpg
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_02_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331635614","1331636030","1331636167","1331635609","1331635606","1331635722"],"photo_ids_order":["1331635606","1331635609","1331635614","1331635722","1331636030","1331636167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/abf9536817ebe99fce28219af5a6f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3886841968495708939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da23589788fb6962b5e301fe89c850f4.jpg","text":"TemporaryFile(/tmp/multipartBody4555656837188263674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_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/26/06556b98ae333a305423266dc3778e05.jpg","text":"TemporaryFile(/tmp/multipartBody7415237650034132780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_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/26/55c1f3d3e21553fda2c1a2d806f60c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5129677824360905890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_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/26/4a0c138fe42f7126a9269d5c4d60671a.jpg","text":"TemporaryFile(/tmp/multipartBody9006179320978727106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_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/26/3ae0c7b80761145fea21b779378f6233.jpg","text":"TemporaryFile(/tmp/multipartBody3911836727890406746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882273571,"filename":"image_26012025_10_02_35_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331635614","file1":"1331635609","file0":"1331635606","file4":"1331636030","file5":"1331636167","file3":"1331635722"},"map_files_photo_id_array":[{"photo_id":"1331636167","filename":"file5"},{"photo_id":"1331635614","filename":"file2"},{"photo_id":"1331636030","filename":"file4"},{"photo_id":"1331635609","filename":"file1"},{"photo_id":"1331635606","filename":"file0"},{"photo_id":"1331635722","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331635614":["hashtag1","hashtag2"]},{"1331636030":["hashtag1","hashtag2"]},{"1331636167":["hashtag1","hashtag2"]},{"1331635609":["hashtag1","hashtag2"]},{"1331635606":["hashtag1","hashtag2"]},{"1331635722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331635614, 1331636030, 1331636167, 1331635609, 1331635606, 1331635722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87160038948059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:04:32.840113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/02/image_26012025_10_03_05_9334.jpg', '/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_15_10342.jpg', '/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_26_10477.jpg', '/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_35_9394.jpg', '/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_45_10359.jpg', '/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_55_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/02/image_26012025_10_03_05_9334.jpg
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_15_10342.jpg
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_26_10477.jpg
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_35_9394.jpg
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_45_10359.jpg
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_03_55_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":["1331636363","1331636321","1331636816","1331636603","1331636376","1331636370"],"photo_ids_order":["1331636321","1331636363","1331636370","1331636376","1331636603","1331636816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c53e710402471f149995dd48cddb5ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5901874426235332971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_03_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/26/4d725eb9322a816a9ea2bb5b80445635.jpg","text":"TemporaryFile(/tmp/multipartBody1991343328704798831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_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/26/5c738069c04cc2e6b41a553ab374c327.jpg","text":"TemporaryFile(/tmp/multipartBody8187474403027530841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_03_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/26/90f7fa4ecb311c47533bfc714b32290e.jpg","text":"TemporaryFile(/tmp/multipartBody2579523299521206825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_03_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/26/f19d48ad2e7e35a3579213cb7bc4a094.jpg","text":"TemporaryFile(/tmp/multipartBody7330906291441304312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_03_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/249a4fac6fc61f2c2c1a5a61fd472807.jpg","text":"TemporaryFile(/tmp/multipartBody3001345087317871137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882333846,"filename":"image_26012025_10_03_26_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331636370","file1":"1331636363","file0":"1331636321","file4":"1331636603","file5":"1331636816","file3":"1331636376"},"map_files_photo_id_array":[{"photo_id":"1331636816","filename":"file5"},{"photo_id":"1331636370","filename":"file2"},{"photo_id":"1331636603","filename":"file4"},{"photo_id":"1331636363","filename":"file1"},{"photo_id":"1331636321","filename":"file0"},{"photo_id":"1331636376","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331636363":["hashtag1","hashtag2"]},{"1331636321":["hashtag1","hashtag2"]},{"1331636816":["hashtag1","hashtag2"]},{"1331636603":["hashtag1","hashtag2"]},{"1331636376":["hashtag1","hashtag2"]},{"1331636370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331636363, 1331636321, 1331636816, 1331636603, 1331636376, 1331636370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.91311979293823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:05:32.243262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/03/image_26012025_10_04_05_10345.jpg', '/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_15_10334.jpg', '/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_25_9408.jpg', '/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_35_10357.jpg', '/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_46_10435.jpg', '/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_55_9432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/03/image_26012025_10_04_05_10345.jpg
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_15_10334.jpg
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_25_9408.jpg
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_35_10357.jpg
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_46_10435.jpg
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_04_55_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":["1331637610","1331637604","1331637582","1331637591","1331637609","1331637599"],"photo_ids_order":["1331637582","1331637591","1331637599","1331637604","1331637609","1331637610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b9bff1dd91f21be430b23f33db5f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody260198874548215223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_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/26/a70009ae6e968533bd33406fa1a56b61.jpg","text":"TemporaryFile(/tmp/multipartBody5064818956121947103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_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/26/f9afc827e468241836dc35cc220f0a11.jpg","text":"TemporaryFile(/tmp/multipartBody4865504851410689088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_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/26/022209855f87ebad10ed58dab713225b.jpg","text":"TemporaryFile(/tmp/multipartBody4334042307290572761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_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/26/4ceca38f6a506a173bec091bda8eab1a.jpg","text":"TemporaryFile(/tmp/multipartBody5058859122148698756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_46_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/26/13348b8146613a3ad80bafde9ad201c6.jpg","text":"TemporaryFile(/tmp/multipartBody5302823049974231355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882393152,"filename":"image_26012025_10_04_25_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331637599","file1":"1331637591","file0":"1331637582","file4":"1331637609","file5":"1331637610","file3":"1331637604"},"map_files_photo_id_array":[{"photo_id":"1331637610","filename":"file5"},{"photo_id":"1331637599","filename":"file2"},{"photo_id":"1331637609","filename":"file4"},{"photo_id":"1331637591","filename":"file1"},{"photo_id":"1331637582","filename":"file0"},{"photo_id":"1331637604","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331637610":["hashtag1","hashtag2"]},{"1331637604":["hashtag1","hashtag2"]},{"1331637582":["hashtag1","hashtag2"]},{"1331637591":["hashtag1","hashtag2"]},{"1331637609":["hashtag1","hashtag2"]},{"1331637599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331637610, 1331637604, 1331637582, 1331637591, 1331637609, 1331637599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.43035387992859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:06:32.378208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/04/image_26012025_10_05_05_10352.jpg', '/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_15_9313.jpg', '/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_25_10373.jpg', '/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_36_10478.jpg', '/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_45_9341.jpg', '/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_55_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/04/image_26012025_10_05_05_10352.jpg
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_15_9313.jpg
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_25_10373.jpg
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_36_10478.jpg
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_45_9341.jpg
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_05_55_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":["1331638060","1331637973","1331638073","1331638013","1331637965","1331638016"],"photo_ids_order":["1331637965","1331637973","1331638013","1331638016","1331638060","1331638073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cef7ebadccb65889865df66db45f313a.jpg","text":"TemporaryFile(/tmp/multipartBody8852156096216585627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_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/26/da16cc7a52d56868fc6aac13952f003f.jpg","text":"TemporaryFile(/tmp/multipartBody1689186269308454745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_15_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/26/64de4b76a017bb217a682edb9a800514.jpg","text":"TemporaryFile(/tmp/multipartBody3357746355965197676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2d7524afafa48f6f9a5bd0d3d320d99.jpg","text":"TemporaryFile(/tmp/multipartBody2141661608566807758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_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/26/786ba767f7ed4498e36d734a081f3af2.jpg","text":"TemporaryFile(/tmp/multipartBody6642902966965691288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/895f78f1730a87fe4ffcf339af577286.jpg","text":"TemporaryFile(/tmp/multipartBody3009565135793924365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882453306,"filename":"image_26012025_10_05_36_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638013","file1":"1331637973","file0":"1331637965","file4":"1331638060","file5":"1331638073","file3":"1331638016"},"map_files_photo_id_array":[{"photo_id":"1331638073","filename":"file5"},{"photo_id":"1331638013","filename":"file2"},{"photo_id":"1331638060","filename":"file4"},{"photo_id":"1331637973","filename":"file1"},{"photo_id":"1331637965","filename":"file0"},{"photo_id":"1331638016","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638060":["hashtag1","hashtag2"]},{"1331637973":["hashtag1","hashtag2"]},{"1331638073":["hashtag1","hashtag2"]},{"1331638013":["hashtag1","hashtag2"]},{"1331637965":["hashtag1","hashtag2"]},{"1331638016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638060, 1331637973, 1331638073, 1331638013, 1331637965, 1331638016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28301215171814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:07:32.624634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/05/image_26012025_10_06_06_10343.jpg', '/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_15_9346.jpg', '/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_25_10350.jpg', '/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_35_9458.jpg', '/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_45_10368.jpg', '/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_56_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/05/image_26012025_10_06_06_10343.jpg
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_15_9346.jpg
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_25_10350.jpg
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_35_9458.jpg
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_45_10368.jpg
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_06_56_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638144","1331638138","1331638123","1331638132","1331638128","1331638142"],"photo_ids_order":["1331638123","1331638128","1331638132","1331638138","1331638142","1331638144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82ff920db8742a346885b1b3a1ad8e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7542800881490065271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_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/26/07cdff109f370740247f264f327d4710.jpg","text":"TemporaryFile(/tmp/multipartBody3824883809602755287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_06_35_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/26/ae068fe0124567c4238524af6b9b7178.jpg","text":"TemporaryFile(/tmp/multipartBody3047003604214896014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_06_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/26/13d2017fe9af5ebbb4c532a9a1839e9a.jpg","text":"TemporaryFile(/tmp/multipartBody4637006424648836020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_06_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/097309382b62837e62e0e0425e9e5c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6732914376690818042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_06_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/26/f6517df8acc666242c8266f754dc8238.jpg","text":"TemporaryFile(/tmp/multipartBody5294861615549754875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882513531,"filename":"image_26012025_10_06_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638132","file1":"1331638128","file0":"1331638123","file4":"1331638142","file5":"1331638144","file3":"1331638138"},"map_files_photo_id_array":[{"photo_id":"1331638144","filename":"file5"},{"photo_id":"1331638132","filename":"file2"},{"photo_id":"1331638142","filename":"file4"},{"photo_id":"1331638128","filename":"file1"},{"photo_id":"1331638123","filename":"file0"},{"photo_id":"1331638138","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638144":["hashtag1","hashtag2"]},{"1331638138":["hashtag1","hashtag2"]},{"1331638123":["hashtag1","hashtag2"]},{"1331638132":["hashtag1","hashtag2"]},{"1331638128":["hashtag1","hashtag2"]},{"1331638142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638144, 1331638138, 1331638123, 1331638132, 1331638128, 1331638142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65990495681763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:08:32.746013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/06/image_26012025_10_07_05_9342.jpg', '/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_15_10339.jpg', '/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_25_9442.jpg', '/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_35_10344.jpg', '/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_45_10377.jpg', '/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_55_9435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/06/image_26012025_10_07_05_9342.jpg
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_15_10339.jpg
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_25_9442.jpg
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_35_10344.jpg
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_45_10377.jpg
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_07_55_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":["1331638174","1331638177","1331638164","1331638158","1331638169","1331638178"],"photo_ids_order":["1331638158","1331638164","1331638169","1331638174","1331638177","1331638178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8052841936bb5a57ed064f94f8c33f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3937297120771824638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_07_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/26/b543e7f9ccc44cee0dba86fef715f5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2988078737742904380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_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/26/c3e0b657b4646ce18a0a53ea5c2725e1.jpg","text":"TemporaryFile(/tmp/multipartBody6982737584119228362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_07_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/26/b493802a5e9486fb43eba800907842b5.jpg","text":"TemporaryFile(/tmp/multipartBody3735997264603795298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_07_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/26/a7a64c0fc46c2a0fbaa0d63d49351160.jpg","text":"TemporaryFile(/tmp/multipartBody2295228272799943321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_07_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72013f8540437357c17a829dd66f9b08.jpg","text":"TemporaryFile(/tmp/multipartBody3034675445716376661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882573693,"filename":"image_26012025_10_07_55_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638169","file1":"1331638164","file0":"1331638158","file4":"1331638177","file5":"1331638178","file3":"1331638174"},"map_files_photo_id_array":[{"photo_id":"1331638178","filename":"file5"},{"photo_id":"1331638169","filename":"file2"},{"photo_id":"1331638177","filename":"file4"},{"photo_id":"1331638164","filename":"file1"},{"photo_id":"1331638158","filename":"file0"},{"photo_id":"1331638174","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638174":["hashtag1","hashtag2"]},{"1331638177":["hashtag1","hashtag2"]},{"1331638164":["hashtag1","hashtag2"]},{"1331638158":["hashtag1","hashtag2"]},{"1331638169":["hashtag1","hashtag2"]},{"1331638178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638174, 1331638177, 1331638164, 1331638158, 1331638169, 1331638178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.597920656204224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:09:33.167815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/07/image_26012025_10_08_05_10334.jpg', '/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_16_10397.jpg', '/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_25_9417.jpg', '/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_35_10328.jpg', '/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_45_9352.jpg', '/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_55_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/07/image_26012025_10_08_05_10334.jpg
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_16_10397.jpg
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_25_9417.jpg
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_35_10328.jpg
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_45_9352.jpg
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_08_55_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638195","1331638207","1331638185","1331638203","1331638199","1331638190"],"photo_ids_order":["1331638185","1331638190","1331638195","1331638199","1331638203","1331638207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/66304398cb83070c678c5af88496617d.jpg","text":"TemporaryFile(/tmp/multipartBody575016675703442057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ccfaf27a2450417ad364c47b570ccee.jpg","text":"TemporaryFile(/tmp/multipartBody2712303385508969332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4723582a468e66893789baca194acc93.jpg","text":"TemporaryFile(/tmp/multipartBody76435303395724223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_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/26/b50671488bf3503e9c71b24147cab6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6015080228171879318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_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/26/2b2b8583cb7b88591d3309affc7bbc7b.jpg","text":"TemporaryFile(/tmp/multipartBody7492512220026023469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5783106b1ec4d95465877d4e1f21334.jpg","text":"TemporaryFile(/tmp/multipartBody1196617110448908129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882634106,"filename":"image_26012025_10_08_16_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638195","file1":"1331638190","file0":"1331638185","file4":"1331638203","file5":"1331638207","file3":"1331638199"},"map_files_photo_id_array":[{"photo_id":"1331638207","filename":"file5"},{"photo_id":"1331638195","filename":"file2"},{"photo_id":"1331638203","filename":"file4"},{"photo_id":"1331638190","filename":"file1"},{"photo_id":"1331638185","filename":"file0"},{"photo_id":"1331638199","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638195":["hashtag1","hashtag2"]},{"1331638207":["hashtag1","hashtag2"]},{"1331638185":["hashtag1","hashtag2"]},{"1331638203":["hashtag1","hashtag2"]},{"1331638199":["hashtag1","hashtag2"]},{"1331638190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638195, 1331638207, 1331638185, 1331638203, 1331638199, 1331638190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.86772799491882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:10:32.382458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/08/image_26012025_10_09_05_10389.jpg', '/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_15_9437.jpg', '/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_25_10360.jpg', '/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_36_10396.jpg', '/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_45_9436.jpg', '/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_55_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/08/image_26012025_10_09_05_10389.jpg
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_15_9437.jpg
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_25_10360.jpg
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_36_10396.jpg
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_45_9436.jpg
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_09_55_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638278","1331638287","1331638286","1331638274","1331638283","1331638271"],"photo_ids_order":["1331638271","1331638274","1331638278","1331638283","1331638286","1331638287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/13ed460f60a232f3add2706407f427c0.jpg","text":"TemporaryFile(/tmp/multipartBody4058305142608301036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_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/26/c32e9acb88b2b85d377aa3f1451ec99f.jpg","text":"TemporaryFile(/tmp/multipartBody2724679586314799594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_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/26/137d453082b39126fea4453e8ef29cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6329173638559123720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_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/26/5166e5bf3ecbf9861aafa3fe5f69459c.jpg","text":"TemporaryFile(/tmp/multipartBody766427074657337147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_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/26/9eebd222dc3d0d570a45240a14a5da8e.jpg","text":"TemporaryFile(/tmp/multipartBody4827998772583826470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_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/26/6fcc1da974cfb7e610c14e7864409860.jpg","text":"TemporaryFile(/tmp/multipartBody3840897564527366585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882693316,"filename":"image_26012025_10_09_05_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638278","file1":"1331638274","file0":"1331638271","file4":"1331638286","file5":"1331638287","file3":"1331638283"},"map_files_photo_id_array":[{"photo_id":"1331638287","filename":"file5"},{"photo_id":"1331638278","filename":"file2"},{"photo_id":"1331638286","filename":"file4"},{"photo_id":"1331638274","filename":"file1"},{"photo_id":"1331638271","filename":"file0"},{"photo_id":"1331638283","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638278":["hashtag1","hashtag2"]},{"1331638287":["hashtag1","hashtag2"]},{"1331638286":["hashtag1","hashtag2"]},{"1331638274":["hashtag1","hashtag2"]},{"1331638283":["hashtag1","hashtag2"]},{"1331638271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638278, 1331638287, 1331638286, 1331638274, 1331638283, 1331638271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.971495151519775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:11:33.650985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/09/image_26012025_10_10_05_9340.jpg', '/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_15_10354.jpg', '/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_26_10428.jpg', '/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_35_9350.jpg', '/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_45_10335.jpg', '/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_55_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/09/image_26012025_10_10_05_9340.jpg
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_15_10354.jpg
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_26_10428.jpg
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_35_9350.jpg
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_45_10335.jpg
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_10_55_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":["1331638531","1331638534","1331638300","1331638305","1331638295","1331638409"],"photo_ids_order":["1331638295","1331638300","1331638305","1331638409","1331638531","1331638534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf8ef4b5b0670a4b9cb8b24d13444da4.jpg","text":"TemporaryFile(/tmp/multipartBody38464128074464843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_10_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab34b24f33b978f1521c5252ac3ade9d.jpg","text":"TemporaryFile(/tmp/multipartBody7620090894089165619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_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/26/e083b756db32413d307124958b9e40a3.jpg","text":"TemporaryFile(/tmp/multipartBody5904825153172439103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_10_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/26/023955b2f029c2573f1a2bcaaed97383.jpg","text":"TemporaryFile(/tmp/multipartBody1362844480990145351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_10_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/26/15943f2d0c566d9794ac8643c2a3391f.jpg","text":"TemporaryFile(/tmp/multipartBody1777288955334441258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_10_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/26/d9c83d0c29cf705839adc4cd36a8b181.jpg","text":"TemporaryFile(/tmp/multipartBody8131114224888189842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882754574,"filename":"image_26012025_10_10_35_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638305","file1":"1331638300","file0":"1331638295","file4":"1331638531","file5":"1331638534","file3":"1331638409"},"map_files_photo_id_array":[{"photo_id":"1331638534","filename":"file5"},{"photo_id":"1331638305","filename":"file2"},{"photo_id":"1331638531","filename":"file4"},{"photo_id":"1331638300","filename":"file1"},{"photo_id":"1331638295","filename":"file0"},{"photo_id":"1331638409","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638531":["hashtag1","hashtag2"]},{"1331638534":["hashtag1","hashtag2"]},{"1331638300":["hashtag1","hashtag2"]},{"1331638305":["hashtag1","hashtag2"]},{"1331638295":["hashtag1","hashtag2"]},{"1331638409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638531, 1331638534, 1331638300, 1331638305, 1331638295, 1331638409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98058581352234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:12:32.653224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/10/image_26012025_10_11_05_10350.jpg', '/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_15_10339.jpg', '/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_25_9404.jpg', '/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_35_10423.jpg', '/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_46_10455.jpg', '/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/10/image_26012025_10_11_05_10350.jpg
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_15_10339.jpg
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_25_9404.jpg
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_35_10423.jpg
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_46_10455.jpg
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_11_55_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638564","1331638551","1331638586","1331638571","1331638556","1331638559"],"photo_ids_order":["1331638551","1331638556","1331638559","1331638564","1331638571","1331638586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa9c327645ad7765309f5df2c6f1e0e0.jpg","text":"TemporaryFile(/tmp/multipartBody3770085816614169398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_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/26/2a311fc291432d9d0c87d37e4c21f860.jpg","text":"TemporaryFile(/tmp/multipartBody775059687779078258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_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/26/358f1da129dc3e87ce7b963b0c80a217.jpg","text":"TemporaryFile(/tmp/multipartBody7498499163776925483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f80b3845c22ee1f4d12dad0ec5ee49cf.jpg","text":"TemporaryFile(/tmp/multipartBody3080679691177094859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_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/26/5b9842ce1ee343ce1371a02eb18bee8a.jpg","text":"TemporaryFile(/tmp/multipartBody6480630609920595704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_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/26/2be31a0b18666c48b74a6d18120bcd45.jpg","text":"TemporaryFile(/tmp/multipartBody7222523135171814863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882813570,"filename":"image_26012025_10_11_25_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638559","file1":"1331638556","file0":"1331638551","file4":"1331638571","file5":"1331638586","file3":"1331638564"},"map_files_photo_id_array":[{"photo_id":"1331638586","filename":"file5"},{"photo_id":"1331638559","filename":"file2"},{"photo_id":"1331638571","filename":"file4"},{"photo_id":"1331638556","filename":"file1"},{"photo_id":"1331638551","filename":"file0"},{"photo_id":"1331638564","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638564":["hashtag1","hashtag2"]},{"1331638551":["hashtag1","hashtag2"]},{"1331638586":["hashtag1","hashtag2"]},{"1331638571":["hashtag1","hashtag2"]},{"1331638556":["hashtag1","hashtag2"]},{"1331638559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638564, 1331638551, 1331638586, 1331638571, 1331638556, 1331638559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33887267112732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:13:33.024180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/11/image_26012025_10_12_05_10342.jpg', '/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_15_9399.jpg', '/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_25_10351.jpg', '/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_35_10329.jpg', '/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_45_9360.jpg', '/home/pi/Desktop/images/26012025/10/12/image_26012025_10_13_06_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/11/image_26012025_10_12_05_10342.jpg
/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_15_9399.jpg
/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_25_10351.jpg
/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_35_10329.jpg
/home/pi/Desktop/images/26012025/10/12/image_26012025_10_12_45_9360.jpg
/home/pi/Desktop/images/26012025/10/12/image_26012025_10_13_06_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638618","1331638626","1331638608","1331638628","1331638622","1331638613"],"photo_ids_order":["1331638608","1331638613","1331638618","1331638622","1331638626","1331638628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a8e192dfe927f5dc46dfe75315d37e9.jpg","text":"TemporaryFile(/tmp/multipartBody7165957340961031094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_12_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/26/2d6a409b527f5960a4a9a344c7d7689a.jpg","text":"TemporaryFile(/tmp/multipartBody8812433576452513959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_12_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/26/d97b161c25e7db8eef167144eea44784.jpg","text":"TemporaryFile(/tmp/multipartBody8869893250663829142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_12_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/26/91278a27cf8f57f38741530886284e61.jpg","text":"TemporaryFile(/tmp/multipartBody663004089937865521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_13_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/26/3cd7ab321d62075c3ef52ba711ed5e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7115388803435945489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_12_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/316f8695a62913782328846609070b95.jpg","text":"TemporaryFile(/tmp/multipartBody3137343926618188907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882873938,"filename":"image_26012025_10_12_15_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638618","file1":"1331638613","file0":"1331638608","file4":"1331638626","file5":"1331638628","file3":"1331638622"},"map_files_photo_id_array":[{"photo_id":"1331638628","filename":"file5"},{"photo_id":"1331638618","filename":"file2"},{"photo_id":"1331638626","filename":"file4"},{"photo_id":"1331638613","filename":"file1"},{"photo_id":"1331638608","filename":"file0"},{"photo_id":"1331638622","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638618":["hashtag1","hashtag2"]},{"1331638626":["hashtag1","hashtag2"]},{"1331638608":["hashtag1","hashtag2"]},{"1331638628":["hashtag1","hashtag2"]},{"1331638622":["hashtag1","hashtag2"]},{"1331638613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638618, 1331638626, 1331638608, 1331638628, 1331638622, 1331638613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66646981239319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:14:33.158238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_15_9317.jpg', '/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_25_10338.jpg', '/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_36_10372.jpg', '/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_45_9346.jpg', '/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_55_10356.jpg', '/home/pi/Desktop/images/26012025/10/13/image_26012025_10_14_06_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_15_9317.jpg
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_25_10338.jpg
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_36_10372.jpg
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_45_9346.jpg
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_13_55_10356.jpg
/home/pi/Desktop/images/26012025/10/13/image_26012025_10_14_06_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":["1331638642","1331638651","1331638645","1331638647","1331638649","1331638637"],"photo_ids_order":["1331638637","1331638642","1331638645","1331638647","1331638649","1331638651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2624d97defc446c597a82ed415dfdfea.jpg","text":"TemporaryFile(/tmp/multipartBody7247344021508989279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_13_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/26/26b8f9341a8fa9a895d614a0aae1ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody3704896956165288422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_14_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/26/62aab73521e1a1f211dbf7f7da6519c3.jpg","text":"TemporaryFile(/tmp/multipartBody4226319340643697585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_13_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/26/c9dbf22734830452c4e0f53b65929fed.jpg","text":"TemporaryFile(/tmp/multipartBody3896841493629632186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_13_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/26/189a700ce82b85e62ff1e3b43931dd00.jpg","text":"TemporaryFile(/tmp/multipartBody8540697142901873937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_13_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/26/ba00b2c9711ce519123549c248e1771e.jpg","text":"TemporaryFile(/tmp/multipartBody8147885225099146645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882934077,"filename":"image_26012025_10_13_15_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638645","file1":"1331638642","file0":"1331638637","file4":"1331638649","file5":"1331638651","file3":"1331638647"},"map_files_photo_id_array":[{"photo_id":"1331638651","filename":"file5"},{"photo_id":"1331638645","filename":"file2"},{"photo_id":"1331638649","filename":"file4"},{"photo_id":"1331638642","filename":"file1"},{"photo_id":"1331638637","filename":"file0"},{"photo_id":"1331638647","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638642":["hashtag1","hashtag2"]},{"1331638651":["hashtag1","hashtag2"]},{"1331638645":["hashtag1","hashtag2"]},{"1331638647":["hashtag1","hashtag2"]},{"1331638649":["hashtag1","hashtag2"]},{"1331638637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638642, 1331638651, 1331638645, 1331638647, 1331638649, 1331638637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16497206687927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:15:32.430109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_15_9344.jpg', '/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_25_10367.jpg', '/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_35_9394.jpg', '/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_45_10367.jpg', '/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_56_10440.jpg', '/home/pi/Desktop/images/26012025/10/14/image_26012025_10_15_05_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_15_9344.jpg
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_25_10367.jpg
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_35_9394.jpg
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_45_10367.jpg
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_14_56_10440.jpg
/home/pi/Desktop/images/26012025/10/14/image_26012025_10_15_05_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":["1331638677","1331638664","1331638673","1331638676","1331638669","1331638660"],"photo_ids_order":["1331638660","1331638664","1331638669","1331638673","1331638676","1331638677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/115b6bc1a7c41583c612533bf8039c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6588280155500151644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_15_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/26/3ebd45930a15dd2245ed93ae99991903.jpg","text":"TemporaryFile(/tmp/multipartBody2397012490197344434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_14_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/26/5e0e51aa2ed09a3538c940967f2ae46e.jpg","text":"TemporaryFile(/tmp/multipartBody3443523667830159072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_14_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/26/3643e14929212ca28972a1dbce28e249.jpg","text":"TemporaryFile(/tmp/multipartBody4599829431250583797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_14_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/26/4f32d7f5cb52fccbd844bc9470c2f5c7.jpg","text":"TemporaryFile(/tmp/multipartBody5491799826730823041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_14_35_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ee377a3002fbb974442dbdc2b3f8f13.jpg","text":"TemporaryFile(/tmp/multipartBody5171107947288008356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737882993346,"filename":"image_26012025_10_14_15_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638669","file1":"1331638664","file0":"1331638660","file4":"1331638676","file5":"1331638677","file3":"1331638673"},"map_files_photo_id_array":[{"photo_id":"1331638677","filename":"file5"},{"photo_id":"1331638669","filename":"file2"},{"photo_id":"1331638676","filename":"file4"},{"photo_id":"1331638664","filename":"file1"},{"photo_id":"1331638660","filename":"file0"},{"photo_id":"1331638673","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638677":["hashtag1","hashtag2"]},{"1331638664":["hashtag1","hashtag2"]},{"1331638673":["hashtag1","hashtag2"]},{"1331638676":["hashtag1","hashtag2"]},{"1331638669":["hashtag1","hashtag2"]},{"1331638660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638677, 1331638664, 1331638673, 1331638676, 1331638669, 1331638660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.772390604019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:16:32.661822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_15_10366.jpg', '/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_25_9432.jpg', '/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_35_10337.jpg', '/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_46_10476.jpg', '/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_55_9343.jpg', '/home/pi/Desktop/images/26012025/10/15/image_26012025_10_16_05_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_15_10366.jpg
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_25_9432.jpg
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_35_10337.jpg
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_46_10476.jpg
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_15_55_9343.jpg
/home/pi/Desktop/images/26012025/10/15/image_26012025_10_16_05_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":["1331638744","1331638711","1331638702","1331638740","1331638743","1331638736"],"photo_ids_order":["1331638702","1331638711","1331638736","1331638740","1331638743","1331638744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2d514657b5df6aff1bc9fcb4796241b.jpg","text":"TemporaryFile(/tmp/multipartBody6447676669457086271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_16_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7c815a660b3042859067e7c6cfd48a0.jpg","text":"TemporaryFile(/tmp/multipartBody7254227263852135658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_15_25_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/26/c44da80a85e0f25bf6aca92cad1e84f4.jpg","text":"TemporaryFile(/tmp/multipartBody5017794623223238805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_15_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/26/5419821c8f9f20586b7db96e8816790f.jpg","text":"TemporaryFile(/tmp/multipartBody17016593395610850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_15_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/26/6fdc760cdbdf5cc32aff691b8d0e2f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3804094921570723371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_15_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f828d8138b436aa80ec4738bbbfa0ef.jpg","text":"TemporaryFile(/tmp/multipartBody861963104394719874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883053576,"filename":"image_26012025_10_15_35_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638736","file1":"1331638711","file0":"1331638702","file4":"1331638743","file5":"1331638744","file3":"1331638740"},"map_files_photo_id_array":[{"photo_id":"1331638744","filename":"file5"},{"photo_id":"1331638736","filename":"file2"},{"photo_id":"1331638743","filename":"file4"},{"photo_id":"1331638711","filename":"file1"},{"photo_id":"1331638702","filename":"file0"},{"photo_id":"1331638740","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638744":["hashtag1","hashtag2"]},{"1331638711":["hashtag1","hashtag2"]},{"1331638702":["hashtag1","hashtag2"]},{"1331638740":["hashtag1","hashtag2"]},{"1331638743":["hashtag1","hashtag2"]},{"1331638736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638744, 1331638711, 1331638702, 1331638740, 1331638743, 1331638736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.111703395843506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:17:33.036462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_16_10385.jpg', '/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_25_9472.jpg', '/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_35_10446.jpg', '/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_45_9351.jpg', '/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_55_10379.jpg', '/home/pi/Desktop/images/26012025/10/16/image_26012025_10_17_05_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_16_10385.jpg
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_25_9472.jpg
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_35_10446.jpg
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_45_9351.jpg
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_16_55_10379.jpg
/home/pi/Desktop/images/26012025/10/16/image_26012025_10_17_05_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":["1331638765","1331638758","1331638781","1331638778","1331638772","1331638751"],"photo_ids_order":["1331638751","1331638758","1331638765","1331638772","1331638778","1331638781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5fccfb8c4bbd088a7df67083243d524.jpg","text":"TemporaryFile(/tmp/multipartBody4007261563980105987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_16_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/26/c3852e4bd79d596c1739484bcafc302b.jpg","text":"TemporaryFile(/tmp/multipartBody2553768773348932006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_16_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/26/d0ce05cf333b35517afcd6682ceed2bc.jpg","text":"TemporaryFile(/tmp/multipartBody8475119637804238097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_17_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/26/c73321983d949892b98775c472268fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2966392573659492911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_16_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/26/9cffb071cf6914ecc226fba35aac3cea.jpg","text":"TemporaryFile(/tmp/multipartBody2485796379016339394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_16_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d1de1b5e4cb25d88066b3068e69fff38.jpg","text":"TemporaryFile(/tmp/multipartBody5679730535773181791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883113966,"filename":"image_26012025_10_16_16_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638765","file1":"1331638758","file0":"1331638751","file4":"1331638778","file5":"1331638781","file3":"1331638772"},"map_files_photo_id_array":[{"photo_id":"1331638781","filename":"file5"},{"photo_id":"1331638765","filename":"file2"},{"photo_id":"1331638778","filename":"file4"},{"photo_id":"1331638758","filename":"file1"},{"photo_id":"1331638751","filename":"file0"},{"photo_id":"1331638772","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638765":["hashtag1","hashtag2"]},{"1331638758":["hashtag1","hashtag2"]},{"1331638781":["hashtag1","hashtag2"]},{"1331638778":["hashtag1","hashtag2"]},{"1331638772":["hashtag1","hashtag2"]},{"1331638751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638765, 1331638758, 1331638781, 1331638778, 1331638772, 1331638751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.748217821121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:18:32.306389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_15_10356.jpg', '/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_26_10518.jpg', '/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_35_9450.jpg', '/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_45_10354.jpg', '/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_55_9423.jpg', '/home/pi/Desktop/images/26012025/10/17/image_26012025_10_18_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_15_10356.jpg
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_26_10518.jpg
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_35_9450.jpg
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_45_10354.jpg
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_17_55_9423.jpg
/home/pi/Desktop/images/26012025/10/17/image_26012025_10_18_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331638960","1331638854","1331638836","1331638818","1331638886","1331638841"],"photo_ids_order":["1331638818","1331638836","1331638841","1331638854","1331638886","1331638960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d2bb19424b96154ffc42963f0861075.jpg","text":"TemporaryFile(/tmp/multipartBody1371933512878912550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_18_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/26/dace6d73a5fedeab8af0d6b0856b2f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5659119218403599479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_17_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/26/79ff3b55e2095841d53577e7c61a6d53.jpg","text":"TemporaryFile(/tmp/multipartBody4636763390512575659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_17_26_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/26/b914e46a48d2c1068142ed017cd3944d.jpg","text":"TemporaryFile(/tmp/multipartBody8615184920715128140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_17_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/26/d59716dca79ca73039f8d99105143f05.jpg","text":"TemporaryFile(/tmp/multipartBody7431725900675131236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_17_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/26/704919c7ce25bc44ee846bea688e4507.jpg","text":"TemporaryFile(/tmp/multipartBody996565941956888164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883173210,"filename":"image_26012025_10_17_35_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331638841","file1":"1331638836","file0":"1331638818","file4":"1331638886","file5":"1331638960","file3":"1331638854"},"map_files_photo_id_array":[{"photo_id":"1331638960","filename":"file5"},{"photo_id":"1331638841","filename":"file2"},{"photo_id":"1331638886","filename":"file4"},{"photo_id":"1331638836","filename":"file1"},{"photo_id":"1331638818","filename":"file0"},{"photo_id":"1331638854","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331638960":["hashtag1","hashtag2"]},{"1331638854":["hashtag1","hashtag2"]},{"1331638836":["hashtag1","hashtag2"]},{"1331638818":["hashtag1","hashtag2"]},{"1331638886":["hashtag1","hashtag2"]},{"1331638841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331638960, 1331638854, 1331638836, 1331638818, 1331638886, 1331638841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.15419793128967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:19:33.640872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_15_10376.jpg', '/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_25_9343.jpg', '/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_35_10340.jpg', '/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_46_10481.jpg', '/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_55_9349.jpg', '/home/pi/Desktop/images/26012025/10/18/image_26012025_10_19_05_10327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_15_10376.jpg
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_25_9343.jpg
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_35_10340.jpg
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_46_10481.jpg
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_18_55_9349.jpg
/home/pi/Desktop/images/26012025/10/18/image_26012025_10_19_05_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331639898","1331639877","1331639885","1331639948","1331639953","1331639956"],"photo_ids_order":["1331639877","1331639885","1331639898","1331639948","1331639953","1331639956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b25aa765052429ffa929eb6787aaef1d.jpg","text":"TemporaryFile(/tmp/multipartBody8436545575644030019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_18_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/26/649e80ace5617522761d1ff941df1986.jpg","text":"TemporaryFile(/tmp/multipartBody8289213694649052818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_18_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/26/66466b6e5382b7675d0a98a7c5e4d455.jpg","text":"TemporaryFile(/tmp/multipartBody8039782167130130923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_18_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/26/a9693b29e2f34e06fbaa3d7ac261fad3.jpg","text":"TemporaryFile(/tmp/multipartBody6798808755721820339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_18_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/26/22f92ead1bb8f21e8efabfcef6f64da3.jpg","text":"TemporaryFile(/tmp/multipartBody6843566199702033052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_18_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/26/4ee7ee488bdfcdc3854152b2e76fe503.jpg","text":"TemporaryFile(/tmp/multipartBody2676137747369931459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883234568,"filename":"image_26012025_10_19_05_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331639898","file1":"1331639885","file0":"1331639877","file4":"1331639953","file5":"1331639956","file3":"1331639948"},"map_files_photo_id_array":[{"photo_id":"1331639956","filename":"file5"},{"photo_id":"1331639898","filename":"file2"},{"photo_id":"1331639953","filename":"file4"},{"photo_id":"1331639885","filename":"file1"},{"photo_id":"1331639877","filename":"file0"},{"photo_id":"1331639948","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331639898":["hashtag1","hashtag2"]},{"1331639877":["hashtag1","hashtag2"]},{"1331639885":["hashtag1","hashtag2"]},{"1331639948":["hashtag1","hashtag2"]},{"1331639953":["hashtag1","hashtag2"]},{"1331639956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331639898, 1331639877, 1331639885, 1331639948, 1331639953, 1331639956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23697304725647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:20:32.642281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_15_9329.jpg', '/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_25_10447.jpg', '/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_35_10325.jpg', '/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_45_9431.jpg', '/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_55_10350.jpg', '/home/pi/Desktop/images/26012025/10/19/image_26012025_10_20_06_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_15_9329.jpg
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_25_10447.jpg
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_35_10325.jpg
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_45_9431.jpg
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_19_55_10350.jpg
/home/pi/Desktop/images/26012025/10/19/image_26012025_10_20_06_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331640331","1331640325","1331640340","1331640336","1331640341","1331640308"],"photo_ids_order":["1331640308","1331640325","1331640331","1331640336","1331640340","1331640341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c6da768f4a61d79c9f9e22e38c8053c.jpg","text":"TemporaryFile(/tmp/multipartBody8046198299822690766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_19_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3fa24b935a32bcfc255a4cbbd964acba.jpg","text":"TemporaryFile(/tmp/multipartBody3919528675514123729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_19_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/26/e4a07e2c557d3246f939275d53807979.jpg","text":"TemporaryFile(/tmp/multipartBody3456319011621477259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_19_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/26/a4753ca268b991d195b9ec54cb15f999.jpg","text":"TemporaryFile(/tmp/multipartBody2285715289820588629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_19_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/26/5fc1c291752c98e543ebc9e78d291ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5050131981460090416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_20_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/26/c7f9fb992ed14dfa1184de3289ef08a8.jpg","text":"TemporaryFile(/tmp/multipartBody6124428485347008206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883293589,"filename":"image_26012025_10_19_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640331","file1":"1331640325","file0":"1331640308","file4":"1331640340","file5":"1331640341","file3":"1331640336"},"map_files_photo_id_array":[{"photo_id":"1331640341","filename":"file5"},{"photo_id":"1331640331","filename":"file2"},{"photo_id":"1331640340","filename":"file4"},{"photo_id":"1331640325","filename":"file1"},{"photo_id":"1331640308","filename":"file0"},{"photo_id":"1331640336","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640331":["hashtag1","hashtag2"]},{"1331640325":["hashtag1","hashtag2"]},{"1331640340":["hashtag1","hashtag2"]},{"1331640336":["hashtag1","hashtag2"]},{"1331640341":["hashtag1","hashtag2"]},{"1331640308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640331, 1331640325, 1331640340, 1331640336, 1331640341, 1331640308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12230324745178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:21:32.913365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_15_9434.jpg', '/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_25_10348.jpg', '/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_35_9334.jpg', '/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_45_10374.jpg', '/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_55_10357.jpg', '/home/pi/Desktop/images/26012025/10/20/image_26012025_10_21_05_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_15_9434.jpg
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_25_10348.jpg
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_35_9334.jpg
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_45_10374.jpg
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_20_55_10357.jpg
/home/pi/Desktop/images/26012025/10/20/image_26012025_10_21_05_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":["1331640349","1331640372","1331640362","1331640371","1331640356","1331640367"],"photo_ids_order":["1331640349","1331640356","1331640362","1331640367","1331640371","1331640372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c0fa6a85d661006f1a999bf205b8965.jpg","text":"TemporaryFile(/tmp/multipartBody1518144431493798238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_10_20_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/26/bcab972ec1feb9b9e35402ce2f2a166b.jpg","text":"TemporaryFile(/tmp/multipartBody1703715294214386190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_10_21_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/26/06209cf14cf6610b35e90ee160e612cf.jpg","text":"TemporaryFile(/tmp/multipartBody2477241815504609553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_10_20_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/26/e0a20b276fb307fc43d38337aecead93.jpg","text":"TemporaryFile(/tmp/multipartBody1273605482417156404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_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/26/d8425956d5f2e4ed53be8f4cfc018b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6186596373120603330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_10_20_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/26/280c0802f2313d37046dade8fb7aed85.jpg","text":"TemporaryFile(/tmp/multipartBody4049057343630262391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883353827,"filename":"image_26012025_10_20_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640362","file1":"1331640356","file0":"1331640349","file4":"1331640371","file5":"1331640372","file3":"1331640367"},"map_files_photo_id_array":[{"photo_id":"1331640372","filename":"file5"},{"photo_id":"1331640362","filename":"file2"},{"photo_id":"1331640371","filename":"file4"},{"photo_id":"1331640356","filename":"file1"},{"photo_id":"1331640349","filename":"file0"},{"photo_id":"1331640367","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640349":["hashtag1","hashtag2"]},{"1331640372":["hashtag1","hashtag2"]},{"1331640362":["hashtag1","hashtag2"]},{"1331640371":["hashtag1","hashtag2"]},{"1331640356":["hashtag1","hashtag2"]},{"1331640367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640349, 1331640372, 1331640362, 1331640371, 1331640356, 1331640367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33788704872131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:22:33.026824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_15_10352.jpg', '/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_26_10436.jpg', '/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_35_9393.jpg', '/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_45_10341.jpg', '/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_55_9446.jpg', '/home/pi/Desktop/images/26012025/10/21/image_26012025_10_22_05_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_15_10352.jpg
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_26_10436.jpg
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_35_9393.jpg
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_45_10341.jpg
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_21_55_9446.jpg
/home/pi/Desktop/images/26012025/10/21/image_26012025_10_22_05_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331640448","1331640453","1331640432","1331640456","1331640417","1331640426"],"photo_ids_order":["1331640417","1331640426","1331640432","1331640448","1331640453","1331640456"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/55b33285f337859c2f69f65e180021f3.jpg","text":"TemporaryFile(/tmp/multipartBody8697677325819695791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_21_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/26/1874858eb039466da04c431f601105e6.jpg","text":"TemporaryFile(/tmp/multipartBody161819060395237067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_21_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/26/5aaedb2eecb4f92dcd8e62e03586e104.jpg","text":"TemporaryFile(/tmp/multipartBody1364014603206215496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_21_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/26/2fd71c8ce8e2a09e131594f671746826.jpg","text":"TemporaryFile(/tmp/multipartBody3933125903390784881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_22_05_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3bb0da9dd9a1c179759b3fa92d7a71f2.jpg","text":"TemporaryFile(/tmp/multipartBody7164935023316814242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_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/26/90fb58cacbb4ac320defa53e6ef52c95.jpg","text":"TemporaryFile(/tmp/multipartBody8935874343184121513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883413962,"filename":"image_26012025_10_21_26_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640432","file1":"1331640426","file0":"1331640417","file4":"1331640453","file5":"1331640456","file3":"1331640448"},"map_files_photo_id_array":[{"photo_id":"1331640456","filename":"file5"},{"photo_id":"1331640432","filename":"file2"},{"photo_id":"1331640453","filename":"file4"},{"photo_id":"1331640426","filename":"file1"},{"photo_id":"1331640417","filename":"file0"},{"photo_id":"1331640448","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640448":["hashtag1","hashtag2"]},{"1331640453":["hashtag1","hashtag2"]},{"1331640432":["hashtag1","hashtag2"]},{"1331640456":["hashtag1","hashtag2"]},{"1331640417":["hashtag1","hashtag2"]},{"1331640426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640448, 1331640453, 1331640432, 1331640456, 1331640417, 1331640426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.436570167541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:23:32.265157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_16_10440.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_25_9417.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_35_10341.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_45_9396.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_55_10354.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_23_05_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_16_10440.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_25_9417.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_35_10341.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_45_9396.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_55_10354.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_23_05_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.5154967308044434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:23:42.163271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_16_10440.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_25_9417.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_35_10341.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_45_9396.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_55_10354.jpg', '/home/pi/Desktop/images/26012025/10/22/image_26012025_10_23_05_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_16_10440.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_25_9417.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_35_10341.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_45_9396.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_22_55_10354.jpg
/home/pi/Desktop/images/26012025/10/22/image_26012025_10_23_05_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":["1331640496","1331640480","1331640504","1331640499","1331640493","1331640487"],"photo_ids_order":["1331640480","1331640487","1331640493","1331640496","1331640499","1331640504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e91c85188cb77566a1544c0d7c33d0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1633637246897131373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_22_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/26/8862f82222ec619abb794b7fa0626963.jpg","text":"TemporaryFile(/tmp/multipartBody3857793688577202086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_22_16_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7136b00a76c8a16462cdd2db8a0b10dd.jpg","text":"TemporaryFile(/tmp/multipartBody7148732384889458893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_23_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/26/1cc6557571b23f01f4950a4bb3a6cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody2442708163528867119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_22_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/26/dc1a699125c914756263da3070e0b8d7.jpg","text":"TemporaryFile(/tmp/multipartBody3781339786858743802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_22_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/26/0ec02faec421b960e03a5f6608b920e8.jpg","text":"TemporaryFile(/tmp/multipartBody8745983728185877283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883483070,"filename":"image_26012025_10_22_25_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640493","file1":"1331640487","file0":"1331640480","file4":"1331640499","file5":"1331640504","file3":"1331640496"},"map_files_photo_id_array":[{"photo_id":"1331640504","filename":"file5"},{"photo_id":"1331640493","filename":"file2"},{"photo_id":"1331640499","filename":"file4"},{"photo_id":"1331640487","filename":"file1"},{"photo_id":"1331640480","filename":"file0"},{"photo_id":"1331640496","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640496":["hashtag1","hashtag2"]},{"1331640480":["hashtag1","hashtag2"]},{"1331640504":["hashtag1","hashtag2"]},{"1331640499":["hashtag1","hashtag2"]},{"1331640493":["hashtag1","hashtag2"]},{"1331640487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640496, 1331640480, 1331640504, 1331640499, 1331640493, 1331640487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.983200788497925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:24:32.370157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_15_9454.jpg', '/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_25_10340.jpg', '/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_36_10421.jpg', '/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_45_9368.jpg', '/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_55_10410.jpg', '/home/pi/Desktop/images/26012025/10/23/image_26012025_10_24_05_9374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_15_9454.jpg
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_25_10340.jpg
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_36_10421.jpg
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_45_9368.jpg
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_23_55_10410.jpg
/home/pi/Desktop/images/26012025/10/23/image_26012025_10_24_05_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":["1331640532","1331640549","1331640543","1331640539","1331640536","1331640565"],"photo_ids_order":["1331640532","1331640536","1331640539","1331640543","1331640549","1331640565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4acce8f4f7f974601d6dbd4f0b294bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6794246880684741933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_23_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1662db613adc44f0af88b3419b536eaf.jpg","text":"TemporaryFile(/tmp/multipartBody414482611430424858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_23_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/26/e1daf769573c01e29bd225c0eaf07ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3010215123220053119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_23_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/26/0cf3f5b3b4aa49cadfa1b7ecf96c3c30.jpg","text":"TemporaryFile(/tmp/multipartBody1481171707743563921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_23_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/26/89556044a9a164e4a44cd02b9dc6358b.jpg","text":"TemporaryFile(/tmp/multipartBody3177004565599250025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_23_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/26/2b20f33d19cd53087047fb70beb53891.jpg","text":"TemporaryFile(/tmp/multipartBody2348247328069984359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883533273,"filename":"image_26012025_10_24_05_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640539","file1":"1331640536","file0":"1331640532","file4":"1331640549","file5":"1331640565","file3":"1331640543"},"map_files_photo_id_array":[{"photo_id":"1331640565","filename":"file5"},{"photo_id":"1331640539","filename":"file2"},{"photo_id":"1331640549","filename":"file4"},{"photo_id":"1331640536","filename":"file1"},{"photo_id":"1331640532","filename":"file0"},{"photo_id":"1331640543","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640532":["hashtag1","hashtag2"]},{"1331640549":["hashtag1","hashtag2"]},{"1331640543":["hashtag1","hashtag2"]},{"1331640539":["hashtag1","hashtag2"]},{"1331640536":["hashtag1","hashtag2"]},{"1331640565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640532, 1331640549, 1331640543, 1331640539, 1331640536, 1331640565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51710486412048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:25:32.682819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_15_10353.jpg', '/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_35_9320.jpg', '/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_45_10371.jpg', '/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_55_9442.jpg', '/home/pi/Desktop/images/26012025/10/24/image_26012025_10_25_05_10360.jpg', '/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_15_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_15_10353.jpg
/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_35_9320.jpg
/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_45_10371.jpg
/home/pi/Desktop/images/26012025/10/24/image_26012025_10_24_55_9442.jpg
/home/pi/Desktop/images/26012025/10/24/image_26012025_10_25_05_10360.jpg
/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_15_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331640652","1331640649","1331640634","1331640681","1331640656","1331640644"],"photo_ids_order":["1331640634","1331640644","1331640649","1331640652","1331640656","1331640681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45dba3a0c26e6b6c9317007a8601f48c.jpg","text":"TemporaryFile(/tmp/multipartBody1708691260302969445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_24_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fffc7021e17c9aedcafe6d9c833e3d7d.jpg","text":"TemporaryFile(/tmp/multipartBody3986276016541655613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_24_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/968ee6577d0bb25073da9f18af47f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6864518759173337335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_24_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/26/c9058eb4b8991af848f97b59e6041f31.jpg","text":"TemporaryFile(/tmp/multipartBody1384773165605135715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_25_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/26/6a9b7e9e065a652a3f8f4aeb37e7fb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5726598605077011935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_25_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/26/9fa0f083f8e78f231fda07cfd08e25f3.jpg","text":"TemporaryFile(/tmp/multipartBody1702045604782906071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883593615,"filename":"image_26012025_10_24_35_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331640649","file1":"1331640644","file0":"1331640634","file4":"1331640656","file5":"1331640681","file3":"1331640652"},"map_files_photo_id_array":[{"photo_id":"1331640681","filename":"file5"},{"photo_id":"1331640649","filename":"file2"},{"photo_id":"1331640656","filename":"file4"},{"photo_id":"1331640644","filename":"file1"},{"photo_id":"1331640634","filename":"file0"},{"photo_id":"1331640652","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331640652":["hashtag1","hashtag2"]},{"1331640649":["hashtag1","hashtag2"]},{"1331640634":["hashtag1","hashtag2"]},{"1331640681":["hashtag1","hashtag2"]},{"1331640656":["hashtag1","hashtag2"]},{"1331640644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331640652, 1331640649, 1331640634, 1331640681, 1331640656, 1331640644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4745352268219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:26:32.909614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_25_9447.jpg', '/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_46_10508.jpg', '/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_55_9345.jpg', '/home/pi/Desktop/images/26012025/10/25/image_26012025_10_26_05_10343.jpg', '/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_16_10326.jpg', '/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_25_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_25_9447.jpg
/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_46_10508.jpg
/home/pi/Desktop/images/26012025/10/25/image_26012025_10_25_55_9345.jpg
/home/pi/Desktop/images/26012025/10/25/image_26012025_10_26_05_10343.jpg
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_16_10326.jpg
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_25_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":["1331641091","1331641430","1331641331","1331641214","1331641498","1331641456"],"photo_ids_order":["1331641091","1331641214","1331641331","1331641430","1331641456","1331641498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3c88361b060abeef22e629ba0204833.jpg","text":"TemporaryFile(/tmp/multipartBody8638072222102213761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_25_25_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd7a152558ce2e75966079c4f64f020e.jpg","text":"TemporaryFile(/tmp/multipartBody5768521002163136895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_26_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/26/aacdfc0890491fc5ea80f57def0c2a23.jpg","text":"TemporaryFile(/tmp/multipartBody1579743213673887473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_25_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/26/2a05b543ac08a86a9f5ee504c6b044d3.jpg","text":"TemporaryFile(/tmp/multipartBody8531826594603931080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_25_46_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/26/accc5d98fe9d2803c373c89818bcaa5f.jpg","text":"TemporaryFile(/tmp/multipartBody3874561881649860849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_26_25_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/26/b9a524541ecdc09e69ae398b389681ba.jpg","text":"TemporaryFile(/tmp/multipartBody1532229353073628702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883653831,"filename":"image_26012025_10_26_16_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641331","file1":"1331641214","file0":"1331641091","file4":"1331641456","file5":"1331641498","file3":"1331641430"},"map_files_photo_id_array":[{"photo_id":"1331641498","filename":"file5"},{"photo_id":"1331641331","filename":"file2"},{"photo_id":"1331641456","filename":"file4"},{"photo_id":"1331641214","filename":"file1"},{"photo_id":"1331641091","filename":"file0"},{"photo_id":"1331641430","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641091":["hashtag1","hashtag2"]},{"1331641430":["hashtag1","hashtag2"]},{"1331641331":["hashtag1","hashtag2"]},{"1331641214":["hashtag1","hashtag2"]},{"1331641498":["hashtag1","hashtag2"]},{"1331641456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641091, 1331641430, 1331641331, 1331641214, 1331641498, 1331641456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33943271636963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:27:32.159780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_35_10331.jpg', '/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_45_9428.jpg', '/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_55_10366.jpg', '/home/pi/Desktop/images/26012025/10/26/image_26012025_10_27_06_10462.jpg', '/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_15_9392.jpg', '/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_35_9382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_35_10331.jpg
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_45_9428.jpg
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_26_55_10366.jpg
/home/pi/Desktop/images/26012025/10/26/image_26012025_10_27_06_10462.jpg
/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_15_9392.jpg
/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_35_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":["1331641584","1331641557","1331641551","1331641562","1331641585","1331641567"],"photo_ids_order":["1331641551","1331641557","1331641562","1331641567","1331641584","1331641585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b55b3cc557b05120326bbb2a9e0897a.jpg","text":"TemporaryFile(/tmp/multipartBody8019449080391244702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_27_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/26/224fb47026e7e771b5b9a0593ce0331d.jpg","text":"TemporaryFile(/tmp/multipartBody2977465005168168837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_26_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d29a0006c9ee847805ba3552ac7cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody1380653297231103400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_26_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ab0d0e3217b10c5f7b2c64fda1f4524.jpg","text":"TemporaryFile(/tmp/multipartBody8803849670678685042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_26_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/26/3a755911a8dd7973640bc8b934cae12e.jpg","text":"TemporaryFile(/tmp/multipartBody7075656247022933749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_27_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/26/fcbb06dab1688e21e064c92a383da25d.jpg","text":"TemporaryFile(/tmp/multipartBody2177076602617393757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883713087,"filename":"image_26012025_10_27_06_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641562","file1":"1331641557","file0":"1331641551","file4":"1331641584","file5":"1331641585","file3":"1331641567"},"map_files_photo_id_array":[{"photo_id":"1331641585","filename":"file5"},{"photo_id":"1331641562","filename":"file2"},{"photo_id":"1331641584","filename":"file4"},{"photo_id":"1331641557","filename":"file1"},{"photo_id":"1331641551","filename":"file0"},{"photo_id":"1331641567","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641584":["hashtag1","hashtag2"]},{"1331641557":["hashtag1","hashtag2"]},{"1331641551":["hashtag1","hashtag2"]},{"1331641562":["hashtag1","hashtag2"]},{"1331641585":["hashtag1","hashtag2"]},{"1331641567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641584, 1331641557, 1331641551, 1331641562, 1331641585, 1331641567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.179030656814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:28:32.502203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_45_10340.jpg', '/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_55_10342.jpg', '/home/pi/Desktop/images/26012025/10/27/image_26012025_10_28_05_9447.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_15_10313.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_26_10417.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_35_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_45_10340.jpg
/home/pi/Desktop/images/26012025/10/27/image_26012025_10_27_55_10342.jpg
/home/pi/Desktop/images/26012025/10/27/image_26012025_10_28_05_9447.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_15_10313.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_26_10417.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_35_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":["1331641636","1331641643","1331641651","1331641639","1331641654","1331641648"],"photo_ids_order":["1331641636","1331641639","1331641643","1331641648","1331641651","1331641654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/845ef87e32dab0f850469643e3b53c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7445774809052666896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_27_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/26/92b916731c4d773c883905cf40d4f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody2639714650004392738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_28_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/26/e3a5cca185afde4e65e0c79163d87d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4458103440821511246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_28_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/906fead7449f53a903f89bf15a91833c.jpg","text":"TemporaryFile(/tmp/multipartBody3687905086073781597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_27_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d52532f7480758d0c9ee03d40bf8132a.jpg","text":"TemporaryFile(/tmp/multipartBody2773995863518419516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_28_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/26/4488df30fb92408726af72be91f3ca35.jpg","text":"TemporaryFile(/tmp/multipartBody852427451304633546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883773408,"filename":"image_26012025_10_28_15_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641643","file1":"1331641639","file0":"1331641636","file4":"1331641651","file5":"1331641654","file3":"1331641648"},"map_files_photo_id_array":[{"photo_id":"1331641654","filename":"file5"},{"photo_id":"1331641643","filename":"file2"},{"photo_id":"1331641651","filename":"file4"},{"photo_id":"1331641639","filename":"file1"},{"photo_id":"1331641636","filename":"file0"},{"photo_id":"1331641648","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641636":["hashtag1","hashtag2"]},{"1331641643":["hashtag1","hashtag2"]},{"1331641651":["hashtag1","hashtag2"]},{"1331641639":["hashtag1","hashtag2"]},{"1331641654":["hashtag1","hashtag2"]},{"1331641648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641636, 1331641643, 1331641651, 1331641639, 1331641654, 1331641648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68856143951416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:29:32.735464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_45_10425.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_55_9455.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_29_05_10332.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_15_10327.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_25_9437.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_35_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_45_10425.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_55_9455.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_29_05_10332.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_15_10327.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_25_9437.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_35_10326.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5158236026763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:29:42.664283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_45_10425.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_55_9455.jpg', '/home/pi/Desktop/images/26012025/10/28/image_26012025_10_29_05_10332.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_15_10327.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_25_9437.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_35_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_45_10425.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_28_55_9455.jpg
/home/pi/Desktop/images/26012025/10/28/image_26012025_10_29_05_10332.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_15_10327.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_25_9437.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_35_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331641698","1331641695","1331641689","1331641701","1331641709","1331641705"],"photo_ids_order":["1331641689","1331641695","1331641698","1331641701","1331641705","1331641709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/119114623e94c1767db67230ec666637.jpg","text":"TemporaryFile(/tmp/multipartBody8577909546190869534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_29_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7197824f57824a163605c7381c6a154.jpg","text":"TemporaryFile(/tmp/multipartBody8975744908959056515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_28_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c7406fb5f7357503a16fff9a10ad1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1653637113082218384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_28_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/26/a68932bbfd796fb26a45702ff7ad4431.jpg","text":"TemporaryFile(/tmp/multipartBody4482195326448788373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_29_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/26/2d496f3e1a108c2de76b9e56e3c407b0.jpg","text":"TemporaryFile(/tmp/multipartBody8287247188854444792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_29_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4721763c7a308dd248e4f0c81de55e15.jpg","text":"TemporaryFile(/tmp/multipartBody7584332126669037930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883843563,"filename":"image_26012025_10_29_25_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641698","file1":"1331641695","file0":"1331641689","file4":"1331641705","file5":"1331641709","file3":"1331641701"},"map_files_photo_id_array":[{"photo_id":"1331641709","filename":"file5"},{"photo_id":"1331641698","filename":"file2"},{"photo_id":"1331641705","filename":"file4"},{"photo_id":"1331641695","filename":"file1"},{"photo_id":"1331641689","filename":"file0"},{"photo_id":"1331641701","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641698":["hashtag1","hashtag2"]},{"1331641695":["hashtag1","hashtag2"]},{"1331641689":["hashtag1","hashtag2"]},{"1331641701":["hashtag1","hashtag2"]},{"1331641709":["hashtag1","hashtag2"]},{"1331641705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641698, 1331641695, 1331641689, 1331641701, 1331641709, 1331641705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78724455833435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:30:32.924079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_45_9469.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_55_10376.jpg', '/home/pi/Desktop/images/26012025/10/29/image_26012025_10_30_05_10355.jpg', '/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_25_10369.jpg', '/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_36_10490.jpg', '/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_45_9469.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_29_55_10376.jpg
/home/pi/Desktop/images/26012025/10/29/image_26012025_10_30_05_10355.jpg
/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_25_10369.jpg
/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_36_10490.jpg
/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_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":["1331641735","1331641749","1331641740","1331641731","1331641728","1331641744"],"photo_ids_order":["1331641728","1331641731","1331641735","1331641740","1331641744","1331641749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/56cadd2a3486a8452f55e3ce486aecab.jpg","text":"TemporaryFile(/tmp/multipartBody7081163147729252984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_30_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/26/144668a18e98038254892a50142e3f90.jpg","text":"TemporaryFile(/tmp/multipartBody296227940852978378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_30_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/26/bdd53cf6a3b4a257c6c7dcd88e88450d.jpg","text":"TemporaryFile(/tmp/multipartBody9188381116589857480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_30_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/26/9546125e21195da327f2d077768950d7.jpg","text":"TemporaryFile(/tmp/multipartBody4643656100307164447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_29_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/26/e87cc2fbbe518c0ac8548fa178ae32ff.jpg","text":"TemporaryFile(/tmp/multipartBody3970925096548054156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_29_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/26/8028eec3b0335df1abdb54ad6bc9267c.jpg","text":"TemporaryFile(/tmp/multipartBody4917537505360988175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883893847,"filename":"image_26012025_10_30_36_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641735","file1":"1331641731","file0":"1331641728","file4":"1331641744","file5":"1331641749","file3":"1331641740"},"map_files_photo_id_array":[{"photo_id":"1331641749","filename":"file5"},{"photo_id":"1331641735","filename":"file2"},{"photo_id":"1331641744","filename":"file4"},{"photo_id":"1331641731","filename":"file1"},{"photo_id":"1331641728","filename":"file0"},{"photo_id":"1331641740","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641735":["hashtag1","hashtag2"]},{"1331641749":["hashtag1","hashtag2"]},{"1331641740":["hashtag1","hashtag2"]},{"1331641731":["hashtag1","hashtag2"]},{"1331641728":["hashtag1","hashtag2"]},{"1331641744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641735, 1331641749, 1331641740, 1331641731, 1331641728, 1331641744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45210242271423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:31:32.281398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_55_10364.jpg', '/home/pi/Desktop/images/26012025/10/30/image_26012025_10_31_05_9401.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_15_10360.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_25_10349.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_35_9350.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/30/image_26012025_10_30_55_10364.jpg
/home/pi/Desktop/images/26012025/10/30/image_26012025_10_31_05_9401.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_15_10360.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_25_10349.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_35_9350.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_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":["1331641828","1331641816","1331641821","1331641824","1331641818","1331641865"],"photo_ids_order":["1331641816","1331641818","1331641821","1331641824","1331641828","1331641865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/401be49caecf768d9f15d34fd9b21a7b.jpg","text":"TemporaryFile(/tmp/multipartBody1362437433174851738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_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/26/8bce899f07ecede47ddefe43b7ed62ba.jpg","text":"TemporaryFile(/tmp/multipartBody1953052147633193551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_30_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/26/17c0930be717193268a6fa7b5934c267.jpg","text":"TemporaryFile(/tmp/multipartBody4349385299741864886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_31_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/26/38e8eb47553fea0294469deb411a3f51.jpg","text":"TemporaryFile(/tmp/multipartBody7416389861768234951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_31_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2d660b717e61c4d9be361e3f03a8c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2745875210264162242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_31_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/26/b87f68782da53bccb1da358b6c1943e8.jpg","text":"TemporaryFile(/tmp/multipartBody2646434799041663052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737883953191,"filename":"image_26012025_10_31_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331641821","file1":"1331641818","file0":"1331641816","file4":"1331641828","file5":"1331641865","file3":"1331641824"},"map_files_photo_id_array":[{"photo_id":"1331641865","filename":"file5"},{"photo_id":"1331641821","filename":"file2"},{"photo_id":"1331641828","filename":"file4"},{"photo_id":"1331641818","filename":"file1"},{"photo_id":"1331641816","filename":"file0"},{"photo_id":"1331641824","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331641828":["hashtag1","hashtag2"]},{"1331641816":["hashtag1","hashtag2"]},{"1331641821":["hashtag1","hashtag2"]},{"1331641824":["hashtag1","hashtag2"]},{"1331641818":["hashtag1","hashtag2"]},{"1331641865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331641828, 1331641816, 1331641821, 1331641824, 1331641818, 1331641865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.110127449035645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:32:32.431480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_56_10479.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_32_05_9332.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_15_10330.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_26_10384.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_35_9331.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_56_10479.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_32_05_9332.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_15_10330.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_26_10384.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_35_9331.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_45_10342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5127129554748535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:32:42.396678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_56_10479.jpg', '/home/pi/Desktop/images/26012025/10/31/image_26012025_10_32_05_9332.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_15_10330.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_26_10384.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_35_9331.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_31_56_10479.jpg
/home/pi/Desktop/images/26012025/10/31/image_26012025_10_32_05_9332.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_15_10330.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_26_10384.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_35_9331.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331642643","1331642657","1331642590","1331642662","1331642632","1331642664"],"photo_ids_order":["1331642590","1331642632","1331642643","1331642657","1331642662","1331642664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/670096b2c45e13ced81c2c90100bde5a.jpg","text":"TemporaryFile(/tmp/multipartBody2200627163416447657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_32_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/26/919d77ce6dbbe72df74813221a409ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1949260050599797251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_32_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/26/10ec8cc0eb44683b355ecf45055135df.jpg","text":"TemporaryFile(/tmp/multipartBody1940581633788087948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_31_56_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/26/e77b2c8b8460f5f1e1a43bc40587d1be.jpg","text":"TemporaryFile(/tmp/multipartBody762430740751259459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_32_35_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea4cb863b01533cc775f7cee03e5845e.jpg","text":"TemporaryFile(/tmp/multipartBody4364462627534556868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_32_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/26/bd8e4c6b76ada9b78158edc565e8586c.jpg","text":"TemporaryFile(/tmp/multipartBody9117474339387355921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884023327,"filename":"image_26012025_10_32_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331642643","file1":"1331642632","file0":"1331642590","file4":"1331642662","file5":"1331642664","file3":"1331642657"},"map_files_photo_id_array":[{"photo_id":"1331642664","filename":"file5"},{"photo_id":"1331642643","filename":"file2"},{"photo_id":"1331642662","filename":"file4"},{"photo_id":"1331642632","filename":"file1"},{"photo_id":"1331642590","filename":"file0"},{"photo_id":"1331642657","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331642643":["hashtag1","hashtag2"]},{"1331642657":["hashtag1","hashtag2"]},{"1331642590":["hashtag1","hashtag2"]},{"1331642662":["hashtag1","hashtag2"]},{"1331642632":["hashtag1","hashtag2"]},{"1331642664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331642643, 1331642657, 1331642590, 1331642662, 1331642632, 1331642664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.449050426483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:33:32.712878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_55_9426.jpg', '/home/pi/Desktop/images/26012025/10/32/image_26012025_10_33_05_10341.jpg', '/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_15_10343.jpg', '/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_25_9357.jpg', '/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_35_10359.jpg', '/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_45_9511.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_32_55_9426.jpg
/home/pi/Desktop/images/26012025/10/32/image_26012025_10_33_05_10341.jpg
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_15_10343.jpg
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_25_9357.jpg
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_35_10359.jpg
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_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":["1331642754","1331642721","1331642780","1331642750","1331642674","1331642763"],"photo_ids_order":["1331642674","1331642721","1331642750","1331642754","1331642763","1331642780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1bdcbf2683ed5a861e972e88333de7df.jpg","text":"TemporaryFile(/tmp/multipartBody8692692009759470857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_33_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/26/da7a06c3763466c760383ed28a4068ce.jpg","text":"TemporaryFile(/tmp/multipartBody652860791232349719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_33_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/26/a20793d058a8b6003d2f08ea0bebce64.jpg","text":"TemporaryFile(/tmp/multipartBody6164135645258694042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_33_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/26/dbba82582b576c27d384de9b0cd59c96.jpg","text":"TemporaryFile(/tmp/multipartBody6273448270431344062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_33_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/26/e9a835458748b7cc1cedfdea6d952cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5775818771997507554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_32_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/26/0d608b46669123db77041f9fd88ecd67.jpg","text":"TemporaryFile(/tmp/multipartBody4182692729248687076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884073632,"filename":"image_26012025_10_33_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331642750","file1":"1331642721","file0":"1331642674","file4":"1331642763","file5":"1331642780","file3":"1331642754"},"map_files_photo_id_array":[{"photo_id":"1331642780","filename":"file5"},{"photo_id":"1331642750","filename":"file2"},{"photo_id":"1331642763","filename":"file4"},{"photo_id":"1331642721","filename":"file1"},{"photo_id":"1331642674","filename":"file0"},{"photo_id":"1331642754","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331642754":["hashtag1","hashtag2"]},{"1331642721":["hashtag1","hashtag2"]},{"1331642780":["hashtag1","hashtag2"]},{"1331642750":["hashtag1","hashtag2"]},{"1331642674":["hashtag1","hashtag2"]},{"1331642763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331642754, 1331642721, 1331642780, 1331642750, 1331642674, 1331642763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14292120933533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:34:32.954641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_55_10338.jpg', '/home/pi/Desktop/images/26012025/10/33/image_26012025_10_34_05_10349.jpg', '/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_15_9390.jpg', '/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_25_10363.jpg', '/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_35_10346.jpg', '/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_45_9417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_33_55_10338.jpg
/home/pi/Desktop/images/26012025/10/33/image_26012025_10_34_05_10349.jpg
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_15_9390.jpg
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_25_10363.jpg
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_35_10346.jpg
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_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":["1331643878","1331643875","1331643892","1331643880","1331643894","1331643666"],"photo_ids_order":["1331643666","1331643875","1331643878","1331643880","1331643892","1331643894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c9880f905615049e11b9127d846e5995.jpg","text":"TemporaryFile(/tmp/multipartBody1623935065176881381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_34_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/26/f1d638262ca82d26bd53cc44da88f23e.jpg","text":"TemporaryFile(/tmp/multipartBody1629608965381995906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_34_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/26/b47975c8613f8702828787f235e1a83b.jpg","text":"TemporaryFile(/tmp/multipartBody2895503399258815597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_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/26/d2d336f26ca554944f261674d3eb464e.jpg","text":"TemporaryFile(/tmp/multipartBody2621923223387833019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_34_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/26/7c778e6a907ff57c1377261e8c5ad183.jpg","text":"TemporaryFile(/tmp/multipartBody7638810927564754761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_34_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1011e74344312b4ced091f0d5ea7549f.jpg","text":"TemporaryFile(/tmp/multipartBody8977076408482074260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884133867,"filename":"image_26012025_10_33_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331643878","file1":"1331643875","file0":"1331643666","file4":"1331643892","file5":"1331643894","file3":"1331643880"},"map_files_photo_id_array":[{"photo_id":"1331643894","filename":"file5"},{"photo_id":"1331643878","filename":"file2"},{"photo_id":"1331643892","filename":"file4"},{"photo_id":"1331643875","filename":"file1"},{"photo_id":"1331643666","filename":"file0"},{"photo_id":"1331643880","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331643878":["hashtag1","hashtag2"]},{"1331643875":["hashtag1","hashtag2"]},{"1331643892":["hashtag1","hashtag2"]},{"1331643880":["hashtag1","hashtag2"]},{"1331643894":["hashtag1","hashtag2"]},{"1331643666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331643878, 1331643875, 1331643892, 1331643880, 1331643894, 1331643666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.35545372962952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:35:32.157405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_55_10417.jpg', '/home/pi/Desktop/images/26012025/10/34/image_26012025_10_35_06_10346.jpg', '/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_15_9329.jpg', '/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_25_10353.jpg', '/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_35_9416.jpg', '/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_45_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_34_55_10417.jpg
/home/pi/Desktop/images/26012025/10/34/image_26012025_10_35_06_10346.jpg
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_15_9329.jpg
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_25_10353.jpg
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_35_9416.jpg
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_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":["1331644232","1331644235","1331644174","1331644213","1331644129","1331644236"],"photo_ids_order":["1331644129","1331644174","1331644213","1331644232","1331644235","1331644236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/653e7640d47e055ed010b09526ba75a1.jpg","text":"TemporaryFile(/tmp/multipartBody3910929710044107307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_35_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/26/a3b3112e3e6160580a016e793162d766.jpg","text":"TemporaryFile(/tmp/multipartBody5267748589157599896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_35_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/26/71da651c789d465e06e2fcbdbe8c7ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4646309476057556892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_35_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e26f15bc665cdddb936652079bb57038.jpg","text":"TemporaryFile(/tmp/multipartBody3926341711768138781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_35_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/26/0db6f0ba2a97cda14fa0ea6f4bc9b19a.jpg","text":"TemporaryFile(/tmp/multipartBody7491131583027972611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_34_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/26/56650aeae41551a4c5d35553fe5fcb8d.jpg","text":"TemporaryFile(/tmp/multipartBody1488901420915114127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884193065,"filename":"image_26012025_10_35_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644213","file1":"1331644174","file0":"1331644129","file4":"1331644235","file5":"1331644236","file3":"1331644232"},"map_files_photo_id_array":[{"photo_id":"1331644236","filename":"file5"},{"photo_id":"1331644213","filename":"file2"},{"photo_id":"1331644235","filename":"file4"},{"photo_id":"1331644174","filename":"file1"},{"photo_id":"1331644129","filename":"file0"},{"photo_id":"1331644232","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644232":["hashtag1","hashtag2"]},{"1331644235":["hashtag1","hashtag2"]},{"1331644174":["hashtag1","hashtag2"]},{"1331644213":["hashtag1","hashtag2"]},{"1331644129":["hashtag1","hashtag2"]},{"1331644236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644232, 1331644235, 1331644174, 1331644213, 1331644129, 1331644236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.538466691970825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:36:32.394171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_55_10351.jpg', '/home/pi/Desktop/images/26012025/10/35/image_26012025_10_36_05_9349.jpg', '/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_15_10333.jpg', '/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_26_10431.jpg', '/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_35_9394.jpg', '/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_35_55_10351.jpg
/home/pi/Desktop/images/26012025/10/35/image_26012025_10_36_05_9349.jpg
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_15_10333.jpg
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_26_10431.jpg
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_35_9394.jpg
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_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":["1331644283","1331644262","1331644252","1331644257","1331644266","1331644269"],"photo_ids_order":["1331644252","1331644257","1331644262","1331644266","1331644269","1331644283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a28e90193b04020a06e5322538fc7c79.jpg","text":"TemporaryFile(/tmp/multipartBody1270810689370784998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_36_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/26/9e7c81fd4f3524815616cd5f17db36cc.jpg","text":"TemporaryFile(/tmp/multipartBody8798986820510339506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_36_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0fab7b0a3cf39f57de376dbf330c3bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7223326537586877934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_35_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/26/998f909fbf3654fc40ea6a94dbeed699.jpg","text":"TemporaryFile(/tmp/multipartBody2846747437633821055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_36_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/26/9755291fa61db4d560ef5a9e2488f8da.jpg","text":"TemporaryFile(/tmp/multipartBody4243019080037130237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_36_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cab358c0daa6d33d68aa9be14bfbf8ec.jpg","text":"TemporaryFile(/tmp/multipartBody8845132837625533028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884253297,"filename":"image_26012025_10_36_35_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644262","file1":"1331644257","file0":"1331644252","file4":"1331644269","file5":"1331644283","file3":"1331644266"},"map_files_photo_id_array":[{"photo_id":"1331644283","filename":"file5"},{"photo_id":"1331644262","filename":"file2"},{"photo_id":"1331644269","filename":"file4"},{"photo_id":"1331644257","filename":"file1"},{"photo_id":"1331644252","filename":"file0"},{"photo_id":"1331644266","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644283":["hashtag1","hashtag2"]},{"1331644262":["hashtag1","hashtag2"]},{"1331644252":["hashtag1","hashtag2"]},{"1331644257":["hashtag1","hashtag2"]},{"1331644266":["hashtag1","hashtag2"]},{"1331644269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644283, 1331644262, 1331644252, 1331644257, 1331644266, 1331644269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79750180244446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:37:32.675982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_55_9359.jpg', '/home/pi/Desktop/images/26012025/10/36/image_26012025_10_37_05_10359.jpg', '/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_15_10333.jpg', '/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_25_9469.jpg', '/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_35_10361.jpg', '/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_46_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_36_55_9359.jpg
/home/pi/Desktop/images/26012025/10/36/image_26012025_10_37_05_10359.jpg
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_15_10333.jpg
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_25_9469.jpg
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_35_10361.jpg
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_46_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":["1331644331","1331644327","1331644342","1331644339","1331644344","1331644335"],"photo_ids_order":["1331644327","1331644331","1331644335","1331644339","1331644342","1331644344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6a01bc8ea248c74340d17eddec961aa.jpg","text":"TemporaryFile(/tmp/multipartBody6105386918626277579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_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/26/177f53f6d7335e76f7cc375ae3d9c65b.jpg","text":"TemporaryFile(/tmp/multipartBody3711382494392130422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_36_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/26/45fdce80faf78a753a0c380a79643be5.jpg","text":"TemporaryFile(/tmp/multipartBody1341394354465791040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_37_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/26/f9c75b0647e66a779aedfa030c4fbd95.jpg","text":"TemporaryFile(/tmp/multipartBody7078994468841547267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_37_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f15b7c87ee8c0b883f40d77de60af656.jpg","text":"TemporaryFile(/tmp/multipartBody5351230695304186217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_37_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb5dbcdfa316ef5572ec2cd3d9334543.jpg","text":"TemporaryFile(/tmp/multipartBody6162905572759507218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884313616,"filename":"image_26012025_10_37_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644335","file1":"1331644331","file0":"1331644327","file4":"1331644342","file5":"1331644344","file3":"1331644339"},"map_files_photo_id_array":[{"photo_id":"1331644344","filename":"file5"},{"photo_id":"1331644335","filename":"file2"},{"photo_id":"1331644342","filename":"file4"},{"photo_id":"1331644331","filename":"file1"},{"photo_id":"1331644327","filename":"file0"},{"photo_id":"1331644339","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644331":["hashtag1","hashtag2"]},{"1331644327":["hashtag1","hashtag2"]},{"1331644342":["hashtag1","hashtag2"]},{"1331644339":["hashtag1","hashtag2"]},{"1331644344":["hashtag1","hashtag2"]},{"1331644335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644331, 1331644327, 1331644342, 1331644339, 1331644344, 1331644335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.310107469558716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:38:32.927372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_55_9417.jpg', '/home/pi/Desktop/images/26012025/10/37/image_26012025_10_38_05_10383.jpg', '/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_15_9340.jpg', '/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_25_10410.jpg', '/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_36_10392.jpg', '/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_45_9384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_37_55_9417.jpg
/home/pi/Desktop/images/26012025/10/37/image_26012025_10_38_05_10383.jpg
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_15_9340.jpg
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_25_10410.jpg
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_36_10392.jpg
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_45_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":["1331644376","1331644364","1331644360","1331644377","1331644371","1331644368"],"photo_ids_order":["1331644360","1331644364","1331644368","1331644371","1331644376","1331644377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3fc75e5a1cd11a954e968d7315b9e7a0.jpg","text":"TemporaryFile(/tmp/multipartBody5668554771432970517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_38_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c296564a9ad6a134751edf4b399685e.jpg","text":"TemporaryFile(/tmp/multipartBody1905969928061114918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_38_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54bd9fe54b2e092d6a64faed99eb288c.jpg","text":"TemporaryFile(/tmp/multipartBody2177538679444334584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_37_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e85b784740d6a897a4cd4987920fc76b.jpg","text":"TemporaryFile(/tmp/multipartBody1109634103050956264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_38_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/178cfb7e80da82e4a25f4fe0c6b0334b.jpg","text":"TemporaryFile(/tmp/multipartBody8340140119911934232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_38_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/26/ade36a79c27512bb9f980485066695a6.jpg","text":"TemporaryFile(/tmp/multipartBody2295077304504603212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884373852,"filename":"image_26012025_10_38_15_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644368","file1":"1331644364","file0":"1331644360","file4":"1331644376","file5":"1331644377","file3":"1331644371"},"map_files_photo_id_array":[{"photo_id":"1331644377","filename":"file5"},{"photo_id":"1331644368","filename":"file2"},{"photo_id":"1331644376","filename":"file4"},{"photo_id":"1331644364","filename":"file1"},{"photo_id":"1331644360","filename":"file0"},{"photo_id":"1331644371","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644376":["hashtag1","hashtag2"]},{"1331644364":["hashtag1","hashtag2"]},{"1331644360":["hashtag1","hashtag2"]},{"1331644377":["hashtag1","hashtag2"]},{"1331644371":["hashtag1","hashtag2"]},{"1331644368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644376, 1331644364, 1331644360, 1331644377, 1331644371, 1331644368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93027448654175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:39:33.134034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_55_10347.jpg', '/home/pi/Desktop/images/26012025/10/38/image_26012025_10_39_06_10340.jpg', '/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_15_9326.jpg', '/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_25_10343.jpg', '/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_36_10332.jpg', '/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_45_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_38_55_10347.jpg
/home/pi/Desktop/images/26012025/10/38/image_26012025_10_39_06_10340.jpg
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_15_9326.jpg
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_25_10343.jpg
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_36_10332.jpg
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_45_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644421","1331644390","1331644453","1331644449","1331644397","1331644394"],"photo_ids_order":["1331644390","1331644394","1331644397","1331644421","1331644449","1331644453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f7717fcc94b73bf7571a3e8b3d7229ac.jpg","text":"TemporaryFile(/tmp/multipartBody3070431993028646762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_39_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/26/29391ba2b62de0a1f2878f8799891c22.jpg","text":"TemporaryFile(/tmp/multipartBody2566411981618163708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_38_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/26/0a98522d3e77c64e72bc671a4e230da7.jpg","text":"TemporaryFile(/tmp/multipartBody6876141356969248296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_39_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02e28ec319799420072a0412513c6a05.jpg","text":"TemporaryFile(/tmp/multipartBody3184502523610162199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_39_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c2be60874483c8c4aed9a21e744f2b19.jpg","text":"TemporaryFile(/tmp/multipartBody4560963723216432645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_39_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2716e37ef5525cf885431eaae9ac6a48.jpg","text":"TemporaryFile(/tmp/multipartBody6872485270940368695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884434048,"filename":"image_26012025_10_39_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644397","file1":"1331644394","file0":"1331644390","file4":"1331644449","file5":"1331644453","file3":"1331644421"},"map_files_photo_id_array":[{"photo_id":"1331644453","filename":"file5"},{"photo_id":"1331644397","filename":"file2"},{"photo_id":"1331644449","filename":"file4"},{"photo_id":"1331644394","filename":"file1"},{"photo_id":"1331644390","filename":"file0"},{"photo_id":"1331644421","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644421":["hashtag1","hashtag2"]},{"1331644390":["hashtag1","hashtag2"]},{"1331644453":["hashtag1","hashtag2"]},{"1331644449":["hashtag1","hashtag2"]},{"1331644397":["hashtag1","hashtag2"]},{"1331644394":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644421, 1331644390, 1331644453, 1331644449, 1331644397, 1331644394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.3476128578186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:40:32.315381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_55_10355.jpg', '/home/pi/Desktop/images/26012025/10/39/image_26012025_10_40_05_9452.jpg', '/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_15_10355.jpg', '/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_26_10487.jpg', '/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_35_9336.jpg', '/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_39_55_10355.jpg
/home/pi/Desktop/images/26012025/10/39/image_26012025_10_40_05_9452.jpg
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_15_10355.jpg
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_26_10487.jpg
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_35_9336.jpg
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_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":["1331644481","1331644469","1331644474","1331644464","1331644484","1331644478"],"photo_ids_order":["1331644464","1331644469","1331644474","1331644478","1331644481","1331644484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb2598c9ed563d7b9e8970da234f04ae.jpg","text":"TemporaryFile(/tmp/multipartBody2932380384347383855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_40_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/26/d182acde54ef6d4f49c5ff8163e43bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7123382239619772181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_40_05_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/26/e8509512b6a3882b0626f693507f8dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3052459330507401717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_40_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/26/a53c5e165e9c2ff0bf00140b6680a96a.jpg","text":"TemporaryFile(/tmp/multipartBody1509003225050223499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_39_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/26/9194efcf92221dd5dc5438e43e0a430c.jpg","text":"TemporaryFile(/tmp/multipartBody3751860862624844561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_40_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/26/d2c353b43b03a36853cf920a633a9534.jpg","text":"TemporaryFile(/tmp/multipartBody8246966784204949784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884493225,"filename":"image_26012025_10_40_26_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644474","file1":"1331644469","file0":"1331644464","file4":"1331644481","file5":"1331644484","file3":"1331644478"},"map_files_photo_id_array":[{"photo_id":"1331644484","filename":"file5"},{"photo_id":"1331644474","filename":"file2"},{"photo_id":"1331644481","filename":"file4"},{"photo_id":"1331644469","filename":"file1"},{"photo_id":"1331644464","filename":"file0"},{"photo_id":"1331644478","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644481":["hashtag1","hashtag2"]},{"1331644469":["hashtag1","hashtag2"]},{"1331644474":["hashtag1","hashtag2"]},{"1331644464":["hashtag1","hashtag2"]},{"1331644484":["hashtag1","hashtag2"]},{"1331644478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644481, 1331644469, 1331644474, 1331644464, 1331644484, 1331644478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83024311065674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:41:32.715503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_56_10376.jpg', '/home/pi/Desktop/images/26012025/10/40/image_26012025_10_41_05_9323.jpg', '/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_15_10335.jpg', '/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_25_9471.jpg', '/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_35_10362.jpg', '/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_46_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_40_56_10376.jpg
/home/pi/Desktop/images/26012025/10/40/image_26012025_10_41_05_9323.jpg
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_15_10335.jpg
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_25_9471.jpg
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_35_10362.jpg
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_46_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644511","1331644505","1331644495","1331644492","1331644509","1331644500"],"photo_ids_order":["1331644492","1331644495","1331644500","1331644505","1331644509","1331644511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de9e2cd5712ff5d07c5f38eb07696e08.jpg","text":"TemporaryFile(/tmp/multipartBody6543842411832832641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_41_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/26/2fa0d9225f4f764f32e504c5644ccba5.jpg","text":"TemporaryFile(/tmp/multipartBody4975010990033980580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_41_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/26/31898132266684b967ad8bdd37121912.jpg","text":"TemporaryFile(/tmp/multipartBody7920489792034646897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_41_05_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/26/ae299597542b505b652e7307815ef9f3.jpg","text":"TemporaryFile(/tmp/multipartBody5654765553652455547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_40_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/26/944ac27c2f6a706a30205cabb3486ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7755170244134790786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_41_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/26/83ba805b6fd3df9c84afe856822a1463.jpg","text":"TemporaryFile(/tmp/multipartBody4380499270826435814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884553636,"filename":"image_26012025_10_41_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644500","file1":"1331644495","file0":"1331644492","file4":"1331644509","file5":"1331644511","file3":"1331644505"},"map_files_photo_id_array":[{"photo_id":"1331644511","filename":"file5"},{"photo_id":"1331644500","filename":"file2"},{"photo_id":"1331644509","filename":"file4"},{"photo_id":"1331644495","filename":"file1"},{"photo_id":"1331644492","filename":"file0"},{"photo_id":"1331644505","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644511":["hashtag1","hashtag2"]},{"1331644505":["hashtag1","hashtag2"]},{"1331644495":["hashtag1","hashtag2"]},{"1331644492":["hashtag1","hashtag2"]},{"1331644509":["hashtag1","hashtag2"]},{"1331644500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644511, 1331644505, 1331644495, 1331644492, 1331644509, 1331644500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.682313442230225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:42:32.801644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_55_9374.jpg', '/home/pi/Desktop/images/26012025/10/41/image_26012025_10_42_05_10358.jpg', '/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_16_10347.jpg', '/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_25_9336.jpg', '/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_35_10350.jpg', '/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_41_55_9374.jpg
/home/pi/Desktop/images/26012025/10/41/image_26012025_10_42_05_10358.jpg
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_16_10347.jpg
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_25_9336.jpg
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_35_10350.jpg
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_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":["1331644529","1331644546","1331644542","1331644545","1331644539","1331644533"],"photo_ids_order":["1331644529","1331644533","1331644539","1331644542","1331644545","1331644546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/022d1749322800e75c6212d40d21c19f.jpg","text":"TemporaryFile(/tmp/multipartBody4246243774152636902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_41_55_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8db5593ddd5efbe2137a410a5343fda3.jpg","text":"TemporaryFile(/tmp/multipartBody4168389482823217814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_42_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/26/24564937ff3b5f4c17bf59f6a93d2a21.jpg","text":"TemporaryFile(/tmp/multipartBody3571578335991372653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_42_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/26/f72f352c365ba33c79a93cffa94bd69c.jpg","text":"TemporaryFile(/tmp/multipartBody5713680209562005778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_42_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/26/423988ccf7b4a13d1dd2856fb156de0b.jpg","text":"TemporaryFile(/tmp/multipartBody2568637884554455219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_42_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae57197d6af28d5a8f02d7a23f2ab2ae.jpg","text":"TemporaryFile(/tmp/multipartBody156776472877685208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884613996,"filename":"image_26012025_10_42_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644539","file1":"1331644533","file0":"1331644529","file4":"1331644545","file5":"1331644546","file3":"1331644542"},"map_files_photo_id_array":[{"photo_id":"1331644546","filename":"file5"},{"photo_id":"1331644539","filename":"file2"},{"photo_id":"1331644545","filename":"file4"},{"photo_id":"1331644533","filename":"file1"},{"photo_id":"1331644529","filename":"file0"},{"photo_id":"1331644542","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644529":["hashtag1","hashtag2"]},{"1331644546":["hashtag1","hashtag2"]},{"1331644542":["hashtag1","hashtag2"]},{"1331644545":["hashtag1","hashtag2"]},{"1331644539":["hashtag1","hashtag2"]},{"1331644533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644529, 1331644546, 1331644542, 1331644545, 1331644539, 1331644533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23371195793152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:43:33.061693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_55_10347.jpg', '/home/pi/Desktop/images/26012025/10/42/image_26012025_10_43_05_10338.jpg', '/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_15_9406.jpg', '/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_25_10352.jpg', '/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_36_10458.jpg', '/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_45_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_42_55_10347.jpg
/home/pi/Desktop/images/26012025/10/42/image_26012025_10_43_05_10338.jpg
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_15_9406.jpg
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_25_10352.jpg
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_36_10458.jpg
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644646","1331644631","1331644640","1331644625","1331644636","1331644644"],"photo_ids_order":["1331644625","1331644631","1331644636","1331644640","1331644644","1331644646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c08f853e1eb357927605a18fbf379c02.jpg","text":"TemporaryFile(/tmp/multipartBody5067293662159466842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_43_45_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b6ad7ecda5cbdb73649f34bdb62fd8f.jpg","text":"TemporaryFile(/tmp/multipartBody5505881499291131729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_43_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/26/76fd52434d7aee49e02124c81ba8cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody7763695986846522613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_43_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/26/049d8ec3df3f51ede5c829235c2a8c34.jpg","text":"TemporaryFile(/tmp/multipartBody8412076373451674896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_42_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/26/e881551e0d9a0bece97c7fe00b8783e1.jpg","text":"TemporaryFile(/tmp/multipartBody4330999959606380114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_43_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/26/2f8af2ce2c373f8856288fed8ee0b9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2376973806932009257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884674005,"filename":"image_26012025_10_43_36_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644636","file1":"1331644631","file0":"1331644625","file4":"1331644644","file5":"1331644646","file3":"1331644640"},"map_files_photo_id_array":[{"photo_id":"1331644646","filename":"file5"},{"photo_id":"1331644636","filename":"file2"},{"photo_id":"1331644644","filename":"file4"},{"photo_id":"1331644631","filename":"file1"},{"photo_id":"1331644625","filename":"file0"},{"photo_id":"1331644640","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644646":["hashtag1","hashtag2"]},{"1331644631":["hashtag1","hashtag2"]},{"1331644640":["hashtag1","hashtag2"]},{"1331644625":["hashtag1","hashtag2"]},{"1331644636":["hashtag1","hashtag2"]},{"1331644644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644646, 1331644631, 1331644640, 1331644625, 1331644636, 1331644644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57637000083923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:44:32.322761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_55_10397.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_15_10357.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_25_10357.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_35_9383.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_55_10397.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_15_10357.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_25_10357.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_35_9383.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_45_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.4989030361175537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:44:42.279241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_55_10397.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_15_10357.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_25_10357.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_35_9383.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/43/image_26012025_10_43_55_10397.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_15_10357.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_25_10357.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_35_9383.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_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":["1331644667","1331644675","1331644671","1331644674","1331644676"],"photo_ids_order":["1331644667","1331644671","1331644674","1331644675","1331644676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2989c061d26d56015fc52e3f962b5614.jpg","text":"TemporaryFile(/tmp/multipartBody1081567592637462224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884743190,"filename":"image_26012025_10_43_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/26/6b94a462b95b4c7de6b72195471fefd4.jpg","text":"TemporaryFile(/tmp/multipartBody7393198134737226689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884743190,"filename":"image_26012025_10_44_35_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/26/3c203b20835a9ca517ff954ce021ac33.jpg","text":"TemporaryFile(/tmp/multipartBody6409929735855374403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884743190,"filename":"image_26012025_10_44_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/26/96ae43504fc90762bee5d8ff02dbf11d.jpg","text":"TemporaryFile(/tmp/multipartBody9037231514816366713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884743190,"filename":"image_26012025_10_44_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/26/80083eb9c1312ffff6a30ca91300a4ac.jpg","text":"TemporaryFile(/tmp/multipartBody5518313409453653961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884743190,"filename":"image_26012025_10_44_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644674","file1":"1331644671","file0":"1331644667","file4":"1331644676","file3":"1331644675"},"map_files_photo_id_array":[{"photo_id":"1331644674","filename":"file2"},{"photo_id":"1331644676","filename":"file4"},{"photo_id":"1331644671","filename":"file1"},{"photo_id":"1331644667","filename":"file0"},{"photo_id":"1331644675","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644667":["hashtag1","hashtag2"]},{"1331644675":["hashtag1","hashtag2"]},{"1331644671":["hashtag1","hashtag2"]},{"1331644674":["hashtag1","hashtag2"]},{"1331644676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644667, 1331644675, 1331644671, 1331644674, 1331644676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.870097160339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:45:32.712663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_56_10399.jpg', '/home/pi/Desktop/images/26012025/10/44/image_26012025_10_45_05_9324.jpg', '/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_15_10448.jpg', '/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_25_9366.jpg', '/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_35_10343.jpg', '/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_44_56_10399.jpg
/home/pi/Desktop/images/26012025/10/44/image_26012025_10_45_05_9324.jpg
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_15_10448.jpg
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_25_9366.jpg
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_35_10343.jpg
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_45_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644696","1331644690","1331644684","1331644714","1331644716","1331644701"],"photo_ids_order":["1331644684","1331644690","1331644696","1331644701","1331644714","1331644716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/828c1a1f631df94259cb20555f56c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2359370723861335709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_45_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/edb8fc53d377c8625baf95dd312bcbc3.jpg","text":"TemporaryFile(/tmp/multipartBody5131289441871572051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_45_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29df94f243dbfe080b960e66287cca69.jpg","text":"TemporaryFile(/tmp/multipartBody7852839140079492666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_44_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/26/e7a301276d2f4bd8e261bc8f3a066957.jpg","text":"TemporaryFile(/tmp/multipartBody915564804803778059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_45_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/26/761e4ca0210f4c551a33cf6edab862ef.jpg","text":"TemporaryFile(/tmp/multipartBody6650724079644066184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_45_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/26/09d9c62a6d3e3d8455432325ea50e6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7000513903698796082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884793625,"filename":"image_26012025_10_45_25_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644696","file1":"1331644690","file0":"1331644684","file4":"1331644714","file5":"1331644716","file3":"1331644701"},"map_files_photo_id_array":[{"photo_id":"1331644716","filename":"file5"},{"photo_id":"1331644696","filename":"file2"},{"photo_id":"1331644714","filename":"file4"},{"photo_id":"1331644690","filename":"file1"},{"photo_id":"1331644684","filename":"file0"},{"photo_id":"1331644701","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644696":["hashtag1","hashtag2"]},{"1331644690":["hashtag1","hashtag2"]},{"1331644684":["hashtag1","hashtag2"]},{"1331644714":["hashtag1","hashtag2"]},{"1331644716":["hashtag1","hashtag2"]},{"1331644701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644696, 1331644690, 1331644684, 1331644714, 1331644716, 1331644701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.16911053657532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:46:32.894480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_55_9393.jpg', '/home/pi/Desktop/images/26012025/10/45/image_26012025_10_46_05_10364.jpg', '/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_15_10331.jpg', '/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_25_9503.jpg', '/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_35_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_45_55_9393.jpg
/home/pi/Desktop/images/26012025/10/45/image_26012025_10_46_05_10364.jpg
/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_15_10331.jpg
/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_25_9503.jpg
/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_35_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":["1331644772","1331644768","1331644759","1331644782","1331644763"],"photo_ids_order":["1331644759","1331644763","1331644768","1331644772","1331644782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86a23b6c7dd0787fc765b7e5ed2425bf.jpg","text":"TemporaryFile(/tmp/multipartBody2549671513357191045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884853796,"filename":"image_26012025_10_46_25_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/531a544c06f21920fccf084f14c627ab.jpg","text":"TemporaryFile(/tmp/multipartBody7133063426790067462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884853796,"filename":"image_26012025_10_46_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/26/02e52fefad78ad0f84a50f1f81b3aa63.jpg","text":"TemporaryFile(/tmp/multipartBody5276888508154325820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884853796,"filename":"image_26012025_10_45_55_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/26/385237e6098489e92b6bfaf32148f8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8475583418034121947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884853796,"filename":"image_26012025_10_46_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/26/9f18f96d7802c98045fb297dc96f50f1.jpg","text":"TemporaryFile(/tmp/multipartBody8396766534816712373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884853796,"filename":"image_26012025_10_46_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644768","file1":"1331644763","file0":"1331644759","file4":"1331644782","file3":"1331644772"},"map_files_photo_id_array":[{"photo_id":"1331644768","filename":"file2"},{"photo_id":"1331644782","filename":"file4"},{"photo_id":"1331644763","filename":"file1"},{"photo_id":"1331644759","filename":"file0"},{"photo_id":"1331644772","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644772":["hashtag1","hashtag2"]},{"1331644768":["hashtag1","hashtag2"]},{"1331644759":["hashtag1","hashtag2"]},{"1331644782":["hashtag1","hashtag2"]},{"1331644763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644772, 1331644768, 1331644759, 1331644782, 1331644763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.681926012039185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:47:33.183602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_45_9384.jpg', '/home/pi/Desktop/images/26012025/10/46/image_26012025_10_47_06_10408.jpg', '/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_15_9333.jpg', '/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_25_10332.jpg', '/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_35_9464.jpg', '/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/46/image_26012025_10_46_45_9384.jpg
/home/pi/Desktop/images/26012025/10/46/image_26012025_10_47_06_10408.jpg
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_15_9333.jpg
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_25_10332.jpg
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_35_9464.jpg
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_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":["1331644835","1331644817","1331644840","1331644842","1331644830","1331644824"],"photo_ids_order":["1331644817","1331644824","1331644830","1331644835","1331644840","1331644842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79a78cb791992886cd036b21603e24da.jpg","text":"TemporaryFile(/tmp/multipartBody8886005182832462103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_47_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9efacb64497d2c9af0f6594bc5229ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3383274141419208422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_46_45_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02c1ddd6f4c9a28b665064a0dd3fda61.jpg","text":"TemporaryFile(/tmp/multipartBody7756110994516485208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_47_35_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3588bd3c469b4fccaacfde888c364f0.jpg","text":"TemporaryFile(/tmp/multipartBody2204870389214681417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_47_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/26/ab91a5935a5c0d439e164c0bc85d0805.jpg","text":"TemporaryFile(/tmp/multipartBody814026709820896882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_47_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/26/8953a4a0cc969605d17879e5ed20c7fc.jpg","text":"TemporaryFile(/tmp/multipartBody5521919250536095792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884914103,"filename":"image_26012025_10_47_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644830","file1":"1331644824","file0":"1331644817","file4":"1331644840","file5":"1331644842","file3":"1331644835"},"map_files_photo_id_array":[{"photo_id":"1331644842","filename":"file5"},{"photo_id":"1331644830","filename":"file2"},{"photo_id":"1331644840","filename":"file4"},{"photo_id":"1331644824","filename":"file1"},{"photo_id":"1331644817","filename":"file0"},{"photo_id":"1331644835","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644835":["hashtag1","hashtag2"]},{"1331644817":["hashtag1","hashtag2"]},{"1331644840":["hashtag1","hashtag2"]},{"1331644842":["hashtag1","hashtag2"]},{"1331644830":["hashtag1","hashtag2"]},{"1331644824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644835, 1331644817, 1331644840, 1331644842, 1331644830, 1331644824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2019784450531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:48:32.408654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_55_10357.jpg', '/home/pi/Desktop/images/26012025/10/47/image_26012025_10_48_05_9432.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_15_10397.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_25_9480.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_35_10342.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_47_55_10357.jpg
/home/pi/Desktop/images/26012025/10/47/image_26012025_10_48_05_9432.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_15_10397.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_25_9480.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_35_10342.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_45_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644853","1331644849","1331644858","1331644909","1331644884","1331644877"],"photo_ids_order":["1331644849","1331644853","1331644858","1331644877","1331644884","1331644909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3ccc88f01c33e306c1e0cc21001646b.jpg","text":"TemporaryFile(/tmp/multipartBody8613442136389258399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_48_05_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/26/e9a63ecfa366ae76b9a9f9217db45ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7332692894087149976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_47_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/26/5fcedd082161b321c2a9af8ebfb400f6.jpg","text":"TemporaryFile(/tmp/multipartBody8104461906663356111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_48_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/26/b50c0d19513296c3a9704f13b1f7fed5.jpg","text":"TemporaryFile(/tmp/multipartBody3996083277161625165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_48_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f5f0366d40ab81b0b661b140dc61742.jpg","text":"TemporaryFile(/tmp/multipartBody3298602919892263557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_48_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/26/4a0bd61adde3700292192ba9174263db.jpg","text":"TemporaryFile(/tmp/multipartBody6159162671871915348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737884973309,"filename":"image_26012025_10_48_25_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644858","file1":"1331644853","file0":"1331644849","file4":"1331644884","file5":"1331644909","file3":"1331644877"},"map_files_photo_id_array":[{"photo_id":"1331644909","filename":"file5"},{"photo_id":"1331644858","filename":"file2"},{"photo_id":"1331644884","filename":"file4"},{"photo_id":"1331644853","filename":"file1"},{"photo_id":"1331644849","filename":"file0"},{"photo_id":"1331644877","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644853":["hashtag1","hashtag2"]},{"1331644849":["hashtag1","hashtag2"]},{"1331644858":["hashtag1","hashtag2"]},{"1331644909":["hashtag1","hashtag2"]},{"1331644884":["hashtag1","hashtag2"]},{"1331644877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644853, 1331644849, 1331644858, 1331644909, 1331644884, 1331644877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49878454208374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:49:32.605874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_55_9404.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_49_05_10333.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_16_10435.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_25_9432.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_35_10400.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_45_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_55_9404.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_49_05_10333.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_16_10435.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_25_9432.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_35_10400.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_45_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.5153040885925293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 10:49:42.547525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_55_9404.jpg', '/home/pi/Desktop/images/26012025/10/48/image_26012025_10_49_05_10333.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_16_10435.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_25_9432.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_35_10400.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_45_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_48_55_9404.jpg
/home/pi/Desktop/images/26012025/10/48/image_26012025_10_49_05_10333.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_16_10435.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_25_9432.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_35_10400.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_45_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331644931","1331644940","1331644933","1331644936","1331644927","1331644938"],"photo_ids_order":["1331644927","1331644931","1331644933","1331644936","1331644938","1331644940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fcf1d1b7e22d7cc2e692d2ee320aa98f.jpg","text":"TemporaryFile(/tmp/multipartBody5620832390357370939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_49_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/26/113c203a5d87851a280cc72546d0ed07.jpg","text":"TemporaryFile(/tmp/multipartBody1788715580066586727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_49_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/26/0bf3d715558f61260f829387a94390dc.jpg","text":"TemporaryFile(/tmp/multipartBody2495483512363279724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_49_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/26/c752b2a48920e2b91ab2b8da72300c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2795969922041067382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_49_25_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/26/505e1ff858ba257d955627a79560b072.jpg","text":"TemporaryFile(/tmp/multipartBody8272753835698269297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_48_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2405287c0b8857f86c2eb9aea819f913.jpg","text":"TemporaryFile(/tmp/multipartBody2573991015505886173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885043448,"filename":"image_26012025_10_49_35_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331644933","file1":"1331644931","file0":"1331644927","file4":"1331644938","file5":"1331644940","file3":"1331644936"},"map_files_photo_id_array":[{"photo_id":"1331644940","filename":"file5"},{"photo_id":"1331644933","filename":"file2"},{"photo_id":"1331644938","filename":"file4"},{"photo_id":"1331644931","filename":"file1"},{"photo_id":"1331644927","filename":"file0"},{"photo_id":"1331644936","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331644931":["hashtag1","hashtag2"]},{"1331644940":["hashtag1","hashtag2"]},{"1331644933":["hashtag1","hashtag2"]},{"1331644936":["hashtag1","hashtag2"]},{"1331644927":["hashtag1","hashtag2"]},{"1331644938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331644931, 1331644940, 1331644933, 1331644936, 1331644927, 1331644938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99285531044006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:50:32.884602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_55_10345.jpg', '/home/pi/Desktop/images/26012025/10/49/image_26012025_10_50_06_10407.jpg', '/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_15_9341.jpg', '/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_25_10421.jpg', '/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_35_9345.jpg', '/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_49_55_10345.jpg
/home/pi/Desktop/images/26012025/10/49/image_26012025_10_50_06_10407.jpg
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_15_9341.jpg
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_25_10421.jpg
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_35_9345.jpg
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_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":["1331646157","1331646156","1331646117","1331645058","1331645754","1331645426"],"photo_ids_order":["1331645058","1331645426","1331645754","1331646117","1331646156","1331646157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42b4e9633524c6a676ad39ac600a839b.jpg","text":"TemporaryFile(/tmp/multipartBody2186655082161515118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_50_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/26/b3fa32bd086f4f9f428bdc64342205ea.jpg","text":"TemporaryFile(/tmp/multipartBody9015508096758439150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_50_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/26/a70724972494bb31ae95a334a3624a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1837470897769091982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_50_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/26/aff4dd534a23ca6baa9516ed9091cb49.jpg","text":"TemporaryFile(/tmp/multipartBody696911064679418598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_49_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/26/4b698100686ec0c7897cdbe1ca3b1e18.jpg","text":"TemporaryFile(/tmp/multipartBody1736229839747592364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_50_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/26/38fc66fac139f95af0f2c808ca589ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7236670912750575376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885093798,"filename":"image_26012025_10_50_06_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331645754","file1":"1331645426","file0":"1331645058","file4":"1331646156","file5":"1331646157","file3":"1331646117"},"map_files_photo_id_array":[{"photo_id":"1331646157","filename":"file5"},{"photo_id":"1331645754","filename":"file2"},{"photo_id":"1331646156","filename":"file4"},{"photo_id":"1331645426","filename":"file1"},{"photo_id":"1331645058","filename":"file0"},{"photo_id":"1331646117","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331646157":["hashtag1","hashtag2"]},{"1331646156":["hashtag1","hashtag2"]},{"1331646117":["hashtag1","hashtag2"]},{"1331645058":["hashtag1","hashtag2"]},{"1331645754":["hashtag1","hashtag2"]},{"1331645426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331646157, 1331646156, 1331646117, 1331645058, 1331645754, 1331645426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85436224937439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:51:33.223786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_55_10423.jpg', '/home/pi/Desktop/images/26012025/10/50/image_26012025_10_51_05_9323.jpg', '/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_15_10321.jpg', '/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_25_10121.jpg', '/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_36_10414.jpg', '/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_50_55_10423.jpg
/home/pi/Desktop/images/26012025/10/50/image_26012025_10_51_05_9323.jpg
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_15_10321.jpg
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_25_10121.jpg
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_36_10414.jpg
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_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":["1331646184","1331646202","1331646192","1331646188","1331646200","1331646196"],"photo_ids_order":["1331646184","1331646188","1331646192","1331646196","1331646200","1331646202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c1320c554e5f2b196e4da37db165baa.jpg","text":"TemporaryFile(/tmp/multipartBody8216026322199791243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_50_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/26/e90978424ee9bf404e0ea36b05831a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1466290162634378943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_51_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/26/55e44fd3755f2a81f50c0bee775ddaf8.jpg","text":"TemporaryFile(/tmp/multipartBody8548253595199501194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_51_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8367c7ce312b34867ad2078748d5559c.jpg","text":"TemporaryFile(/tmp/multipartBody1634473026068389058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_51_05_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/26/1f571e24418b619a74d87fa381a32762.jpg","text":"TemporaryFile(/tmp/multipartBody1385556232144063022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_51_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/26/7f2ef6131ec652f38edb55314b0c1c42.jpg","text":"TemporaryFile(/tmp/multipartBody1362258213851481808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885154144,"filename":"image_26012025_10_51_25_10121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331646192","file1":"1331646188","file0":"1331646184","file4":"1331646200","file5":"1331646202","file3":"1331646196"},"map_files_photo_id_array":[{"photo_id":"1331646202","filename":"file5"},{"photo_id":"1331646192","filename":"file2"},{"photo_id":"1331646200","filename":"file4"},{"photo_id":"1331646188","filename":"file1"},{"photo_id":"1331646184","filename":"file0"},{"photo_id":"1331646196","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331646184":["hashtag1","hashtag2"]},{"1331646202":["hashtag1","hashtag2"]},{"1331646192":["hashtag1","hashtag2"]},{"1331646188":["hashtag1","hashtag2"]},{"1331646200":["hashtag1","hashtag2"]},{"1331646196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331646184, 1331646202, 1331646192, 1331646188, 1331646200, 1331646196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92163586616516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:52:32.524954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_55_10465.jpg', '/home/pi/Desktop/images/26012025/10/51/image_26012025_10_52_05_9341.jpg', '/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_15_10342.jpg', '/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_26_10402.jpg', '/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_35_9334.jpg', '/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_51_55_10465.jpg
/home/pi/Desktop/images/26012025/10/51/image_26012025_10_52_05_9341.jpg
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_15_10342.jpg
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_26_10402.jpg
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_35_9334.jpg
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_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":["1331646465","1331646234","1331646402","1331646213","1331646266","1331646332"],"photo_ids_order":["1331646213","1331646234","1331646266","1331646332","1331646402","1331646465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93b141f92aad78942ba303dda29fdc77.jpg","text":"TemporaryFile(/tmp/multipartBody8437309894098964046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_52_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/26/ab15a4c33fa06cb4af0c1eee20a27fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5202094513366876683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_52_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/26/b5c1946a9a85207878e9cb198813e08d.jpg","text":"TemporaryFile(/tmp/multipartBody4076739249040826382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_52_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/26/3816d9cd795f706d7aed189ac1a805a4.jpg","text":"TemporaryFile(/tmp/multipartBody210175980263043775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_51_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/26/37a8ae159efec37166ca64e4bd2da7dc.jpg","text":"TemporaryFile(/tmp/multipartBody4693385019435329048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_52_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/26/d38ac0e0860c249d2cf1bac27f992aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1012104396183095470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885213462,"filename":"image_26012025_10_52_26_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331646266","file1":"1331646234","file0":"1331646213","file4":"1331646402","file5":"1331646465","file3":"1331646332"},"map_files_photo_id_array":[{"photo_id":"1331646465","filename":"file5"},{"photo_id":"1331646266","filename":"file2"},{"photo_id":"1331646402","filename":"file4"},{"photo_id":"1331646234","filename":"file1"},{"photo_id":"1331646213","filename":"file0"},{"photo_id":"1331646332","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331646465":["hashtag1","hashtag2"]},{"1331646234":["hashtag1","hashtag2"]},{"1331646402":["hashtag1","hashtag2"]},{"1331646213":["hashtag1","hashtag2"]},{"1331646266":["hashtag1","hashtag2"]},{"1331646332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331646465, 1331646234, 1331646402, 1331646213, 1331646266, 1331646332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.329392433166504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:53:32.724984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_56_10391.jpg', '/home/pi/Desktop/images/26012025/10/52/image_26012025_10_53_05_9345.jpg', '/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_15_10350.jpg', '/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_25_9370.jpg', '/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_35_10352.jpg', '/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_52_56_10391.jpg
/home/pi/Desktop/images/26012025/10/52/image_26012025_10_53_05_9345.jpg
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_15_10350.jpg
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_25_9370.jpg
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_35_10352.jpg
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_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":["1331647071","1331646885","1331647076","1331646881","1331647039","1331646976"],"photo_ids_order":["1331646881","1331646885","1331646976","1331647039","1331647071","1331647076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4af3083ca7e5ed4216fe70d8b914c1c8.jpg","text":"TemporaryFile(/tmp/multipartBody6248531747568223566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_53_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf74905deed6870d137d171638847258.jpg","text":"TemporaryFile(/tmp/multipartBody6805364681546353277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_53_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/26/49649d3f9a355944fc7c92b0c5d96b87.jpg","text":"TemporaryFile(/tmp/multipartBody3611799990520683751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_53_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/26/8df9d00e56586c1dc10e8929f77c9ed5.jpg","text":"TemporaryFile(/tmp/multipartBody975717681745376469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_52_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/26/c7a7aaf6cacdaf0a7109c5cec44eb5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3445343564151598394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_53_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/26/45db4d759b2e8631896fbd4d7a813a9a.jpg","text":"TemporaryFile(/tmp/multipartBody8437268670393392636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885273660,"filename":"image_26012025_10_53_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331646976","file1":"1331646885","file0":"1331646881","file4":"1331647071","file5":"1331647076","file3":"1331647039"},"map_files_photo_id_array":[{"photo_id":"1331647076","filename":"file5"},{"photo_id":"1331646976","filename":"file2"},{"photo_id":"1331647071","filename":"file4"},{"photo_id":"1331646885","filename":"file1"},{"photo_id":"1331646881","filename":"file0"},{"photo_id":"1331647039","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331647071":["hashtag1","hashtag2"]},{"1331646885":["hashtag1","hashtag2"]},{"1331647076":["hashtag1","hashtag2"]},{"1331646881":["hashtag1","hashtag2"]},{"1331647039":["hashtag1","hashtag2"]},{"1331646976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331647071, 1331646885, 1331647076, 1331646881, 1331647039, 1331646976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35322046279907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:54:32.895774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_55_9423.jpg', '/home/pi/Desktop/images/26012025/10/53/image_26012025_10_54_05_10353.jpg', '/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_16_10395.jpg', '/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_25_9364.jpg', '/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_35_10325.jpg', '/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_45_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_53_55_9423.jpg
/home/pi/Desktop/images/26012025/10/53/image_26012025_10_54_05_10353.jpg
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_16_10395.jpg
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_25_9364.jpg
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_35_10325.jpg
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_45_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331647170","1331647104","1331647097","1331647100","1331647171","1331647168"],"photo_ids_order":["1331647097","1331647100","1331647104","1331647168","1331647170","1331647171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/760ff19bf9b063ca126bc649e8f86ead.jpg","text":"TemporaryFile(/tmp/multipartBody6304441005552879953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_54_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a651432b725c8822636c5cde34d89dd.jpg","text":"TemporaryFile(/tmp/multipartBody5557235753676382409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_54_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/26/5fb9ea7ef80e782fa46c060b572b7ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3428561486031670625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_53_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/26/61d1496b7100826c7b980f91d5f7b2ab.jpg","text":"TemporaryFile(/tmp/multipartBody3073965367282500617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_54_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/26/9603f5283e605078b4076146e33ffaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3001131628677846075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_54_45_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4dc27d608618d4033f6c260d66f728a3.jpg","text":"TemporaryFile(/tmp/multipartBody7149397285340292418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885333845,"filename":"image_26012025_10_54_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331647104","file1":"1331647100","file0":"1331647097","file4":"1331647170","file5":"1331647171","file3":"1331647168"},"map_files_photo_id_array":[{"photo_id":"1331647171","filename":"file5"},{"photo_id":"1331647104","filename":"file2"},{"photo_id":"1331647170","filename":"file4"},{"photo_id":"1331647100","filename":"file1"},{"photo_id":"1331647097","filename":"file0"},{"photo_id":"1331647168","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331647170":["hashtag1","hashtag2"]},{"1331647104":["hashtag1","hashtag2"]},{"1331647097":["hashtag1","hashtag2"]},{"1331647100":["hashtag1","hashtag2"]},{"1331647171":["hashtag1","hashtag2"]},{"1331647168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331647170, 1331647104, 1331647097, 1331647100, 1331647171, 1331647168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.511619567871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:55:33.200110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_55_10375.jpg', '/home/pi/Desktop/images/26012025/10/54/image_26012025_10_55_05_10340.jpg', '/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_25_10338.jpg', '/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_35_9459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_54_55_10375.jpg
/home/pi/Desktop/images/26012025/10/54/image_26012025_10_55_05_10340.jpg
/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_25_10338.jpg
/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_35_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":["1331647207","1331647227","1331647235","1331647232"],"photo_ids_order":["1331647207","1331647227","1331647232","1331647235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/725d9659f0b7e74276cde8f4c5eecdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3154442232319145627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885394077,"filename":"image_26012025_10_54_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/26/0c7dfbd8e0ad410717375816885b3a3a.jpg","text":"TemporaryFile(/tmp/multipartBody4107258437439503296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885394077,"filename":"image_26012025_10_55_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/26/2f6d8ebd4d5a464ebec33b986af9c482.jpg","text":"TemporaryFile(/tmp/multipartBody4495960840417990321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885394077,"filename":"image_26012025_10_55_35_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7de1b57861ed395a9a68d0588ebff67.jpg","text":"TemporaryFile(/tmp/multipartBody6618932488820883607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885394077,"filename":"image_26012025_10_55_25_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331647232","file1":"1331647227","file0":"1331647207","file3":"1331647235"},"map_files_photo_id_array":[{"photo_id":"1331647232","filename":"file2"},{"photo_id":"1331647227","filename":"file1"},{"photo_id":"1331647207","filename":"file0"},{"photo_id":"1331647235","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331647207":["hashtag1","hashtag2"]},{"1331647227":["hashtag1","hashtag2"]},{"1331647235":["hashtag1","hashtag2"]},{"1331647232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331647207, 1331647227, 1331647235, 1331647232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.805015087127686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:56:32.351742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_55_10415.jpg', '/home/pi/Desktop/images/26012025/10/55/image_26012025_10_56_05_9358.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_15_10351.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_26_10372.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_35_9358.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_45_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/55/image_26012025_10_55_55_10415.jpg
/home/pi/Desktop/images/26012025/10/55/image_26012025_10_56_05_9358.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_15_10351.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_26_10372.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_35_9358.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_45_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331647263","1331647272","1331647271","1331647268","1331647256","1331647259"],"photo_ids_order":["1331647256","1331647259","1331647263","1331647268","1331647271","1331647272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1ced2817acc4c09717662edb74188e1.jpg","text":"TemporaryFile(/tmp/multipartBody2488495182392491313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_56_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/26/eb44e0f9a1334d329627f4e144e40c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1281380265692213310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_56_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a87ec433aa4f8dcbd77c6ff5ca1c6e74.jpg","text":"TemporaryFile(/tmp/multipartBody6423057448628486586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_56_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/26/15af131e140f913e21f76c54dbe5114a.jpg","text":"TemporaryFile(/tmp/multipartBody3664964041901757055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_56_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46a29068a46a157776780d0fb0448547.jpg","text":"TemporaryFile(/tmp/multipartBody5961145094628903234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_55_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/26/f342683abf176a610f33eafcf6abd25e.jpg","text":"TemporaryFile(/tmp/multipartBody2457169643408244354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885453256,"filename":"image_26012025_10_56_05_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331647263","file1":"1331647259","file0":"1331647256","file4":"1331647271","file5":"1331647272","file3":"1331647268"},"map_files_photo_id_array":[{"photo_id":"1331647272","filename":"file5"},{"photo_id":"1331647263","filename":"file2"},{"photo_id":"1331647271","filename":"file4"},{"photo_id":"1331647259","filename":"file1"},{"photo_id":"1331647256","filename":"file0"},{"photo_id":"1331647268","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331647263":["hashtag1","hashtag2"]},{"1331647272":["hashtag1","hashtag2"]},{"1331647271":["hashtag1","hashtag2"]},{"1331647268":["hashtag1","hashtag2"]},{"1331647256":["hashtag1","hashtag2"]},{"1331647259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331647263, 1331647272, 1331647271, 1331647268, 1331647256, 1331647259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78665494918823 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:57:32.553539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.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-26 10:59:04.146525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_45_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.8900477886199951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 10:59:32.628719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg', '/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.jpg', '/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_56_55_9455.jpg
/home/pi/Desktop/images/26012025/10/56/image_26012025_10_57_05_10344.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_15_10334.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_25_9346.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_35_10336.jpg
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_57_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":["1331648064","1331648244","1331648226","1331648060","1331648159","1331648203"],"photo_ids_order":["1331648060","1331648064","1331648159","1331648203","1331648226","1331648244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1eb5dfbe8bbde2efa511a983d372a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5559583052384703565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_57_05_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be80d61fafc933e888f0cf911ccb4158.jpg","text":"TemporaryFile(/tmp/multipartBody6742548956287446985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_57_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/26/8fabdf584e29ce173be1aab8d93f9fb0.jpg","text":"TemporaryFile(/tmp/multipartBody198830873145606568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_57_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e06b66e7cc69dfbf98735cd1102d857c.jpg","text":"TemporaryFile(/tmp/multipartBody1826837891938167127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_56_55_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de598c5d7088d983f007ef205c642610.jpg","text":"TemporaryFile(/tmp/multipartBody131118799910958776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_57_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/26/1d2955ababd5fd9cf4f04b493b1cc0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5463750478452113021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885633548,"filename":"image_26012025_10_57_25_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331648159","file1":"1331648064","file0":"1331648060","file4":"1331648226","file5":"1331648244","file3":"1331648203"},"map_files_photo_id_array":[{"photo_id":"1331648244","filename":"file5"},{"photo_id":"1331648159","filename":"file2"},{"photo_id":"1331648226","filename":"file4"},{"photo_id":"1331648064","filename":"file1"},{"photo_id":"1331648060","filename":"file0"},{"photo_id":"1331648203","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331648064":["hashtag1","hashtag2"]},{"1331648244":["hashtag1","hashtag2"]},{"1331648226":["hashtag1","hashtag2"]},{"1331648060":["hashtag1","hashtag2"]},{"1331648159":["hashtag1","hashtag2"]},{"1331648203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331648064, 1331648244, 1331648226, 1331648060, 1331648159, 1331648203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.67528963088989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:00:32.666465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/57/image_26012025_10_58_05_10360.jpg', '/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_16_10462.jpg', '/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_25_9343.jpg', '/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_35_10344.jpg', '/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_46_10342.jpg', '/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_55_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/57/image_26012025_10_58_05_10360.jpg
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_16_10462.jpg
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_25_9343.jpg
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_35_10344.jpg
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_46_10342.jpg
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_58_55_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":["1331648277","1331648273","1331648267","1331648269","1331648271","1331648280"],"photo_ids_order":["1331648267","1331648269","1331648271","1331648273","1331648277","1331648280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e7458f3d1b37cbe060c960475adc410.jpg","text":"TemporaryFile(/tmp/multipartBody3880224689491236064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_58_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/26/25dcc9abdb87725362c0afdf1d78a96e.jpg","text":"TemporaryFile(/tmp/multipartBody7426288643687747658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_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/26/6620c13b2655104eda306dc7edf789d0.jpg","text":"TemporaryFile(/tmp/multipartBody5228415021336916779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_58_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/26/44c9ac6c6aadf3ce47bd6ae057fa834b.jpg","text":"TemporaryFile(/tmp/multipartBody8440428238069769362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_58_16_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/26/043a165f48bf68c863a402471d5a23f2.jpg","text":"TemporaryFile(/tmp/multipartBody3291928020126982939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_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/26/9753639d81da61868fd60f0c13b00cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2706187685490946995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885693634,"filename":"image_26012025_10_58_55_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331648271","file1":"1331648269","file0":"1331648267","file4":"1331648277","file5":"1331648280","file3":"1331648273"},"map_files_photo_id_array":[{"photo_id":"1331648280","filename":"file5"},{"photo_id":"1331648271","filename":"file2"},{"photo_id":"1331648277","filename":"file4"},{"photo_id":"1331648269","filename":"file1"},{"photo_id":"1331648267","filename":"file0"},{"photo_id":"1331648273","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331648277":["hashtag1","hashtag2"]},{"1331648273":["hashtag1","hashtag2"]},{"1331648267":["hashtag1","hashtag2"]},{"1331648269":["hashtag1","hashtag2"]},{"1331648271":["hashtag1","hashtag2"]},{"1331648280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331648277, 1331648273, 1331648267, 1331648269, 1331648271, 1331648280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.75379920005798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:01:32.985587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/10/58/image_26012025_10_59_05_10364.jpg', '/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_15_9416.jpg', '/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_25_10354.jpg', '/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_45_9366.jpg', '/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_55_10360.jpg', '/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_16_10070.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/10/58/image_26012025_10_59_05_10364.jpg
/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_15_9416.jpg
/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_25_10354.jpg
/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_45_9366.jpg
/home/pi/Desktop/images/26012025/10/59/image_26012025_10_59_55_10360.jpg
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_16_10070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331648307","1331648296","1331648299","1331648305","1331648308","1331648302"],"photo_ids_order":["1331648296","1331648299","1331648302","1331648305","1331648307","1331648308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2bd90d0893265782d490ccf98b167ac.jpg","text":"TemporaryFile(/tmp/multipartBody2379633293158256553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_10_59_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/26/ebc2f0c35173c837bad1f4bcb11f7b72.jpg","text":"TemporaryFile(/tmp/multipartBody3265165858433750732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_10_59_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/26/182c846729220efef6a0c26f106691dc.jpg","text":"TemporaryFile(/tmp/multipartBody965478939805227106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_10_59_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/26/a7cefdfb814535f07be59ff227c1cac7.jpg","text":"TemporaryFile(/tmp/multipartBody251054002183526021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_10_59_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/26/077e5f4d03eca8aa114464ac38fef21d.jpg","text":"TemporaryFile(/tmp/multipartBody6042727864044132739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_11_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87adc0f036b3bab680b9a658fbb7d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody7215827395661659800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885753898,"filename":"image_26012025_10_59_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331648302","file1":"1331648299","file0":"1331648296","file4":"1331648307","file5":"1331648308","file3":"1331648305"},"map_files_photo_id_array":[{"photo_id":"1331648308","filename":"file5"},{"photo_id":"1331648302","filename":"file2"},{"photo_id":"1331648307","filename":"file4"},{"photo_id":"1331648299","filename":"file1"},{"photo_id":"1331648296","filename":"file0"},{"photo_id":"1331648305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331648307":["hashtag1","hashtag2"]},{"1331648296":["hashtag1","hashtag2"]},{"1331648299":["hashtag1","hashtag2"]},{"1331648305":["hashtag1","hashtag2"]},{"1331648308":["hashtag1","hashtag2"]},{"1331648302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331648307, 1331648296, 1331648299, 1331648305, 1331648308, 1331648302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89578938484192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:02:32.183717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_26_10384.jpg', '/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_36_10347.jpg', '/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_46_9383.jpg', '/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_56_10360.jpg', '/home/pi/Desktop/images/26012025/11/00/image_26012025_11_01_06_10330.jpg', '/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_16_9449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_26_10384.jpg
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_36_10347.jpg
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_46_9383.jpg
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_00_56_10360.jpg
/home/pi/Desktop/images/26012025/11/00/image_26012025_11_01_06_10330.jpg
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_16_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331648382","1331648376","1331648381","1331648378","1331648372","1331648367"],"photo_ids_order":["1331648367","1331648372","1331648376","1331648378","1331648381","1331648382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf45ef3c89019690ca8652a91d813c39.jpg","text":"TemporaryFile(/tmp/multipartBody4718431051597116087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_01_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1fa854038e83517d9dc2c03b9090ecc6.jpg","text":"TemporaryFile(/tmp/multipartBody6642334489137943473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_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/26/ba68e41e730eaa163724bdee0f992cfe.jpg","text":"TemporaryFile(/tmp/multipartBody3412048750668019984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_01_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b82b7f75454ba5206fad4a4e6e974690.jpg","text":"TemporaryFile(/tmp/multipartBody5763088443369580189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_00_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/26/873458ed52d0665512b55d289f2461c5.jpg","text":"TemporaryFile(/tmp/multipartBody3138206166120324292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_00_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ec5a0cf8a28858f7786a912dfb5e884d.jpg","text":"TemporaryFile(/tmp/multipartBody7595824785592188320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885813102,"filename":"image_26012025_11_00_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331648376","file1":"1331648372","file0":"1331648367","file4":"1331648381","file5":"1331648382","file3":"1331648378"},"map_files_photo_id_array":[{"photo_id":"1331648382","filename":"file5"},{"photo_id":"1331648376","filename":"file2"},{"photo_id":"1331648381","filename":"file4"},{"photo_id":"1331648372","filename":"file1"},{"photo_id":"1331648367","filename":"file0"},{"photo_id":"1331648378","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331648382":["hashtag1","hashtag2"]},{"1331648376":["hashtag1","hashtag2"]},{"1331648381":["hashtag1","hashtag2"]},{"1331648378":["hashtag1","hashtag2"]},{"1331648372":["hashtag1","hashtag2"]},{"1331648367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331648382, 1331648376, 1331648381, 1331648378, 1331648372, 1331648367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90142560005188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:03:32.411008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_26_10357.jpg', '/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_36_9380.jpg', '/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_46_10362.jpg', '/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_56_10390.jpg', '/home/pi/Desktop/images/26012025/11/01/image_26012025_11_02_06_9389.jpg', '/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_16_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_26_10357.jpg
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_36_9380.jpg
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_46_10362.jpg
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_01_56_10390.jpg
/home/pi/Desktop/images/26012025/11/01/image_26012025_11_02_06_9389.jpg
/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_16_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331648469","1331648474","1331648399","1331648395","1331648472","1331648466"],"photo_ids_order":["1331648395","1331648399","1331648466","1331648469","1331648472","1331648474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2f249db29cf0aacae5fd95728607330.jpg","text":"TemporaryFile(/tmp/multipartBody1412230245450565192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_01_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/26/b1caaa7964cb50271f9ada7d3c78495a.jpg","text":"TemporaryFile(/tmp/multipartBody7446977036114517116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_02_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/26/4a73cc14ba4185e6d123a1a781acec91.jpg","text":"TemporaryFile(/tmp/multipartBody842827653849181633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_01_36_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/26/ef94c2296722a6fb99faab073723191c.jpg","text":"TemporaryFile(/tmp/multipartBody2469849968253574008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_01_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/26/51a6599f219bbd07f2d8da001da6a174.jpg","text":"TemporaryFile(/tmp/multipartBody8585007861440106558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_02_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3301b58783d8ae6b66ff124763740613.jpg","text":"TemporaryFile(/tmp/multipartBody4262577988778778733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885873409,"filename":"image_26012025_11_01_46_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331648466","file1":"1331648399","file0":"1331648395","file4":"1331648472","file5":"1331648474","file3":"1331648469"},"map_files_photo_id_array":[{"photo_id":"1331648474","filename":"file5"},{"photo_id":"1331648466","filename":"file2"},{"photo_id":"1331648472","filename":"file4"},{"photo_id":"1331648399","filename":"file1"},{"photo_id":"1331648395","filename":"file0"},{"photo_id":"1331648469","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331648469":["hashtag1","hashtag2"]},{"1331648474":["hashtag1","hashtag2"]},{"1331648399":["hashtag1","hashtag2"]},{"1331648395":["hashtag1","hashtag2"]},{"1331648472":["hashtag1","hashtag2"]},{"1331648466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331648469, 1331648474, 1331648399, 1331648395, 1331648472, 1331648466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40542817115784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:04:32.665976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_26_10338.jpg', '/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_36_9357.jpg', '/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_56_9484.jpg', '/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_16_10356.jpg', '/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_26_9337.jpg', '/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_46_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_26_10338.jpg
/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_36_9357.jpg
/home/pi/Desktop/images/26012025/11/02/image_26012025_11_02_56_9484.jpg
/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_16_10356.jpg
/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_26_9337.jpg
/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_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":["1331649983","1331649199","1331649262","1331649613","1331650465","1331650402"],"photo_ids_order":["1331649199","1331649262","1331649613","1331649983","1331650402","1331650465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0c66b21dcc7837c364a5107e23d88a0.jpg","text":"TemporaryFile(/tmp/multipartBody2265011226053901262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_03_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/26/56541ca0b91ba270e892928c8f171bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1031608335981085781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_02_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/26/d1d2580d0054aadf73ae0e4dfb6dc44e.jpg","text":"TemporaryFile(/tmp/multipartBody7284775042796916621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_02_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/26/622d0309f6fa1834a51703708d645748.jpg","text":"TemporaryFile(/tmp/multipartBody3164170737487157273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_02_56_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/26/828158b13379ee5660569d050abdbfb8.jpg","text":"TemporaryFile(/tmp/multipartBody8800344311153726021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_03_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/26/cbad04168aacc2b137f0f5ece6569460.jpg","text":"TemporaryFile(/tmp/multipartBody2936020120870624743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885933597,"filename":"image_26012025_11_03_26_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331649613","file1":"1331649262","file0":"1331649199","file4":"1331650402","file5":"1331650465","file3":"1331649983"},"map_files_photo_id_array":[{"photo_id":"1331650465","filename":"file5"},{"photo_id":"1331649613","filename":"file2"},{"photo_id":"1331650402","filename":"file4"},{"photo_id":"1331649262","filename":"file1"},{"photo_id":"1331649199","filename":"file0"},{"photo_id":"1331649983","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331649983":["hashtag1","hashtag2"]},{"1331649199":["hashtag1","hashtag2"]},{"1331649262":["hashtag1","hashtag2"]},{"1331649613":["hashtag1","hashtag2"]},{"1331650465":["hashtag1","hashtag2"]},{"1331650402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331649983, 1331649199, 1331649262, 1331649613, 1331650465, 1331650402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25259447097778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:05:33.001006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_56_9348.jpg', '/home/pi/Desktop/images/26012025/11/03/image_26012025_11_04_06_10344.jpg', '/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_16_9454.jpg', '/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_26_10354.jpg', '/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_46_9421.jpg', '/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_56_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/03/image_26012025_11_03_56_9348.jpg
/home/pi/Desktop/images/26012025/11/03/image_26012025_11_04_06_10344.jpg
/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_16_9454.jpg
/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_26_10354.jpg
/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_46_9421.jpg
/home/pi/Desktop/images/26012025/11/04/image_26012025_11_04_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331650740","1331650518","1331650509","1331650511","1331650513","1331650516"],"photo_ids_order":["1331650509","1331650511","1331650513","1331650516","1331650518","1331650740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e1a7b534f68fc986bdcd67aac4a759e.jpg","text":"TemporaryFile(/tmp/multipartBody6514038388514458985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_04_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/26/8be8ff6b230423838892497ce98454f6.jpg","text":"TemporaryFile(/tmp/multipartBody3147086088473523446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_04_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af84ed0ef9f2e85ff5448caef642f992.jpg","text":"TemporaryFile(/tmp/multipartBody8304033806885776921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_03_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/26/bc9b210af27c5355365294d194683521.jpg","text":"TemporaryFile(/tmp/multipartBody6085371270295322727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_04_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e5c3f8aae10e91a446d033d6dfcdfa1.jpg","text":"TemporaryFile(/tmp/multipartBody7631872578277547088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_04_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e1b9a9a4491582bc174e73902581cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3632242248749590301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737885993909,"filename":"image_26012025_11_04_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331650513","file1":"1331650511","file0":"1331650509","file4":"1331650518","file5":"1331650740","file3":"1331650516"},"map_files_photo_id_array":[{"photo_id":"1331650740","filename":"file5"},{"photo_id":"1331650513","filename":"file2"},{"photo_id":"1331650518","filename":"file4"},{"photo_id":"1331650511","filename":"file1"},{"photo_id":"1331650509","filename":"file0"},{"photo_id":"1331650516","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331650740":["hashtag1","hashtag2"]},{"1331650518":["hashtag1","hashtag2"]},{"1331650509":["hashtag1","hashtag2"]},{"1331650511":["hashtag1","hashtag2"]},{"1331650513":["hashtag1","hashtag2"]},{"1331650516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331650740, 1331650518, 1331650509, 1331650511, 1331650513, 1331650516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.066508531570435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:06:32.295748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/04/image_26012025_11_05_06_10340.jpg', '/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_16_9404.jpg', '/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_26_10352.jpg', '/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_36_9381.jpg', '/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_46_10346.jpg', '/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_56_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/04/image_26012025_11_05_06_10340.jpg
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_16_9404.jpg
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_26_10352.jpg
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_36_9381.jpg
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_46_10346.jpg
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_05_56_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":["1331650985","1331650988","1331650973","1331650987","1331650981","1331650977"],"photo_ids_order":["1331650973","1331650977","1331650981","1331650985","1331650987","1331650988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de0f28cd8506cbdc4f704c43b96b89b0.jpg","text":"TemporaryFile(/tmp/multipartBody5102319035493044776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_36_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/26/fc9d1e6cd1e0a908ce2fe7dc241f5edb.jpg","text":"TemporaryFile(/tmp/multipartBody8783167383306757286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_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/26/edfd8cfa29a05d47aa71a1a5d652cd85.jpg","text":"TemporaryFile(/tmp/multipartBody64899178651096257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_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/26/9d1b997ac5a146881fd3d1b664d1aa8f.jpg","text":"TemporaryFile(/tmp/multipartBody8877559417445786891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_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/26/b27c27ce75e933051eb0c769d7fd10b1.jpg","text":"TemporaryFile(/tmp/multipartBody2836073527299629196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_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/26/cfedd90060359ed59f004ffd2307737f.jpg","text":"TemporaryFile(/tmp/multipartBody639535205541901936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886053196,"filename":"image_26012025_11_05_16_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331650981","file1":"1331650977","file0":"1331650973","file4":"1331650987","file5":"1331650988","file3":"1331650985"},"map_files_photo_id_array":[{"photo_id":"1331650988","filename":"file5"},{"photo_id":"1331650981","filename":"file2"},{"photo_id":"1331650987","filename":"file4"},{"photo_id":"1331650977","filename":"file1"},{"photo_id":"1331650973","filename":"file0"},{"photo_id":"1331650985","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331650985":["hashtag1","hashtag2"]},{"1331650988":["hashtag1","hashtag2"]},{"1331650973":["hashtag1","hashtag2"]},{"1331650987":["hashtag1","hashtag2"]},{"1331650981":["hashtag1","hashtag2"]},{"1331650977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331650985, 1331650988, 1331650973, 1331650987, 1331650981, 1331650977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84899616241455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:07:32.478071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/05/image_26012025_11_06_06_9404.jpg', '/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_16_10345.jpg', '/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_26_10340.jpg', '/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_36_9372.jpg', '/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_46_10357.jpg', '/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_56_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/05/image_26012025_11_06_06_9404.jpg
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_16_10345.jpg
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_26_10340.jpg
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_36_9372.jpg
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_46_10357.jpg
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_06_56_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":["1331651063","1331651057","1331651059","1331651053","1331651061","1331651055"],"photo_ids_order":["1331651053","1331651055","1331651057","1331651059","1331651061","1331651063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/282d1dcb25b39cf9f2ba17dd7a88fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody6816512394311317653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_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/26/401864db4f7f4d7990e906ee9ec46bba.jpg","text":"TemporaryFile(/tmp/multipartBody6701513145549076693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_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/26/59a3989b7d94b6e925fc3b9c19552527.jpg","text":"TemporaryFile(/tmp/multipartBody7333176880949163200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_36_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e40af5ba1eab259101063d7ef01541c.jpg","text":"TemporaryFile(/tmp/multipartBody5095404179372983565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_06_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f96b57c80daf887326670cbd7e41a377.jpg","text":"TemporaryFile(/tmp/multipartBody205181073469403107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7514931e0474d372f9d6b8406750c61.jpg","text":"TemporaryFile(/tmp/multipartBody1595109297150057063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886113383,"filename":"image_26012025_11_06_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651057","file1":"1331651055","file0":"1331651053","file4":"1331651061","file5":"1331651063","file3":"1331651059"},"map_files_photo_id_array":[{"photo_id":"1331651063","filename":"file5"},{"photo_id":"1331651057","filename":"file2"},{"photo_id":"1331651061","filename":"file4"},{"photo_id":"1331651055","filename":"file1"},{"photo_id":"1331651053","filename":"file0"},{"photo_id":"1331651059","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651063":["hashtag1","hashtag2"]},{"1331651057":["hashtag1","hashtag2"]},{"1331651059":["hashtag1","hashtag2"]},{"1331651053":["hashtag1","hashtag2"]},{"1331651061":["hashtag1","hashtag2"]},{"1331651055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651063, 1331651057, 1331651059, 1331651053, 1331651061, 1331651055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4007568359375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:08:32.762110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/06/image_26012025_11_07_06_9347.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_16_10347.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_26_9412.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_36_10401.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_46_10500.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_56_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_07_06_9347.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_16_10347.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_26_9412.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_36_10401.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_46_10500.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_56_9469.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5790693759918213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:08:42.663081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/06/image_26012025_11_07_06_9347.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_16_10347.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_26_9412.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_36_10401.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_46_10500.jpg', '/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_56_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/06/image_26012025_11_07_06_9347.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_16_10347.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_26_9412.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_36_10401.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_46_10500.jpg
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_07_56_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651084","1331651101","1331651104","1331651088","1331651107","1331651112"],"photo_ids_order":["1331651084","1331651088","1331651101","1331651104","1331651107","1331651112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e4d895b9cdfe15cc506903c6005e7dd.jpg","text":"TemporaryFile(/tmp/multipartBody3890963781357518193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_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/26/73982e2f148b559f916a60e6b235f038.jpg","text":"TemporaryFile(/tmp/multipartBody3741625346471026654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40efebccf1ae649c3ccb84654882aee0.jpg","text":"TemporaryFile(/tmp/multipartBody4047958656930497691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6882085429f1e743720caa122165050c.jpg","text":"TemporaryFile(/tmp/multipartBody2439497827484126817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_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/26/9c362f21848515ffc6751d6e32dda40c.jpg","text":"TemporaryFile(/tmp/multipartBody2372304184613958424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_46_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/26/e82a02588fcd767d5beaaa6667fc23a2.jpg","text":"TemporaryFile(/tmp/multipartBody6576876543704290422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886183567,"filename":"image_26012025_11_07_56_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651101","file1":"1331651088","file0":"1331651084","file4":"1331651107","file5":"1331651112","file3":"1331651104"},"map_files_photo_id_array":[{"photo_id":"1331651112","filename":"file5"},{"photo_id":"1331651101","filename":"file2"},{"photo_id":"1331651107","filename":"file4"},{"photo_id":"1331651088","filename":"file1"},{"photo_id":"1331651084","filename":"file0"},{"photo_id":"1331651104","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651084":["hashtag1","hashtag2"]},{"1331651101":["hashtag1","hashtag2"]},{"1331651104":["hashtag1","hashtag2"]},{"1331651088":["hashtag1","hashtag2"]},{"1331651107":["hashtag1","hashtag2"]},{"1331651112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651084, 1331651101, 1331651104, 1331651088, 1331651107, 1331651112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05331087112427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:09:33.034584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/07/image_26012025_11_08_06_10347.jpg', '/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_16_9348.jpg', '/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_26_10338.jpg', '/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_36_10321.jpg', '/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_56_10355.jpg', '/home/pi/Desktop/images/26012025/11/08/image_26012025_11_09_06_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/07/image_26012025_11_08_06_10347.jpg
/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_16_9348.jpg
/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_26_10338.jpg
/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_36_10321.jpg
/home/pi/Desktop/images/26012025/11/08/image_26012025_11_08_56_10355.jpg
/home/pi/Desktop/images/26012025/11/08/image_26012025_11_09_06_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651141","1331651131","1331651134","1331651128","1331651136","1331651139"],"photo_ids_order":["1331651128","1331651131","1331651134","1331651136","1331651139","1331651141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d979200a1b1cb1b33d217bf8e8c723f0.jpg","text":"TemporaryFile(/tmp/multipartBody6361744642484061379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_09_06_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/26/3e47274fd37365d105db917425e6a29c.jpg","text":"TemporaryFile(/tmp/multipartBody1938937853927921429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_08_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/26/5f561ca8a9a73aa5ff7f62683cf3daea.jpg","text":"TemporaryFile(/tmp/multipartBody1694509154900659585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_08_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/26/35c2ba36474a8aae220f40e5f431ae49.jpg","text":"TemporaryFile(/tmp/multipartBody1255019380641500200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_08_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/26/c9ca8166c5833ea2a2043026f717d88d.jpg","text":"TemporaryFile(/tmp/multipartBody9053976206492616207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_08_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e18ba0bb4976daf3658bedc9b0d867d.jpg","text":"TemporaryFile(/tmp/multipartBody2909399137717577552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886233961,"filename":"image_26012025_11_08_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651134","file1":"1331651131","file0":"1331651128","file4":"1331651139","file5":"1331651141","file3":"1331651136"},"map_files_photo_id_array":[{"photo_id":"1331651141","filename":"file5"},{"photo_id":"1331651134","filename":"file2"},{"photo_id":"1331651139","filename":"file4"},{"photo_id":"1331651131","filename":"file1"},{"photo_id":"1331651128","filename":"file0"},{"photo_id":"1331651136","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651141":["hashtag1","hashtag2"]},{"1331651131":["hashtag1","hashtag2"]},{"1331651134":["hashtag1","hashtag2"]},{"1331651128":["hashtag1","hashtag2"]},{"1331651136":["hashtag1","hashtag2"]},{"1331651139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651141, 1331651131, 1331651134, 1331651128, 1331651136, 1331651139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11493253707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:10:32.193005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_16_9407.jpg', '/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_26_10334.jpg', '/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_36_9493.jpg', '/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_46_10348.jpg', '/home/pi/Desktop/images/26012025/11/09/image_26012025_11_10_06_9376.jpg', '/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_16_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_16_9407.jpg
/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_26_10334.jpg
/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_36_9493.jpg
/home/pi/Desktop/images/26012025/11/09/image_26012025_11_09_46_10348.jpg
/home/pi/Desktop/images/26012025/11/09/image_26012025_11_10_06_9376.jpg
/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_16_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651216","1331651210","1331651204","1331651213","1331651221","1331651218"],"photo_ids_order":["1331651204","1331651210","1331651213","1331651216","1331651218","1331651221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6588d882efabe073d8697626fceef483.jpg","text":"TemporaryFile(/tmp/multipartBody5670192443137664682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_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/26/9680a43e7db5c6b92d82e84f2690c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2703808498053452982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_09_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/55f077e5190eb588cba1e4e63df6e00d.jpg","text":"TemporaryFile(/tmp/multipartBody6950910365044119159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_09_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9de8a78b795b5bb8028bf97ddb4ea995.jpg","text":"TemporaryFile(/tmp/multipartBody8563026277567470004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_09_36_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/26/1338642740817ceb61e7bd6f297c78e7.jpg","text":"TemporaryFile(/tmp/multipartBody6750332871727562679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_10_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/26/d4c0e29e634ea798433bb099b5512f26.jpg","text":"TemporaryFile(/tmp/multipartBody3933976372984398639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886293099,"filename":"image_26012025_11_10_06_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651213","file1":"1331651210","file0":"1331651204","file4":"1331651218","file5":"1331651221","file3":"1331651216"},"map_files_photo_id_array":[{"photo_id":"1331651221","filename":"file5"},{"photo_id":"1331651213","filename":"file2"},{"photo_id":"1331651218","filename":"file4"},{"photo_id":"1331651210","filename":"file1"},{"photo_id":"1331651204","filename":"file0"},{"photo_id":"1331651216","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651216":["hashtag1","hashtag2"]},{"1331651210":["hashtag1","hashtag2"]},{"1331651204":["hashtag1","hashtag2"]},{"1331651213":["hashtag1","hashtag2"]},{"1331651221":["hashtag1","hashtag2"]},{"1331651218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651216, 1331651210, 1331651204, 1331651213, 1331651221, 1331651218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6691312789917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:11:32.350194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_26_10392.jpg', '/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_46_10361.jpg', '/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_56_10381.jpg', '/home/pi/Desktop/images/26012025/11/10/image_26012025_11_11_06_9422.jpg', '/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_16_10350.jpg', '/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_26_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_26_10392.jpg
/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_46_10361.jpg
/home/pi/Desktop/images/26012025/11/10/image_26012025_11_10_56_10381.jpg
/home/pi/Desktop/images/26012025/11/10/image_26012025_11_11_06_9422.jpg
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_16_10350.jpg
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_26_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651255","1331651266","1331651251","1331651262","1331651265","1331651259"],"photo_ids_order":["1331651251","1331651255","1331651259","1331651262","1331651265","1331651266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e36bd80628f5ccb80f0aadfbe0c5201.jpg","text":"TemporaryFile(/tmp/multipartBody6461619795832552487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_10_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/26/6dd3fca05a4e0f8bf1d54aac5a706d57.jpg","text":"TemporaryFile(/tmp/multipartBody250802082784962869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_11_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/412a516ff0cd6e1202b38ac33b18521e.jpg","text":"TemporaryFile(/tmp/multipartBody7240928162591799096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_10_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4de6889dfe93da9460f8d023857d06b.jpg","text":"TemporaryFile(/tmp/multipartBody5740017161143281381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_11_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27f7f314dcf01e516ba7bcc1595b3177.jpg","text":"TemporaryFile(/tmp/multipartBody4749811262091089146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_11_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/26/dc0609666cb4954f7ccb42de8c0ea827.jpg","text":"TemporaryFile(/tmp/multipartBody5057532789578919914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886353246,"filename":"image_26012025_11_10_56_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651259","file1":"1331651255","file0":"1331651251","file4":"1331651265","file5":"1331651266","file3":"1331651262"},"map_files_photo_id_array":[{"photo_id":"1331651266","filename":"file5"},{"photo_id":"1331651259","filename":"file2"},{"photo_id":"1331651265","filename":"file4"},{"photo_id":"1331651255","filename":"file1"},{"photo_id":"1331651251","filename":"file0"},{"photo_id":"1331651262","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651255":["hashtag1","hashtag2"]},{"1331651266":["hashtag1","hashtag2"]},{"1331651251":["hashtag1","hashtag2"]},{"1331651262":["hashtag1","hashtag2"]},{"1331651265":["hashtag1","hashtag2"]},{"1331651259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651255, 1331651266, 1331651251, 1331651262, 1331651265, 1331651259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.341739892959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:12:32.647453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_36_10386.jpg', '/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_46_10418.jpg', '/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_56_9418.jpg', '/home/pi/Desktop/images/26012025/11/11/image_26012025_11_12_06_10315.jpg', '/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_16_9370.jpg', '/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_26_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_36_10386.jpg
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_46_10418.jpg
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_11_56_9418.jpg
/home/pi/Desktop/images/26012025/11/11/image_26012025_11_12_06_10315.jpg
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_16_9370.jpg
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_26_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":["1331651301","1331651309","1331651290","1331651305","1331651295","1331651310"],"photo_ids_order":["1331651290","1331651295","1331651301","1331651305","1331651309","1331651310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/992e7bfb6fcfb6338aa5cc51910972bd.jpg","text":"TemporaryFile(/tmp/multipartBody6927413750715812883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_11_56_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/26/c1c014d311e2fc5f2bda0f443776b7fa.jpg","text":"TemporaryFile(/tmp/multipartBody9069319700738371629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_12_16_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa8359bef31cab3950db601b78f08ff9.jpg","text":"TemporaryFile(/tmp/multipartBody6823496510977095934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_11_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/26/6d1e28322526c68a560834c9602c8463.jpg","text":"TemporaryFile(/tmp/multipartBody3834867563414205697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_12_06_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5e7cac0d3acdae37b046cb77537b2bc.jpg","text":"TemporaryFile(/tmp/multipartBody8406760058519723847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_11_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/26/6f4d460c4ed84482fd8ff28a2f8a8eca.jpg","text":"TemporaryFile(/tmp/multipartBody2551811525319116807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886413565,"filename":"image_26012025_11_12_26_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651301","file1":"1331651295","file0":"1331651290","file4":"1331651309","file5":"1331651310","file3":"1331651305"},"map_files_photo_id_array":[{"photo_id":"1331651310","filename":"file5"},{"photo_id":"1331651301","filename":"file2"},{"photo_id":"1331651309","filename":"file4"},{"photo_id":"1331651295","filename":"file1"},{"photo_id":"1331651290","filename":"file0"},{"photo_id":"1331651305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651301":["hashtag1","hashtag2"]},{"1331651309":["hashtag1","hashtag2"]},{"1331651290":["hashtag1","hashtag2"]},{"1331651305":["hashtag1","hashtag2"]},{"1331651295":["hashtag1","hashtag2"]},{"1331651310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651301, 1331651309, 1331651290, 1331651305, 1331651295, 1331651310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0061719417572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:13:32.829447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_36_10341.jpg', '/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_46_9403.jpg', '/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_56_10343.jpg', '/home/pi/Desktop/images/26012025/11/12/image_26012025_11_13_06_10386.jpg', '/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_26_10328.jpg', '/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_36_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_36_10341.jpg
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_46_9403.jpg
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_12_56_10343.jpg
/home/pi/Desktop/images/26012025/11/12/image_26012025_11_13_06_10386.jpg
/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_26_10328.jpg
/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_36_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651390","1331651384","1331651395","1331651377","1331651371","1331651397"],"photo_ids_order":["1331651371","1331651377","1331651384","1331651390","1331651395","1331651397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37a7019c67cae3b1f760f4624cb44304.jpg","text":"TemporaryFile(/tmp/multipartBody3654981813723350524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_13_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a915e1fcd496b060cad57b08c2e9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7059573484351733507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_12_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/26/0b8e35e9533a7aa1bd3009c057888d2f.jpg","text":"TemporaryFile(/tmp/multipartBody1461448342558586350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_13_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e344eaa63b73447cffea575e786c2430.jpg","text":"TemporaryFile(/tmp/multipartBody5348861953375193449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_12_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/26/9be317adc020ceeae45161bb13054ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6116604537490446936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_12_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/26/bb3f00bf74763df047d549b82b2d6455.jpg","text":"TemporaryFile(/tmp/multipartBody1834451261989205763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886473747,"filename":"image_26012025_11_13_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651384","file1":"1331651377","file0":"1331651371","file4":"1331651395","file5":"1331651397","file3":"1331651390"},"map_files_photo_id_array":[{"photo_id":"1331651397","filename":"file5"},{"photo_id":"1331651384","filename":"file2"},{"photo_id":"1331651395","filename":"file4"},{"photo_id":"1331651377","filename":"file1"},{"photo_id":"1331651371","filename":"file0"},{"photo_id":"1331651390","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651390":["hashtag1","hashtag2"]},{"1331651384":["hashtag1","hashtag2"]},{"1331651395":["hashtag1","hashtag2"]},{"1331651377":["hashtag1","hashtag2"]},{"1331651371":["hashtag1","hashtag2"]},{"1331651397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651390, 1331651384, 1331651395, 1331651377, 1331651371, 1331651397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96458029747009 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:14:33.074132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_46_9338.jpg', '/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_56_10352.jpg', '/home/pi/Desktop/images/26012025/11/13/image_26012025_11_14_06_10322.jpg', '/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_16_9635.jpg', '/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_26_10351.jpg', '/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_36_9437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_46_9338.jpg
/home/pi/Desktop/images/26012025/11/13/image_26012025_11_13_56_10352.jpg
/home/pi/Desktop/images/26012025/11/13/image_26012025_11_14_06_10322.jpg
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_16_9635.jpg
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_26_10351.jpg
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_36_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":["1331651450","1331651425","1331651410","1331651421","1331651415","1331651430"],"photo_ids_order":["1331651410","1331651415","1331651421","1331651425","1331651430","1331651450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8fbfcb77afe6e4c1d520c80aa8207449.jpg","text":"TemporaryFile(/tmp/multipartBody2722836330525567207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_14_36_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/26/42a8ed96ff85183ab41b03b802eab649.jpg","text":"TemporaryFile(/tmp/multipartBody1592096501952656968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_14_16_9635.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1be6171dff75335e255a96316aed9da0.jpg","text":"TemporaryFile(/tmp/multipartBody3884437425400193763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_13_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/26/1dd3cea8c60e1dfcb8abbab965c61c70.jpg","text":"TemporaryFile(/tmp/multipartBody128838319962179159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_14_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c653363545499ae894b17278267486a.jpg","text":"TemporaryFile(/tmp/multipartBody6882633668098295801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_13_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/26/7444affeb325a880f70bd0f5e85f4a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3473810555382119278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886533988,"filename":"image_26012025_11_14_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651421","file1":"1331651415","file0":"1331651410","file4":"1331651430","file5":"1331651450","file3":"1331651425"},"map_files_photo_id_array":[{"photo_id":"1331651450","filename":"file5"},{"photo_id":"1331651421","filename":"file2"},{"photo_id":"1331651430","filename":"file4"},{"photo_id":"1331651415","filename":"file1"},{"photo_id":"1331651410","filename":"file0"},{"photo_id":"1331651425","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651450":["hashtag1","hashtag2"]},{"1331651425":["hashtag1","hashtag2"]},{"1331651410":["hashtag1","hashtag2"]},{"1331651421":["hashtag1","hashtag2"]},{"1331651415":["hashtag1","hashtag2"]},{"1331651430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651450, 1331651425, 1331651410, 1331651421, 1331651415, 1331651430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76453256607056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:15:32.286584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_46_10332.jpg', '/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_56_9400.jpg', '/home/pi/Desktop/images/26012025/11/14/image_26012025_11_15_06_10350.jpg', '/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_16_10394.jpg', '/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_26_9353.jpg', '/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_36_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_46_10332.jpg
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_14_56_9400.jpg
/home/pi/Desktop/images/26012025/11/14/image_26012025_11_15_06_10350.jpg
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_16_10394.jpg
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_26_9353.jpg
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_36_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":["1331651610","1331651624","1331651629","1331651620","1331651614","1331651628"],"photo_ids_order":["1331651610","1331651614","1331651620","1331651624","1331651628","1331651629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f837a55473d1cb0d206aadab33ecdce.jpg","text":"TemporaryFile(/tmp/multipartBody1613855068237773428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_14_46_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/175f09b26e3b026991e126b01762a6d9.jpg","text":"TemporaryFile(/tmp/multipartBody787737209807305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_15_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/26/7afe6ead0e12767494824d9682b9ef86.jpg","text":"TemporaryFile(/tmp/multipartBody9063171332903407000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_15_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/26/4335d42a3830e38512f252cac0b5e41d.jpg","text":"TemporaryFile(/tmp/multipartBody8008207424303234637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_15_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/26/50c245b562cde2b8d1bc647ddba2cde0.jpg","text":"TemporaryFile(/tmp/multipartBody2674718445717000446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_14_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79adf973c0ba09c42c6426cf49bf158b.jpg","text":"TemporaryFile(/tmp/multipartBody202705800648818003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886593189,"filename":"image_26012025_11_15_26_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651620","file1":"1331651614","file0":"1331651610","file4":"1331651628","file5":"1331651629","file3":"1331651624"},"map_files_photo_id_array":[{"photo_id":"1331651629","filename":"file5"},{"photo_id":"1331651620","filename":"file2"},{"photo_id":"1331651628","filename":"file4"},{"photo_id":"1331651614","filename":"file1"},{"photo_id":"1331651610","filename":"file0"},{"photo_id":"1331651624","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651610":["hashtag1","hashtag2"]},{"1331651624":["hashtag1","hashtag2"]},{"1331651629":["hashtag1","hashtag2"]},{"1331651620":["hashtag1","hashtag2"]},{"1331651614":["hashtag1","hashtag2"]},{"1331651628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651610, 1331651624, 1331651629, 1331651620, 1331651614, 1331651628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.894630432128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:16:32.513378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_46_10346.jpg', '/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_56_9435.jpg', '/home/pi/Desktop/images/26012025/11/15/image_26012025_11_16_06_10322.jpg', '/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_16_9547.jpg', '/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_26_10333.jpg', '/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_36_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_46_10346.jpg
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_15_56_9435.jpg
/home/pi/Desktop/images/26012025/11/15/image_26012025_11_16_06_10322.jpg
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_16_9547.jpg
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_26_10333.jpg
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_36_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331651684","1331651695","1331651698","1331651692","1331651680","1331651688"],"photo_ids_order":["1331651680","1331651684","1331651688","1331651692","1331651695","1331651698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0978ff12f2640e589cf8264566425f45.jpg","text":"TemporaryFile(/tmp/multipartBody4204209061640200074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_15_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/26/54fff1dc86488ceb29bf632e57f98fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2141226742888854709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_16_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4532ed6315ece7a49d142d545a53c331.jpg","text":"TemporaryFile(/tmp/multipartBody3460004692283232025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_16_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4c42a57e943d068a6f7c01d31e86160.jpg","text":"TemporaryFile(/tmp/multipartBody4170874403382936783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_16_16_9547.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6650c4622b5f0cabf05e48da9b1cf69.jpg","text":"TemporaryFile(/tmp/multipartBody2945795529559494168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_15_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/26/e19ffa466996238ffc8b952644783ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2767745788727209807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886653460,"filename":"image_26012025_11_16_06_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331651688","file1":"1331651684","file0":"1331651680","file4":"1331651695","file5":"1331651698","file3":"1331651692"},"map_files_photo_id_array":[{"photo_id":"1331651698","filename":"file5"},{"photo_id":"1331651688","filename":"file2"},{"photo_id":"1331651695","filename":"file4"},{"photo_id":"1331651684","filename":"file1"},{"photo_id":"1331651680","filename":"file0"},{"photo_id":"1331651692","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331651684":["hashtag1","hashtag2"]},{"1331651695":["hashtag1","hashtag2"]},{"1331651698":["hashtag1","hashtag2"]},{"1331651692":["hashtag1","hashtag2"]},{"1331651680":["hashtag1","hashtag2"]},{"1331651688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331651684, 1331651695, 1331651698, 1331651692, 1331651680, 1331651688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5608594417572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:17:32.858143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_46_9420.jpg', '/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_56_10334.jpg', '/home/pi/Desktop/images/26012025/11/16/image_26012025_11_17_06_9472.jpg', '/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_16_10324.jpg', '/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_26_10350.jpg', '/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_36_9401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_46_9420.jpg
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_16_56_10334.jpg
/home/pi/Desktop/images/26012025/11/16/image_26012025_11_17_06_9472.jpg
/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_16_10324.jpg
/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_26_10350.jpg
/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_36_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":["1331652224","1331652329","1331652379","1331652325","1331652013","1331652366"],"photo_ids_order":["1331652013","1331652224","1331652325","1331652329","1331652366","1331652379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5020fbc9dfb04fe6c40f9d7f41651939.jpg","text":"TemporaryFile(/tmp/multipartBody1827765566111022954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_16_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/26/6ac1d6ca46441706e4b4ce2b358cc4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1278152885383881560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_17_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/26/ab421c2bddedbc588699af6bf52b0b7c.jpg","text":"TemporaryFile(/tmp/multipartBody80852232493073290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_17_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7466dded9747ca39037070103d915c27.jpg","text":"TemporaryFile(/tmp/multipartBody6528318717891411048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_17_06_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/26/7dda1566d24bce9dc08a7cefeb9d951f.jpg","text":"TemporaryFile(/tmp/multipartBody8417374502841904822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_16_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/26/5e1f3589399b43255603ffd4607ec448.jpg","text":"TemporaryFile(/tmp/multipartBody5318689734938364608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886713788,"filename":"image_26012025_11_17_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331652325","file1":"1331652224","file0":"1331652013","file4":"1331652366","file5":"1331652379","file3":"1331652329"},"map_files_photo_id_array":[{"photo_id":"1331652379","filename":"file5"},{"photo_id":"1331652325","filename":"file2"},{"photo_id":"1331652366","filename":"file4"},{"photo_id":"1331652224","filename":"file1"},{"photo_id":"1331652013","filename":"file0"},{"photo_id":"1331652329","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331652224":["hashtag1","hashtag2"]},{"1331652329":["hashtag1","hashtag2"]},{"1331652379":["hashtag1","hashtag2"]},{"1331652325":["hashtag1","hashtag2"]},{"1331652013":["hashtag1","hashtag2"]},{"1331652366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331652224, 1331652329, 1331652379, 1331652325, 1331652013, 1331652366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23906087875366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:18:33.074641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_56_10365.jpg', '/home/pi/Desktop/images/26012025/11/17/image_26012025_11_18_06_9334.jpg', '/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_16_10331.jpg', '/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_26_10352.jpg', '/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_36_9344.jpg', '/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_46_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/17/image_26012025_11_17_56_10365.jpg
/home/pi/Desktop/images/26012025/11/17/image_26012025_11_18_06_9334.jpg
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_16_10331.jpg
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_26_10352.jpg
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_36_9344.jpg
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_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":["1331652713","1331652716","1331652646","1331652718","1331652678","1331652708"],"photo_ids_order":["1331652646","1331652678","1331652708","1331652713","1331652716","1331652718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b92f791ac3852384046c2c6b3012e64.jpg","text":"TemporaryFile(/tmp/multipartBody6920886935615976426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_18_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/26/04eebf72747bbe9e28e6bad4a5d778fe.jpg","text":"TemporaryFile(/tmp/multipartBody3788419188316964421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_18_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/26/553d65c1b88513432a73b5ab64e12f93.jpg","text":"TemporaryFile(/tmp/multipartBody673569397318254995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_17_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/26/628080fedd4b275cc884c3d032d060da.jpg","text":"TemporaryFile(/tmp/multipartBody2993155319590594295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_18_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/26/dee8041586ce9be80c58ea6e7e1b066a.jpg","text":"TemporaryFile(/tmp/multipartBody7851666963924678795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_18_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/26/e262a77861b7e7a2452eada0e5484d45.jpg","text":"TemporaryFile(/tmp/multipartBody2446940033356714617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886773989,"filename":"image_26012025_11_18_16_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331652708","file1":"1331652678","file0":"1331652646","file4":"1331652716","file5":"1331652718","file3":"1331652713"},"map_files_photo_id_array":[{"photo_id":"1331652718","filename":"file5"},{"photo_id":"1331652708","filename":"file2"},{"photo_id":"1331652716","filename":"file4"},{"photo_id":"1331652678","filename":"file1"},{"photo_id":"1331652646","filename":"file0"},{"photo_id":"1331652713","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331652713":["hashtag1","hashtag2"]},{"1331652716":["hashtag1","hashtag2"]},{"1331652646":["hashtag1","hashtag2"]},{"1331652718":["hashtag1","hashtag2"]},{"1331652678":["hashtag1","hashtag2"]},{"1331652708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331652713, 1331652716, 1331652646, 1331652718, 1331652678, 1331652708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.676669120788574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:19:32.395971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_56_10360.jpg', '/home/pi/Desktop/images/26012025/11/18/image_26012025_11_19_06_9328.jpg', '/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_16_10426.jpg', '/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_26_9470.jpg', '/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_36_10349.jpg', '/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_18_56_10360.jpg
/home/pi/Desktop/images/26012025/11/18/image_26012025_11_19_06_9328.jpg
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_16_10426.jpg
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_26_9470.jpg
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_36_10349.jpg
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331652947","1331652941","1331652917","1331652902","1331652949","1331652912"],"photo_ids_order":["1331652902","1331652912","1331652917","1331652941","1331652947","1331652949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd712eb696f1f47f8225389637a860d7.jpg","text":"TemporaryFile(/tmp/multipartBody1344145279208600755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_19_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/26/f14b447b0ca634f4de5258c21cac034f.jpg","text":"TemporaryFile(/tmp/multipartBody1532574519473460237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_19_26_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e290a1bcb6fb6d03ffbc64ef7ef6abb.jpg","text":"TemporaryFile(/tmp/multipartBody501540032259093034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_19_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/26/16b0f9785c8d81698f105bf87d82556b.jpg","text":"TemporaryFile(/tmp/multipartBody2206732968283953683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_18_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/26/63d8bab7714844e20ccfc3a80c92fcfc.jpg","text":"TemporaryFile(/tmp/multipartBody68783797387905768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_19_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/26/ea4c45771e49b952b5659a0251a9d529.jpg","text":"TemporaryFile(/tmp/multipartBody9163744184101435663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886833325,"filename":"image_26012025_11_19_06_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331652917","file1":"1331652912","file0":"1331652902","file4":"1331652947","file5":"1331652949","file3":"1331652941"},"map_files_photo_id_array":[{"photo_id":"1331652949","filename":"file5"},{"photo_id":"1331652917","filename":"file2"},{"photo_id":"1331652947","filename":"file4"},{"photo_id":"1331652912","filename":"file1"},{"photo_id":"1331652902","filename":"file0"},{"photo_id":"1331652941","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331652947":["hashtag1","hashtag2"]},{"1331652941":["hashtag1","hashtag2"]},{"1331652917":["hashtag1","hashtag2"]},{"1331652902":["hashtag1","hashtag2"]},{"1331652949":["hashtag1","hashtag2"]},{"1331652912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331652947, 1331652941, 1331652917, 1331652902, 1331652949, 1331652912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02442002296448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:20:32.575413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_56_10015.jpg', '/home/pi/Desktop/images/26012025/11/19/image_26012025_11_20_06_9431.jpg', '/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_16_10335.jpg', '/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_26_10331.jpg', '/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_36_9410.jpg', '/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_46_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_19_56_10015.jpg
/home/pi/Desktop/images/26012025/11/19/image_26012025_11_20_06_9431.jpg
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_16_10335.jpg
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_26_10331.jpg
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_36_9410.jpg
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_46_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331652968","1331652982","1331652976","1331652964","1331652980","1331652959"],"photo_ids_order":["1331652959","1331652964","1331652968","1331652976","1331652980","1331652982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fbb9ffc6f48c7dd12950ec71d12713b1.jpg","text":"TemporaryFile(/tmp/multipartBody6810291238329876560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_20_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/26/965fbd2fa41b1ead7de06584534d4783.jpg","text":"TemporaryFile(/tmp/multipartBody1347900791113654658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_20_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f942b05d3d9380405540dd0651aeaa16.jpg","text":"TemporaryFile(/tmp/multipartBody6286978304033398512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_20_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/26/b05d20cc68fa815ae687854402afbc7e.jpg","text":"TemporaryFile(/tmp/multipartBody1654692943712013125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_20_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3365a521a898de7b9eb136fed250631f.jpg","text":"TemporaryFile(/tmp/multipartBody8678200632383622888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_20_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d23e795d109cae58571e7c577ad27dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1773387896266270234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886893476,"filename":"image_26012025_11_19_56_10015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331652968","file1":"1331652964","file0":"1331652959","file4":"1331652980","file5":"1331652982","file3":"1331652976"},"map_files_photo_id_array":[{"photo_id":"1331652982","filename":"file5"},{"photo_id":"1331652968","filename":"file2"},{"photo_id":"1331652980","filename":"file4"},{"photo_id":"1331652964","filename":"file1"},{"photo_id":"1331652959","filename":"file0"},{"photo_id":"1331652976","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331652968":["hashtag1","hashtag2"]},{"1331652982":["hashtag1","hashtag2"]},{"1331652976":["hashtag1","hashtag2"]},{"1331652964":["hashtag1","hashtag2"]},{"1331652980":["hashtag1","hashtag2"]},{"1331652959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331652968, 1331652982, 1331652976, 1331652964, 1331652980, 1331652959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32702159881592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:21:32.742360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_56_9468.jpg', '/home/pi/Desktop/images/26012025/11/20/image_26012025_11_21_06_10340.jpg', '/home/pi/Desktop/images/26012025/11/21/image_26012025_11_21_36_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_20_56_9468.jpg
/home/pi/Desktop/images/26012025/11/20/image_26012025_11_21_06_10340.jpg
/home/pi/Desktop/images/26012025/11/21/image_26012025_11_21_36_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":["1331653161","1331653167","1331653157"],"photo_ids_order":["1331653157","1331653161","1331653167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a0fd1c8c87a0f98556e46210bc8e132.jpg","text":"TemporaryFile(/tmp/multipartBody3696523324006841259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886953612,"filename":"image_26012025_11_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/26/b1ceb0924935bc2e7d7372299ca910a4.jpg","text":"TemporaryFile(/tmp/multipartBody4415231229259558268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886953612,"filename":"image_26012025_11_21_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/26/ac80efddf52799585d6ef175b3c1067e.jpg","text":"TemporaryFile(/tmp/multipartBody1902699746465195343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886953612,"filename":"image_26012025_11_20_56_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653167","file1":"1331653161","file0":"1331653157"},"map_files_photo_id_array":[{"photo_id":"1331653167","filename":"file2"},{"photo_id":"1331653161","filename":"file1"},{"photo_id":"1331653157","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653161":["hashtag1","hashtag2"]},{"1331653167":["hashtag1","hashtag2"]},{"1331653157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653161, 1331653167, 1331653157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.52336049079895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:22:03.635628
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_25_10372.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_35_10442.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_45_9343.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_55_10497.jpg', '/home/pi/Desktop/images/23012025/21/42/image_23012025_21_43_05_9466.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_15_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_25_10372.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_35_10442.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_45_9343.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_42_55_10497.jpg
/home/pi/Desktop/images/23012025/21/42/image_23012025_21_43_05_9466.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_15_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":["1331653189","1331653222","1331653216","1331653201","1331653218","1331653250"],"photo_ids_order":["1331653189","1331653201","1331653216","1331653218","1331653222","1331653250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19eaff5dac785b165360559a2e9d3568.jpg","text":"TemporaryFile(/tmp/multipartBody539464002069859556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_42_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/85dc383ae2616d0cf4fc35c725716869.jpg","text":"TemporaryFile(/tmp/multipartBody5583056936605147168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_43_05_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac520024644a7bd68fb170e996474601.jpg","text":"TemporaryFile(/tmp/multipartBody3686459398595214616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_42_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/26/be973d0f5f7a387830b77dc74dbf8cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4342340112584283108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_42_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a34f8f6969a78e72a12edd3d30d5299d.jpg","text":"TemporaryFile(/tmp/multipartBody598778243660123472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_42_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/26/6b293adb77091452603f4815541b9680.jpg","text":"TemporaryFile(/tmp/multipartBody3070801903091028593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737886985219,"filename":"image_23012025_21_43_15_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653216","file1":"1331653201","file0":"1331653189","file4":"1331653222","file5":"1331653250","file3":"1331653218"},"map_files_photo_id_array":[{"photo_id":"1331653250","filename":"file5"},{"photo_id":"1331653216","filename":"file2"},{"photo_id":"1331653222","filename":"file4"},{"photo_id":"1331653201","filename":"file1"},{"photo_id":"1331653189","filename":"file0"},{"photo_id":"1331653218","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331653189":["hashtag1","hashtag2"]},{"1331653222":["hashtag1","hashtag2"]},{"1331653216":["hashtag1","hashtag2"]},{"1331653201":["hashtag1","hashtag2"]},{"1331653218":["hashtag1","hashtag2"]},{"1331653250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331653189, 1331653222, 1331653216, 1331653201, 1331653218, 1331653250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.92274355888367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 11:22:52.930345
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_45_10462.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_55_9360.jpg', '/home/pi/Desktop/images/23012025/21/43/image_23012025_21_44_05_10408.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_14_9443.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_25_10360.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_34_9461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_45_10462.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_43_55_9360.jpg
/home/pi/Desktop/images/23012025/21/43/image_23012025_21_44_05_10408.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_14_9443.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_25_10360.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_34_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":["1331653276","1331653270","1331653273","1331653281","1331653284","1331653268"],"photo_ids_order":["1331653268","1331653270","1331653273","1331653276","1331653281","1331653284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e802f9b16c78ff440c43c9b39413ebb7.jpg","text":"TemporaryFile(/tmp/multipartBody8622747555783398843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_44_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/26/cd7d80a5e32bc00ea79d31c4ac522a2b.jpg","text":"TemporaryFile(/tmp/multipartBody3978992136424330932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_43_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/26/28a3d91ae183a80e3949f3e416960642.jpg","text":"TemporaryFile(/tmp/multipartBody7418859891964552649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_44_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/26/c04e185e94e89b1c208dee0b0479df9e.jpg","text":"TemporaryFile(/tmp/multipartBody8590014279039384236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_44_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/26/5bffa70c21026ab12434fd1c499709b1.jpg","text":"TemporaryFile(/tmp/multipartBody5059616754343136012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_44_34_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4abf191bd7b7483e3467bb309e5d6546.jpg","text":"TemporaryFile(/tmp/multipartBody2859449638511723064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887035213,"filename":"image_23012025_21_43_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653273","file1":"1331653270","file0":"1331653268","file4":"1331653281","file5":"1331653284","file3":"1331653276"},"map_files_photo_id_array":[{"photo_id":"1331653284","filename":"file5"},{"photo_id":"1331653273","filename":"file2"},{"photo_id":"1331653281","filename":"file4"},{"photo_id":"1331653270","filename":"file1"},{"photo_id":"1331653268","filename":"file0"},{"photo_id":"1331653276","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331653276":["hashtag1","hashtag2"]},{"1331653270":["hashtag1","hashtag2"]},{"1331653273":["hashtag1","hashtag2"]},{"1331653281":["hashtag1","hashtag2"]},{"1331653284":["hashtag1","hashtag2"]},{"1331653268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331653276, 1331653270, 1331653273, 1331653281, 1331653284, 1331653268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98541975021362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:23:43.170116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/21/image_26012025_11_21_46_9371.jpg', '/home/pi/Desktop/images/26012025/11/21/image_26012025_11_22_06_10419.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_16_9417.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_26_10383.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_36_9421.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_46_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/21/image_26012025_11_21_46_9371.jpg
/home/pi/Desktop/images/26012025/11/21/image_26012025_11_22_06_10419.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_16_9417.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_26_10383.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_36_9421.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_46_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":["1331653301","1331653309","1331653303","1331653296","1331653299","1331653305"],"photo_ids_order":["1331653296","1331653299","1331653301","1331653303","1331653305","1331653309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d1e1942d83b8cf2875012d607a2d5ca.jpg","text":"TemporaryFile(/tmp/multipartBody7714708353331434248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_22_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/26/6feb182bf1723f5d65aa94f68c1f86e6.jpg","text":"TemporaryFile(/tmp/multipartBody2635280233506792891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_22_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/26/e8fa1595d97011cf3cdf32f3faa3a30b.jpg","text":"TemporaryFile(/tmp/multipartBody196853886164189921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_22_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/26/a1443f844ee946477b060d152366a705.jpg","text":"TemporaryFile(/tmp/multipartBody7022682735852167660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_21_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf06350e28b1e6fbaec4fe0a5b01d14b.jpg","text":"TemporaryFile(/tmp/multipartBody2079920132325757996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_22_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/26/031ecd268d8b40d4fdb9e878e752f086.jpg","text":"TemporaryFile(/tmp/multipartBody3451272923962394737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887084093,"filename":"image_26012025_11_22_36_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653301","file1":"1331653299","file0":"1331653296","file4":"1331653305","file5":"1331653309","file3":"1331653303"},"map_files_photo_id_array":[{"photo_id":"1331653309","filename":"file5"},{"photo_id":"1331653301","filename":"file2"},{"photo_id":"1331653305","filename":"file4"},{"photo_id":"1331653299","filename":"file1"},{"photo_id":"1331653296","filename":"file0"},{"photo_id":"1331653303","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653301":["hashtag1","hashtag2"]},{"1331653309":["hashtag1","hashtag2"]},{"1331653303":["hashtag1","hashtag2"]},{"1331653296":["hashtag1","hashtag2"]},{"1331653299":["hashtag1","hashtag2"]},{"1331653305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653301, 1331653309, 1331653303, 1331653296, 1331653299, 1331653305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.37316679954529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:24:32.432453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_56_10372.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_23_06_9337.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_16_10358.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_26_10353.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_36_9398.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_56_10372.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_23_06_9337.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_16_10358.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_26_10353.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_36_9398.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_46_10352.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5154964923858643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:24:42.361184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_56_10372.jpg', '/home/pi/Desktop/images/26012025/11/22/image_26012025_11_23_06_9337.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_16_10358.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_26_10353.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_36_9398.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_22_56_10372.jpg
/home/pi/Desktop/images/26012025/11/22/image_26012025_11_23_06_9337.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_16_10358.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_26_10353.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_36_9398.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_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":["1331653342","1331653341","1331653338","1331653340","1331653334","1331653328"],"photo_ids_order":["1331653328","1331653334","1331653338","1331653340","1331653341","1331653342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03da0f4b458551288c689c1a292c41e0.jpg","text":"TemporaryFile(/tmp/multipartBody7391482286219331237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_23_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/26/1987841c8332cc50e1d364ffaa40c053.jpg","text":"TemporaryFile(/tmp/multipartBody5619389180527546522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_23_36_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/26/71b7c8e52baffe53c1018d4383c09eca.jpg","text":"TemporaryFile(/tmp/multipartBody1013680015263111967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_23_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/26/9f4dc1e4d90342da954d4c46373d3394.jpg","text":"TemporaryFile(/tmp/multipartBody2164280959375135342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_23_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/26/1d93ad59f28143f54634b477fdae84ec.jpg","text":"TemporaryFile(/tmp/multipartBody4385295619976432030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_23_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/26/1b2141eb86afdefc69c252bdaf1c86a4.jpg","text":"TemporaryFile(/tmp/multipartBody2898991757955047282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887143288,"filename":"image_26012025_11_22_56_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653338","file1":"1331653334","file0":"1331653328","file4":"1331653341","file5":"1331653342","file3":"1331653340"},"map_files_photo_id_array":[{"photo_id":"1331653342","filename":"file5"},{"photo_id":"1331653338","filename":"file2"},{"photo_id":"1331653341","filename":"file4"},{"photo_id":"1331653334","filename":"file1"},{"photo_id":"1331653328","filename":"file0"},{"photo_id":"1331653340","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653342":["hashtag1","hashtag2"]},{"1331653341":["hashtag1","hashtag2"]},{"1331653338":["hashtag1","hashtag2"]},{"1331653340":["hashtag1","hashtag2"]},{"1331653334":["hashtag1","hashtag2"]},{"1331653328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653342, 1331653341, 1331653338, 1331653340, 1331653334, 1331653328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55110025405884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:25:32.712130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_56_9367.jpg', '/home/pi/Desktop/images/26012025/11/23/image_26012025_11_24_06_10330.jpg', '/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_16_10343.jpg', '/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_26_9364.jpg', '/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_36_10320.jpg', '/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_46_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_23_56_9367.jpg
/home/pi/Desktop/images/26012025/11/23/image_26012025_11_24_06_10330.jpg
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_16_10343.jpg
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_26_9364.jpg
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_36_10320.jpg
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_46_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331653396","1331653381","1331653390","1331653386","1331653383","1331653365"],"photo_ids_order":["1331653365","1331653381","1331653383","1331653386","1331653390","1331653396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb10f77e35290ad886c7be1ac7c4d191.jpg","text":"TemporaryFile(/tmp/multipartBody7352471582976524127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_24_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/26/ebd054b3d2823a27b25f18176bc49edb.jpg","text":"TemporaryFile(/tmp/multipartBody1346302339940064906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_24_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5094deea4fc9f7331c85255fe1b73e40.jpg","text":"TemporaryFile(/tmp/multipartBody4185153978594689810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_24_36_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7d86a9886348fc92f5c97cdf9c06cf4.jpg","text":"TemporaryFile(/tmp/multipartBody2582653745492320675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_24_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/26/52f227b6ce616e057b36b8fd11895b53.jpg","text":"TemporaryFile(/tmp/multipartBody3477352275989532976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_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/26/e84a3a0fd103924f9c0ebcc0cd051e81.jpg","text":"TemporaryFile(/tmp/multipartBody6953283831863248714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887193650,"filename":"image_26012025_11_23_56_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653383","file1":"1331653381","file0":"1331653365","file4":"1331653390","file5":"1331653396","file3":"1331653386"},"map_files_photo_id_array":[{"photo_id":"1331653396","filename":"file5"},{"photo_id":"1331653383","filename":"file2"},{"photo_id":"1331653390","filename":"file4"},{"photo_id":"1331653381","filename":"file1"},{"photo_id":"1331653365","filename":"file0"},{"photo_id":"1331653386","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653396":["hashtag1","hashtag2"]},{"1331653381":["hashtag1","hashtag2"]},{"1331653390":["hashtag1","hashtag2"]},{"1331653386":["hashtag1","hashtag2"]},{"1331653383":["hashtag1","hashtag2"]},{"1331653365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653396, 1331653381, 1331653390, 1331653386, 1331653383, 1331653365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.880046129226685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:26:33.010062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_56_9396.jpg', '/home/pi/Desktop/images/26012025/11/24/image_26012025_11_25_06_10354.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_16_10338.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_26_9340.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_36_10323.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_46_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_24_56_9396.jpg
/home/pi/Desktop/images/26012025/11/24/image_26012025_11_25_06_10354.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_16_10338.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_26_9340.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_36_10323.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_46_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331653449","1331653437","1331653445","1331653448","1331653433","1331653442"],"photo_ids_order":["1331653433","1331653437","1331653442","1331653445","1331653448","1331653449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1830f3b5ac88a29ce9fa0084260b16b4.jpg","text":"TemporaryFile(/tmp/multipartBody3266597037151368070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_25_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ebacc4df64c43e152bce4f116b804e5.jpg","text":"TemporaryFile(/tmp/multipartBody745154873175629885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_25_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/26/ff1ff1ca52f2bcf0ea2c2bbf0557b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody529880622831710579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_25_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/26/1e583006aed031c96cb60accca839f30.jpg","text":"TemporaryFile(/tmp/multipartBody2248634755637425257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_25_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1722e9e6a80376d7a80dd41274eb085d.jpg","text":"TemporaryFile(/tmp/multipartBody7043427472890155607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_24_56_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/26/f2cadb158d8f4ba4f72b818975b9acbb.jpg","text":"TemporaryFile(/tmp/multipartBody2150473240797182096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887253932,"filename":"image_26012025_11_25_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653442","file1":"1331653437","file0":"1331653433","file4":"1331653448","file5":"1331653449","file3":"1331653445"},"map_files_photo_id_array":[{"photo_id":"1331653449","filename":"file5"},{"photo_id":"1331653442","filename":"file2"},{"photo_id":"1331653448","filename":"file4"},{"photo_id":"1331653437","filename":"file1"},{"photo_id":"1331653433","filename":"file0"},{"photo_id":"1331653445","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653449":["hashtag1","hashtag2"]},{"1331653437":["hashtag1","hashtag2"]},{"1331653445":["hashtag1","hashtag2"]},{"1331653448":["hashtag1","hashtag2"]},{"1331653433":["hashtag1","hashtag2"]},{"1331653442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653449, 1331653437, 1331653445, 1331653448, 1331653433, 1331653442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42892241477966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:27:32.262951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_56_9414.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_26_06_10336.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_16_9424.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_26_10353.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_36_10381.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_46_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_56_9414.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_26_06_10336.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_16_9424.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_26_10353.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_36_10381.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_46_9436.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5138823986053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:27:42.273913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_56_9414.jpg', '/home/pi/Desktop/images/26012025/11/25/image_26012025_11_26_06_10336.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_16_9424.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_26_10353.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_36_10381.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_46_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_25_56_9414.jpg
/home/pi/Desktop/images/26012025/11/25/image_26012025_11_26_06_10336.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_16_9424.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_26_10353.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_36_10381.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_46_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331653480","1331653471","1331653481","1331653478","1331653487","1331653475"],"photo_ids_order":["1331653471","1331653475","1331653478","1331653480","1331653481","1331653487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/109ac85669104571694fa1a090665267.jpg","text":"TemporaryFile(/tmp/multipartBody5995690584891732884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_26_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/26/1a5f31a00f792504b26bea098781c53e.jpg","text":"TemporaryFile(/tmp/multipartBody2962187728749903140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_25_56_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/26/1dd60d090418bbb867686da106571789.jpg","text":"TemporaryFile(/tmp/multipartBody9117838311719619413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_26_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/26/69d75661b65f064673996a43e8579cae.jpg","text":"TemporaryFile(/tmp/multipartBody5914750423289817190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_26_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/26/27c09698d8f87a51f0e96c1900267973.jpg","text":"TemporaryFile(/tmp/multipartBody5144119045564359448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_26_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/26/833299a054c0bc065c84ed221bbcf0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4132331520980365917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887323179,"filename":"image_26012025_11_26_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653478","file1":"1331653475","file0":"1331653471","file4":"1331653481","file5":"1331653487","file3":"1331653480"},"map_files_photo_id_array":[{"photo_id":"1331653487","filename":"file5"},{"photo_id":"1331653478","filename":"file2"},{"photo_id":"1331653481","filename":"file4"},{"photo_id":"1331653475","filename":"file1"},{"photo_id":"1331653471","filename":"file0"},{"photo_id":"1331653480","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653480":["hashtag1","hashtag2"]},{"1331653471":["hashtag1","hashtag2"]},{"1331653481":["hashtag1","hashtag2"]},{"1331653478":["hashtag1","hashtag2"]},{"1331653487":["hashtag1","hashtag2"]},{"1331653475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653480, 1331653471, 1331653481, 1331653478, 1331653487, 1331653475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.390514850616455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:28:32.443847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_56_10350.jpg', '/home/pi/Desktop/images/26012025/11/26/image_26012025_11_27_06_9448.jpg', '/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_16_10433.jpg', '/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_26_10366.jpg', '/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_36_9405.jpg', '/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_46_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_26_56_10350.jpg
/home/pi/Desktop/images/26012025/11/26/image_26012025_11_27_06_9448.jpg
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_16_10433.jpg
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_26_10366.jpg
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_36_9405.jpg
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_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":["1331653549","1331653534","1331653545","1331653539","1331653550","1331653529"],"photo_ids_order":["1331653529","1331653534","1331653539","1331653545","1331653549","1331653550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/024e087a9473281ee0bcb71aa3e34d62.jpg","text":"TemporaryFile(/tmp/multipartBody4907036972192383351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_27_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1933d92c0182865535ec91ae1325eb5.jpg","text":"TemporaryFile(/tmp/multipartBody2009622466408707334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_27_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/26/7e375105fd12feef9e309aa360554ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4799034781609875456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_27_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/26/970680c458c705be5e8eae34f69c88e4.jpg","text":"TemporaryFile(/tmp/multipartBody487298775302831796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_27_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/26/5a5d9d645a0b85f429d058217ca01264.jpg","text":"TemporaryFile(/tmp/multipartBody5941095145691927263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_27_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/26/904db8c3f6feabdf33b6d7e1b1f4ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody4287471366505194746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887373354,"filename":"image_26012025_11_26_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653539","file1":"1331653534","file0":"1331653529","file4":"1331653549","file5":"1331653550","file3":"1331653545"},"map_files_photo_id_array":[{"photo_id":"1331653550","filename":"file5"},{"photo_id":"1331653539","filename":"file2"},{"photo_id":"1331653549","filename":"file4"},{"photo_id":"1331653534","filename":"file1"},{"photo_id":"1331653529","filename":"file0"},{"photo_id":"1331653545","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653549":["hashtag1","hashtag2"]},{"1331653534":["hashtag1","hashtag2"]},{"1331653545":["hashtag1","hashtag2"]},{"1331653539":["hashtag1","hashtag2"]},{"1331653550":["hashtag1","hashtag2"]},{"1331653529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653549, 1331653534, 1331653545, 1331653539, 1331653550, 1331653529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42480230331421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:29:32.720307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_56_9439.jpg', '/home/pi/Desktop/images/26012025/11/27/image_26012025_11_28_06_10394.jpg', '/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_16_10325.jpg', '/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_26_9335.jpg', '/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_36_10336.jpg', '/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_46_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_27_56_9439.jpg
/home/pi/Desktop/images/26012025/11/27/image_26012025_11_28_06_10394.jpg
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_16_10325.jpg
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_26_9335.jpg
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_36_10336.jpg
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_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":["1331653570","1331653606","1331653609","1331653572","1331653611","1331653565"],"photo_ids_order":["1331653565","1331653570","1331653572","1331653606","1331653609","1331653611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6cea89d441fb1863969ed7a0c36bbbe.jpg","text":"TemporaryFile(/tmp/multipartBody4906672314369382643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_28_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/26/1a774f1ac16e384028ecf9af114fe104.jpg","text":"TemporaryFile(/tmp/multipartBody2637098667769355368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_28_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/26/d00a5e583126d1fec7886a275baa3f26.jpg","text":"TemporaryFile(/tmp/multipartBody2705713030401019336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_28_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/527f51fdb4b57334d0660570ed905caf.jpg","text":"TemporaryFile(/tmp/multipartBody3132102326588552371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_28_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/26/c08fe8a49ec23c9ad6b038c6b2df8865.jpg","text":"TemporaryFile(/tmp/multipartBody6800568282753092187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_28_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/26/67117f281c9cd7c60766ab0bd185b673.jpg","text":"TemporaryFile(/tmp/multipartBody412975702759257668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887433694,"filename":"image_26012025_11_27_56_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653572","file1":"1331653570","file0":"1331653565","file4":"1331653609","file5":"1331653611","file3":"1331653606"},"map_files_photo_id_array":[{"photo_id":"1331653611","filename":"file5"},{"photo_id":"1331653572","filename":"file2"},{"photo_id":"1331653609","filename":"file4"},{"photo_id":"1331653570","filename":"file1"},{"photo_id":"1331653565","filename":"file0"},{"photo_id":"1331653606","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653570":["hashtag1","hashtag2"]},{"1331653606":["hashtag1","hashtag2"]},{"1331653609":["hashtag1","hashtag2"]},{"1331653572":["hashtag1","hashtag2"]},{"1331653611":["hashtag1","hashtag2"]},{"1331653565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653570, 1331653606, 1331653609, 1331653572, 1331653611, 1331653565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68050765991211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:30:32.908766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_56_9410.jpg', '/home/pi/Desktop/images/26012025/11/28/image_26012025_11_29_06_10337.jpg', '/home/pi/Desktop/images/26012025/11/29/image_26012025_11_29_16_9452.jpg', '/home/pi/Desktop/images/26012025/11/29/image_26012025_11_29_46_9432.jpg', '/home/pi/Desktop/images/26012025/11/29/image_26012025_11_30_05_9393.jpg', '/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_16_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_28_56_9410.jpg
/home/pi/Desktop/images/26012025/11/28/image_26012025_11_29_06_10337.jpg
/home/pi/Desktop/images/26012025/11/29/image_26012025_11_29_16_9452.jpg
/home/pi/Desktop/images/26012025/11/29/image_26012025_11_29_46_9432.jpg
/home/pi/Desktop/images/26012025/11/29/image_26012025_11_30_05_9393.jpg
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_16_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":["1331653645","1331653633","1331653641","1331653629","1331653644","1331653638"],"photo_ids_order":["1331653629","1331653633","1331653638","1331653641","1331653644","1331653645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9561905637ebb0a67df731e286adf8cf.jpg","text":"TemporaryFile(/tmp/multipartBody35625687753578229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_30_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/26/8b1e23ad6793108de3faaf7aa9c08fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6329136997169551677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_29_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d80819871f2b00a18c48644823e5f6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1105641589170023313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_29_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/26/889ccf75f471ef5ee97c9a30d8e4d780.jpg","text":"TemporaryFile(/tmp/multipartBody8701047661527334215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_28_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/26/e4d63f780734ae9272644cfca13d3505.jpg","text":"TemporaryFile(/tmp/multipartBody1673007233787810063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_30_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2736febdd4676f4216d2f80eb0286e44.jpg","text":"TemporaryFile(/tmp/multipartBody7829785258331373046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887493851,"filename":"image_26012025_11_29_16_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653638","file1":"1331653633","file0":"1331653629","file4":"1331653644","file5":"1331653645","file3":"1331653641"},"map_files_photo_id_array":[{"photo_id":"1331653645","filename":"file5"},{"photo_id":"1331653638","filename":"file2"},{"photo_id":"1331653644","filename":"file4"},{"photo_id":"1331653633","filename":"file1"},{"photo_id":"1331653629","filename":"file0"},{"photo_id":"1331653641","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653645":["hashtag1","hashtag2"]},{"1331653633":["hashtag1","hashtag2"]},{"1331653641":["hashtag1","hashtag2"]},{"1331653629":["hashtag1","hashtag2"]},{"1331653644":["hashtag1","hashtag2"]},{"1331653638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653645, 1331653633, 1331653641, 1331653629, 1331653644, 1331653638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79867482185364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:31:32.195085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_26_10379.jpg', '/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_36_9394.jpg', '/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_46_10345.jpg', '/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_56_10333.jpg', '/home/pi/Desktop/images/26012025/11/30/image_26012025_11_31_06_9400.jpg', '/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_16_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_26_10379.jpg
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_36_9394.jpg
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_46_10345.jpg
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_30_56_10333.jpg
/home/pi/Desktop/images/26012025/11/30/image_26012025_11_31_06_9400.jpg
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_16_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331653752","1331653731","1331653749","1331653724","1331653754","1331653715"],"photo_ids_order":["1331653715","1331653724","1331653731","1331653749","1331653752","1331653754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18bc611fd620374d4bc0c00eefe804c8.jpg","text":"TemporaryFile(/tmp/multipartBody3088032430946458415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_31_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1f75580171a2de4cae9dc50b3bf87316.jpg","text":"TemporaryFile(/tmp/multipartBody2249640967221084352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_30_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/26/d11dd0201ec50d25e2323d1ba9bb6794.jpg","text":"TemporaryFile(/tmp/multipartBody8879507042351105040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_30_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/26/c82da9b178425cc74d39ae33766b11c7.jpg","text":"TemporaryFile(/tmp/multipartBody469206747896796701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_30_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/26/fe2849149825ac8678a24e84caf6b7dc.jpg","text":"TemporaryFile(/tmp/multipartBody7540396359398076961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_31_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/26/aeff4461ecc8139f53cb2d777cbf5d0f.jpg","text":"TemporaryFile(/tmp/multipartBody3018323708375567946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887553094,"filename":"image_26012025_11_30_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653731","file1":"1331653724","file0":"1331653715","file4":"1331653752","file5":"1331653754","file3":"1331653749"},"map_files_photo_id_array":[{"photo_id":"1331653754","filename":"file5"},{"photo_id":"1331653731","filename":"file2"},{"photo_id":"1331653752","filename":"file4"},{"photo_id":"1331653724","filename":"file1"},{"photo_id":"1331653715","filename":"file0"},{"photo_id":"1331653749","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653752":["hashtag1","hashtag2"]},{"1331653731":["hashtag1","hashtag2"]},{"1331653749":["hashtag1","hashtag2"]},{"1331653724":["hashtag1","hashtag2"]},{"1331653754":["hashtag1","hashtag2"]},{"1331653715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653752, 1331653731, 1331653749, 1331653724, 1331653754, 1331653715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21095061302185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:32:32.487263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_26_9397.jpg', '/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_36_10335.jpg', '/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_46_10364.jpg', '/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_56_9546.jpg', '/home/pi/Desktop/images/26012025/11/31/image_26012025_11_32_06_10337.jpg', '/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_26_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_26_9397.jpg
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_36_10335.jpg
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_46_10364.jpg
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_31_56_9546.jpg
/home/pi/Desktop/images/26012025/11/31/image_26012025_11_32_06_10337.jpg
/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_26_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":["1331653909","1331653900","1331653896","1331653890","1331653910","1331653907"],"photo_ids_order":["1331653890","1331653896","1331653900","1331653907","1331653909","1331653910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/976947ab65e6a0544453320b696f62fe.jpg","text":"TemporaryFile(/tmp/multipartBody7325468067667680371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_32_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad528a81c50320a8244bd2b1fa5d447c.jpg","text":"TemporaryFile(/tmp/multipartBody4308028485546742831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_31_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/26/069ade1cdbfec96aee2136ea47a116f8.jpg","text":"TemporaryFile(/tmp/multipartBody5770820253035098896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_31_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c41632835bb06336fa926a4ada045a03.jpg","text":"TemporaryFile(/tmp/multipartBody4542824279365720276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_31_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/26/75bf514959a307be604892b0b86289fa.jpg","text":"TemporaryFile(/tmp/multipartBody7602383163043156022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_32_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/26/0353e3f9969c2b7a87aceded936f5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2538039870885248397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887613437,"filename":"image_26012025_11_31_56_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653900","file1":"1331653896","file0":"1331653890","file4":"1331653909","file5":"1331653910","file3":"1331653907"},"map_files_photo_id_array":[{"photo_id":"1331653910","filename":"file5"},{"photo_id":"1331653900","filename":"file2"},{"photo_id":"1331653909","filename":"file4"},{"photo_id":"1331653896","filename":"file1"},{"photo_id":"1331653890","filename":"file0"},{"photo_id":"1331653907","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653909":["hashtag1","hashtag2"]},{"1331653900":["hashtag1","hashtag2"]},{"1331653896":["hashtag1","hashtag2"]},{"1331653890":["hashtag1","hashtag2"]},{"1331653910":["hashtag1","hashtag2"]},{"1331653907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653909, 1331653900, 1331653896, 1331653890, 1331653910, 1331653907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35055088996887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:33:32.834029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_36_10352.jpg', '/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_46_9449.jpg', '/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_56_10410.jpg', '/home/pi/Desktop/images/26012025/11/32/image_26012025_11_33_06_9498.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_16_10330.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_26_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_36_10352.jpg
/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_46_9449.jpg
/home/pi/Desktop/images/26012025/11/32/image_26012025_11_32_56_10410.jpg
/home/pi/Desktop/images/26012025/11/32/image_26012025_11_33_06_9498.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_16_10330.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_26_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331653945","1331653933","1331653940","1331653943","1331653937","1331653946"],"photo_ids_order":["1331653933","1331653937","1331653940","1331653943","1331653945","1331653946"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb9e597387e803244c66309ca420a4b1.jpg","text":"TemporaryFile(/tmp/multipartBody9088604281009767102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_33_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a8c889daec63f5764ebbd7156f5b6eab.jpg","text":"TemporaryFile(/tmp/multipartBody8169659313346254628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_32_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6fe868b6d00f86dfe90b479184a9d04a.jpg","text":"TemporaryFile(/tmp/multipartBody6192867026751073835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_32_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a9d3becea82f410c9842140aa3f4c53.jpg","text":"TemporaryFile(/tmp/multipartBody7913034933912936962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_33_06_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/26/78f0a8fd51c8b70de17e5339a509983e.jpg","text":"TemporaryFile(/tmp/multipartBody427739891375915082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_32_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/365ad48ae7f2e5d20cdcdf82b1479445.jpg","text":"TemporaryFile(/tmp/multipartBody2843458546079354327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887673755,"filename":"image_26012025_11_33_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331653940","file1":"1331653937","file0":"1331653933","file4":"1331653945","file5":"1331653946","file3":"1331653943"},"map_files_photo_id_array":[{"photo_id":"1331653946","filename":"file5"},{"photo_id":"1331653940","filename":"file2"},{"photo_id":"1331653945","filename":"file4"},{"photo_id":"1331653937","filename":"file1"},{"photo_id":"1331653933","filename":"file0"},{"photo_id":"1331653943","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653945":["hashtag1","hashtag2"]},{"1331653933":["hashtag1","hashtag2"]},{"1331653940":["hashtag1","hashtag2"]},{"1331653943":["hashtag1","hashtag2"]},{"1331653937":["hashtag1","hashtag2"]},{"1331653946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653945, 1331653933, 1331653940, 1331653943, 1331653937, 1331653946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02724623680115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:34:33.070401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_36_9335.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_46_10420.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_56_10337.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_34_06_9327.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_16_10330.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_26_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_36_9335.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_46_10420.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_56_10337.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_34_06_9327.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_16_10330.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_26_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.5266079902648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:34:42.974633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_36_9335.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_46_10420.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_56_10337.jpg', '/home/pi/Desktop/images/26012025/11/33/image_26012025_11_34_06_9327.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_16_10330.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_26_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_36_9335.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_46_10420.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_33_56_10337.jpg
/home/pi/Desktop/images/26012025/11/33/image_26012025_11_34_06_9327.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_16_10330.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_26_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":["1331653993","1331654058","1331653997","1331654411","1331654000","1331654731"],"photo_ids_order":["1331653993","1331653997","1331654000","1331654058","1331654411","1331654731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ec5343a06592df77b117a831aebf161.jpg","text":"TemporaryFile(/tmp/multipartBody4671949526964088910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_33_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79bafc9f9967a7e8864af941260dffe6.jpg","text":"TemporaryFile(/tmp/multipartBody4773957337465202242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_34_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/26/4195c4a04360c05e411e08534fa038ad.jpg","text":"TemporaryFile(/tmp/multipartBody816702264333538847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_33_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/26/ec647f7ed35c1eae36b54899c1d30e82.jpg","text":"TemporaryFile(/tmp/multipartBody1638040251783011922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_34_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2e5b51aaa3f2aced290fcb42d236803e.jpg","text":"TemporaryFile(/tmp/multipartBody8556340444340991135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_33_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/26/9877a26db1815dd087eb5a29b6f36883.jpg","text":"TemporaryFile(/tmp/multipartBody450568624689796827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887743877,"filename":"image_26012025_11_34_26_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331654000","file1":"1331653997","file0":"1331653993","file4":"1331654411","file5":"1331654731","file3":"1331654058"},"map_files_photo_id_array":[{"photo_id":"1331654731","filename":"file5"},{"photo_id":"1331654000","filename":"file2"},{"photo_id":"1331654411","filename":"file4"},{"photo_id":"1331653997","filename":"file1"},{"photo_id":"1331653993","filename":"file0"},{"photo_id":"1331654058","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331653993":["hashtag1","hashtag2"]},{"1331654058":["hashtag1","hashtag2"]},{"1331653997":["hashtag1","hashtag2"]},{"1331654411":["hashtag1","hashtag2"]},{"1331654000":["hashtag1","hashtag2"]},{"1331654731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331653993, 1331654058, 1331653997, 1331654411, 1331654000, 1331654731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.507771015167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:35:32.216436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_36_9318.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_46_10400.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_56_10348.jpg', '/home/pi/Desktop/images/26012025/11/34/image_26012025_11_35_06_9417.jpg', '/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_36_10409.jpg', '/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_36_9318.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_46_10400.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_34_56_10348.jpg
/home/pi/Desktop/images/26012025/11/34/image_26012025_11_35_06_9417.jpg
/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_36_10409.jpg
/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331655153","1331655185","1331655065","1331655157","1331655151","1331655052"],"photo_ids_order":["1331655052","1331655065","1331655151","1331655153","1331655157","1331655185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34e271d3c386d2d80b76def9555c5d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6024720858850082323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_35_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/26/af97ddd985800d0b9e4da1e1860bc58b.jpg","text":"TemporaryFile(/tmp/multipartBody2272434540041065172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_35_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/26/f0468117837a32fca36b90d73ddd899e.jpg","text":"TemporaryFile(/tmp/multipartBody8588540227232123003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_34_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/26/a703ec0727d7cf0ba758d45ef83c6fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7372695402546377141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_35_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/26/c02467ac2e772c1eb0867d910da3287d.jpg","text":"TemporaryFile(/tmp/multipartBody6978570073607769718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_34_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/26/dfb36fab00d46b1c2323499661a4c5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8242721255732486819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887793161,"filename":"image_26012025_11_34_36_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655151","file1":"1331655065","file0":"1331655052","file4":"1331655157","file5":"1331655185","file3":"1331655153"},"map_files_photo_id_array":[{"photo_id":"1331655185","filename":"file5"},{"photo_id":"1331655151","filename":"file2"},{"photo_id":"1331655157","filename":"file4"},{"photo_id":"1331655065","filename":"file1"},{"photo_id":"1331655052","filename":"file0"},{"photo_id":"1331655153","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655153":["hashtag1","hashtag2"]},{"1331655185":["hashtag1","hashtag2"]},{"1331655065":["hashtag1","hashtag2"]},{"1331655157":["hashtag1","hashtag2"]},{"1331655151":["hashtag1","hashtag2"]},{"1331655052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655153, 1331655185, 1331655065, 1331655157, 1331655151, 1331655052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.206093311309814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:36:32.436957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_56_9336.jpg', '/home/pi/Desktop/images/26012025/11/35/image_26012025_11_36_06_10379.jpg', '/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_16_10348.jpg', '/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_26_9369.jpg', '/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_36_10331.jpg', '/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/35/image_26012025_11_35_56_9336.jpg
/home/pi/Desktop/images/26012025/11/35/image_26012025_11_36_06_10379.jpg
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_16_10348.jpg
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_26_9369.jpg
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_36_10331.jpg
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331655537","1331655534","1331655528","1331655461","1331655524","1331655538"],"photo_ids_order":["1331655461","1331655524","1331655528","1331655534","1331655537","1331655538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c0c72c5d45101d40254a9513b9c75fb.jpg","text":"TemporaryFile(/tmp/multipartBody2231072884914263670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_36_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb9377637c9ec9586b6a8be963063c93.jpg","text":"TemporaryFile(/tmp/multipartBody1166997963779754218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_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/26/6cc1744f3e6b99de4060c0ad82105703.jpg","text":"TemporaryFile(/tmp/multipartBody3492468942400267246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_36_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/26/0f518e4d55c06b34015b4716ea873301.jpg","text":"TemporaryFile(/tmp/multipartBody6774773774578083049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_35_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af93f6603050c0516eef8dc19ab3d760.jpg","text":"TemporaryFile(/tmp/multipartBody4140219422805014504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_36_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39f3b42db5f4d9f195b8cc6082320239.jpg","text":"TemporaryFile(/tmp/multipartBody2545580183308620319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887853351,"filename":"image_26012025_11_36_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655528","file1":"1331655524","file0":"1331655461","file4":"1331655537","file5":"1331655538","file3":"1331655534"},"map_files_photo_id_array":[{"photo_id":"1331655538","filename":"file5"},{"photo_id":"1331655528","filename":"file2"},{"photo_id":"1331655537","filename":"file4"},{"photo_id":"1331655524","filename":"file1"},{"photo_id":"1331655461","filename":"file0"},{"photo_id":"1331655534","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655537":["hashtag1","hashtag2"]},{"1331655534":["hashtag1","hashtag2"]},{"1331655528":["hashtag1","hashtag2"]},{"1331655461":["hashtag1","hashtag2"]},{"1331655524":["hashtag1","hashtag2"]},{"1331655538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655537, 1331655534, 1331655528, 1331655461, 1331655524, 1331655538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17273950576782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:37:32.721264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_56_9420.jpg', '/home/pi/Desktop/images/26012025/11/36/image_26012025_11_37_06_10332.jpg', '/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_16_9393.jpg', '/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_26_10353.jpg', '/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_36_10336.jpg', '/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_46_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_36_56_9420.jpg
/home/pi/Desktop/images/26012025/11/36/image_26012025_11_37_06_10332.jpg
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_16_9393.jpg
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_26_10353.jpg
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_36_10336.jpg
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_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":["1331655604","1331655606","1331655596","1331655609","1331655600","1331655611"],"photo_ids_order":["1331655596","1331655600","1331655604","1331655606","1331655609","1331655611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53fd5e08ab6b6fb5f8f2eb887d636695.jpg","text":"TemporaryFile(/tmp/multipartBody3527501303856243537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_37_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf7c2bd25d62c8aa0c94ba1a7994ad23.jpg","text":"TemporaryFile(/tmp/multipartBody5190554555320669288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_37_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/26/1af66fb76bb157f226cb118b91389bfc.jpg","text":"TemporaryFile(/tmp/multipartBody4557474841441826059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_36_56_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3654c3c7be0992d2219261ebfacac3f9.jpg","text":"TemporaryFile(/tmp/multipartBody1784606506092556691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_37_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a89bef003b1016f634be55b5cccd14a4.jpg","text":"TemporaryFile(/tmp/multipartBody2681214882961943347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_37_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/26/e0d41437420e8bf967ebb8ef82cc43ba.jpg","text":"TemporaryFile(/tmp/multipartBody3975657070593546918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887913652,"filename":"image_26012025_11_37_46_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655604","file1":"1331655600","file0":"1331655596","file4":"1331655609","file5":"1331655611","file3":"1331655606"},"map_files_photo_id_array":[{"photo_id":"1331655611","filename":"file5"},{"photo_id":"1331655604","filename":"file2"},{"photo_id":"1331655609","filename":"file4"},{"photo_id":"1331655600","filename":"file1"},{"photo_id":"1331655596","filename":"file0"},{"photo_id":"1331655606","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655604":["hashtag1","hashtag2"]},{"1331655606":["hashtag1","hashtag2"]},{"1331655596":["hashtag1","hashtag2"]},{"1331655609":["hashtag1","hashtag2"]},{"1331655600":["hashtag1","hashtag2"]},{"1331655611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655604, 1331655606, 1331655596, 1331655609, 1331655600, 1331655611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.012423038482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:38:32.985475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_56_10355.jpg', '/home/pi/Desktop/images/26012025/11/37/image_26012025_11_38_06_10328.jpg', '/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_16_9393.jpg', '/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_26_10350.jpg', '/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_36_10374.jpg', '/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_46_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_37_56_10355.jpg
/home/pi/Desktop/images/26012025/11/37/image_26012025_11_38_06_10328.jpg
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_16_9393.jpg
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_26_10350.jpg
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_36_10374.jpg
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_46_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":["1331655768","1331655741","1331655645","1331655632","1331655769","1331655628"],"photo_ids_order":["1331655628","1331655632","1331655645","1331655741","1331655768","1331655769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f83cdf93b0a37be1025156a0e5c8284.jpg","text":"TemporaryFile(/tmp/multipartBody6480422340227143679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_38_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/26/96b97f48c4805a5dd05eb5ec8af65bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3565357100953014468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_38_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/26/0c4d7ea5f0e0ee54416653cda692f872.jpg","text":"TemporaryFile(/tmp/multipartBody5483952725373034006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_38_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad208b5ac304038d7a07d190f89c755e.jpg","text":"TemporaryFile(/tmp/multipartBody2596563525769638753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_38_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef1784a9cfb2c792cc1af04285d45127.jpg","text":"TemporaryFile(/tmp/multipartBody2152384091621296016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_38_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/26/3153f182bcbf252e99f1c0c60c581a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6353909644851853986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737887973904,"filename":"image_26012025_11_37_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655645","file1":"1331655632","file0":"1331655628","file4":"1331655768","file5":"1331655769","file3":"1331655741"},"map_files_photo_id_array":[{"photo_id":"1331655769","filename":"file5"},{"photo_id":"1331655645","filename":"file2"},{"photo_id":"1331655768","filename":"file4"},{"photo_id":"1331655632","filename":"file1"},{"photo_id":"1331655628","filename":"file0"},{"photo_id":"1331655741","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655768":["hashtag1","hashtag2"]},{"1331655741":["hashtag1","hashtag2"]},{"1331655645":["hashtag1","hashtag2"]},{"1331655632":["hashtag1","hashtag2"]},{"1331655769":["hashtag1","hashtag2"]},{"1331655628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655768, 1331655741, 1331655645, 1331655632, 1331655769, 1331655628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.443453788757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:39:33.183365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_56_10358.jpg', '/home/pi/Desktop/images/26012025/11/38/image_26012025_11_39_06_9408.jpg', '/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_16_10347.jpg', '/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_26_10409.jpg', '/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_36_9363.jpg', '/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_46_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_38_56_10358.jpg
/home/pi/Desktop/images/26012025/11/38/image_26012025_11_39_06_9408.jpg
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_16_10347.jpg
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_26_10409.jpg
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_36_9363.jpg
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331655794","1331655788","1331655785","1331655779","1331655800","1331655798"],"photo_ids_order":["1331655779","1331655785","1331655788","1331655794","1331655798","1331655800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d699be0c9706ea15f931975334edaf84.jpg","text":"TemporaryFile(/tmp/multipartBody1723411052899811987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_39_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/26/a38c72bba838eacc0ef1e844b0444fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5950731799210951760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_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/26/b042c5805c97574103a3468402d3d069.jpg","text":"TemporaryFile(/tmp/multipartBody7564885372641704038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_39_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/26/273a4a3b155c8b1b66654d55042992a9.jpg","text":"TemporaryFile(/tmp/multipartBody4124861715209860018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_38_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/26/7edb8e7dc846924d8e5674cfa5fc4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4619529909537654997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_39_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7661d66fe5a40c4f6794c9db97ef2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7292465520523163610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888034100,"filename":"image_26012025_11_39_36_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655788","file1":"1331655785","file0":"1331655779","file4":"1331655798","file5":"1331655800","file3":"1331655794"},"map_files_photo_id_array":[{"photo_id":"1331655800","filename":"file5"},{"photo_id":"1331655788","filename":"file2"},{"photo_id":"1331655798","filename":"file4"},{"photo_id":"1331655785","filename":"file1"},{"photo_id":"1331655779","filename":"file0"},{"photo_id":"1331655794","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655794":["hashtag1","hashtag2"]},{"1331655788":["hashtag1","hashtag2"]},{"1331655785":["hashtag1","hashtag2"]},{"1331655779":["hashtag1","hashtag2"]},{"1331655800":["hashtag1","hashtag2"]},{"1331655798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655794, 1331655788, 1331655785, 1331655779, 1331655800, 1331655798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4807186126709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:40:32.763066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_56_10341.jpg', '/home/pi/Desktop/images/26012025/11/39/image_26012025_11_40_06_9346.jpg', '/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_26_9485.jpg', '/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_36_10331.jpg', '/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_46_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_39_56_10341.jpg
/home/pi/Desktop/images/26012025/11/39/image_26012025_11_40_06_9346.jpg
/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_26_9485.jpg
/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_36_10331.jpg
/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_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":["1331655812","1331655821","1331655815","1331655818","1331655808"],"photo_ids_order":["1331655808","1331655812","1331655815","1331655818","1331655821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/942eec27f5bdd984d41bdd5836ea8c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6068978520826578015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888093700,"filename":"image_26012025_11_40_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/26/7788f3f1f269f1e35603c441faf62dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7287671967080581834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888093700,"filename":"image_26012025_11_40_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/26/f462f4a4d11101b6ea3f9d4f7b84ce79.jpg","text":"TemporaryFile(/tmp/multipartBody6740906731332082585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888093700,"filename":"image_26012025_11_40_26_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c5a72e46d3462ec0a9f97fe443154ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3191668514462142049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888093700,"filename":"image_26012025_11_40_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c23a16b7211bd4e462983e96445a1d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3551797780873939677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888093700,"filename":"image_26012025_11_39_56_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655815","file1":"1331655812","file0":"1331655808","file4":"1331655821","file3":"1331655818"},"map_files_photo_id_array":[{"photo_id":"1331655815","filename":"file2"},{"photo_id":"1331655821","filename":"file4"},{"photo_id":"1331655812","filename":"file1"},{"photo_id":"1331655808","filename":"file0"},{"photo_id":"1331655818","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655812":["hashtag1","hashtag2"]},{"1331655821":["hashtag1","hashtag2"]},{"1331655815":["hashtag1","hashtag2"]},{"1331655818":["hashtag1","hashtag2"]},{"1331655808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655812, 1331655821, 1331655815, 1331655818, 1331655808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.38012933731079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:41:33.039652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_56_9379.jpg', '/home/pi/Desktop/images/26012025/11/40/image_26012025_11_41_06_10353.jpg', '/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_16_10335.jpg', '/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_26_9411.jpg', '/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_36_10335.jpg', '/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_46_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/40/image_26012025_11_40_56_9379.jpg
/home/pi/Desktop/images/26012025/11/40/image_26012025_11_41_06_10353.jpg
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_16_10335.jpg
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_26_9411.jpg
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_36_10335.jpg
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_46_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":["1331655861","1331655869","1331655857","1331655868","1331655853","1331655865"],"photo_ids_order":["1331655853","1331655857","1331655861","1331655865","1331655868","1331655869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5967010038c4ecefba102ff9b7852ead.jpg","text":"TemporaryFile(/tmp/multipartBody2950108898634556668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_41_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/26/bd7eb77ca86ca42e84b3616a76889ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5513589650500310817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_41_46_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/26/4884a04bf67a32ecd4648e2b2945adfd.jpg","text":"TemporaryFile(/tmp/multipartBody8342619472914545603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_41_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/26/64b033167562eb59e059faa3195cda16.jpg","text":"TemporaryFile(/tmp/multipartBody152091518083813682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_41_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08d2709dc839eb59974586a119ee29a9.jpg","text":"TemporaryFile(/tmp/multipartBody7024510235279965806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_40_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2f82f1f10d3dd9eb31ebb3fb9e67e52.jpg","text":"TemporaryFile(/tmp/multipartBody4895793371286820804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888153952,"filename":"image_26012025_11_41_26_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655861","file1":"1331655857","file0":"1331655853","file4":"1331655868","file5":"1331655869","file3":"1331655865"},"map_files_photo_id_array":[{"photo_id":"1331655869","filename":"file5"},{"photo_id":"1331655861","filename":"file2"},{"photo_id":"1331655868","filename":"file4"},{"photo_id":"1331655857","filename":"file1"},{"photo_id":"1331655853","filename":"file0"},{"photo_id":"1331655865","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655861":["hashtag1","hashtag2"]},{"1331655869":["hashtag1","hashtag2"]},{"1331655857":["hashtag1","hashtag2"]},{"1331655868":["hashtag1","hashtag2"]},{"1331655853":["hashtag1","hashtag2"]},{"1331655865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655861, 1331655869, 1331655857, 1331655868, 1331655853, 1331655865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29673218727112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:42:32.269524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_56_10343.jpg', '/home/pi/Desktop/images/26012025/11/41/image_26012025_11_42_06_10330.jpg', '/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_16_9409.jpg', '/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_26_10345.jpg', '/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_36_10333.jpg', '/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_46_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_41_56_10343.jpg
/home/pi/Desktop/images/26012025/11/41/image_26012025_11_42_06_10330.jpg
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_16_9409.jpg
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_26_10345.jpg
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_36_10333.jpg
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_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":["1331655909","1331655918","1331655923","1331655914","1331655940","1331655937"],"photo_ids_order":["1331655909","1331655914","1331655918","1331655923","1331655937","1331655940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/61000b0a3ed76167beffadc9abdeee36.jpg","text":"TemporaryFile(/tmp/multipartBody2224717073592379665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_41_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/26/53164dc6e8e020cedc16c47ab0c5c698.jpg","text":"TemporaryFile(/tmp/multipartBody2212688917552741478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_42_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/26/c4f0674bfbc7b9d73290aa3bafb28d55.jpg","text":"TemporaryFile(/tmp/multipartBody3229595639045204120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_42_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/26/960f5ffe373e8cc1cf777d1be8871b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6796790370654422374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_42_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4f3f782960fb5116bc09d1524f4e318.jpg","text":"TemporaryFile(/tmp/multipartBody7434428974911526263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_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/26/ff3bc5b1d909f9ebbfc107603c8ca90a.jpg","text":"TemporaryFile(/tmp/multipartBody1181292103595568969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888213172,"filename":"image_26012025_11_42_36_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655918","file1":"1331655914","file0":"1331655909","file4":"1331655937","file5":"1331655940","file3":"1331655923"},"map_files_photo_id_array":[{"photo_id":"1331655940","filename":"file5"},{"photo_id":"1331655918","filename":"file2"},{"photo_id":"1331655937","filename":"file4"},{"photo_id":"1331655914","filename":"file1"},{"photo_id":"1331655909","filename":"file0"},{"photo_id":"1331655923","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655909":["hashtag1","hashtag2"]},{"1331655918":["hashtag1","hashtag2"]},{"1331655923":["hashtag1","hashtag2"]},{"1331655914":["hashtag1","hashtag2"]},{"1331655940":["hashtag1","hashtag2"]},{"1331655937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655909, 1331655918, 1331655923, 1331655914, 1331655940, 1331655937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19338917732239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:43:32.462460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_56_10362.jpg', '/home/pi/Desktop/images/26012025/11/42/image_26012025_11_43_06_10322.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_16_9328.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_26_10468.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_36_10325.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_46_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_42_56_10362.jpg
/home/pi/Desktop/images/26012025/11/42/image_26012025_11_43_06_10322.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_16_9328.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_26_10468.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_36_10325.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_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":["1331655963","1331655974","1331655968","1331655983","1331655979","1331655982"],"photo_ids_order":["1331655963","1331655968","1331655974","1331655979","1331655982","1331655983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c73bdd8db075706264d351fbc1a6a307.jpg","text":"TemporaryFile(/tmp/multipartBody4782849269133801463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_42_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/26/6134bc5cfa737be6cdc2d98da8e404cd.jpg","text":"TemporaryFile(/tmp/multipartBody1840213026843930827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_43_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/547b99a72984bb5aa82290d6e92a30d5.jpg","text":"TemporaryFile(/tmp/multipartBody4394346749541788036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_43_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/add6683b9ee52d42b2f8737ec2ebbf95.jpg","text":"TemporaryFile(/tmp/multipartBody7391846852444051948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_43_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/26/9275acb880bf88c235d0aacb9334803a.jpg","text":"TemporaryFile(/tmp/multipartBody7217047678648548927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_43_26_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/26/9000478270abd8fae0621067628dea72.jpg","text":"TemporaryFile(/tmp/multipartBody3355179506045560813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888273368,"filename":"image_26012025_11_43_36_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331655974","file1":"1331655968","file0":"1331655963","file4":"1331655982","file5":"1331655983","file3":"1331655979"},"map_files_photo_id_array":[{"photo_id":"1331655983","filename":"file5"},{"photo_id":"1331655974","filename":"file2"},{"photo_id":"1331655982","filename":"file4"},{"photo_id":"1331655968","filename":"file1"},{"photo_id":"1331655963","filename":"file0"},{"photo_id":"1331655979","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331655963":["hashtag1","hashtag2"]},{"1331655974":["hashtag1","hashtag2"]},{"1331655968":["hashtag1","hashtag2"]},{"1331655983":["hashtag1","hashtag2"]},{"1331655979":["hashtag1","hashtag2"]},{"1331655982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331655963, 1331655974, 1331655968, 1331655983, 1331655979, 1331655982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53644132614136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:44:32.573736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_56_10345.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_44_06_9389.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_16_10419.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_26_10389.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_36_9395.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_56_10345.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_44_06_9389.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_16_10419.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_26_10389.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_36_9395.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_46_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5159103870391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:44:42.540719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_56_10345.jpg', '/home/pi/Desktop/images/26012025/11/43/image_26012025_11_44_06_9389.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_16_10419.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_26_10389.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_36_9395.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_46_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_43_56_10345.jpg
/home/pi/Desktop/images/26012025/11/43/image_26012025_11_44_06_9389.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_16_10419.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_26_10389.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_36_9395.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331656020","1331656023","1331656017","1331656013","1331656007","1331656024"],"photo_ids_order":["1331656007","1331656013","1331656017","1331656020","1331656023","1331656024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/92f6642d987f78da694cbcc164d0896c.jpg","text":"TemporaryFile(/tmp/multipartBody4829058239375058932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_44_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ad44837d89ddb799baa247b127d2486.jpg","text":"TemporaryFile(/tmp/multipartBody4376895664627512389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_44_36_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/26/9937cfd5390c1af5e1a8963c5ff3c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody1029267745945270209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_44_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/26/99c7db2be6139df3d799084940a5c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody2470922527207441365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_44_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5483298219d5f61389d359fb6bdc537.jpg","text":"TemporaryFile(/tmp/multipartBody2651986059445108535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_43_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/26/fa7e2e3eec37cff6c45f1b023c0faab3.jpg","text":"TemporaryFile(/tmp/multipartBody2950103062975239417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888343498,"filename":"image_26012025_11_44_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331656017","file1":"1331656013","file0":"1331656007","file4":"1331656023","file5":"1331656024","file3":"1331656020"},"map_files_photo_id_array":[{"photo_id":"1331656024","filename":"file5"},{"photo_id":"1331656017","filename":"file2"},{"photo_id":"1331656023","filename":"file4"},{"photo_id":"1331656013","filename":"file1"},{"photo_id":"1331656007","filename":"file0"},{"photo_id":"1331656020","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331656020":["hashtag1","hashtag2"]},{"1331656023":["hashtag1","hashtag2"]},{"1331656017":["hashtag1","hashtag2"]},{"1331656013":["hashtag1","hashtag2"]},{"1331656007":["hashtag1","hashtag2"]},{"1331656024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331656020, 1331656023, 1331656017, 1331656013, 1331656007, 1331656024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94995951652527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:45:32.769097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_56_9431.jpg', '/home/pi/Desktop/images/26012025/11/44/image_26012025_11_45_06_10341.jpg', '/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_16_10381.jpg', '/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_26_9381.jpg', '/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_36_10343.jpg', '/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_44_56_9431.jpg
/home/pi/Desktop/images/26012025/11/44/image_26012025_11_45_06_10341.jpg
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_16_10381.jpg
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_26_9381.jpg
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_36_10343.jpg
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_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":["1331656032","1331656076","1331656048","1331656036","1331656074","1331656062"],"photo_ids_order":["1331656032","1331656036","1331656048","1331656062","1331656074","1331656076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5d1e66a026cc4cd182a5abf5c6d43e1.jpg","text":"TemporaryFile(/tmp/multipartBody9162646245603331962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_44_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/26/5d7ec45753c9fc210b66ede691164613.jpg","text":"TemporaryFile(/tmp/multipartBody125910140779053263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_45_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/26/8c025591dfa1a2c5d0af14807447b077.jpg","text":"TemporaryFile(/tmp/multipartBody1495481867623069542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_45_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db055c370e743204cdcd3259774337a5.jpg","text":"TemporaryFile(/tmp/multipartBody3409963730420171337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_45_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/26/0d7fcb814b06e58ff6086fd3b9ea58de.jpg","text":"TemporaryFile(/tmp/multipartBody7784321091244280738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_45_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d5e6f8fec84d436e3bad28e48471a54.jpg","text":"TemporaryFile(/tmp/multipartBody3904861389805011872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888393695,"filename":"image_26012025_11_45_26_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331656048","file1":"1331656036","file0":"1331656032","file4":"1331656074","file5":"1331656076","file3":"1331656062"},"map_files_photo_id_array":[{"photo_id":"1331656076","filename":"file5"},{"photo_id":"1331656048","filename":"file2"},{"photo_id":"1331656074","filename":"file4"},{"photo_id":"1331656036","filename":"file1"},{"photo_id":"1331656032","filename":"file0"},{"photo_id":"1331656062","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331656032":["hashtag1","hashtag2"]},{"1331656076":["hashtag1","hashtag2"]},{"1331656048":["hashtag1","hashtag2"]},{"1331656036":["hashtag1","hashtag2"]},{"1331656074":["hashtag1","hashtag2"]},{"1331656062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331656032, 1331656076, 1331656048, 1331656036, 1331656074, 1331656062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0716187953949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:46:33.048134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_56_9410.jpg', '/home/pi/Desktop/images/26012025/11/45/image_26012025_11_46_06_10403.jpg', '/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_26_10367.jpg', '/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_36_10333.jpg', '/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_46_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_45_56_9410.jpg
/home/pi/Desktop/images/26012025/11/45/image_26012025_11_46_06_10403.jpg
/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_26_10367.jpg
/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_36_10333.jpg
/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_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":["1331656149","1331656140","1331656153","1331656144","1331656155"],"photo_ids_order":["1331656140","1331656144","1331656149","1331656153","1331656155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04e1e81a722385ca730a52a28298eb82.jpg","text":"TemporaryFile(/tmp/multipartBody5054365921775229120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888453956,"filename":"image_26012025_11_46_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c89656227225e273c5dd48d392b8392.jpg","text":"TemporaryFile(/tmp/multipartBody8489407666518549105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888453956,"filename":"image_26012025_11_45_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/26/c306370788fd609a9ad2f31aa6b20bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6917785462867543355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888453956,"filename":"image_26012025_11_46_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bc172ea2f3455657662599e32999c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1652324154097162451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888453956,"filename":"image_26012025_11_46_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/865fb467b1c2a758e0015bd2fd1a8dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7755336330578613036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888453956,"filename":"image_26012025_11_46_46_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331656149","file1":"1331656144","file0":"1331656140","file4":"1331656155","file3":"1331656153"},"map_files_photo_id_array":[{"photo_id":"1331656149","filename":"file2"},{"photo_id":"1331656155","filename":"file4"},{"photo_id":"1331656144","filename":"file1"},{"photo_id":"1331656140","filename":"file0"},{"photo_id":"1331656153","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331656149":["hashtag1","hashtag2"]},{"1331656140":["hashtag1","hashtag2"]},{"1331656153":["hashtag1","hashtag2"]},{"1331656144":["hashtag1","hashtag2"]},{"1331656155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331656149, 1331656140, 1331656153, 1331656144, 1331656155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.27035737037659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:47:32.343170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_56_10325.jpg', '/home/pi/Desktop/images/26012025/11/46/image_26012025_11_47_06_9438.jpg', '/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_16_10344.jpg', '/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_26_10410.jpg', '/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_36_9331.jpg', '/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_46_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/46/image_26012025_11_46_56_10325.jpg
/home/pi/Desktop/images/26012025/11/46/image_26012025_11_47_06_9438.jpg
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_16_10344.jpg
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_26_10410.jpg
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_36_9331.jpg
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_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":["1331656365","1331656259","1331656244","1331656735","1331656249","1331656254"],"photo_ids_order":["1331656244","1331656249","1331656254","1331656259","1331656365","1331656735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c023cc55b503a8aef84f0184c6cb66e5.jpg","text":"TemporaryFile(/tmp/multipartBody339871894853516739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_47_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/339b251ee11ec6797ae17ba61734af1d.jpg","text":"TemporaryFile(/tmp/multipartBody5546654268502585022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_47_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/26/3e18563dfad91eba2e6167efa84e726e.jpg","text":"TemporaryFile(/tmp/multipartBody8723828018765626206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_46_56_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/26/e4ad6e46b6bf7802e29e5b200df7ae62.jpg","text":"TemporaryFile(/tmp/multipartBody3482079467003442660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_47_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/26/ca95e99967e6c442f179fca3d01c58c6.jpg","text":"TemporaryFile(/tmp/multipartBody1224356190026713241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_47_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/036a0e2c9e17f8cedf0271dae52e5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1570577537875002138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888513275,"filename":"image_26012025_11_47_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331656254","file1":"1331656249","file0":"1331656244","file4":"1331656365","file5":"1331656735","file3":"1331656259"},"map_files_photo_id_array":[{"photo_id":"1331656735","filename":"file5"},{"photo_id":"1331656254","filename":"file2"},{"photo_id":"1331656365","filename":"file4"},{"photo_id":"1331656249","filename":"file1"},{"photo_id":"1331656244","filename":"file0"},{"photo_id":"1331656259","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331656365":["hashtag1","hashtag2"]},{"1331656259":["hashtag1","hashtag2"]},{"1331656244":["hashtag1","hashtag2"]},{"1331656735":["hashtag1","hashtag2"]},{"1331656249":["hashtag1","hashtag2"]},{"1331656254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331656365, 1331656259, 1331656244, 1331656735, 1331656249, 1331656254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66681218147278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:48:32.537003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_56_10335.jpg', '/home/pi/Desktop/images/26012025/11/47/image_26012025_11_48_06_9438.jpg', '/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_16_10332.jpg', '/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_26_10367.jpg', '/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_36_9328.jpg', '/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_46_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_47_56_10335.jpg
/home/pi/Desktop/images/26012025/11/47/image_26012025_11_48_06_9438.jpg
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_16_10332.jpg
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_26_10367.jpg
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_36_9328.jpg
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_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":["1331657324","1331657252","1331657057","1331657300","1331657053","1331657049"],"photo_ids_order":["1331657049","1331657053","1331657057","1331657252","1331657300","1331657324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac71241b0e348864707ae6f042e5b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody7703908709855937301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_48_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/26/1ab86fb72b4e10fcdb9969b1a2e3c7da.jpg","text":"TemporaryFile(/tmp/multipartBody3983148275752910707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_48_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/26/7fac760eb1e4fb091024cbdaefdf067f.jpg","text":"TemporaryFile(/tmp/multipartBody7188934908431340786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_48_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/26/0e6409caca250ec9f375950e2e7b0a68.jpg","text":"TemporaryFile(/tmp/multipartBody245120923927368518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_48_36_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/26/920283209d7e7b4137f31d327a83b0fa.jpg","text":"TemporaryFile(/tmp/multipartBody4657713569156774663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_48_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fbe78cbf958c3f432cc2fd13002d035c.jpg","text":"TemporaryFile(/tmp/multipartBody1803395779117147235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888573456,"filename":"image_26012025_11_47_56_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657057","file1":"1331657053","file0":"1331657049","file4":"1331657300","file5":"1331657324","file3":"1331657252"},"map_files_photo_id_array":[{"photo_id":"1331657324","filename":"file5"},{"photo_id":"1331657057","filename":"file2"},{"photo_id":"1331657300","filename":"file4"},{"photo_id":"1331657053","filename":"file1"},{"photo_id":"1331657049","filename":"file0"},{"photo_id":"1331657252","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657324":["hashtag1","hashtag2"]},{"1331657252":["hashtag1","hashtag2"]},{"1331657057":["hashtag1","hashtag2"]},{"1331657300":["hashtag1","hashtag2"]},{"1331657053":["hashtag1","hashtag2"]},{"1331657049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657324, 1331657252, 1331657057, 1331657300, 1331657053, 1331657049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06770062446594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:49:32.728049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_56_9425.jpg', '/home/pi/Desktop/images/26012025/11/48/image_26012025_11_49_06_10349.jpg', '/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_16_9495.jpg', '/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_26_10355.jpg', '/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_36_10336.jpg', '/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_46_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_48_56_9425.jpg
/home/pi/Desktop/images/26012025/11/48/image_26012025_11_49_06_10349.jpg
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_16_9495.jpg
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_26_10355.jpg
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_36_10336.jpg
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_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":["1331657396","1331657414","1331657408","1331657404","1331657412","1331657400"],"photo_ids_order":["1331657396","1331657400","1331657404","1331657408","1331657412","1331657414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6223257c4552a43e824d391a18634f58.jpg","text":"TemporaryFile(/tmp/multipartBody3863191236988716482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_48_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/65387aa738b5e102c392e48d0d8892a5.jpg","text":"TemporaryFile(/tmp/multipartBody8793131000657507732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_49_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/26/fa7a44d33ccc3f111cd1314454483dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7422425761412193058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_49_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/26/e55ee2af1e343bae13edca5c65f9fdef.jpg","text":"TemporaryFile(/tmp/multipartBody2086037992633305023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_49_16_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/26/295ddba24996871891197df5755cae07.jpg","text":"TemporaryFile(/tmp/multipartBody2349379266004977446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_49_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b3865636517fb8121060d7949cb599a.jpg","text":"TemporaryFile(/tmp/multipartBody8612265819831297241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888633651,"filename":"image_26012025_11_49_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657404","file1":"1331657400","file0":"1331657396","file4":"1331657412","file5":"1331657414","file3":"1331657408"},"map_files_photo_id_array":[{"photo_id":"1331657414","filename":"file5"},{"photo_id":"1331657404","filename":"file2"},{"photo_id":"1331657412","filename":"file4"},{"photo_id":"1331657400","filename":"file1"},{"photo_id":"1331657396","filename":"file0"},{"photo_id":"1331657408","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657396":["hashtag1","hashtag2"]},{"1331657414":["hashtag1","hashtag2"]},{"1331657408":["hashtag1","hashtag2"]},{"1331657404":["hashtag1","hashtag2"]},{"1331657412":["hashtag1","hashtag2"]},{"1331657400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657396, 1331657414, 1331657408, 1331657404, 1331657412, 1331657400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37336254119873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:50:33.030645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_56_10344.jpg', '/home/pi/Desktop/images/26012025/11/49/image_26012025_11_50_06_10401.jpg', '/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_16_9423.jpg', '/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_26_10419.jpg', '/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_36_9347.jpg', '/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_46_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_49_56_10344.jpg
/home/pi/Desktop/images/26012025/11/49/image_26012025_11_50_06_10401.jpg
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_16_9423.jpg
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_26_10419.jpg
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_36_9347.jpg
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_46_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331657441","1331657450","1331657432","1331657428","1331657437","1331657445"],"photo_ids_order":["1331657428","1331657432","1331657437","1331657441","1331657445","1331657450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/205a8f19db05fa283d85037ef7ba78f5.jpg","text":"TemporaryFile(/tmp/multipartBody7419946583201204231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_50_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/26/4422a626a10d8f1a9ce4980351ce2abb.jpg","text":"TemporaryFile(/tmp/multipartBody4065126910421956236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_50_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/84e63dbd4a085345e8607f2fd6116abf.jpg","text":"TemporaryFile(/tmp/multipartBody5872252259613009043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_50_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5ba5517e0f4c582010aecb39a52da9b.jpg","text":"TemporaryFile(/tmp/multipartBody2631154363205399389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_49_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/26/eb499d9a6b8b4d1b3c0b11461e691f53.jpg","text":"TemporaryFile(/tmp/multipartBody7922381995881731228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_50_16_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/26/7e368defc222f764bef17f06159f657f.jpg","text":"TemporaryFile(/tmp/multipartBody4039411111851604094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888693956,"filename":"image_26012025_11_50_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657437","file1":"1331657432","file0":"1331657428","file4":"1331657445","file5":"1331657450","file3":"1331657441"},"map_files_photo_id_array":[{"photo_id":"1331657450","filename":"file5"},{"photo_id":"1331657437","filename":"file2"},{"photo_id":"1331657445","filename":"file4"},{"photo_id":"1331657432","filename":"file1"},{"photo_id":"1331657428","filename":"file0"},{"photo_id":"1331657441","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657441":["hashtag1","hashtag2"]},{"1331657450":["hashtag1","hashtag2"]},{"1331657432":["hashtag1","hashtag2"]},{"1331657428":["hashtag1","hashtag2"]},{"1331657437":["hashtag1","hashtag2"]},{"1331657445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657441, 1331657450, 1331657432, 1331657428, 1331657437, 1331657445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79310894012451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:51:32.223551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_55_9470.jpg', '/home/pi/Desktop/images/26012025/11/50/image_26012025_11_51_06_10348.jpg', '/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_16_10355.jpg', '/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_26_9401.jpg', '/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_36_10338.jpg', '/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_50_55_9470.jpg
/home/pi/Desktop/images/26012025/11/50/image_26012025_11_51_06_10348.jpg
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_16_10355.jpg
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_26_9401.jpg
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_36_10338.jpg
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_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":["1331657497","1331657501","1331657491","1331657524","1331657478","1331657526"],"photo_ids_order":["1331657478","1331657491","1331657497","1331657501","1331657524","1331657526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19ac1441ef1ea86ae458e69b51e7b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6325383228098111931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_51_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/26/e83c6410c105ad04033c1312de828255.jpg","text":"TemporaryFile(/tmp/multipartBody8604588783071677729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_51_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/26/b1884644ccf72ad96f041fb8d4d259c1.jpg","text":"TemporaryFile(/tmp/multipartBody1342663645572187648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_51_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/26/ed424b1d193f61ec028899b64488bb96.jpg","text":"TemporaryFile(/tmp/multipartBody9131339093358527943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_51_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/26/205d55c2abfbc76bdb7eecc27eebbe31.jpg","text":"TemporaryFile(/tmp/multipartBody8284040939593864337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_50_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/26/88df8707dbc1216e3c701320f7d4049c.jpg","text":"TemporaryFile(/tmp/multipartBody7848447952585214670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888753130,"filename":"image_26012025_11_51_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657497","file1":"1331657491","file0":"1331657478","file4":"1331657524","file5":"1331657526","file3":"1331657501"},"map_files_photo_id_array":[{"photo_id":"1331657526","filename":"file5"},{"photo_id":"1331657497","filename":"file2"},{"photo_id":"1331657524","filename":"file4"},{"photo_id":"1331657491","filename":"file1"},{"photo_id":"1331657478","filename":"file0"},{"photo_id":"1331657501","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657497":["hashtag1","hashtag2"]},{"1331657501":["hashtag1","hashtag2"]},{"1331657491":["hashtag1","hashtag2"]},{"1331657524":["hashtag1","hashtag2"]},{"1331657478":["hashtag1","hashtag2"]},{"1331657526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657497, 1331657501, 1331657491, 1331657524, 1331657478, 1331657526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51083183288574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:52:32.537808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_56_9368.jpg', '/home/pi/Desktop/images/26012025/11/51/image_26012025_11_52_06_10332.jpg', '/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_16_10340.jpg', '/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_26_9347.jpg', '/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_36_10391.jpg', '/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_51_56_9368.jpg
/home/pi/Desktop/images/26012025/11/51/image_26012025_11_52_06_10332.jpg
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_16_10340.jpg
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_26_9347.jpg
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_36_10391.jpg
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_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":["1331657576","1331657642","1331657581","1331657609","1331657638","1331657611"],"photo_ids_order":["1331657576","1331657581","1331657609","1331657611","1331657638","1331657642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/818460556b3bc697e203c78435594264.jpg","text":"TemporaryFile(/tmp/multipartBody8415660768423259020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_51_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/26/1787e460b6b18dbeb7cbe60cfa6f9d43.jpg","text":"TemporaryFile(/tmp/multipartBody5886833606325823000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_52_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/26/40b3eb6dbbf48c8bc11449c7864c3196.jpg","text":"TemporaryFile(/tmp/multipartBody2073642774884875544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_52_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/26/e7ba94ebffd6e38e228e0f4fcb604b64.jpg","text":"TemporaryFile(/tmp/multipartBody5369306587863745012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_52_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/26/4d6d54ccaefc0330b8144866bf2ab6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5919802171669065974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_52_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/26/b9f6e7d0c42dc2040fc0223bd25df147.jpg","text":"TemporaryFile(/tmp/multipartBody7434957295001700931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888813471,"filename":"image_26012025_11_52_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657609","file1":"1331657581","file0":"1331657576","file4":"1331657638","file5":"1331657642","file3":"1331657611"},"map_files_photo_id_array":[{"photo_id":"1331657642","filename":"file5"},{"photo_id":"1331657609","filename":"file2"},{"photo_id":"1331657638","filename":"file4"},{"photo_id":"1331657581","filename":"file1"},{"photo_id":"1331657576","filename":"file0"},{"photo_id":"1331657611","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657576":["hashtag1","hashtag2"]},{"1331657642":["hashtag1","hashtag2"]},{"1331657581":["hashtag1","hashtag2"]},{"1331657609":["hashtag1","hashtag2"]},{"1331657638":["hashtag1","hashtag2"]},{"1331657611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657576, 1331657642, 1331657581, 1331657609, 1331657638, 1331657611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22025489807129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:53:32.743226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_56_9418.jpg', '/home/pi/Desktop/images/26012025/11/52/image_26012025_11_53_06_10415.jpg', '/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_16_9342.jpg', '/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_26_10415.jpg', '/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_36_10322.jpg', '/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_46_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_52_56_9418.jpg
/home/pi/Desktop/images/26012025/11/52/image_26012025_11_53_06_10415.jpg
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_16_9342.jpg
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_26_10415.jpg
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_36_10322.jpg
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_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":["1331657813","1331657714","1331657810","1331657869","1331657806","1331657803"],"photo_ids_order":["1331657714","1331657803","1331657806","1331657810","1331657813","1331657869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/65ddd20e23b4736a59d809a8c7de5d80.jpg","text":"TemporaryFile(/tmp/multipartBody8627587618313301489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_53_36_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a05f254283215a304d84c46a324fbda0.jpg","text":"TemporaryFile(/tmp/multipartBody5648043161528286700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_52_56_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/26/b5a9cb13e4a81a1182fe752a6c7128e9.jpg","text":"TemporaryFile(/tmp/multipartBody7868830830278966772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_53_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce4e653e975b8c3c39968b485d4f3887.jpg","text":"TemporaryFile(/tmp/multipartBody4039557342761560771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_53_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/26/474a6d79d9ae9bb900c338c6914fca18.jpg","text":"TemporaryFile(/tmp/multipartBody3679313005998925922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_53_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/26/c9a82c46a7b3c82284ab1a6cd0f374b1.jpg","text":"TemporaryFile(/tmp/multipartBody312081187687322499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888873667,"filename":"image_26012025_11_53_06_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657806","file1":"1331657803","file0":"1331657714","file4":"1331657813","file5":"1331657869","file3":"1331657810"},"map_files_photo_id_array":[{"photo_id":"1331657869","filename":"file5"},{"photo_id":"1331657806","filename":"file2"},{"photo_id":"1331657813","filename":"file4"},{"photo_id":"1331657803","filename":"file1"},{"photo_id":"1331657714","filename":"file0"},{"photo_id":"1331657810","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657813":["hashtag1","hashtag2"]},{"1331657714":["hashtag1","hashtag2"]},{"1331657810":["hashtag1","hashtag2"]},{"1331657869":["hashtag1","hashtag2"]},{"1331657806":["hashtag1","hashtag2"]},{"1331657803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657813, 1331657714, 1331657810, 1331657869, 1331657806, 1331657803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.900667905807495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:54:33.185015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_56_10375.jpg', '/home/pi/Desktop/images/26012025/11/53/image_26012025_11_54_06_10352.jpg', '/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_16_9327.jpg', '/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_26_10346.jpg', '/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_36_10342.jpg', '/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_46_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_53_56_10375.jpg
/home/pi/Desktop/images/26012025/11/53/image_26012025_11_54_06_10352.jpg
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_16_9327.jpg
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_26_10346.jpg
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_36_10342.jpg
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_46_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":["1331657930","1331657936","1331657932","1331657935","1331657961","1331657955"],"photo_ids_order":["1331657930","1331657932","1331657935","1331657936","1331657955","1331657961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f432f5e7296f44ea2be1c54645097f1.jpg","text":"TemporaryFile(/tmp/multipartBody7864778625327610825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_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/26/5e7cc948cf4e60f9c73abecb954d4d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6877482173490720687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_54_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/26/83e14e25b244f3c5575177ddfd2844ae.jpg","text":"TemporaryFile(/tmp/multipartBody8414712877956596741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_54_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/26/68821cebf5319477b63d8d9f6aea81b3.jpg","text":"TemporaryFile(/tmp/multipartBody1774737867603257900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_54_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/26/15937fac51ecebe5749e02dcd65cc18b.jpg","text":"TemporaryFile(/tmp/multipartBody9110871944121929304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_54_46_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/26/d7927fc33c237c2a9363b36754254c59.jpg","text":"TemporaryFile(/tmp/multipartBody7118381755176817492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888934126,"filename":"image_26012025_11_54_36_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331657935","file1":"1331657932","file0":"1331657930","file4":"1331657955","file5":"1331657961","file3":"1331657936"},"map_files_photo_id_array":[{"photo_id":"1331657961","filename":"file5"},{"photo_id":"1331657935","filename":"file2"},{"photo_id":"1331657955","filename":"file4"},{"photo_id":"1331657932","filename":"file1"},{"photo_id":"1331657930","filename":"file0"},{"photo_id":"1331657936","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331657930":["hashtag1","hashtag2"]},{"1331657936":["hashtag1","hashtag2"]},{"1331657932":["hashtag1","hashtag2"]},{"1331657935":["hashtag1","hashtag2"]},{"1331657961":["hashtag1","hashtag2"]},{"1331657955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331657930, 1331657936, 1331657932, 1331657935, 1331657961, 1331657955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.058178424835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:55:32.353286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_56_10371.jpg', '/home/pi/Desktop/images/26012025/11/54/image_26012025_11_55_06_9446.jpg', '/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_16_10332.jpg', '/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_26_10359.jpg', '/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_36_9413.jpg', '/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_46_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_54_56_10371.jpg
/home/pi/Desktop/images/26012025/11/54/image_26012025_11_55_06_9446.jpg
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_16_10332.jpg
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_26_10359.jpg
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_36_9413.jpg
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_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":["1331658008","1331657998","1331658010","1331658004","1331658001","1331657994"],"photo_ids_order":["1331657994","1331657998","1331658001","1331658004","1331658008","1331658010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2c30b6afc3588ca8eef50960845aeb8.jpg","text":"TemporaryFile(/tmp/multipartBody8042826219378928765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_55_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/26/8b2dc281fe4ac038290abb3e23d9ea17.jpg","text":"TemporaryFile(/tmp/multipartBody2382201304599513206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_55_06_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ad85384f6fbc103181e4547d5219d97.jpg","text":"TemporaryFile(/tmp/multipartBody1599709251139721972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_55_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/26/9467cbe7bb4fe2a16309e7f34051f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody466185401337875085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_55_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/26/cee24ab4021ef930d86654a07b42cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody6975654812351013212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_55_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/26/f5b7b0a3d324a58ce26d168c0967e170.jpg","text":"TemporaryFile(/tmp/multipartBody6116970108824383778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737888993269,"filename":"image_26012025_11_54_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331658001","file1":"1331657998","file0":"1331657994","file4":"1331658008","file5":"1331658010","file3":"1331658004"},"map_files_photo_id_array":[{"photo_id":"1331658010","filename":"file5"},{"photo_id":"1331658001","filename":"file2"},{"photo_id":"1331658008","filename":"file4"},{"photo_id":"1331657998","filename":"file1"},{"photo_id":"1331657994","filename":"file0"},{"photo_id":"1331658004","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331658008":["hashtag1","hashtag2"]},{"1331657998":["hashtag1","hashtag2"]},{"1331658010":["hashtag1","hashtag2"]},{"1331658004":["hashtag1","hashtag2"]},{"1331658001":["hashtag1","hashtag2"]},{"1331657994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331658008, 1331657998, 1331658010, 1331658004, 1331658001, 1331657994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26952505111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:56:32.515448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_56_9450.jpg', '/home/pi/Desktop/images/26012025/11/55/image_26012025_11_56_06_10390.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_16_10345.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_26_9365.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_36_10365.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_46_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_55_56_9450.jpg
/home/pi/Desktop/images/26012025/11/55/image_26012025_11_56_06_10390.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_16_10345.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_26_9365.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_36_10365.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_46_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":["1331658032","1331658026","1331658023","1331658028","1331658021","1331658030"],"photo_ids_order":["1331658021","1331658023","1331658026","1331658028","1331658030","1331658032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3d346fe102a9fa1c14794e8f6278922.jpg","text":"TemporaryFile(/tmp/multipartBody6054797907269514940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_56_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/26/6406d232641da01cf1b43571037d3862.jpg","text":"TemporaryFile(/tmp/multipartBody9212918587688343393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_56_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d82baf4f24b685d0453326452451caa1.jpg","text":"TemporaryFile(/tmp/multipartBody6910215415680065213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_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/26/3e537b45371ece4db5858098b1274561.jpg","text":"TemporaryFile(/tmp/multipartBody5495126585196395445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_56_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f8cecb2686cd2f297467fb6a58d71e4b.jpg","text":"TemporaryFile(/tmp/multipartBody657791988890985259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_55_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/26/ea3390f2748b8a62fb2062eb51005924.jpg","text":"TemporaryFile(/tmp/multipartBody8486383103948724494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889053441,"filename":"image_26012025_11_56_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331658026","file1":"1331658023","file0":"1331658021","file4":"1331658030","file5":"1331658032","file3":"1331658028"},"map_files_photo_id_array":[{"photo_id":"1331658032","filename":"file5"},{"photo_id":"1331658026","filename":"file2"},{"photo_id":"1331658030","filename":"file4"},{"photo_id":"1331658023","filename":"file1"},{"photo_id":"1331658021","filename":"file0"},{"photo_id":"1331658028","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331658032":["hashtag1","hashtag2"]},{"1331658026":["hashtag1","hashtag2"]},{"1331658023":["hashtag1","hashtag2"]},{"1331658028":["hashtag1","hashtag2"]},{"1331658021":["hashtag1","hashtag2"]},{"1331658030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331658032, 1331658026, 1331658023, 1331658028, 1331658021, 1331658030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06917190551758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 11:57:32.822727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_56_10350.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_57_06_10323.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_16_9381.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_26_10361.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_46_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_56_10350.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_57_06_10323.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_16_9381.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_26_10361.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_46_9363.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-26 11:59:03.920755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_56_10350.jpg', '/home/pi/Desktop/images/26012025/11/56/image_26012025_11_57_06_10323.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_16_9381.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_26_10361.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_46_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_56_56_10350.jpg
/home/pi/Desktop/images/26012025/11/56/image_26012025_11_57_06_10323.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_16_9381.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_26_10361.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_46_9363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331658121","1331658124","1331658118","1331658115","1331658111"],"photo_ids_order":["1331658111","1331658115","1331658118","1331658121","1331658124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8251f198d2384e0f9a9ff50262b85950.jpg","text":"TemporaryFile(/tmp/multipartBody8455708576381929596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889205160,"filename":"image_26012025_11_57_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/26/04d6a77a7d9be20ae040dea86d41f194.jpg","text":"TemporaryFile(/tmp/multipartBody1908387157449576717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889205160,"filename":"image_26012025_11_57_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/26/a40cab51607dd439bcde89af421b64e5.jpg","text":"TemporaryFile(/tmp/multipartBody5426980247458103585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889205160,"filename":"image_26012025_11_57_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/26/d778e16eccd00d9f91e5256fd8caefaf.jpg","text":"TemporaryFile(/tmp/multipartBody347358221005079423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889205160,"filename":"image_26012025_11_57_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5dc91a67c4136720ea769ad7dcb16456.jpg","text":"TemporaryFile(/tmp/multipartBody5559391827006480639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889205160,"filename":"image_26012025_11_56_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331658118","file1":"1331658115","file0":"1331658111","file4":"1331658124","file3":"1331658121"},"map_files_photo_id_array":[{"photo_id":"1331658118","filename":"file2"},{"photo_id":"1331658124","filename":"file4"},{"photo_id":"1331658115","filename":"file1"},{"photo_id":"1331658111","filename":"file0"},{"photo_id":"1331658121","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331658121":["hashtag1","hashtag2"]},{"1331658124":["hashtag1","hashtag2"]},{"1331658118":["hashtag1","hashtag2"]},{"1331658115":["hashtag1","hashtag2"]},{"1331658111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331658121, 1331658124, 1331658118, 1331658115, 1331658111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.035460233688354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 11:59:42.399220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_56_10410.jpg', '/home/pi/Desktop/images/26012025/11/57/image_26012025_11_58_06_10337.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_16_9402.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_26_10348.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_36_9391.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_46_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_57_56_10410.jpg
/home/pi/Desktop/images/26012025/11/57/image_26012025_11_58_06_10337.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_16_9402.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_26_10348.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_36_9391.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331658142","1331658136","1331658145","1331658139","1331658133","1331658147"],"photo_ids_order":["1331658133","1331658136","1331658139","1331658142","1331658145","1331658147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7af36ab8ef04a8fc62d5eb2d3b2db197.jpg","text":"TemporaryFile(/tmp/multipartBody6763695531294913206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_58_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/26/673afa4a82220d34f9060847216d0316.jpg","text":"TemporaryFile(/tmp/multipartBody880766821439373342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_58_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/feb3bd3a047883ef42ab00d799a0bdef.jpg","text":"TemporaryFile(/tmp/multipartBody2396379734386448888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_58_36_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/26/b9b7a2dac089dc07bee23a83a0bfbc5d.jpg","text":"TemporaryFile(/tmp/multipartBody7915204330856698187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_58_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/26/6a2d24618c0c450fe3b042242dc179d8.jpg","text":"TemporaryFile(/tmp/multipartBody4656679821313592512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_57_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f96366d3ea02f0842cb357d293c6082c.jpg","text":"TemporaryFile(/tmp/multipartBody4172571266908593640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889243320,"filename":"image_26012025_11_58_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331658139","file1":"1331658136","file0":"1331658133","file4":"1331658145","file5":"1331658147","file3":"1331658142"},"map_files_photo_id_array":[{"photo_id":"1331658147","filename":"file5"},{"photo_id":"1331658139","filename":"file2"},{"photo_id":"1331658145","filename":"file4"},{"photo_id":"1331658136","filename":"file1"},{"photo_id":"1331658133","filename":"file0"},{"photo_id":"1331658142","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331658142":["hashtag1","hashtag2"]},{"1331658136":["hashtag1","hashtag2"]},{"1331658145":["hashtag1","hashtag2"]},{"1331658139":["hashtag1","hashtag2"]},{"1331658133":["hashtag1","hashtag2"]},{"1331658147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331658142, 1331658136, 1331658145, 1331658139, 1331658133, 1331658147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.728578090667725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:00:32.609002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_56_10353.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_59_06_9322.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_16_10372.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_26_10383.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_36_9394.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_46_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_56_10353.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_59_06_9322.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_16_10372.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_26_10383.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_36_9394.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_46_10427.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5193672180175781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:00:42.550312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_56_10353.jpg', '/home/pi/Desktop/images/26012025/11/58/image_26012025_11_59_06_9322.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_16_10372.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_26_10383.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_36_9394.jpg', '/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_46_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_58_56_10353.jpg
/home/pi/Desktop/images/26012025/11/58/image_26012025_11_59_06_9322.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_16_10372.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_26_10383.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_36_9394.jpg
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_46_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331659084","1331659080","1331658958","1331659086","1331658604","1331659082"],"photo_ids_order":["1331658604","1331658958","1331659080","1331659082","1331659084","1331659086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f62351bbadeb484e1f6e9f9fe84c88e1.jpg","text":"TemporaryFile(/tmp/multipartBody6525994733345376499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_59_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/26/e1927aa83dd3ebee1f88d3dd06937ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2549119728327774431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_59_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/26/d96746462ec76b94bae9996fda95d4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1762984678690692335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_59_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/26/c45c93b1563f1190f307f6d095a50a50.jpg","text":"TemporaryFile(/tmp/multipartBody5178971879983976891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_59_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/26/08807188e6c8a04d66c09c590dc1a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody7185389012784745363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_58_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/26/5d02ddc9e85c8b6c32ddd27406346d20.jpg","text":"TemporaryFile(/tmp/multipartBody6672135598950489716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889303501,"filename":"image_26012025_11_59_26_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331659080","file1":"1331658958","file0":"1331658604","file4":"1331659084","file5":"1331659086","file3":"1331659082"},"map_files_photo_id_array":[{"photo_id":"1331659086","filename":"file5"},{"photo_id":"1331659080","filename":"file2"},{"photo_id":"1331659084","filename":"file4"},{"photo_id":"1331658958","filename":"file1"},{"photo_id":"1331658604","filename":"file0"},{"photo_id":"1331659082","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331659084":["hashtag1","hashtag2"]},{"1331659080":["hashtag1","hashtag2"]},{"1331658958":["hashtag1","hashtag2"]},{"1331659086":["hashtag1","hashtag2"]},{"1331658604":["hashtag1","hashtag2"]},{"1331659082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331659084, 1331659080, 1331658958, 1331659086, 1331658604, 1331659082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00077271461487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:01:32.825818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_56_9462.jpg', '/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_16_10075.jpg', '/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_26_10354.jpg', '/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_37_10426.jpg', '/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_46_9355.jpg', '/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_56_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/11/59/image_26012025_11_59_56_9462.jpg
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_16_10075.jpg
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_26_10354.jpg
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_37_10426.jpg
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_46_9355.jpg
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_00_56_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":["1331659120","1331659102","1331659137","1331659140","1331659134","1331659128"],"photo_ids_order":["1331659102","1331659120","1331659128","1331659134","1331659137","1331659140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c2e242035222c661f8b937d73156968.jpg","text":"TemporaryFile(/tmp/multipartBody1412040647745523693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_12_00_16_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/26/fd0853d840bd17af795694717b572487.jpg","text":"TemporaryFile(/tmp/multipartBody6966498403059670875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_11_59_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac6413a8606b46e7eb50480772136632.jpg","text":"TemporaryFile(/tmp/multipartBody8877870831633553083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_12_00_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/26/e9267458f4fc3497909714a36c4b6b74.jpg","text":"TemporaryFile(/tmp/multipartBody8912977994882374795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_12_00_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c64d65a1e1f56aa1b574b1c0fffc24d9.jpg","text":"TemporaryFile(/tmp/multipartBody4837529829982519775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_12_00_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/26/3660b065c4d647153f81bf48c93abe9b.jpg","text":"TemporaryFile(/tmp/multipartBody1938887475274162108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889353748,"filename":"image_26012025_12_00_26_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331659128","file1":"1331659120","file0":"1331659102","file4":"1331659137","file5":"1331659140","file3":"1331659134"},"map_files_photo_id_array":[{"photo_id":"1331659140","filename":"file5"},{"photo_id":"1331659128","filename":"file2"},{"photo_id":"1331659137","filename":"file4"},{"photo_id":"1331659120","filename":"file1"},{"photo_id":"1331659102","filename":"file0"},{"photo_id":"1331659134","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331659120":["hashtag1","hashtag2"]},{"1331659102":["hashtag1","hashtag2"]},{"1331659137":["hashtag1","hashtag2"]},{"1331659140":["hashtag1","hashtag2"]},{"1331659134":["hashtag1","hashtag2"]},{"1331659128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331659120, 1331659102, 1331659137, 1331659140, 1331659134, 1331659128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.117345094680786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:02:33.005003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/00/image_26012025_12_01_07_10342.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_16_9325.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_26_10330.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_36_9423.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_46_10430.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_01_07_10342.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_16_9325.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_26_10330.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_36_9423.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_46_10430.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_57_10391.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5533640384674072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:02:42.987514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/00/image_26012025_12_01_07_10342.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_16_9325.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_26_10330.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_36_9423.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_46_10430.jpg', '/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_57_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/00/image_26012025_12_01_07_10342.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_16_9325.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_26_10330.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_36_9423.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_46_10430.jpg
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_01_57_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331660129","1331659618","1331659612","1331659572","1331660142","1331659798"],"photo_ids_order":["1331659572","1331659612","1331659618","1331659798","1331660129","1331660142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f31d48d2966403b383aac969f233985.jpg","text":"TemporaryFile(/tmp/multipartBody1252653801966425682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_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/26/41f8bb31c8ccfb416c03f6a5c327831a.jpg","text":"TemporaryFile(/tmp/multipartBody8530463933080871919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_26_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/26/ccf5ea204abdaca98c19a43b0d8ff40f.jpg","text":"TemporaryFile(/tmp/multipartBody1243477881983686787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_16_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b304d9b7c19f258ffb7a478e61db0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody74292915364159868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_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/26/38d057ce18e82cc6c3fb1793199fc6c9.jpg","text":"TemporaryFile(/tmp/multipartBody4487222905976558562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_57_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4af06f94577075f1b6f4bdec4f062c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4707204883144592501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889423902,"filename":"image_26012025_12_01_36_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331659618","file1":"1331659612","file0":"1331659572","file4":"1331660129","file5":"1331660142","file3":"1331659798"},"map_files_photo_id_array":[{"photo_id":"1331660142","filename":"file5"},{"photo_id":"1331659618","filename":"file2"},{"photo_id":"1331660129","filename":"file4"},{"photo_id":"1331659612","filename":"file1"},{"photo_id":"1331659572","filename":"file0"},{"photo_id":"1331659798","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331660129":["hashtag1","hashtag2"]},{"1331659618":["hashtag1","hashtag2"]},{"1331659612":["hashtag1","hashtag2"]},{"1331659572":["hashtag1","hashtag2"]},{"1331660142":["hashtag1","hashtag2"]},{"1331659798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331660129, 1331659618, 1331659612, 1331659572, 1331660142, 1331659798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.62211775779724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:03:32.297867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/01/image_26012025_12_02_06_9380.jpg', '/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_16_10379.jpg', '/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_26_9422.jpg', '/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_36_10406.jpg', '/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_47_10374.jpg', '/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_56_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/01/image_26012025_12_02_06_9380.jpg
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_16_10379.jpg
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_26_9422.jpg
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_36_10406.jpg
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_47_10374.jpg
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_02_56_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331660299","1331660941","1331660592","1331661156","1331660328","1331660276"],"photo_ids_order":["1331660276","1331660299","1331660328","1331660592","1331660941","1331661156"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2bd78ee000a26e02a1f37ea9a2689044.jpg","text":"TemporaryFile(/tmp/multipartBody9009664082719206234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/962b46b31dcef7fcd8ef173312e936a2.jpg","text":"TemporaryFile(/tmp/multipartBody2452375803934439612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_47_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3663bfd15af1124e52329f5c46a10317.jpg","text":"TemporaryFile(/tmp/multipartBody7337243967950559872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_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/26/a37e9d99ef4c963845621c9208cc5f64.jpg","text":"TemporaryFile(/tmp/multipartBody2770276916170290383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_56_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/26/a6aceb667851a57f661273a8e37a625b.jpg","text":"TemporaryFile(/tmp/multipartBody8453553016702157638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70706c0d1bda42f65b5bc4b3571719e6.jpg","text":"TemporaryFile(/tmp/multipartBody3341768007301127426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889473209,"filename":"image_26012025_12_02_06_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331660328","file1":"1331660299","file0":"1331660276","file4":"1331660941","file5":"1331661156","file3":"1331660592"},"map_files_photo_id_array":[{"photo_id":"1331661156","filename":"file5"},{"photo_id":"1331660328","filename":"file2"},{"photo_id":"1331660941","filename":"file4"},{"photo_id":"1331660299","filename":"file1"},{"photo_id":"1331660276","filename":"file0"},{"photo_id":"1331660592","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331660299":["hashtag1","hashtag2"]},{"1331660941":["hashtag1","hashtag2"]},{"1331660592":["hashtag1","hashtag2"]},{"1331661156":["hashtag1","hashtag2"]},{"1331660328":["hashtag1","hashtag2"]},{"1331660276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331660299, 1331660941, 1331660592, 1331661156, 1331660328, 1331660276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.280014991760254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:04:32.423102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/02/image_26012025_12_03_06_10336.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_17_10403.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_26_9330.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_36_10341.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_46_9423.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_56_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_03_06_10336.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_17_10403.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_26_9330.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_36_10341.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_46_9423.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_56_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.5141844749450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:04:42.439272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/02/image_26012025_12_03_06_10336.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_17_10403.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_26_9330.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_36_10341.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_46_9423.jpg', '/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_56_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/02/image_26012025_12_03_06_10336.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_17_10403.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_26_9330.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_36_10341.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_46_9423.jpg
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_03_56_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":["1331661490","1331661487","1331661448","1331661492","1331661434","1331661493"],"photo_ids_order":["1331661434","1331661448","1331661487","1331661490","1331661492","1331661493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2530812bbb9fc1e7498a9f9f9c00a913.jpg","text":"TemporaryFile(/tmp/multipartBody2411260576372205614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_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/26/698cf10bfc202beec670405043a56374.jpg","text":"TemporaryFile(/tmp/multipartBody8710835103082194970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bc23f1cbbab6b2152b5ba23ccdc10da9.jpg","text":"TemporaryFile(/tmp/multipartBody80095860949484451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/edfb7091c80dafab888b6531245da30e.jpg","text":"TemporaryFile(/tmp/multipartBody8664658504107202766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_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/26/3a1519e1e44f65c81f49ee051f096911.jpg","text":"TemporaryFile(/tmp/multipartBody4369422893407130921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1de6b3b2f8f494608c2a6a5e4c0ea21.jpg","text":"TemporaryFile(/tmp/multipartBody2579557718848859854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889543384,"filename":"image_26012025_12_03_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661487","file1":"1331661448","file0":"1331661434","file4":"1331661492","file5":"1331661493","file3":"1331661490"},"map_files_photo_id_array":[{"photo_id":"1331661493","filename":"file5"},{"photo_id":"1331661487","filename":"file2"},{"photo_id":"1331661492","filename":"file4"},{"photo_id":"1331661448","filename":"file1"},{"photo_id":"1331661434","filename":"file0"},{"photo_id":"1331661490","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661490":["hashtag1","hashtag2"]},{"1331661487":["hashtag1","hashtag2"]},{"1331661448":["hashtag1","hashtag2"]},{"1331661492":["hashtag1","hashtag2"]},{"1331661434":["hashtag1","hashtag2"]},{"1331661493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661490, 1331661487, 1331661448, 1331661492, 1331661434, 1331661493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84675455093384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:05:32.692447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/03/image_26012025_12_04_07_10399.jpg', '/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_16_9392.jpg', '/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_26_10347.jpg', '/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_37_10404.jpg', '/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_46_9355.jpg', '/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/03/image_26012025_12_04_07_10399.jpg
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_16_9392.jpg
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_26_10347.jpg
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_37_10404.jpg
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_46_9355.jpg
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_04_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331661499","1331661502","1331661505","1331661510","1331661512","1331661506"],"photo_ids_order":["1331661499","1331661502","1331661505","1331661506","1331661510","1331661512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb4ac2046720a52937d037d948ada79e.jpg","text":"TemporaryFile(/tmp/multipartBody4653193759231361954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_07_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/26/0bdacabbba6d1d56182fd117eaf6fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody1422236848066347281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/51ac9d01fe59941e00d220ef34384369.jpg","text":"TemporaryFile(/tmp/multipartBody4397352957731505100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_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/26/eba561955723f8dd2451a77f637370bc.jpg","text":"TemporaryFile(/tmp/multipartBody3853713948855455312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_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/26/7e1ed7e3fa73f216d69120ab91787a23.jpg","text":"TemporaryFile(/tmp/multipartBody70077065090667257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_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/26/c47eb7e973280cf13a008a6eecdc40e2.jpg","text":"TemporaryFile(/tmp/multipartBody8323511225297667973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889593611,"filename":"image_26012025_12_04_37_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661505","file1":"1331661502","file0":"1331661499","file4":"1331661510","file5":"1331661512","file3":"1331661506"},"map_files_photo_id_array":[{"photo_id":"1331661512","filename":"file5"},{"photo_id":"1331661505","filename":"file2"},{"photo_id":"1331661510","filename":"file4"},{"photo_id":"1331661502","filename":"file1"},{"photo_id":"1331661499","filename":"file0"},{"photo_id":"1331661506","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661499":["hashtag1","hashtag2"]},{"1331661502":["hashtag1","hashtag2"]},{"1331661505":["hashtag1","hashtag2"]},{"1331661510":["hashtag1","hashtag2"]},{"1331661512":["hashtag1","hashtag2"]},{"1331661506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661499, 1331661502, 1331661505, 1331661510, 1331661512, 1331661506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29664754867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:06:33.014082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/04/image_26012025_12_05_06_9383.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_16_10343.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_27_10476.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_36_9390.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_46_10409.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_56_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_05_06_9383.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_16_10343.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_27_10476.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_36_9390.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_46_10409.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_56_9343.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5486598014831543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:06:42.930516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/04/image_26012025_12_05_06_9383.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_16_10343.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_27_10476.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_36_9390.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_46_10409.jpg', '/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_56_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/04/image_26012025_12_05_06_9383.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_16_10343.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_27_10476.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_36_9390.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_46_10409.jpg
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_05_56_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":["1331661538","1331661543","1331661546","1331661534","1331661545","1331661548"],"photo_ids_order":["1331661534","1331661538","1331661543","1331661545","1331661546","1331661548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/948ad65f39b14391fc626bf9d73cf3c4.jpg","text":"TemporaryFile(/tmp/multipartBody417162409477198116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_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/26/70470ddd4b8bd0673997758ba038ed82.jpg","text":"TemporaryFile(/tmp/multipartBody2567714917682864611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_27_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/26/ddd964545d39c2b5acc096494b2f4b58.jpg","text":"TemporaryFile(/tmp/multipartBody6608419750461788922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04f78316276dcd1ba2f69de1cb5c1ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1050659039394000893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_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/26/aabcdcab566c08aefff07fa36b5e9e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5874602983533706576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_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/26/f7454d44fba52d8159ab9d4cd23355e0.jpg","text":"TemporaryFile(/tmp/multipartBody5121550621193482654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889663837,"filename":"image_26012025_12_05_56_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661543","file1":"1331661538","file0":"1331661534","file4":"1331661546","file5":"1331661548","file3":"1331661545"},"map_files_photo_id_array":[{"photo_id":"1331661548","filename":"file5"},{"photo_id":"1331661543","filename":"file2"},{"photo_id":"1331661546","filename":"file4"},{"photo_id":"1331661538","filename":"file1"},{"photo_id":"1331661534","filename":"file0"},{"photo_id":"1331661545","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661538":["hashtag1","hashtag2"]},{"1331661543":["hashtag1","hashtag2"]},{"1331661546":["hashtag1","hashtag2"]},{"1331661534":["hashtag1","hashtag2"]},{"1331661545":["hashtag1","hashtag2"]},{"1331661548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661538, 1331661543, 1331661546, 1331661534, 1331661545, 1331661548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81682515144348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:07:32.204521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/05/image_26012025_12_06_06_10329.jpg', '/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_16_10325.jpg', '/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_26_9406.jpg', '/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_36_10350.jpg', '/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_47_10391.jpg', '/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_56_9410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/05/image_26012025_12_06_06_10329.jpg
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_16_10325.jpg
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_26_9406.jpg
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_36_10350.jpg
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_47_10391.jpg
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_06_56_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":["1331661610","1331661613","1331661607","1331661604","1331661614","1331661592"],"photo_ids_order":["1331661592","1331661604","1331661607","1331661610","1331661613","1331661614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70d0f4b4fb5936e00acdb32aa33aa5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2675142455854694873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_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/26/f5399efd2a164148fc16919266a4e36e.jpg","text":"TemporaryFile(/tmp/multipartBody8261724971641374531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_47_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/26/1de57659425cd7d9a03398b34a002936.jpg","text":"TemporaryFile(/tmp/multipartBody6430630302648904781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0b97d9119dc0f77d51728125e0e5133b.jpg","text":"TemporaryFile(/tmp/multipartBody3746595021134183909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_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/26/7bdcf397962a467a2fcc5da6ecdda214.jpg","text":"TemporaryFile(/tmp/multipartBody6394734053941380140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_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/26/8a835f2915699e3ce0f6bfb7018d20dc.jpg","text":"TemporaryFile(/tmp/multipartBody1722332264910190490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889713154,"filename":"image_26012025_12_06_06_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661607","file1":"1331661604","file0":"1331661592","file4":"1331661613","file5":"1331661614","file3":"1331661610"},"map_files_photo_id_array":[{"photo_id":"1331661614","filename":"file5"},{"photo_id":"1331661607","filename":"file2"},{"photo_id":"1331661613","filename":"file4"},{"photo_id":"1331661604","filename":"file1"},{"photo_id":"1331661592","filename":"file0"},{"photo_id":"1331661610","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661610":["hashtag1","hashtag2"]},{"1331661613":["hashtag1","hashtag2"]},{"1331661607":["hashtag1","hashtag2"]},{"1331661604":["hashtag1","hashtag2"]},{"1331661614":["hashtag1","hashtag2"]},{"1331661592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661610, 1331661613, 1331661607, 1331661604, 1331661614, 1331661592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61273765563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:08:32.399891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/06/image_26012025_12_07_06_10373.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_17_10358.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_26_9348.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_36_10357.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_46_9422.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_07_06_10373.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_17_10358.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_26_9348.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_36_10357.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_46_9422.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_56_10347.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5264108180999756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:08:42.453239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/06/image_26012025_12_07_06_10373.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_17_10358.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_26_9348.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_36_10357.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_46_9422.jpg', '/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/06/image_26012025_12_07_06_10373.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_17_10358.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_26_9348.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_36_10357.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_46_9422.jpg
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_07_56_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331661661","1331661658","1331661652","1331661646","1331661663","1331661665"],"photo_ids_order":["1331661646","1331661652","1331661658","1331661661","1331661663","1331661665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/890a62cd2b6a086321629eab89313ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5444015022201705032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2162ee030cb4e162db0194571b8cb53.jpg","text":"TemporaryFile(/tmp/multipartBody6801474351965359128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_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/26/aa2badf8880dd1616098ae16a220e365.jpg","text":"TemporaryFile(/tmp/multipartBody8203709544902711240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_17_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d83e20f20c1e45a7a353445e9dc52528.jpg","text":"TemporaryFile(/tmp/multipartBody4233295494650570633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_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/26/78271cf4551f00d6c32f9f0614c0b146.jpg","text":"TemporaryFile(/tmp/multipartBody8571946979612510492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_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/26/f056473af7e9ba66d4f1d54ec10ac8ad.jpg","text":"TemporaryFile(/tmp/multipartBody5192073332536994443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889783369,"filename":"image_26012025_12_07_56_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661658","file1":"1331661652","file0":"1331661646","file4":"1331661663","file5":"1331661665","file3":"1331661661"},"map_files_photo_id_array":[{"photo_id":"1331661665","filename":"file5"},{"photo_id":"1331661658","filename":"file2"},{"photo_id":"1331661663","filename":"file4"},{"photo_id":"1331661652","filename":"file1"},{"photo_id":"1331661646","filename":"file0"},{"photo_id":"1331661661","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661661":["hashtag1","hashtag2"]},{"1331661658":["hashtag1","hashtag2"]},{"1331661652":["hashtag1","hashtag2"]},{"1331661646":["hashtag1","hashtag2"]},{"1331661663":["hashtag1","hashtag2"]},{"1331661665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661661, 1331661658, 1331661652, 1331661646, 1331661663, 1331661665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72804117202759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:09:32.710990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/07/image_26012025_12_08_07_10430.jpg', '/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_16_9321.jpg', '/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_26_10358.jpg', '/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_37_10337.jpg', '/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_46_9351.jpg', '/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_56_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/07/image_26012025_12_08_07_10430.jpg
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_16_9321.jpg
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_26_10358.jpg
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_37_10337.jpg
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_46_9351.jpg
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_08_56_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":["1331661702","1331661705","1331661695","1331661708","1331661698","1331661691"],"photo_ids_order":["1331661691","1331661695","1331661698","1331661702","1331661705","1331661708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccc0f72f445b80e4f83d5f10e84620fe.jpg","text":"TemporaryFile(/tmp/multipartBody2981575508014208530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b8aae32e44fc2277ed6018631b9846e.jpg","text":"TemporaryFile(/tmp/multipartBody8409930172939645048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/679441d965fc2c10f7384036be93bd4f.jpg","text":"TemporaryFile(/tmp/multipartBody5067581324286303205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27fbe15e8c92e3ab2ae7534bfdfe9add.jpg","text":"TemporaryFile(/tmp/multipartBody6203992136206788520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_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/26/e709c7720c037f7b028ba1b6e4baa730.jpg","text":"TemporaryFile(/tmp/multipartBody2492804287883305523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_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/26/323accff0fbf0720f7c133140dcabe0a.jpg","text":"TemporaryFile(/tmp/multipartBody6104106558198758055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889833643,"filename":"image_26012025_12_08_07_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661698","file1":"1331661695","file0":"1331661691","file4":"1331661705","file5":"1331661708","file3":"1331661702"},"map_files_photo_id_array":[{"photo_id":"1331661708","filename":"file5"},{"photo_id":"1331661698","filename":"file2"},{"photo_id":"1331661705","filename":"file4"},{"photo_id":"1331661695","filename":"file1"},{"photo_id":"1331661691","filename":"file0"},{"photo_id":"1331661702","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661702":["hashtag1","hashtag2"]},{"1331661705":["hashtag1","hashtag2"]},{"1331661695":["hashtag1","hashtag2"]},{"1331661708":["hashtag1","hashtag2"]},{"1331661698":["hashtag1","hashtag2"]},{"1331661691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661702, 1331661705, 1331661695, 1331661708, 1331661698, 1331661691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.061026096343994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:10:32.915327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/08/image_26012025_12_09_06_9358.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_16_10400.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_27_10413.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_36_9354.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_46_10346.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_57_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_09_06_9358.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_16_10400.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_27_10413.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_36_9354.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_46_10346.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_57_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.5219488143920898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:10:42.857412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/08/image_26012025_12_09_06_9358.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_16_10400.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_27_10413.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_36_9354.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_46_10346.jpg', '/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_57_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/08/image_26012025_12_09_06_9358.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_16_10400.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_27_10413.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_36_9354.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_46_10346.jpg
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_09_57_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":["1331661781","1331661786","1331661789","1331661788","1331661791","1331661764"],"photo_ids_order":["1331661764","1331661781","1331661786","1331661788","1331661789","1331661791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2ccd139cef47afa5164c6170310f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2871274298544024221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fc2aa2b208df7d21b16224cdb7ca6456.jpg","text":"TemporaryFile(/tmp/multipartBody2163913926197641100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b7975183851aebbfefa9cb4471aae909.jpg","text":"TemporaryFile(/tmp/multipartBody8789346379811753504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_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/26/760e36cf28351a7bf2c73ac5c4ef099f.jpg","text":"TemporaryFile(/tmp/multipartBody8402535924356810963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_36_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cad491dfa2b921ef063c50160771210c.jpg","text":"TemporaryFile(/tmp/multipartBody6611717305091894311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_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/26/59bb56da2f2dfe8a0c9146f94b732e28.jpg","text":"TemporaryFile(/tmp/multipartBody8624561158369762119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889903793,"filename":"image_26012025_12_09_06_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661786","file1":"1331661781","file0":"1331661764","file4":"1331661789","file5":"1331661791","file3":"1331661788"},"map_files_photo_id_array":[{"photo_id":"1331661791","filename":"file5"},{"photo_id":"1331661786","filename":"file2"},{"photo_id":"1331661789","filename":"file4"},{"photo_id":"1331661781","filename":"file1"},{"photo_id":"1331661764","filename":"file0"},{"photo_id":"1331661788","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661781":["hashtag1","hashtag2"]},{"1331661786":["hashtag1","hashtag2"]},{"1331661789":["hashtag1","hashtag2"]},{"1331661788":["hashtag1","hashtag2"]},{"1331661791":["hashtag1","hashtag2"]},{"1331661764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661781, 1331661786, 1331661789, 1331661788, 1331661791, 1331661764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8272442817688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:11:33.151399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/09/image_26012025_12_10_06_9350.jpg', '/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_16_10403.jpg', '/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_26_9349.jpg', '/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_36_10327.jpg', '/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_46_10342.jpg', '/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_56_9446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/09/image_26012025_12_10_06_9350.jpg
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_16_10403.jpg
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_26_9349.jpg
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_36_10327.jpg
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_46_10342.jpg
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_10_56_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331661823","1331661817","1331661820","1331661824","1331661812","1331661806"],"photo_ids_order":["1331661806","1331661812","1331661817","1331661820","1331661823","1331661824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22b766f42e135470aa74d08ef77d160f.jpg","text":"TemporaryFile(/tmp/multipartBody2278612066671471668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_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/26/057e2f1c3860550406cbc089f4e53248.jpg","text":"TemporaryFile(/tmp/multipartBody3961295990953911467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_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/26/9d01a221d22e1daede824c3e213163a3.jpg","text":"TemporaryFile(/tmp/multipartBody6658388239442077567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f77e829e36eede544d195db40fbb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody4217611098827309360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_56_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea6ae43c1f415a36d64c27f05b9a94a1.jpg","text":"TemporaryFile(/tmp/multipartBody1808234272615211991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_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/26/1421a279392f23a2c15085987f1a4824.jpg","text":"TemporaryFile(/tmp/multipartBody6079131450820383601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737889954090,"filename":"image_26012025_12_10_06_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661817","file1":"1331661812","file0":"1331661806","file4":"1331661823","file5":"1331661824","file3":"1331661820"},"map_files_photo_id_array":[{"photo_id":"1331661824","filename":"file5"},{"photo_id":"1331661817","filename":"file2"},{"photo_id":"1331661823","filename":"file4"},{"photo_id":"1331661812","filename":"file1"},{"photo_id":"1331661806","filename":"file0"},{"photo_id":"1331661820","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661823":["hashtag1","hashtag2"]},{"1331661817":["hashtag1","hashtag2"]},{"1331661820":["hashtag1","hashtag2"]},{"1331661824":["hashtag1","hashtag2"]},{"1331661812":["hashtag1","hashtag2"]},{"1331661806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661823, 1331661817, 1331661820, 1331661824, 1331661812, 1331661806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.448193311691284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:12:32.448147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/10/image_26012025_12_11_06_10409.jpg', '/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_26_9425.jpg', '/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_36_10356.jpg', '/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_46_9380.jpg', '/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_56_10352.jpg', '/home/pi/Desktop/images/26012025/12/11/image_26012025_12_12_07_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/10/image_26012025_12_11_06_10409.jpg
/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_26_9425.jpg
/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_36_10356.jpg
/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_46_9380.jpg
/home/pi/Desktop/images/26012025/12/11/image_26012025_12_11_56_10352.jpg
/home/pi/Desktop/images/26012025/12/11/image_26012025_12_12_07_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":["1331661847","1331661870","1331661861","1331661872","1331661866","1331661854"],"photo_ids_order":["1331661847","1331661854","1331661861","1331661866","1331661870","1331661872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2239c14470982e17773dacc0b89e743e.jpg","text":"TemporaryFile(/tmp/multipartBody7292111389404960705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_11_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/26/c246497ecfc848b79e93d9f739a20635.jpg","text":"TemporaryFile(/tmp/multipartBody5050688301256953536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_11_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/26/d617c78e828c518eef8961999d2469b5.jpg","text":"TemporaryFile(/tmp/multipartBody2604293484648154752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_11_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1934d244a4571eec70411c695ef4af14.jpg","text":"TemporaryFile(/tmp/multipartBody8225076068814555997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_12_07_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/26/3d656cb5e98f11b34982855145154558.jpg","text":"TemporaryFile(/tmp/multipartBody3258032497648245608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_11_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4fd6b10933713b16de9711eceefd3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2734290913223226094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890013355,"filename":"image_26012025_12_11_26_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661861","file1":"1331661854","file0":"1331661847","file4":"1331661870","file5":"1331661872","file3":"1331661866"},"map_files_photo_id_array":[{"photo_id":"1331661872","filename":"file5"},{"photo_id":"1331661861","filename":"file2"},{"photo_id":"1331661870","filename":"file4"},{"photo_id":"1331661854","filename":"file1"},{"photo_id":"1331661847","filename":"file0"},{"photo_id":"1331661866","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661847":["hashtag1","hashtag2"]},{"1331661870":["hashtag1","hashtag2"]},{"1331661861":["hashtag1","hashtag2"]},{"1331661872":["hashtag1","hashtag2"]},{"1331661866":["hashtag1","hashtag2"]},{"1331661854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661847, 1331661870, 1331661861, 1331661872, 1331661866, 1331661854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.165544271469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:13:32.748523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_16_9337.jpg', '/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_26_10350.jpg', '/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_37_10458.jpg', '/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_46_9355.jpg', '/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_56_10342.jpg', '/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_16_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_16_9337.jpg
/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_26_10350.jpg
/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_37_10458.jpg
/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_46_9355.jpg
/home/pi/Desktop/images/26012025/12/12/image_26012025_12_12_56_10342.jpg
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_16_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331661925","1331661921","1331661924","1331661906","1331661911","1331661917"],"photo_ids_order":["1331661906","1331661911","1331661917","1331661921","1331661924","1331661925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93167c07d17f3ffeee500a660eff7c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1615203305374814006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_13_16_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0af2276f8f8f7f2fd3423f8a7fe0a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8461417043921436685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_12_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/26/571ce33a0f53cb79c43bf87a810cb9a7.jpg","text":"TemporaryFile(/tmp/multipartBody8575268996663243909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_12_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/26/b79b077aca52bb44cf87b0e35efa5b3b.jpg","text":"TemporaryFile(/tmp/multipartBody5115607600586727969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_12_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4a5089581ab5431d4d7e2931dbdf13c.jpg","text":"TemporaryFile(/tmp/multipartBody7978729724981061913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_12_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/26/a7b5229efa2632168dd36aa4f26fd688.jpg","text":"TemporaryFile(/tmp/multipartBody8803814069092924702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890073675,"filename":"image_26012025_12_12_37_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661917","file1":"1331661911","file0":"1331661906","file4":"1331661924","file5":"1331661925","file3":"1331661921"},"map_files_photo_id_array":[{"photo_id":"1331661925","filename":"file5"},{"photo_id":"1331661917","filename":"file2"},{"photo_id":"1331661924","filename":"file4"},{"photo_id":"1331661911","filename":"file1"},{"photo_id":"1331661906","filename":"file0"},{"photo_id":"1331661921","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661925":["hashtag1","hashtag2"]},{"1331661921":["hashtag1","hashtag2"]},{"1331661924":["hashtag1","hashtag2"]},{"1331661906":["hashtag1","hashtag2"]},{"1331661911":["hashtag1","hashtag2"]},{"1331661917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661925, 1331661921, 1331661924, 1331661906, 1331661911, 1331661917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33155131340027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:14:32.824686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_27_10405.jpg', '/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_36_9323.jpg', '/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_46_10346.jpg', '/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_57_10347.jpg', '/home/pi/Desktop/images/26012025/12/13/image_26012025_12_14_06_9394.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_17_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_27_10405.jpg
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_36_9323.jpg
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_46_10346.jpg
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_13_57_10347.jpg
/home/pi/Desktop/images/26012025/12/13/image_26012025_12_14_06_9394.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_17_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":["1331661937","1331661966","1331661933","1331661942","1331661971","1331661970"],"photo_ids_order":["1331661933","1331661937","1331661942","1331661966","1331661970","1331661971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c20ea8cb1d206f23bfa942d8a7a8eb1d.jpg","text":"TemporaryFile(/tmp/multipartBody1042359207028689225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_13_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bbf7e2d92eb5e8b34e84548e366fac4.jpg","text":"TemporaryFile(/tmp/multipartBody5894835574761713160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_13_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/26/746bad6d325bc71d41b9a2953a10e833.jpg","text":"TemporaryFile(/tmp/multipartBody8652164393570102027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_13_27_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/26/1123d09e1a9ea3815b90045054c7bf16.jpg","text":"TemporaryFile(/tmp/multipartBody8848692082033072838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_13_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/26/82d32ebcbeec82b8877e2259bdafac67.jpg","text":"TemporaryFile(/tmp/multipartBody4904256565706467028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_14_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/155600c206d03b224dcae8002fcdc52e.jpg","text":"TemporaryFile(/tmp/multipartBody4763074013123672920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890133739,"filename":"image_26012025_12_14_06_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331661942","file1":"1331661937","file0":"1331661933","file4":"1331661970","file5":"1331661971","file3":"1331661966"},"map_files_photo_id_array":[{"photo_id":"1331661971","filename":"file5"},{"photo_id":"1331661942","filename":"file2"},{"photo_id":"1331661970","filename":"file4"},{"photo_id":"1331661937","filename":"file1"},{"photo_id":"1331661933","filename":"file0"},{"photo_id":"1331661966","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331661937":["hashtag1","hashtag2"]},{"1331661966":["hashtag1","hashtag2"]},{"1331661933":["hashtag1","hashtag2"]},{"1331661942":["hashtag1","hashtag2"]},{"1331661971":["hashtag1","hashtag2"]},{"1331661970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331661937, 1331661966, 1331661933, 1331661942, 1331661971, 1331661970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.417365312576294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:15:33.087440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_36_10329.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_47_10482.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_56_9336.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_15_06_10347.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_17_10347.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_36_10329.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_47_10482.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_56_9336.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_15_06_10347.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_17_10347.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_26_9342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5214040279388428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:15:44.345788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_36_10329.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_47_10482.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_56_9336.jpg', '/home/pi/Desktop/images/26012025/12/14/image_26012025_12_15_06_10347.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_17_10347.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_26_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_36_10329.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_47_10482.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_14_56_9336.jpg
/home/pi/Desktop/images/26012025/12/14/image_26012025_12_15_06_10347.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_17_10347.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_26_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331662000","1331662008","1331662005","1331661995","1331662010","1331662013"],"photo_ids_order":["1331661995","1331662000","1331662005","1331662008","1331662010","1331662013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c02425c7379a55318e35be9531e30726.jpg","text":"TemporaryFile(/tmp/multipartBody959810630985938042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_14_47_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/26/3b6c132056a1f3ff6feb482c2b0acf9f.jpg","text":"TemporaryFile(/tmp/multipartBody8647773614309295403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_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/26/9630577628d38ee8e760342f08f1d71c.jpg","text":"TemporaryFile(/tmp/multipartBody8827671226958321411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_14_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d88190798cdf84664a575820233c53a.jpg","text":"TemporaryFile(/tmp/multipartBody3636061743800053748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_14_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/26/e20ca80922bc53194ef3d8ad7059c14d.jpg","text":"TemporaryFile(/tmp/multipartBody7363942739903707994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_15_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/26/190e5b814bb4c0f8a3c48cba303ed94e.jpg","text":"TemporaryFile(/tmp/multipartBody1951111476568303786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890205270,"filename":"image_26012025_12_15_26_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331662005","file1":"1331662000","file0":"1331661995","file4":"1331662010","file5":"1331662013","file3":"1331662008"},"map_files_photo_id_array":[{"photo_id":"1331662013","filename":"file5"},{"photo_id":"1331662005","filename":"file2"},{"photo_id":"1331662010","filename":"file4"},{"photo_id":"1331662000","filename":"file1"},{"photo_id":"1331661995","filename":"file0"},{"photo_id":"1331662008","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331662000":["hashtag1","hashtag2"]},{"1331662008":["hashtag1","hashtag2"]},{"1331662005":["hashtag1","hashtag2"]},{"1331661995":["hashtag1","hashtag2"]},{"1331662010":["hashtag1","hashtag2"]},{"1331662013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331662000, 1331662008, 1331662005, 1331661995, 1331662010, 1331662013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.931883335113525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:16:32.330480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_36_10370.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_46_9421.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_56_10340.jpg', '/home/pi/Desktop/images/26012025/12/15/image_26012025_12_16_07_10498.jpg', '/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_16_9364.jpg', '/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_26_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_36_10370.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_46_9421.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_15_56_10340.jpg
/home/pi/Desktop/images/26012025/12/15/image_26012025_12_16_07_10498.jpg
/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_16_9364.jpg
/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_26_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331662207","1331662129","1331662221","1331662203","1331662061","1331662019"],"photo_ids_order":["1331662019","1331662061","1331662129","1331662203","1331662207","1331662221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/43685b1020f8ed1dd5a43b0c58a9bbee.jpg","text":"TemporaryFile(/tmp/multipartBody6924861874493664586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_16_16_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/566a3eafac54366108e5269bc2df6587.jpg","text":"TemporaryFile(/tmp/multipartBody9007364232801915887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_15_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/26/71edc71695b50809ac5d3c2b56a07b17.jpg","text":"TemporaryFile(/tmp/multipartBody7530716259165860244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_16_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/26/9954c37186fe16612e8af8bc56441f87.jpg","text":"TemporaryFile(/tmp/multipartBody5861427376142052776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_16_07_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/26/87bf6b21c3fcfa184ebe5463dd4ea203.jpg","text":"TemporaryFile(/tmp/multipartBody193332610603681216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_15_46_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c49a8b37a12e755f69e1147adcc264d9.jpg","text":"TemporaryFile(/tmp/multipartBody393993647710830299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890253258,"filename":"image_26012025_12_15_36_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331662129","file1":"1331662061","file0":"1331662019","file4":"1331662207","file5":"1331662221","file3":"1331662203"},"map_files_photo_id_array":[{"photo_id":"1331662221","filename":"file5"},{"photo_id":"1331662129","filename":"file2"},{"photo_id":"1331662207","filename":"file4"},{"photo_id":"1331662061","filename":"file1"},{"photo_id":"1331662019","filename":"file0"},{"photo_id":"1331662203","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331662207":["hashtag1","hashtag2"]},{"1331662129":["hashtag1","hashtag2"]},{"1331662221":["hashtag1","hashtag2"]},{"1331662203":["hashtag1","hashtag2"]},{"1331662061":["hashtag1","hashtag2"]},{"1331662019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331662207, 1331662129, 1331662221, 1331662203, 1331662061, 1331662019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37446308135986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:17:32.494518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_37_10338.jpg', '/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_46_9413.jpg', '/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_57_10398.jpg', '/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_16_10342.jpg', '/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_27_10446.jpg', '/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_37_10338.jpg
/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_46_9413.jpg
/home/pi/Desktop/images/26012025/12/16/image_26012025_12_16_57_10398.jpg
/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_16_10342.jpg
/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_27_10446.jpg
/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331662237","1331662797","1331662799","1331662790","1331662793","1331662555"],"photo_ids_order":["1331662237","1331662555","1331662790","1331662793","1331662797","1331662799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ffb7f867337a9e85c4fbf61676d50ad.jpg","text":"TemporaryFile(/tmp/multipartBody523166590583819584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_16_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/26/a87d0a1704b37601b64aece42db39ed4.jpg","text":"TemporaryFile(/tmp/multipartBody1774980239542016101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_17_27_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/26/2207996fd63c3b2a1eb68f763921b26d.jpg","text":"TemporaryFile(/tmp/multipartBody4933200159245658265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_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/26/094ba097d4a4083767d372740ee76ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6386420069280824929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_16_57_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/305f22cd9aa1d39bf1c9399a4faf2396.jpg","text":"TemporaryFile(/tmp/multipartBody2584828201516741338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_17_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/26/299d2c8c48381d521d4034906abbdae7.jpg","text":"TemporaryFile(/tmp/multipartBody5481164652622550689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890313423,"filename":"image_26012025_12_16_46_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331662790","file1":"1331662555","file0":"1331662237","file4":"1331662797","file5":"1331662799","file3":"1331662793"},"map_files_photo_id_array":[{"photo_id":"1331662799","filename":"file5"},{"photo_id":"1331662790","filename":"file2"},{"photo_id":"1331662797","filename":"file4"},{"photo_id":"1331662555","filename":"file1"},{"photo_id":"1331662237","filename":"file0"},{"photo_id":"1331662793","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331662237":["hashtag1","hashtag2"]},{"1331662797":["hashtag1","hashtag2"]},{"1331662799":["hashtag1","hashtag2"]},{"1331662790":["hashtag1","hashtag2"]},{"1331662793":["hashtag1","hashtag2"]},{"1331662555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331662237, 1331662797, 1331662799, 1331662790, 1331662793, 1331662555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67238664627075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:18:32.762713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_46_10426.jpg', '/home/pi/Desktop/images/26012025/12/17/image_26012025_12_18_06_10339.jpg', '/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_17_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/17/image_26012025_12_17_46_10426.jpg
/home/pi/Desktop/images/26012025/12/17/image_26012025_12_18_06_10339.jpg
/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_17_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":["1331663094","1331663144","1331663129"],"photo_ids_order":["1331663094","1331663129","1331663144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c4ba2795a397628f6676d44de82a541.jpg","text":"TemporaryFile(/tmp/multipartBody340612068764254259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890373643,"filename":"image_26012025_12_17_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/26/5e445ab80a69256a142bf332ec19e6ba.jpg","text":"TemporaryFile(/tmp/multipartBody8930715851427015069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890373643,"filename":"image_26012025_12_18_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/26/0d93460c8ac225e70ed5971cbbd83e29.jpg","text":"TemporaryFile(/tmp/multipartBody1090943053703726780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890373643,"filename":"image_26012025_12_18_06_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663144","file1":"1331663129","file0":"1331663094"},"map_files_photo_id_array":[{"photo_id":"1331663144","filename":"file2"},{"photo_id":"1331663129","filename":"file1"},{"photo_id":"1331663094","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663094":["hashtag1","hashtag2"]},{"1331663144":["hashtag1","hashtag2"]},{"1331663129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663094, 1331663144, 1331663129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.396698474884033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:19:04.631211
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_45_10451.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_55_10367.jpg', '/home/pi/Desktop/images/23012025/21/44/image_23012025_21_45_04_9354.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_15_10334.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_25_10367.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_34_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_45_10451.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_44_55_10367.jpg
/home/pi/Desktop/images/23012025/21/44/image_23012025_21_45_04_9354.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_15_10334.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_25_10367.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_34_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":["1331663292","1331663211","1331663297","1331663208","1331663251","1331663206"],"photo_ids_order":["1331663206","1331663208","1331663211","1331663251","1331663292","1331663297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c01b706b2bc87e4171c1cd94390aef50.jpg","text":"TemporaryFile(/tmp/multipartBody2788272769827409930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_45_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/26/ecd693e6417c2cf5dab00f30580a4bf3.jpg","text":"TemporaryFile(/tmp/multipartBody3036122452308655905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_45_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/26/b81073625ac32e1f7c2d91dca0e03646.jpg","text":"TemporaryFile(/tmp/multipartBody8512201547124575149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_45_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/26/8c71fa739996af94fd299a2c81dda090.jpg","text":"TemporaryFile(/tmp/multipartBody6253761966610947157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_44_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/26/c6eff407b71f93f69a825ef9fb80dc12.jpg","text":"TemporaryFile(/tmp/multipartBody6201109566048773217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_45_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/26/8e3fe98f1292ac9d3b18ab8640083e72.jpg","text":"TemporaryFile(/tmp/multipartBody787899510254457872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890406532,"filename":"image_23012025_21_44_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663211","file1":"1331663208","file0":"1331663206","file4":"1331663292","file5":"1331663297","file3":"1331663251"},"map_files_photo_id_array":[{"photo_id":"1331663297","filename":"file5"},{"photo_id":"1331663211","filename":"file2"},{"photo_id":"1331663292","filename":"file4"},{"photo_id":"1331663208","filename":"file1"},{"photo_id":"1331663206","filename":"file0"},{"photo_id":"1331663251","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331663292":["hashtag1","hashtag2"]},{"1331663211":["hashtag1","hashtag2"]},{"1331663297":["hashtag1","hashtag2"]},{"1331663208":["hashtag1","hashtag2"]},{"1331663251":["hashtag1","hashtag2"]},{"1331663206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331663292, 1331663211, 1331663297, 1331663208, 1331663251, 1331663206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.083139181137085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 12:19:52.882300
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_45_10372.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_54_9480.jpg', '/home/pi/Desktop/images/23012025/21/45/image_23012025_21_46_05_10352.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_15_10392.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_24_9362.jpg', '/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_35_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_45_10372.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_45_54_9480.jpg
/home/pi/Desktop/images/23012025/21/45/image_23012025_21_46_05_10352.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_15_10392.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_24_9362.jpg
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_46_35_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331663316","1331663319","1331663310","1331663307","1331663324","1331663312"],"photo_ids_order":["1331663307","1331663310","1331663312","1331663316","1331663319","1331663324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0520ca50204153530f289e39e4043ae.jpg","text":"TemporaryFile(/tmp/multipartBody3976595001539907170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_46_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/26/cda5cb77ba7ca823374c9ad68de1923b.jpg","text":"TemporaryFile(/tmp/multipartBody7448052821087509126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_46_24_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/26/a47bb19d85cb1fa9cf64513c52a01943.jpg","text":"TemporaryFile(/tmp/multipartBody1564196422389327658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_45_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/26/2f6ea928cb065327100fa2bb8c98ed09.jpg","text":"TemporaryFile(/tmp/multipartBody2968739775558351779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_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/26/386f5455ca175f5c715fd31ec7f8e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8442063638518529775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_46_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9eb93917092b4357db4d563858eb8c8a.jpg","text":"TemporaryFile(/tmp/multipartBody937036209635239687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890455225,"filename":"image_23012025_21_46_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663312","file1":"1331663310","file0":"1331663307","file4":"1331663319","file5":"1331663324","file3":"1331663316"},"map_files_photo_id_array":[{"photo_id":"1331663324","filename":"file5"},{"photo_id":"1331663312","filename":"file2"},{"photo_id":"1331663319","filename":"file4"},{"photo_id":"1331663310","filename":"file1"},{"photo_id":"1331663307","filename":"file0"},{"photo_id":"1331663316","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331663316":["hashtag1","hashtag2"]},{"1331663319":["hashtag1","hashtag2"]},{"1331663310":["hashtag1","hashtag2"]},{"1331663307":["hashtag1","hashtag2"]},{"1331663324":["hashtag1","hashtag2"]},{"1331663312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331663316, 1331663319, 1331663310, 1331663307, 1331663324, 1331663312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.90335130691528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:20:43.066218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_36_10341.jpg', '/home/pi/Desktop/images/26012025/12/18/image_26012025_12_19_06_10324.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_17_10391.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_36_10338.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_47_10354.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_36_10341.jpg
/home/pi/Desktop/images/26012025/12/18/image_26012025_12_19_06_10324.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_17_10391.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_36_10338.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_47_10354.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_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.5147082805633545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 12:20:53.109877
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/46/image_23012025_21_47_05_10482.jpg', '/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_35_10348.jpg', '/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_44_9322.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_34_9338.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_45_10334.jpg', '/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_55_10475.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/46/image_23012025_21_47_05_10482.jpg
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_35_10348.jpg
/home/pi/Desktop/images/23012025/21/47/image_23012025_21_47_44_9322.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_34_9338.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_45_10334.jpg
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_48_55_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":["1331663352","1331663349","1331663342","1331663339","1331663347","1331663344"],"photo_ids_order":["1331663339","1331663342","1331663344","1331663347","1331663349","1331663352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be5a16021e4fe1d33b0a3454c68bd743.jpg","text":"TemporaryFile(/tmp/multipartBody2940720875585236518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_48_55_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/26/0609f434530d36f2c1fee1a910bb1646.jpg","text":"TemporaryFile(/tmp/multipartBody1236234413207861798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_48_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/731ed609af4275a592c7c1524f54c843.jpg","text":"TemporaryFile(/tmp/multipartBody6203294594347978436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_47_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/26/62b1678ccb3d0a543aafa789fc159a61.jpg","text":"TemporaryFile(/tmp/multipartBody3565531256689804867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_47_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/26/1fcefd9095484169dc2a8a79e7bcca2f.jpg","text":"TemporaryFile(/tmp/multipartBody2540980516359002224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_48_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/26/fd6300b6303a761751aa457ccd350fce.jpg","text":"TemporaryFile(/tmp/multipartBody653279501374385731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890515427,"filename":"image_23012025_21_47_44_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663344","file1":"1331663342","file0":"1331663339","file4":"1331663349","file5":"1331663352","file3":"1331663347"},"map_files_photo_id_array":[{"photo_id":"1331663352","filename":"file5"},{"photo_id":"1331663344","filename":"file2"},{"photo_id":"1331663349","filename":"file4"},{"photo_id":"1331663342","filename":"file1"},{"photo_id":"1331663339","filename":"file0"},{"photo_id":"1331663347","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331663352":["hashtag1","hashtag2"]},{"1331663349":["hashtag1","hashtag2"]},{"1331663342":["hashtag1","hashtag2"]},{"1331663339":["hashtag1","hashtag2"]},{"1331663347":["hashtag1","hashtag2"]},{"1331663344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331663352, 1331663349, 1331663342, 1331663339, 1331663347, 1331663344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.17985701560974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:21:42.315477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_36_10341.jpg', '/home/pi/Desktop/images/26012025/12/18/image_26012025_12_19_06_10324.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_17_10391.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_36_10338.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_47_10354.jpg', '/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_56_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/18/image_26012025_12_18_36_10341.jpg
/home/pi/Desktop/images/26012025/12/18/image_26012025_12_19_06_10324.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_17_10391.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_36_10338.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_47_10354.jpg
/home/pi/Desktop/images/26012025/12/19/image_26012025_12_19_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":["1331663372","1331663375","1331663369","1331663365","1331663389","1331663376"],"photo_ids_order":["1331663365","1331663369","1331663372","1331663375","1331663376","1331663389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5b6dc39ec9a55055412b3fd15fc9ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2232115241496245132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_19_17_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/902e14ba19d8e83a91e78f38f223f74d.jpg","text":"TemporaryFile(/tmp/multipartBody3971628041072975179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_19_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/26/55db78a8a43ccb6c15fb4780757f9b2e.jpg","text":"TemporaryFile(/tmp/multipartBody342816356063300421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_19_06_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/26/9190a35fc061785585acc133ac5ec1f5.jpg","text":"TemporaryFile(/tmp/multipartBody886423824590518852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_18_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/26/9c4929a6902431d251f551722722d6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7308741176393001571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_19_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/26/1ee37226797d2029617d9a541924a3af.jpg","text":"TemporaryFile(/tmp/multipartBody8607335855447550906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890563240,"filename":"image_26012025_12_19_47_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663372","file1":"1331663369","file0":"1331663365","file4":"1331663376","file5":"1331663389","file3":"1331663375"},"map_files_photo_id_array":[{"photo_id":"1331663389","filename":"file5"},{"photo_id":"1331663372","filename":"file2"},{"photo_id":"1331663376","filename":"file4"},{"photo_id":"1331663369","filename":"file1"},{"photo_id":"1331663365","filename":"file0"},{"photo_id":"1331663375","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663372":["hashtag1","hashtag2"]},{"1331663375":["hashtag1","hashtag2"]},{"1331663369":["hashtag1","hashtag2"]},{"1331663365":["hashtag1","hashtag2"]},{"1331663389":["hashtag1","hashtag2"]},{"1331663376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663372, 1331663375, 1331663369, 1331663365, 1331663389, 1331663376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60460138320923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:22:32.720917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_26_10353.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_37_10401.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_46_9353.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_56_10419.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_21_07_10338.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_16_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_26_10353.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_37_10401.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_46_9353.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_56_10419.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_21_07_10338.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_16_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: 1.080756664276123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:22:42.605961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_26_10353.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_37_10401.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_46_9353.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_56_10419.jpg', '/home/pi/Desktop/images/26012025/12/20/image_26012025_12_21_07_10338.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_16_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_26_10353.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_37_10401.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_46_9353.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_20_56_10419.jpg
/home/pi/Desktop/images/26012025/12/20/image_26012025_12_21_07_10338.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_16_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":["1331663430","1331663424","1331663441","1331663435","1331663438","1331663443"],"photo_ids_order":["1331663424","1331663430","1331663435","1331663438","1331663441","1331663443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e39d78b6ba7d8083eb339562b98a83be.jpg","text":"TemporaryFile(/tmp/multipartBody7982495588203474935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_20_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/26/a81802abd870a879cff83c06ee160d63.jpg","text":"TemporaryFile(/tmp/multipartBody8867023698056452291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_20_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/26/a41c6b4c94a4bf93fe60de9ca7030883.jpg","text":"TemporaryFile(/tmp/multipartBody8518754121975333981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_21_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3358485e274b4130e4285156a962a369.jpg","text":"TemporaryFile(/tmp/multipartBody2953977812415819868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_20_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa67f5a57b0739a2d7af5bfbc2120041.jpg","text":"TemporaryFile(/tmp/multipartBody5724638487183682289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_20_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/26/adf8508d6e3ab317d8a92d6c4423b1f1.jpg","text":"TemporaryFile(/tmp/multipartBody1313603203611487297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890623660,"filename":"image_26012025_12_21_16_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663435","file1":"1331663430","file0":"1331663424","file4":"1331663441","file5":"1331663443","file3":"1331663438"},"map_files_photo_id_array":[{"photo_id":"1331663443","filename":"file5"},{"photo_id":"1331663435","filename":"file2"},{"photo_id":"1331663441","filename":"file4"},{"photo_id":"1331663430","filename":"file1"},{"photo_id":"1331663424","filename":"file0"},{"photo_id":"1331663438","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663430":["hashtag1","hashtag2"]},{"1331663424":["hashtag1","hashtag2"]},{"1331663441":["hashtag1","hashtag2"]},{"1331663435":["hashtag1","hashtag2"]},{"1331663438":["hashtag1","hashtag2"]},{"1331663443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663430, 1331663424, 1331663441, 1331663435, 1331663438, 1331663443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02578902244568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:23:32.837697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_26_10408.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_36_9396.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_46_10351.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_57_10401.jpg', '/home/pi/Desktop/images/26012025/12/21/image_26012025_12_22_06_9431.jpg', '/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_16_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_26_10408.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_36_9396.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_46_10351.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_21_57_10401.jpg
/home/pi/Desktop/images/26012025/12/21/image_26012025_12_22_06_9431.jpg
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_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":["1331663472","1331663474","1331663468","1331663465","1331663459","1331663455"],"photo_ids_order":["1331663455","1331663459","1331663465","1331663468","1331663472","1331663474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/733d6c17e8bf74c7df6bd0d1188f4e71.jpg","text":"TemporaryFile(/tmp/multipartBody5905357855375818394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_22_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76baf7edf525d3d5f15bb8780a0a49f3.jpg","text":"TemporaryFile(/tmp/multipartBody6599153688435606955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_22_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2f94fa5d4ec63cd148b4f93e8a627c7.jpg","text":"TemporaryFile(/tmp/multipartBody3165219070898742431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_21_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ed5a4e01c24bf6807724f2d6fcbdf8c.jpg","text":"TemporaryFile(/tmp/multipartBody2156216476685745240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_21_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/26/629d47d0d0f428d68ff750f37635dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6596679537511083605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_21_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/26/7a0432bc2db22e35935cb2f45140f262.jpg","text":"TemporaryFile(/tmp/multipartBody5468215716503988520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890673753,"filename":"image_26012025_12_21_26_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663465","file1":"1331663459","file0":"1331663455","file4":"1331663472","file5":"1331663474","file3":"1331663468"},"map_files_photo_id_array":[{"photo_id":"1331663474","filename":"file5"},{"photo_id":"1331663465","filename":"file2"},{"photo_id":"1331663472","filename":"file4"},{"photo_id":"1331663459","filename":"file1"},{"photo_id":"1331663455","filename":"file0"},{"photo_id":"1331663468","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663472":["hashtag1","hashtag2"]},{"1331663474":["hashtag1","hashtag2"]},{"1331663468":["hashtag1","hashtag2"]},{"1331663465":["hashtag1","hashtag2"]},{"1331663459":["hashtag1","hashtag2"]},{"1331663455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663472, 1331663474, 1331663468, 1331663465, 1331663459, 1331663455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.456249713897705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:24:32.218140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_27_10442.jpg', '/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_36_9342.jpg', '/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_46_9781.jpg', '/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_56_10400.jpg', '/home/pi/Desktop/images/26012025/12/22/image_26012025_12_23_06_9867.jpg', '/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_17_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_27_10442.jpg
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_36_9342.jpg
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_46_9781.jpg
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_22_56_10400.jpg
/home/pi/Desktop/images/26012025/12/22/image_26012025_12_23_06_9867.jpg
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_17_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":["1331663492","1331663489","1331663501","1331663485","1331663500","1331663496"],"photo_ids_order":["1331663485","1331663489","1331663492","1331663496","1331663500","1331663501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c98e1584e41cd94fbe3392c190a762d4.jpg","text":"TemporaryFile(/tmp/multipartBody9144969359102894331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_22_46_9781.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b47df0f54d9a3b75ad0d2d1cd65eb3c.jpg","text":"TemporaryFile(/tmp/multipartBody9045154013560734635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_22_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70b37b1d965c84a0a8e60f1ae5aa2187.jpg","text":"TemporaryFile(/tmp/multipartBody7813460569430761294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_23_17_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b8d9b82c191ed364806ceb7bf6eb0bd.jpg","text":"TemporaryFile(/tmp/multipartBody3825995662774321498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_22_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/26/5546c88e6d37c1b0654f1edddfe30404.jpg","text":"TemporaryFile(/tmp/multipartBody8310462618065140379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_23_06_9867.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f65c99ccb529eb0b544679784e6d28f.jpg","text":"TemporaryFile(/tmp/multipartBody6970571802674372164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890733143,"filename":"image_26012025_12_22_56_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663492","file1":"1331663489","file0":"1331663485","file4":"1331663500","file5":"1331663501","file3":"1331663496"},"map_files_photo_id_array":[{"photo_id":"1331663501","filename":"file5"},{"photo_id":"1331663492","filename":"file2"},{"photo_id":"1331663500","filename":"file4"},{"photo_id":"1331663489","filename":"file1"},{"photo_id":"1331663485","filename":"file0"},{"photo_id":"1331663496","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663492":["hashtag1","hashtag2"]},{"1331663489":["hashtag1","hashtag2"]},{"1331663501":["hashtag1","hashtag2"]},{"1331663485":["hashtag1","hashtag2"]},{"1331663500":["hashtag1","hashtag2"]},{"1331663496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663492, 1331663489, 1331663501, 1331663485, 1331663500, 1331663496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.32335114479065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:25:32.514111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_26_9345.jpg', '/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_36_10410.jpg', '/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_47_10442.jpg', '/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_56_9332.jpg', '/home/pi/Desktop/images/26012025/12/23/image_26012025_12_24_06_10424.jpg', '/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_16_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_26_9345.jpg
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_36_10410.jpg
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_47_10442.jpg
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_23_56_9332.jpg
/home/pi/Desktop/images/26012025/12/23/image_26012025_12_24_06_10424.jpg
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_16_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331663562","1331663565","1331663558","1331663551","1331663554","1331663568"],"photo_ids_order":["1331663551","1331663554","1331663558","1331663562","1331663565","1331663568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f8ca5a2bf5832e5fa9b7b3700b8212a.jpg","text":"TemporaryFile(/tmp/multipartBody4930027829931500452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_23_56_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/26/b4b006e71014d0145976eaa35a6e63e5.jpg","text":"TemporaryFile(/tmp/multipartBody682875244765212751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_24_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/26/30b6815aeb09a5edc0e19c16f4aead56.jpg","text":"TemporaryFile(/tmp/multipartBody148006264219626947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_23_47_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/63684b7e10e9ac09a6992eb285a9d677.jpg","text":"TemporaryFile(/tmp/multipartBody5916490911579240760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_23_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/26/2925a0d756257c81e1cf96ac9ab642cb.jpg","text":"TemporaryFile(/tmp/multipartBody6750862658450858319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_23_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/26/4841884d33b90628e1f366b4cfb1aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1310648246126674796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890793422,"filename":"image_26012025_12_24_16_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663558","file1":"1331663554","file0":"1331663551","file4":"1331663565","file5":"1331663568","file3":"1331663562"},"map_files_photo_id_array":[{"photo_id":"1331663568","filename":"file5"},{"photo_id":"1331663558","filename":"file2"},{"photo_id":"1331663565","filename":"file4"},{"photo_id":"1331663554","filename":"file1"},{"photo_id":"1331663551","filename":"file0"},{"photo_id":"1331663562","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663562":["hashtag1","hashtag2"]},{"1331663565":["hashtag1","hashtag2"]},{"1331663558":["hashtag1","hashtag2"]},{"1331663551":["hashtag1","hashtag2"]},{"1331663554":["hashtag1","hashtag2"]},{"1331663568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663562, 1331663565, 1331663558, 1331663551, 1331663554, 1331663568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.04041600227356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:26:32.619393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_26_10358.jpg', '/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_37_10435.jpg', '/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_46_9375.jpg', '/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_56_10347.jpg', '/home/pi/Desktop/images/26012025/12/24/image_26012025_12_25_07_10350.jpg', '/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_16_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_26_10358.jpg
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_37_10435.jpg
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_46_9375.jpg
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_24_56_10347.jpg
/home/pi/Desktop/images/26012025/12/24/image_26012025_12_25_07_10350.jpg
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_16_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":["1331663577","1331663594","1331663581","1331663590","1331663586","1331663595"],"photo_ids_order":["1331663577","1331663581","1331663586","1331663590","1331663594","1331663595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe92b60fa6b4760e6616b5b422117bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9165077393147799048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_24_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/26/3bd4482a2012adea4b1d2c0e34d4f424.jpg","text":"TemporaryFile(/tmp/multipartBody2420964143421227223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_25_07_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05ac5fa82366ef87e9c18f8a68d8380a.jpg","text":"TemporaryFile(/tmp/multipartBody5701505060271330577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_24_37_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/26/001bd47fe4ce74e84c15c2be8f379ab0.jpg","text":"TemporaryFile(/tmp/multipartBody8436648482972096559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_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/26/c9e474bc7a16ce709ea4b8973772e13c.jpg","text":"TemporaryFile(/tmp/multipartBody307628967441443631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_24_46_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c88f2e7e95dc8e3a81ead42e143803e5.jpg","text":"TemporaryFile(/tmp/multipartBody2593403497913407325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890853532,"filename":"image_26012025_12_25_16_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663586","file1":"1331663581","file0":"1331663577","file4":"1331663594","file5":"1331663595","file3":"1331663590"},"map_files_photo_id_array":[{"photo_id":"1331663595","filename":"file5"},{"photo_id":"1331663586","filename":"file2"},{"photo_id":"1331663594","filename":"file4"},{"photo_id":"1331663581","filename":"file1"},{"photo_id":"1331663577","filename":"file0"},{"photo_id":"1331663590","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663577":["hashtag1","hashtag2"]},{"1331663594":["hashtag1","hashtag2"]},{"1331663581":["hashtag1","hashtag2"]},{"1331663590":["hashtag1","hashtag2"]},{"1331663586":["hashtag1","hashtag2"]},{"1331663595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663577, 1331663594, 1331663581, 1331663590, 1331663586, 1331663595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74341654777527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:27:32.845715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_27_10458.jpg', '/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_36_9316.jpg', '/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_46_10338.jpg', '/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_57_10471.jpg', '/home/pi/Desktop/images/26012025/12/25/image_26012025_12_26_06_9315.jpg', '/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_16_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_27_10458.jpg
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_36_9316.jpg
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_46_10338.jpg
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_25_57_10471.jpg
/home/pi/Desktop/images/26012025/12/25/image_26012025_12_26_06_9315.jpg
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_16_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":["1331663625","1331663616","1331663621","1331663606","1331663629","1331663611"],"photo_ids_order":["1331663606","1331663611","1331663616","1331663621","1331663625","1331663629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a66a2fd8306ba53067a8c5ee40250074.jpg","text":"TemporaryFile(/tmp/multipartBody5842249152669014141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_26_06_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/26/8fbe475e1ff4aa87843436c8c481ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody4165726428657998289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_25_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/26/383076448bd13a523bb8b312622441f4.jpg","text":"TemporaryFile(/tmp/multipartBody7028006536695225597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_25_57_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/26/e4dd22713454735b39a2cbcec632fcc6.jpg","text":"TemporaryFile(/tmp/multipartBody4103544091389238625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_25_27_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c70c76a2e59463819710a4e05b16f68c.jpg","text":"TemporaryFile(/tmp/multipartBody4360079719796178663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_26_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1a944e1c9b2e56480493a5357b7cd82.jpg","text":"TemporaryFile(/tmp/multipartBody2796160607112651319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890913751,"filename":"image_26012025_12_25_36_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663616","file1":"1331663611","file0":"1331663606","file4":"1331663625","file5":"1331663629","file3":"1331663621"},"map_files_photo_id_array":[{"photo_id":"1331663629","filename":"file5"},{"photo_id":"1331663616","filename":"file2"},{"photo_id":"1331663625","filename":"file4"},{"photo_id":"1331663611","filename":"file1"},{"photo_id":"1331663606","filename":"file0"},{"photo_id":"1331663621","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663625":["hashtag1","hashtag2"]},{"1331663616":["hashtag1","hashtag2"]},{"1331663621":["hashtag1","hashtag2"]},{"1331663606":["hashtag1","hashtag2"]},{"1331663629":["hashtag1","hashtag2"]},{"1331663611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663625, 1331663616, 1331663621, 1331663606, 1331663629, 1331663611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.59816765785217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:28:33.039202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_26_9426.jpg', '/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_36_10340.jpg', '/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_47_10445.jpg', '/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_56_9342.jpg', '/home/pi/Desktop/images/26012025/12/26/image_26012025_12_27_06_10318.jpg', '/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_26_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_26_9426.jpg
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_36_10340.jpg
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_47_10445.jpg
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_26_56_9342.jpg
/home/pi/Desktop/images/26012025/12/26/image_26012025_12_27_06_10318.jpg
/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_26_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":["1331663687","1331663681","1331663677","1331663686","1331663671","1331663667"],"photo_ids_order":["1331663667","1331663671","1331663677","1331663681","1331663686","1331663687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5c545c404ce4a343de44a692180390e.jpg","text":"TemporaryFile(/tmp/multipartBody8634752790321241694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_27_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/26/a0c60c018d680ec1efb89e19ab6db35f.jpg","text":"TemporaryFile(/tmp/multipartBody8179295688162046490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_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/26/dc2b019eb31ed007ffec21f7e42fb2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2731076153441347962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_26_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/26/d517b6e75ae8f01bc6d741349ae95ad5.jpg","text":"TemporaryFile(/tmp/multipartBody908215694468436950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_27_06_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5f6779dd49e324636b6f989bda10685.jpg","text":"TemporaryFile(/tmp/multipartBody2777184866923437235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_26_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/26/980c004f7bad90f730700b607973fd05.jpg","text":"TemporaryFile(/tmp/multipartBody6618641370897588575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737890973963,"filename":"image_26012025_12_26_26_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663677","file1":"1331663671","file0":"1331663667","file4":"1331663686","file5":"1331663687","file3":"1331663681"},"map_files_photo_id_array":[{"photo_id":"1331663687","filename":"file5"},{"photo_id":"1331663677","filename":"file2"},{"photo_id":"1331663686","filename":"file4"},{"photo_id":"1331663671","filename":"file1"},{"photo_id":"1331663667","filename":"file0"},{"photo_id":"1331663681","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663687":["hashtag1","hashtag2"]},{"1331663681":["hashtag1","hashtag2"]},{"1331663677":["hashtag1","hashtag2"]},{"1331663686":["hashtag1","hashtag2"]},{"1331663671":["hashtag1","hashtag2"]},{"1331663667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663687, 1331663681, 1331663677, 1331663686, 1331663671, 1331663667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44686198234558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:29:33.054847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_36_10360.jpg', '/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_47_10441.jpg', '/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_56_9370.jpg', '/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_16_9309.jpg', '/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_26_10347.jpg', '/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_37_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_36_10360.jpg
/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_47_10441.jpg
/home/pi/Desktop/images/26012025/12/27/image_26012025_12_27_56_9370.jpg
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_16_9309.jpg
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_26_10347.jpg
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_37_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":["1331663718","1331663703","1331663714","1331663723","1331663725","1331663710"],"photo_ids_order":["1331663703","1331663710","1331663714","1331663718","1331663723","1331663725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4162d6bc9ff940859f5be639aca646fc.jpg","text":"TemporaryFile(/tmp/multipartBody865473283531339745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_28_16_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ed43db57635c525e6f78fee03d2db0a.jpg","text":"TemporaryFile(/tmp/multipartBody6205982512921055069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_27_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/26/1646ea505beb387baf77c66564817fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8774093268454945781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_27_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/26/d789febcdac2cea3a7c0d3aa483fbed2.jpg","text":"TemporaryFile(/tmp/multipartBody3549326239635055882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_28_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b56c73f71ed59be74c50e10e0a2787c9.jpg","text":"TemporaryFile(/tmp/multipartBody4425659671901905337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_28_37_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/26/71226391e038bb90f371ad48a7f0631f.jpg","text":"TemporaryFile(/tmp/multipartBody8723636377845883263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891033977,"filename":"image_26012025_12_27_47_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663714","file1":"1331663710","file0":"1331663703","file4":"1331663723","file5":"1331663725","file3":"1331663718"},"map_files_photo_id_array":[{"photo_id":"1331663725","filename":"file5"},{"photo_id":"1331663714","filename":"file2"},{"photo_id":"1331663723","filename":"file4"},{"photo_id":"1331663710","filename":"file1"},{"photo_id":"1331663703","filename":"file0"},{"photo_id":"1331663718","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663718":["hashtag1","hashtag2"]},{"1331663703":["hashtag1","hashtag2"]},{"1331663714":["hashtag1","hashtag2"]},{"1331663723":["hashtag1","hashtag2"]},{"1331663725":["hashtag1","hashtag2"]},{"1331663710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663718, 1331663703, 1331663714, 1331663723, 1331663725, 1331663710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54013633728027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:30:32.302664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_46_9404.jpg', '/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_56_10398.jpg', '/home/pi/Desktop/images/26012025/12/28/image_26012025_12_29_06_9393.jpg', '/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_16_10336.jpg', '/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_27_10456.jpg', '/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_36_9186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_46_9404.jpg
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_28_56_10398.jpg
/home/pi/Desktop/images/26012025/12/28/image_26012025_12_29_06_9393.jpg
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_16_10336.jpg
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_27_10456.jpg
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_36_9186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331663754","1331663742","1331663751","1331663745","1331663747","1331663740"],"photo_ids_order":["1331663740","1331663742","1331663745","1331663747","1331663751","1331663754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90742f133417bdbe390a631fb174df7d.jpg","text":"TemporaryFile(/tmp/multipartBody997169868075461267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_29_36_9186.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7da360c07a0d7a44ee3b095c1b324e8.jpg","text":"TemporaryFile(/tmp/multipartBody1237493304685253681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_28_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3313258b92d6ba1ce17572b52dda25ae.jpg","text":"TemporaryFile(/tmp/multipartBody2084928534084440439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_29_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/26/683b0b67ab7de2fc6c1a18788249b41d.jpg","text":"TemporaryFile(/tmp/multipartBody4610536253600899313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_29_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/26/3ca007c0fe74cb5aba7d1e7ae9a16e47.jpg","text":"TemporaryFile(/tmp/multipartBody5168330420850802214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_29_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/26/ebbfb2bce470cf4203035acbc844240e.jpg","text":"TemporaryFile(/tmp/multipartBody8870377928683500454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891093208,"filename":"image_26012025_12_28_46_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663745","file1":"1331663742","file0":"1331663740","file4":"1331663751","file5":"1331663754","file3":"1331663747"},"map_files_photo_id_array":[{"photo_id":"1331663754","filename":"file5"},{"photo_id":"1331663745","filename":"file2"},{"photo_id":"1331663751","filename":"file4"},{"photo_id":"1331663742","filename":"file1"},{"photo_id":"1331663740","filename":"file0"},{"photo_id":"1331663747","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663754":["hashtag1","hashtag2"]},{"1331663742":["hashtag1","hashtag2"]},{"1331663751":["hashtag1","hashtag2"]},{"1331663745":["hashtag1","hashtag2"]},{"1331663747":["hashtag1","hashtag2"]},{"1331663740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663754, 1331663742, 1331663751, 1331663745, 1331663747, 1331663740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80678176879883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:31:32.607241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_46_10352.jpg', '/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_57_10438.jpg', '/home/pi/Desktop/images/26012025/12/29/image_26012025_12_30_06_9456.jpg', '/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_16_10340.jpg', '/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_27_10373.jpg', '/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_36_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_46_10352.jpg
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_29_57_10438.jpg
/home/pi/Desktop/images/26012025/12/29/image_26012025_12_30_06_9456.jpg
/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_16_10340.jpg
/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_27_10373.jpg
/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331663835","1331663894","1331663900","1331663839","1331663827","1331663902"],"photo_ids_order":["1331663827","1331663835","1331663839","1331663894","1331663900","1331663902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bec04e3cef09b5b37f58a32de1826d1.jpg","text":"TemporaryFile(/tmp/multipartBody8493776562521110571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_29_57_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/26/6b7469e6ed1c6e08ba6ae2145f3eef29.jpg","text":"TemporaryFile(/tmp/multipartBody4275643835303371867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_30_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/26/2f44c846af05d61ca7c6c851767b6ef1.jpg","text":"TemporaryFile(/tmp/multipartBody5135361708376070702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_30_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/26/ade3aff263206943d0e28c92dd3977e2.jpg","text":"TemporaryFile(/tmp/multipartBody4862541459591867588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_30_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/26/e6ff5fb4b2b622eb40160dbed42500e4.jpg","text":"TemporaryFile(/tmp/multipartBody8569050164941793322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_29_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/26/ef4c4210a5eb603929b553d4ff71ba68.jpg","text":"TemporaryFile(/tmp/multipartBody6636817557544262574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891153532,"filename":"image_26012025_12_30_36_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331663839","file1":"1331663835","file0":"1331663827","file4":"1331663900","file5":"1331663902","file3":"1331663894"},"map_files_photo_id_array":[{"photo_id":"1331663902","filename":"file5"},{"photo_id":"1331663839","filename":"file2"},{"photo_id":"1331663900","filename":"file4"},{"photo_id":"1331663835","filename":"file1"},{"photo_id":"1331663827","filename":"file0"},{"photo_id":"1331663894","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331663835":["hashtag1","hashtag2"]},{"1331663894":["hashtag1","hashtag2"]},{"1331663900":["hashtag1","hashtag2"]},{"1331663839":["hashtag1","hashtag2"]},{"1331663827":["hashtag1","hashtag2"]},{"1331663902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331663835, 1331663894, 1331663900, 1331663839, 1331663827, 1331663902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.80411434173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:32:32.861016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_47_10456.jpg', '/home/pi/Desktop/images/26012025/12/31/image_26012025_12_31_36_10371.jpg', '/home/pi/Desktop/images/26012025/12/31/image_26012025_12_31_46_9385.jpg', '/home/pi/Desktop/images/26012025/12/31/image_26012025_12_32_07_10420.jpg', '/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_16_9320.jpg', '/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_26_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/30/image_26012025_12_30_47_10456.jpg
/home/pi/Desktop/images/26012025/12/31/image_26012025_12_31_36_10371.jpg
/home/pi/Desktop/images/26012025/12/31/image_26012025_12_31_46_9385.jpg
/home/pi/Desktop/images/26012025/12/31/image_26012025_12_32_07_10420.jpg
/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_16_9320.jpg
/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_26_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331664041","1331664055","1331664037","1331664051","1331664045","1331664054"],"photo_ids_order":["1331664037","1331664041","1331664045","1331664051","1331664054","1331664055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52799c7101141fdefdc64f3ffaac58af.jpg","text":"TemporaryFile(/tmp/multipartBody1319498170827624284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_31_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/26/e50ca2f297fbf28bfd9b6fffe05b4dab.jpg","text":"TemporaryFile(/tmp/multipartBody2672039137192705076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_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/26/a371053ca0fcff7a71ffde294fb0d290.jpg","text":"TemporaryFile(/tmp/multipartBody465927848948064852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_30_47_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/26/92674d1d32d11838feedde072ced12a5.jpg","text":"TemporaryFile(/tmp/multipartBody2928267014320339917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_32_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/26/d955e1767eb11c03c2afc3c114ac546f.jpg","text":"TemporaryFile(/tmp/multipartBody3878772075591368292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_31_46_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/202f06dc29e22ce9ebb3789a04603461.jpg","text":"TemporaryFile(/tmp/multipartBody2641652450171838748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891214210,"filename":"image_26012025_12_32_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331664045","file1":"1331664041","file0":"1331664037","file4":"1331664054","file5":"1331664055","file3":"1331664051"},"map_files_photo_id_array":[{"photo_id":"1331664055","filename":"file5"},{"photo_id":"1331664045","filename":"file2"},{"photo_id":"1331664054","filename":"file4"},{"photo_id":"1331664041","filename":"file1"},{"photo_id":"1331664037","filename":"file0"},{"photo_id":"1331664051","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331664041":["hashtag1","hashtag2"]},{"1331664055":["hashtag1","hashtag2"]},{"1331664037":["hashtag1","hashtag2"]},{"1331664051":["hashtag1","hashtag2"]},{"1331664045":["hashtag1","hashtag2"]},{"1331664054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331664041, 1331664055, 1331664037, 1331664051, 1331664045, 1331664054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.742294788360596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:33:33.199591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_37_10387.jpg', '/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_46_9381.jpg', '/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_56_10352.jpg', '/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_16_10337.jpg', '/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_27_10454.jpg', '/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_36_9317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_37_10387.jpg
/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_46_9381.jpg
/home/pi/Desktop/images/26012025/12/32/image_26012025_12_32_56_10352.jpg
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_16_10337.jpg
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_27_10454.jpg
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_36_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331664921","1331664918","1331664068","1331664701","1331664256","1331664064"],"photo_ids_order":["1331664064","1331664068","1331664256","1331664701","1331664918","1331664921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea4872c7e2e428e99891f211ab086102.jpg","text":"TemporaryFile(/tmp/multipartBody6673453736373150868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_33_36_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/26/df8eb6498ab054b0d6e30c988eaa1847.jpg","text":"TemporaryFile(/tmp/multipartBody7723639376448929013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_33_27_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/26/f62590f6ed4082552a68f4fc976d031d.jpg","text":"TemporaryFile(/tmp/multipartBody1580113693401767397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_32_46_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/26/f20bcbb05afc0644a47812f835a26533.jpg","text":"TemporaryFile(/tmp/multipartBody2492343335241702794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_33_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/26/5fae00e74707f64e34188a707ee2b233.jpg","text":"TemporaryFile(/tmp/multipartBody3851232025822144452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_32_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/26/4aa87418b1494d3512beed6de2541401.jpg","text":"TemporaryFile(/tmp/multipartBody5870727165668113167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891274121,"filename":"image_26012025_12_32_37_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331664256","file1":"1331664068","file0":"1331664064","file4":"1331664918","file5":"1331664921","file3":"1331664701"},"map_files_photo_id_array":[{"photo_id":"1331664921","filename":"file5"},{"photo_id":"1331664256","filename":"file2"},{"photo_id":"1331664918","filename":"file4"},{"photo_id":"1331664068","filename":"file1"},{"photo_id":"1331664064","filename":"file0"},{"photo_id":"1331664701","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331664921":["hashtag1","hashtag2"]},{"1331664918":["hashtag1","hashtag2"]},{"1331664068":["hashtag1","hashtag2"]},{"1331664701":["hashtag1","hashtag2"]},{"1331664256":["hashtag1","hashtag2"]},{"1331664064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331664921, 1331664918, 1331664068, 1331664701, 1331664256, 1331664064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.495418071746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:34:32.399610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_46_10414.jpg', '/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_57_10404.jpg', '/home/pi/Desktop/images/26012025/12/33/image_26012025_12_34_06_9335.jpg', '/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_16_10346.jpg', '/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_26_9407.jpg', '/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_36_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_46_10414.jpg
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_33_57_10404.jpg
/home/pi/Desktop/images/26012025/12/33/image_26012025_12_34_06_9335.jpg
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_16_10346.jpg
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_26_9407.jpg
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_36_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331665259","1331665274","1331665019","1331664967","1331664946","1331665300"],"photo_ids_order":["1331664946","1331664967","1331665019","1331665259","1331665274","1331665300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7117a3d73a55acccd4041d33793c10e.jpg","text":"TemporaryFile(/tmp/multipartBody1300276868094527848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_34_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/26/b4b3031c21307d59da44ba0e4c337026.jpg","text":"TemporaryFile(/tmp/multipartBody4413311206230081128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_34_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/26/18abb4d37075bfa92a4ee77d2cc583b8.jpg","text":"TemporaryFile(/tmp/multipartBody7941831359501184465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_34_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bfd052606debe8e721b27171425e16e3.jpg","text":"TemporaryFile(/tmp/multipartBody6165137082790186202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_33_57_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff6dfeb59eaf178e26a612edfa1c8150.jpg","text":"TemporaryFile(/tmp/multipartBody6264570791335365397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_33_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f89f7a203bb7bd789daff1fe80c89ba.jpg","text":"TemporaryFile(/tmp/multipartBody6840719387473648159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891333308,"filename":"image_26012025_12_34_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665019","file1":"1331664967","file0":"1331664946","file4":"1331665274","file5":"1331665300","file3":"1331665259"},"map_files_photo_id_array":[{"photo_id":"1331665300","filename":"file5"},{"photo_id":"1331665019","filename":"file2"},{"photo_id":"1331665274","filename":"file4"},{"photo_id":"1331664967","filename":"file1"},{"photo_id":"1331664946","filename":"file0"},{"photo_id":"1331665259","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665259":["hashtag1","hashtag2"]},{"1331665274":["hashtag1","hashtag2"]},{"1331665019":["hashtag1","hashtag2"]},{"1331664967":["hashtag1","hashtag2"]},{"1331664946":["hashtag1","hashtag2"]},{"1331665300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665259, 1331665274, 1331665019, 1331664967, 1331664946, 1331665300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.239479541778564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:35:32.600160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_47_10444.jpg', '/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_56_9331.jpg', '/home/pi/Desktop/images/26012025/12/34/image_26012025_12_35_06_10407.jpg', '/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_17_10333.jpg', '/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_26_9345.jpg', '/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_36_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_47_10444.jpg
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_34_56_9331.jpg
/home/pi/Desktop/images/26012025/12/34/image_26012025_12_35_06_10407.jpg
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_17_10333.jpg
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_26_9345.jpg
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_36_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331665400","1331665384","1331665378","1331665392","1331665389","1331665397"],"photo_ids_order":["1331665378","1331665384","1331665389","1331665392","1331665397","1331665400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ad9103af69ccf920e0e5bedb84dc6cf.jpg","text":"TemporaryFile(/tmp/multipartBody8594683281396228306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_35_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87eddada11489038bb5a01277cc874de.jpg","text":"TemporaryFile(/tmp/multipartBody3808476722646642301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_34_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/26/6904033e34ab3b61c9e28f733668a51d.jpg","text":"TemporaryFile(/tmp/multipartBody92940114588648714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_34_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/26/9460bd2427b026d60349d26fab1ad9d8.jpg","text":"TemporaryFile(/tmp/multipartBody2822063682388281657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_35_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/173ffe570f5cb2c4633002c7f1c72dea.jpg","text":"TemporaryFile(/tmp/multipartBody6442701214053264371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_35_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/26/e8e57777ebf3635eaefcb97e52d99c97.jpg","text":"TemporaryFile(/tmp/multipartBody2262968278897149250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891393501,"filename":"image_26012025_12_35_26_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665389","file1":"1331665384","file0":"1331665378","file4":"1331665397","file5":"1331665400","file3":"1331665392"},"map_files_photo_id_array":[{"photo_id":"1331665400","filename":"file5"},{"photo_id":"1331665389","filename":"file2"},{"photo_id":"1331665397","filename":"file4"},{"photo_id":"1331665384","filename":"file1"},{"photo_id":"1331665378","filename":"file0"},{"photo_id":"1331665392","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665400":["hashtag1","hashtag2"]},{"1331665384":["hashtag1","hashtag2"]},{"1331665378":["hashtag1","hashtag2"]},{"1331665392":["hashtag1","hashtag2"]},{"1331665389":["hashtag1","hashtag2"]},{"1331665397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665400, 1331665384, 1331665378, 1331665392, 1331665389, 1331665397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14156675338745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:36:32.784879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_47_10365.jpg', '/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_56_9346.jpg', '/home/pi/Desktop/images/26012025/12/35/image_26012025_12_36_06_10362.jpg', '/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_17_10341.jpg', '/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_26_9385.jpg', '/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_37_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_47_10365.jpg
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_35_56_9346.jpg
/home/pi/Desktop/images/26012025/12/35/image_26012025_12_36_06_10362.jpg
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_17_10341.jpg
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_26_9385.jpg
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_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":["1331665412","1331665436","1331665495","1331665488","1331665431","1331665481"],"photo_ids_order":["1331665412","1331665431","1331665436","1331665481","1331665488","1331665495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/98ff471500d6b60f832f6a9403bf2a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5316932072464963039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_35_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/26/a9ed37b5dad05daef8d511e3f1228343.jpg","text":"TemporaryFile(/tmp/multipartBody6879887166839633986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_36_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e66efb5c6b0665a62c7cd11fb00e3f29.jpg","text":"TemporaryFile(/tmp/multipartBody6948821220291449401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_36_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/26/e2f4aae0ad846b7bcaaddfdfa76b2785.jpg","text":"TemporaryFile(/tmp/multipartBody7061073556658511820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_36_26_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/26/8a383347b021373b2b21e507c43b9ace.jpg","text":"TemporaryFile(/tmp/multipartBody1622181311114522094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_35_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/26/2461ce4e0b7532c8f9d58eecca5fd2c9.jpg","text":"TemporaryFile(/tmp/multipartBody1909129597463829175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891453717,"filename":"image_26012025_12_36_17_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665436","file1":"1331665431","file0":"1331665412","file4":"1331665488","file5":"1331665495","file3":"1331665481"},"map_files_photo_id_array":[{"photo_id":"1331665495","filename":"file5"},{"photo_id":"1331665436","filename":"file2"},{"photo_id":"1331665488","filename":"file4"},{"photo_id":"1331665431","filename":"file1"},{"photo_id":"1331665412","filename":"file0"},{"photo_id":"1331665481","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665412":["hashtag1","hashtag2"]},{"1331665436":["hashtag1","hashtag2"]},{"1331665495":["hashtag1","hashtag2"]},{"1331665488":["hashtag1","hashtag2"]},{"1331665431":["hashtag1","hashtag2"]},{"1331665481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665412, 1331665436, 1331665495, 1331665488, 1331665431, 1331665481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.459312200546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:37:33.133755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_46_9353.jpg', '/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_56_10358.jpg', '/home/pi/Desktop/images/26012025/12/36/image_26012025_12_37_07_10400.jpg', '/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_16_9396.jpg', '/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_26_10379.jpg', '/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_37_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_46_9353.jpg
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_36_56_10358.jpg
/home/pi/Desktop/images/26012025/12/36/image_26012025_12_37_07_10400.jpg
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_16_9396.jpg
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_26_10379.jpg
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_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":["1331665544","1331665547","1331665535","1331665549","1331665546","1331665539"],"photo_ids_order":["1331665535","1331665539","1331665544","1331665546","1331665547","1331665549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95ba51710cbd846a68090d3fa6992c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8863260656946039373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_37_07_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/26/1be165be870c475873216d7a9c36a755.jpg","text":"TemporaryFile(/tmp/multipartBody8241153794412554842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_37_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd57051563dceb802c3d951b055fd667.jpg","text":"TemporaryFile(/tmp/multipartBody8774469672265070030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_36_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/26/0068d46a2f96da97edd96896725a705e.jpg","text":"TemporaryFile(/tmp/multipartBody7004779000520361115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_37_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/26/23a72aeccfec479bd132f6f1ff179048.jpg","text":"TemporaryFile(/tmp/multipartBody3296348771568044510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_37_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/13c01f512eb0ab4a233adc508cc47366.jpg","text":"TemporaryFile(/tmp/multipartBody8164467227544420504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891514070,"filename":"image_26012025_12_36_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665544","file1":"1331665539","file0":"1331665535","file4":"1331665547","file5":"1331665549","file3":"1331665546"},"map_files_photo_id_array":[{"photo_id":"1331665549","filename":"file5"},{"photo_id":"1331665544","filename":"file2"},{"photo_id":"1331665547","filename":"file4"},{"photo_id":"1331665539","filename":"file1"},{"photo_id":"1331665535","filename":"file0"},{"photo_id":"1331665546","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665544":["hashtag1","hashtag2"]},{"1331665547":["hashtag1","hashtag2"]},{"1331665535":["hashtag1","hashtag2"]},{"1331665549":["hashtag1","hashtag2"]},{"1331665546":["hashtag1","hashtag2"]},{"1331665539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665544, 1331665547, 1331665535, 1331665549, 1331665546, 1331665539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.470294713974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:38:32.410491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_46_9422.jpg', '/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_57_10422.jpg', '/home/pi/Desktop/images/26012025/12/37/image_26012025_12_38_06_9330.jpg', '/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_16_10335.jpg', '/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_27_10329.jpg', '/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_36_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_46_9422.jpg
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_37_57_10422.jpg
/home/pi/Desktop/images/26012025/12/37/image_26012025_12_38_06_9330.jpg
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_16_10335.jpg
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_27_10329.jpg
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_36_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":["1331665604","1331665607","1331665600","1331665644","1331665611","1331665614"],"photo_ids_order":["1331665600","1331665604","1331665607","1331665611","1331665614","1331665644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d94b09167ad5b683d8f2914d8509d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2569332197369100823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_37_57_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2feb6fcba6839681b2922b9f15fb44c.jpg","text":"TemporaryFile(/tmp/multipartBody4449344539477505630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_38_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0496c09e00a5bbbc38a4a26e0752607.jpg","text":"TemporaryFile(/tmp/multipartBody6341198467237054830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_37_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/26/2ddbe346309712100ed109cd9c87675d.jpg","text":"TemporaryFile(/tmp/multipartBody5985837675656613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_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/26/35130290d83222fc186b20fc043c96e0.jpg","text":"TemporaryFile(/tmp/multipartBody3236186130177010427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_38_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/26/afec9bc233605d1afa9e93937b5da8bc.jpg","text":"TemporaryFile(/tmp/multipartBody2744141725737461900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891573314,"filename":"image_26012025_12_38_27_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665607","file1":"1331665604","file0":"1331665600","file4":"1331665614","file5":"1331665644","file3":"1331665611"},"map_files_photo_id_array":[{"photo_id":"1331665644","filename":"file5"},{"photo_id":"1331665607","filename":"file2"},{"photo_id":"1331665614","filename":"file4"},{"photo_id":"1331665604","filename":"file1"},{"photo_id":"1331665600","filename":"file0"},{"photo_id":"1331665611","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665604":["hashtag1","hashtag2"]},{"1331665607":["hashtag1","hashtag2"]},{"1331665600":["hashtag1","hashtag2"]},{"1331665644":["hashtag1","hashtag2"]},{"1331665611":["hashtag1","hashtag2"]},{"1331665614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665604, 1331665607, 1331665600, 1331665644, 1331665611, 1331665614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.026811838150024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:39:32.539073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_46_10354.jpg', '/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_57_10345.jpg', '/home/pi/Desktop/images/26012025/12/38/image_26012025_12_39_06_9358.jpg', '/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_16_10326.jpg', '/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_26_9415.jpg', '/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_36_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_46_10354.jpg
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_38_57_10345.jpg
/home/pi/Desktop/images/26012025/12/38/image_26012025_12_39_06_9358.jpg
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_16_10326.jpg
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_26_9415.jpg
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_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":["1331665687","1331665689","1331665686","1331665725","1331665691","1331665688"],"photo_ids_order":["1331665686","1331665687","1331665688","1331665689","1331665691","1331665725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1d2c18ad002cc67875110505caf6f80a.jpg","text":"TemporaryFile(/tmp/multipartBody373260349091975263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_38_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/799dd364b798742f573da762a42460e1.jpg","text":"TemporaryFile(/tmp/multipartBody5698141054075689126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_39_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/26/2f05eac387f5a398519a27787c5621b3.jpg","text":"TemporaryFile(/tmp/multipartBody694015982649532489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_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/26/49e2fe4c1fb429eac1b7fdc107f937e3.jpg","text":"TemporaryFile(/tmp/multipartBody3765842924604562405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_39_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/26/f24e5ba9ce2ab1ccee1807931fa3d8ba.jpg","text":"TemporaryFile(/tmp/multipartBody8829699073371000302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_39_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/26/5a7603be1d9be6eb326de015a6d5d4bd.jpg","text":"TemporaryFile(/tmp/multipartBody1147557022084886671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891633449,"filename":"image_26012025_12_39_06_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665688","file1":"1331665687","file0":"1331665686","file4":"1331665691","file5":"1331665725","file3":"1331665689"},"map_files_photo_id_array":[{"photo_id":"1331665725","filename":"file5"},{"photo_id":"1331665688","filename":"file2"},{"photo_id":"1331665691","filename":"file4"},{"photo_id":"1331665687","filename":"file1"},{"photo_id":"1331665686","filename":"file0"},{"photo_id":"1331665689","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665687":["hashtag1","hashtag2"]},{"1331665689":["hashtag1","hashtag2"]},{"1331665686":["hashtag1","hashtag2"]},{"1331665725":["hashtag1","hashtag2"]},{"1331665691":["hashtag1","hashtag2"]},{"1331665688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665687, 1331665689, 1331665686, 1331665725, 1331665691, 1331665688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.914862632751465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:40:32.849728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_47_10413.jpg', '/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_56_9337.jpg', '/home/pi/Desktop/images/26012025/12/39/image_26012025_12_40_06_10348.jpg', '/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_17_10366.jpg', '/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_26_9446.jpg', '/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_36_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_47_10413.jpg
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_39_56_9337.jpg
/home/pi/Desktop/images/26012025/12/39/image_26012025_12_40_06_10348.jpg
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_17_10366.jpg
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_26_9446.jpg
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_36_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331665870","1331665864","1331665867","1331665869","1331665857","1331665859"],"photo_ids_order":["1331665857","1331665859","1331665864","1331665867","1331665869","1331665870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d380047713024401392beb8030043bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8576219283160929783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_40_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b069d22cf4b4eaf1368ad4bf74b0ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5194497868903786526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_40_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/26/ba8c488bb621c03c6ab3155f9ca452bc.jpg","text":"TemporaryFile(/tmp/multipartBody113496977646312834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_40_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/26/64315fd6c8f067b23a2630b2b512660d.jpg","text":"TemporaryFile(/tmp/multipartBody6446920919201858578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_40_26_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/26/0b7abfbc364a4efb3d266acd46f9a880.jpg","text":"TemporaryFile(/tmp/multipartBody2370557936158958238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_39_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/26/e49cedfa572e58e32bcc7f628b433f04.jpg","text":"TemporaryFile(/tmp/multipartBody8962055644907606193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891693775,"filename":"image_26012025_12_39_56_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665864","file1":"1331665859","file0":"1331665857","file4":"1331665869","file5":"1331665870","file3":"1331665867"},"map_files_photo_id_array":[{"photo_id":"1331665870","filename":"file5"},{"photo_id":"1331665864","filename":"file2"},{"photo_id":"1331665869","filename":"file4"},{"photo_id":"1331665859","filename":"file1"},{"photo_id":"1331665857","filename":"file0"},{"photo_id":"1331665867","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665870":["hashtag1","hashtag2"]},{"1331665864":["hashtag1","hashtag2"]},{"1331665867":["hashtag1","hashtag2"]},{"1331665869":["hashtag1","hashtag2"]},{"1331665857":["hashtag1","hashtag2"]},{"1331665859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665870, 1331665864, 1331665867, 1331665869, 1331665857, 1331665859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58671975135803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:41:33.138287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_47_10357.jpg', '/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_56_9375.jpg', '/home/pi/Desktop/images/26012025/12/40/image_26012025_12_41_07_10436.jpg', '/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_16_9337.jpg', '/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_26_10351.jpg', '/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_37_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_47_10357.jpg
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_40_56_9375.jpg
/home/pi/Desktop/images/26012025/12/40/image_26012025_12_41_07_10436.jpg
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_16_9337.jpg
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_26_10351.jpg
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_37_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":["1331665931","1331665930","1331665927","1331665899","1331665896","1331665929"],"photo_ids_order":["1331665896","1331665899","1331665927","1331665929","1331665930","1331665931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/384c597d1870d07461be7544d5e521fd.jpg","text":"TemporaryFile(/tmp/multipartBody6848480210569065997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_41_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/26/79d5649deabc2ad215d4058a7ef5fbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4865047159387568971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_41_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/26/4065b6f0cf5b54f447ef23c05d0f68a3.jpg","text":"TemporaryFile(/tmp/multipartBody5354577525601575545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_41_07_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/26/8d7c83d4a4b4259b83905ad7e2a6de0d.jpg","text":"TemporaryFile(/tmp/multipartBody1091887607054256250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_40_56_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d948aca654f015dc67ce0edfc99e9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4070647673014748423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_40_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/26/4e78dbfd4840a0902e5930fd63110ad6.jpg","text":"TemporaryFile(/tmp/multipartBody161687064681245356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891754054,"filename":"image_26012025_12_41_16_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665927","file1":"1331665899","file0":"1331665896","file4":"1331665930","file5":"1331665931","file3":"1331665929"},"map_files_photo_id_array":[{"photo_id":"1331665931","filename":"file5"},{"photo_id":"1331665927","filename":"file2"},{"photo_id":"1331665930","filename":"file4"},{"photo_id":"1331665899","filename":"file1"},{"photo_id":"1331665896","filename":"file0"},{"photo_id":"1331665929","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665931":["hashtag1","hashtag2"]},{"1331665930":["hashtag1","hashtag2"]},{"1331665927":["hashtag1","hashtag2"]},{"1331665899":["hashtag1","hashtag2"]},{"1331665896":["hashtag1","hashtag2"]},{"1331665929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665931, 1331665930, 1331665927, 1331665899, 1331665896, 1331665929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.173872232437134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:42:32.302142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_46_9365.jpg', '/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_56_10334.jpg', '/home/pi/Desktop/images/26012025/12/41/image_26012025_12_42_07_10345.jpg', '/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_27_10465.jpg', '/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_36_9390.jpg', '/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_46_9365.jpg
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_41_56_10334.jpg
/home/pi/Desktop/images/26012025/12/41/image_26012025_12_42_07_10345.jpg
/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_27_10465.jpg
/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_36_9390.jpg
/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_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":["1331665961","1331665963","1331665951","1331665954","1331665947","1331665958"],"photo_ids_order":["1331665947","1331665951","1331665954","1331665958","1331665961","1331665963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cfb1a0f93f4c917bb8efc7d53ca16011.jpg","text":"TemporaryFile(/tmp/multipartBody3035385292209873312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_42_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/26/4afe3362c3f8e4df87e9f26d700f83eb.jpg","text":"TemporaryFile(/tmp/multipartBody9024929243709549057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_42_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/26/462cc95ef267fefd655deef2f6e5fd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4820513256712458031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_41_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/26/569f1cd35c5e56539a52b6eed6a03483.jpg","text":"TemporaryFile(/tmp/multipartBody6921303551587187442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_42_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/26/09995e157812f253d4d2af250a9ef809.jpg","text":"TemporaryFile(/tmp/multipartBody2384749369992316422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_41_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/26/1dc26636caf26c20b36a248e4a2c25c6.jpg","text":"TemporaryFile(/tmp/multipartBody4711298078735243734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891813205,"filename":"image_26012025_12_42_27_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665954","file1":"1331665951","file0":"1331665947","file4":"1331665961","file5":"1331665963","file3":"1331665958"},"map_files_photo_id_array":[{"photo_id":"1331665963","filename":"file5"},{"photo_id":"1331665954","filename":"file2"},{"photo_id":"1331665961","filename":"file4"},{"photo_id":"1331665951","filename":"file1"},{"photo_id":"1331665947","filename":"file0"},{"photo_id":"1331665958","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665961":["hashtag1","hashtag2"]},{"1331665963":["hashtag1","hashtag2"]},{"1331665951":["hashtag1","hashtag2"]},{"1331665954":["hashtag1","hashtag2"]},{"1331665947":["hashtag1","hashtag2"]},{"1331665958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665961, 1331665963, 1331665951, 1331665954, 1331665947, 1331665958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12647533416748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:43:32.567695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_57_10424.jpg', '/home/pi/Desktop/images/26012025/12/42/image_26012025_12_43_06_9400.jpg', '/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_26_9349.jpg', '/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_36_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/42/image_26012025_12_42_57_10424.jpg
/home/pi/Desktop/images/26012025/12/42/image_26012025_12_43_06_9400.jpg
/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_26_9349.jpg
/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_36_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":["1331665987","1331665990","1331665984","1331665989"],"photo_ids_order":["1331665984","1331665987","1331665989","1331665990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2c14415f6f97541e9cedbc62353388c5.jpg","text":"TemporaryFile(/tmp/multipartBody385159781457173956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891873442,"filename":"image_26012025_12_43_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f6590ba9737be91839dba4cf0e9929c.jpg","text":"TemporaryFile(/tmp/multipartBody5796151608500187311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891873442,"filename":"image_26012025_12_43_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/26/004278f569ddd64a4f6701f657fd8b86.jpg","text":"TemporaryFile(/tmp/multipartBody3534250702944296520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891873442,"filename":"image_26012025_12_42_57_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/26/25406c52e85c3e825c6995094391594a.jpg","text":"TemporaryFile(/tmp/multipartBody675977624734092380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891873442,"filename":"image_26012025_12_43_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331665989","file1":"1331665987","file0":"1331665984","file3":"1331665990"},"map_files_photo_id_array":[{"photo_id":"1331665989","filename":"file2"},{"photo_id":"1331665987","filename":"file1"},{"photo_id":"1331665984","filename":"file0"},{"photo_id":"1331665990","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331665987":["hashtag1","hashtag2"]},{"1331665990":["hashtag1","hashtag2"]},{"1331665984":["hashtag1","hashtag2"]},{"1331665989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331665987, 1331665990, 1331665984, 1331665989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.62900161743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:44:03.368889
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/48/image_23012025_21_49_04_9341.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_15_10346.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_24_9446.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_35_10346.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_45_10484.jpg', '/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_54_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/48/image_23012025_21_49_04_9341.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_15_10346.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_24_9446.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_35_10346.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_45_10484.jpg
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_49_54_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":["1331666009","1331666003","1331665998","1331666016","1331665994","1331666012"],"photo_ids_order":["1331665994","1331665998","1331666003","1331666009","1331666012","1331666016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d32256edcfc6423a1ddd7ae6a4996c58.jpg","text":"TemporaryFile(/tmp/multipartBody6279705452191602126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_49_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/26/da069da7f3837007e00fa1f2a7a1c8ba.jpg","text":"TemporaryFile(/tmp/multipartBody3702279683743074581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_49_24_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82bcce3ba53fc5eb8f4caae2adbc62c6.jpg","text":"TemporaryFile(/tmp/multipartBody4864660964519830845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_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/26/98c9d803f31ba073a70057143b15509c.jpg","text":"TemporaryFile(/tmp/multipartBody5533822395867119247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_49_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d0e0500e934229b9f365a8423c322d4.jpg","text":"TemporaryFile(/tmp/multipartBody3572075775447391676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_49_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2d8d86ce421ffb3bf209570343430f0.jpg","text":"TemporaryFile(/tmp/multipartBody2519051692447690895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891904940,"filename":"image_23012025_21_49_45_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331666003","file1":"1331665998","file0":"1331665994","file4":"1331666012","file5":"1331666016","file3":"1331666009"},"map_files_photo_id_array":[{"photo_id":"1331666016","filename":"file5"},{"photo_id":"1331666003","filename":"file2"},{"photo_id":"1331666012","filename":"file4"},{"photo_id":"1331665998","filename":"file1"},{"photo_id":"1331665994","filename":"file0"},{"photo_id":"1331666009","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331666009":["hashtag1","hashtag2"]},{"1331666003":["hashtag1","hashtag2"]},{"1331665998":["hashtag1","hashtag2"]},{"1331666016":["hashtag1","hashtag2"]},{"1331665994":["hashtag1","hashtag2"]},{"1331666012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331666009, 1331666003, 1331665998, 1331666016, 1331665994, 1331666012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.78297710418701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 12:44:52.615583
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/49/image_23012025_21_50_05_10372.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_15_10362.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_25_9350.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_35_10333.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_45_10398.jpg', '/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_55_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/49/image_23012025_21_50_05_10372.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_15_10362.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_25_9350.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_35_10333.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_45_10398.jpg
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_50_55_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331666041","1331666038","1331666034","1331666025","1331666030","1331666027"],"photo_ids_order":["1331666025","1331666027","1331666030","1331666034","1331666038","1331666041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/647233d0f1b593770e194b09016088c3.jpg","text":"TemporaryFile(/tmp/multipartBody194465832806930797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_55_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e4827d5becd65c5f780d8f679be984a.jpg","text":"TemporaryFile(/tmp/multipartBody3370744297142819826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dca0304669bce01e7f96e7b7027a6d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6928328616421620869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_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/26/ff09ed30a73ced6e62114f958946e3f5.jpg","text":"TemporaryFile(/tmp/multipartBody316635776753884389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_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/26/2658bf287df763aeb490e5626c5b9944.jpg","text":"TemporaryFile(/tmp/multipartBody7175911847349576679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_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/26/a3344acb72706bd00bf58056ff0500df.jpg","text":"TemporaryFile(/tmp/multipartBody2287839839386377831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737891954926,"filename":"image_23012025_21_50_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331666030","file1":"1331666027","file0":"1331666025","file4":"1331666038","file5":"1331666041","file3":"1331666034"},"map_files_photo_id_array":[{"photo_id":"1331666041","filename":"file5"},{"photo_id":"1331666030","filename":"file2"},{"photo_id":"1331666038","filename":"file4"},{"photo_id":"1331666027","filename":"file1"},{"photo_id":"1331666025","filename":"file0"},{"photo_id":"1331666034","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331666041":["hashtag1","hashtag2"]},{"1331666038":["hashtag1","hashtag2"]},{"1331666034":["hashtag1","hashtag2"]},{"1331666025":["hashtag1","hashtag2"]},{"1331666030":["hashtag1","hashtag2"]},{"1331666027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331666041, 1331666038, 1331666034, 1331666025, 1331666030, 1331666027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.019474267959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:45:42.913169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_47_10424.jpg', '/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_16_9420.jpg', '/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_26_10341.jpg', '/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_37_10411.jpg', '/home/pi/Desktop/images/26012025/12/44/image_26012025_12_45_07_10393.jpg', '/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_16_9430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/43/image_26012025_12_43_47_10424.jpg
/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_16_9420.jpg
/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_26_10341.jpg
/home/pi/Desktop/images/26012025/12/44/image_26012025_12_44_37_10411.jpg
/home/pi/Desktop/images/26012025/12/44/image_26012025_12_45_07_10393.jpg
/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_16_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":["1331666080","1331666088","1331666073","1331666076","1331666103","1331666078"],"photo_ids_order":["1331666073","1331666076","1331666078","1331666080","1331666088","1331666103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/195c6e1d8bf84afe880dd34c29a9affc.jpg","text":"TemporaryFile(/tmp/multipartBody3154733210334605710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_44_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dae889366d015dfbfdf688fa59b141fa.jpg","text":"TemporaryFile(/tmp/multipartBody1357302789434655788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_45_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7853acf83f09f8e9f8c2db6b638bc6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8730246254069295477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_43_47_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/26/5aaf74b0b24c3a26772ed7cf9e291cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5547186063288865365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_44_16_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/26/61468cafd44b17ea32efab82a5b6f76c.jpg","text":"TemporaryFile(/tmp/multipartBody7756169945490991391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_45_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/26/c3c77f642c8c119a177a5aa249e8e87e.jpg","text":"TemporaryFile(/tmp/multipartBody7599695225876558122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892003827,"filename":"image_26012025_12_44_26_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331666078","file1":"1331666076","file0":"1331666073","file4":"1331666088","file5":"1331666103","file3":"1331666080"},"map_files_photo_id_array":[{"photo_id":"1331666103","filename":"file5"},{"photo_id":"1331666078","filename":"file2"},{"photo_id":"1331666088","filename":"file4"},{"photo_id":"1331666076","filename":"file1"},{"photo_id":"1331666073","filename":"file0"},{"photo_id":"1331666080","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331666080":["hashtag1","hashtag2"]},{"1331666088":["hashtag1","hashtag2"]},{"1331666073":["hashtag1","hashtag2"]},{"1331666076":["hashtag1","hashtag2"]},{"1331666103":["hashtag1","hashtag2"]},{"1331666078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331666080, 1331666088, 1331666073, 1331666076, 1331666103, 1331666078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21768808364868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:46:33.088263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_27_10488.jpg', '/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_36_9398.jpg', '/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_57_10364.jpg', '/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_16_10349.jpg', '/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_27_10345.jpg', '/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_36_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_27_10488.jpg
/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_36_9398.jpg
/home/pi/Desktop/images/26012025/12/45/image_26012025_12_45_57_10364.jpg
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_16_10349.jpg
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_27_10345.jpg
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_36_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331666141","1331666137","1331666134","1331666142","1331666139","1331666132"],"photo_ids_order":["1331666132","1331666134","1331666137","1331666139","1331666141","1331666142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/84d18d25b5f40ab8980f0a0b26f51d60.jpg","text":"TemporaryFile(/tmp/multipartBody5835285593983602652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_46_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/26/32ea5847b7fa14af9f14172c2937c382.jpg","text":"TemporaryFile(/tmp/multipartBody5795770001847174853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_45_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/26/3d52eece25782efcf6aa76cb5cfc6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4980802971044488452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_45_36_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/26/703b901630935cd592d3ac34af4b603c.jpg","text":"TemporaryFile(/tmp/multipartBody8501222957380435636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_46_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/881179ca3ad976088d2441ae6788ce35.jpg","text":"TemporaryFile(/tmp/multipartBody4685684465841554723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_46_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/056766468746dafa1b658745ac68b4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8326390585149569234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892054012,"filename":"image_26012025_12_45_27_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331666137","file1":"1331666134","file0":"1331666132","file4":"1331666141","file5":"1331666142","file3":"1331666139"},"map_files_photo_id_array":[{"photo_id":"1331666142","filename":"file5"},{"photo_id":"1331666137","filename":"file2"},{"photo_id":"1331666141","filename":"file4"},{"photo_id":"1331666134","filename":"file1"},{"photo_id":"1331666132","filename":"file0"},{"photo_id":"1331666139","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331666141":["hashtag1","hashtag2"]},{"1331666137":["hashtag1","hashtag2"]},{"1331666134":["hashtag1","hashtag2"]},{"1331666142":["hashtag1","hashtag2"]},{"1331666139":["hashtag1","hashtag2"]},{"1331666132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331666141, 1331666137, 1331666134, 1331666142, 1331666139, 1331666132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.754677057266235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:47:32.308240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_47_10449.jpg', '/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_56_9337.jpg', '/home/pi/Desktop/images/26012025/12/46/image_26012025_12_47_06_10343.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_17_10380.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_26_9332.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_36_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_47_10449.jpg
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_46_56_9337.jpg
/home/pi/Desktop/images/26012025/12/46/image_26012025_12_47_06_10343.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_17_10380.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_26_9332.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_36_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":["1331666170","1331666241","1331666157","1331666162","1331666906","1331666609"],"photo_ids_order":["1331666157","1331666162","1331666170","1331666241","1331666609","1331666906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02c4a6931b42aa882867044a2183eb57.jpg","text":"TemporaryFile(/tmp/multipartBody6748012886532581896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_47_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/26/493e34c8ad6a83a1d9f13178a627ba58.jpg","text":"TemporaryFile(/tmp/multipartBody347102827934670330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_47_17_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/26/c3bb090df17198c3526fdd604d341571.jpg","text":"TemporaryFile(/tmp/multipartBody5437890789588792992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_46_47_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15d851f640be188e137f8f42d7a77409.jpg","text":"TemporaryFile(/tmp/multipartBody2783507988616480317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_46_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/26/acb39a68965e904aae6a4925c10b05df.jpg","text":"TemporaryFile(/tmp/multipartBody7917032943662262097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_47_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/26/eeb2299404a844b14dc51025d60439f9.jpg","text":"TemporaryFile(/tmp/multipartBody7789420342859166825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892113215,"filename":"image_26012025_12_47_26_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331666170","file1":"1331666162","file0":"1331666157","file4":"1331666609","file5":"1331666906","file3":"1331666241"},"map_files_photo_id_array":[{"photo_id":"1331666906","filename":"file5"},{"photo_id":"1331666170","filename":"file2"},{"photo_id":"1331666609","filename":"file4"},{"photo_id":"1331666162","filename":"file1"},{"photo_id":"1331666157","filename":"file0"},{"photo_id":"1331666241","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331666170":["hashtag1","hashtag2"]},{"1331666241":["hashtag1","hashtag2"]},{"1331666157":["hashtag1","hashtag2"]},{"1331666162":["hashtag1","hashtag2"]},{"1331666906":["hashtag1","hashtag2"]},{"1331666609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331666170, 1331666241, 1331666157, 1331666162, 1331666906, 1331666609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.80891990661621 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:48:32.525951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_47_10360.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_56_9401.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_48_07_10521.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_16_9408.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_26_10399.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_37_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_47_10360.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_56_9401.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_48_07_10521.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_16_9408.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_26_10399.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_37_10339.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5084803104400635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:48:42.451048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_47_10360.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_56_9401.jpg', '/home/pi/Desktop/images/26012025/12/47/image_26012025_12_48_07_10521.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_16_9408.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_26_10399.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_37_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_47_10360.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_47_56_9401.jpg
/home/pi/Desktop/images/26012025/12/47/image_26012025_12_48_07_10521.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_16_9408.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_26_10399.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_37_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":["1331667256","1331667157","1331667111","1331667141","1331667272","1331666927"],"photo_ids_order":["1331666927","1331667111","1331667141","1331667157","1331667256","1331667272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7af7d9d4c17a4bc79d9abbe44da63034.jpg","text":"TemporaryFile(/tmp/multipartBody5228142999677647173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_48_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/26/b8b75804c647a14dda11a7b0bbe687f8.jpg","text":"TemporaryFile(/tmp/multipartBody6910665257117052054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_48_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f12cd67134ed97469019336d6e447391.jpg","text":"TemporaryFile(/tmp/multipartBody4559715500461162026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_47_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/26/9b1ce582f113b7b093e6180c2713b005.jpg","text":"TemporaryFile(/tmp/multipartBody225270375914585320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_48_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/26/c39885e6fdbc668f8be1db1bff6f2ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5539600160177495493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_48_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b8c2e128764b787265b8fd9163fe1186.jpg","text":"TemporaryFile(/tmp/multipartBody2673235663668417832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892183371,"filename":"image_26012025_12_47_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667141","file1":"1331667111","file0":"1331666927","file4":"1331667256","file5":"1331667272","file3":"1331667157"},"map_files_photo_id_array":[{"photo_id":"1331667272","filename":"file5"},{"photo_id":"1331667141","filename":"file2"},{"photo_id":"1331667256","filename":"file4"},{"photo_id":"1331667111","filename":"file1"},{"photo_id":"1331666927","filename":"file0"},{"photo_id":"1331667157","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667256":["hashtag1","hashtag2"]},{"1331667157":["hashtag1","hashtag2"]},{"1331667111":["hashtag1","hashtag2"]},{"1331667141":["hashtag1","hashtag2"]},{"1331667272":["hashtag1","hashtag2"]},{"1331666927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667256, 1331667157, 1331667111, 1331667141, 1331667272, 1331666927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.47722339630127 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:49:32.842008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_57_10476.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_49_06_9415.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_16_10343.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_27_10440.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_36_9393.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_57_10476.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_49_06_9415.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_16_10343.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_27_10440.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_36_9393.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_47_10450.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5421926975250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:49:42.797869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_57_10476.jpg', '/home/pi/Desktop/images/26012025/12/48/image_26012025_12_49_06_9415.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_16_10343.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_27_10440.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_36_9393.jpg', '/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_47_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_48_57_10476.jpg
/home/pi/Desktop/images/26012025/12/48/image_26012025_12_49_06_9415.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_16_10343.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_27_10440.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_36_9393.jpg
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_47_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331667294","1331667288","1331667312","1331667300","1331667302","1331667298"],"photo_ids_order":["1331667288","1331667294","1331667298","1331667300","1331667302","1331667312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6d4d15955c12c827c96151dc84f3e09.jpg","text":"TemporaryFile(/tmp/multipartBody5862890016358253401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_49_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/26/9c354601dbffe26a6accd683883738de.jpg","text":"TemporaryFile(/tmp/multipartBody3205879082522722297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_48_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/26/f05d02c778677198e643f1237e6abc45.jpg","text":"TemporaryFile(/tmp/multipartBody6690886102356385244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_49_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d158c63c421f23c3f7a918124f410bee.jpg","text":"TemporaryFile(/tmp/multipartBody7644933501883337029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_49_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/26/fc20a4f1c046b90c4a13a559bee4fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody3186339516262927815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_49_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/26/4487c605a36cab32a8f4cb6c284761c3.jpg","text":"TemporaryFile(/tmp/multipartBody3633676855366298820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892243720,"filename":"image_26012025_12_49_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667298","file1":"1331667294","file0":"1331667288","file4":"1331667302","file5":"1331667312","file3":"1331667300"},"map_files_photo_id_array":[{"photo_id":"1331667312","filename":"file5"},{"photo_id":"1331667298","filename":"file2"},{"photo_id":"1331667302","filename":"file4"},{"photo_id":"1331667294","filename":"file1"},{"photo_id":"1331667288","filename":"file0"},{"photo_id":"1331667300","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667294":["hashtag1","hashtag2"]},{"1331667288":["hashtag1","hashtag2"]},{"1331667312":["hashtag1","hashtag2"]},{"1331667300":["hashtag1","hashtag2"]},{"1331667302":["hashtag1","hashtag2"]},{"1331667298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667294, 1331667288, 1331667312, 1331667300, 1331667302, 1331667298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.984527349472046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:50:33.052010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_56_9353.jpg', '/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_17_10404.jpg', '/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_26_9340.jpg', '/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_36_10408.jpg', '/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_46_9398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/49/image_26012025_12_49_56_9353.jpg
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_17_10404.jpg
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_26_9340.jpg
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_36_10408.jpg
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_46_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":["1331667330","1331667333","1331667327","1331667320","1331667323"],"photo_ids_order":["1331667320","1331667323","1331667327","1331667330","1331667333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bef374630d84d576ced105daed739b5.jpg","text":"TemporaryFile(/tmp/multipartBody9204235984911235231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892293950,"filename":"image_26012025_12_50_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/26/ce5bbffc005102a01a630b1d813e9926.jpg","text":"TemporaryFile(/tmp/multipartBody6323818814188328999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892293950,"filename":"image_26012025_12_50_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/190cc6c87d7bb328892720648f44ec7a.jpg","text":"TemporaryFile(/tmp/multipartBody3852454299365023190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892293950,"filename":"image_26012025_12_50_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/26/92004c0dcce14164a8f7560ac782cb1a.jpg","text":"TemporaryFile(/tmp/multipartBody2948548974235594918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892293950,"filename":"image_26012025_12_49_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/26/c964411c3db491b5d391de174f6f5614.jpg","text":"TemporaryFile(/tmp/multipartBody6590190280124985636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892293950,"filename":"image_26012025_12_50_17_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667327","file1":"1331667323","file0":"1331667320","file4":"1331667333","file3":"1331667330"},"map_files_photo_id_array":[{"photo_id":"1331667327","filename":"file2"},{"photo_id":"1331667333","filename":"file4"},{"photo_id":"1331667323","filename":"file1"},{"photo_id":"1331667320","filename":"file0"},{"photo_id":"1331667330","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667330":["hashtag1","hashtag2"]},{"1331667333":["hashtag1","hashtag2"]},{"1331667327":["hashtag1","hashtag2"]},{"1331667320":["hashtag1","hashtag2"]},{"1331667323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667330, 1331667333, 1331667327, 1331667320, 1331667323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.384814500808716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:51:32.243724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_56_10391.jpg', '/home/pi/Desktop/images/26012025/12/50/image_26012025_12_51_07_10438.jpg', '/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_16_9333.jpg', '/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_26_10351.jpg', '/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_37_10398.jpg', '/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_46_9482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_50_56_10391.jpg
/home/pi/Desktop/images/26012025/12/50/image_26012025_12_51_07_10438.jpg
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_16_9333.jpg
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_26_10351.jpg
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_37_10398.jpg
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_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":["1331667457","1331667453","1331667395","1331667513","1331667512","1331667461"],"photo_ids_order":["1331667395","1331667453","1331667457","1331667461","1331667512","1331667513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90052b3ed0ca7bbf8ca1729d42648d08.jpg","text":"TemporaryFile(/tmp/multipartBody7275575034267081730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_51_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/26/56b1d6c4d808eed77341ae9dbe2e26ee.jpg","text":"TemporaryFile(/tmp/multipartBody5427131878354327903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_51_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd773c07c1b163fb4ed003c6c2c41944.jpg","text":"TemporaryFile(/tmp/multipartBody1241733022196356736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_50_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/26/d1e9a5e3cef5a0dea48a117cea527eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3350811637223018322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_51_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/26/49e103d278b5488f8760116e41023087.jpg","text":"TemporaryFile(/tmp/multipartBody5917799491890762527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_51_37_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/26/4da791f2f94f79f1fbec381fd669bf3d.jpg","text":"TemporaryFile(/tmp/multipartBody6722418069807361666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892353176,"filename":"image_26012025_12_51_26_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667457","file1":"1331667453","file0":"1331667395","file4":"1331667512","file5":"1331667513","file3":"1331667461"},"map_files_photo_id_array":[{"photo_id":"1331667513","filename":"file5"},{"photo_id":"1331667457","filename":"file2"},{"photo_id":"1331667512","filename":"file4"},{"photo_id":"1331667453","filename":"file1"},{"photo_id":"1331667395","filename":"file0"},{"photo_id":"1331667461","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667457":["hashtag1","hashtag2"]},{"1331667453":["hashtag1","hashtag2"]},{"1331667395":["hashtag1","hashtag2"]},{"1331667513":["hashtag1","hashtag2"]},{"1331667512":["hashtag1","hashtag2"]},{"1331667461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667457, 1331667453, 1331667395, 1331667513, 1331667512, 1331667461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57410025596619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:52:32.441348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_57_10432.jpg', '/home/pi/Desktop/images/26012025/12/51/image_26012025_12_52_06_9359.jpg', '/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_16_10361.jpg', '/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_26_9433.jpg', '/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_36_10328.jpg', '/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_47_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_51_57_10432.jpg
/home/pi/Desktop/images/26012025/12/51/image_26012025_12_52_06_9359.jpg
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_16_10361.jpg
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_26_9433.jpg
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_36_10328.jpg
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_47_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":["1331667601","1331667591","1331667600","1331667593","1331667596","1331667598"],"photo_ids_order":["1331667591","1331667593","1331667596","1331667598","1331667600","1331667601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef063aa5efba9ecba1c55eeba34a2cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6246867975106728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_52_47_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/26/e26f47d668033a9583aa2c095e63e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody7244907358405919072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_51_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/26/51c32b1c9e9c5b62b952def9ce8c144a.jpg","text":"TemporaryFile(/tmp/multipartBody5766659897439109975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_52_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08452bc58342a059326af353cde5764b.jpg","text":"TemporaryFile(/tmp/multipartBody6942750420401339209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_52_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/26/6623c835961035af12bf99c63690c595.jpg","text":"TemporaryFile(/tmp/multipartBody5930381060289892676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_52_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/26/82253a20963f85872acfbee2217d3b81.jpg","text":"TemporaryFile(/tmp/multipartBody6229713266794536566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892413361,"filename":"image_26012025_12_52_26_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667596","file1":"1331667593","file0":"1331667591","file4":"1331667600","file5":"1331667601","file3":"1331667598"},"map_files_photo_id_array":[{"photo_id":"1331667601","filename":"file5"},{"photo_id":"1331667596","filename":"file2"},{"photo_id":"1331667600","filename":"file4"},{"photo_id":"1331667593","filename":"file1"},{"photo_id":"1331667591","filename":"file0"},{"photo_id":"1331667598","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667601":["hashtag1","hashtag2"]},{"1331667591":["hashtag1","hashtag2"]},{"1331667600":["hashtag1","hashtag2"]},{"1331667593":["hashtag1","hashtag2"]},{"1331667596":["hashtag1","hashtag2"]},{"1331667598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667601, 1331667591, 1331667600, 1331667593, 1331667596, 1331667598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27307391166687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:53:32.633594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_56_9399.jpg', '/home/pi/Desktop/images/26012025/12/52/image_26012025_12_53_06_10320.jpg', '/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_17_10374.jpg', '/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_26_9360.jpg', '/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_36_10407.jpg', '/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_46_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_52_56_9399.jpg
/home/pi/Desktop/images/26012025/12/52/image_26012025_12_53_06_10320.jpg
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_17_10374.jpg
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_26_9360.jpg
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_36_10407.jpg
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_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":["1331667655","1331667643","1331667681","1331667621","1331667624","1331667670"],"photo_ids_order":["1331667621","1331667624","1331667643","1331667655","1331667670","1331667681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb3c8588287fedf5f2a9e59b16edb481.jpg","text":"TemporaryFile(/tmp/multipartBody6704589155774366018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_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/26/6d0ffc6d24489f493d66fff9ab5106e7.jpg","text":"TemporaryFile(/tmp/multipartBody5442922853097283639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_53_17_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/26/3b7a7f53bdf44e0d672eedd863685ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2888782501430057456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_53_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/26/0385448e284629afbbadee34a471a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody2421858241330160020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_52_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83b266c891e245438ef621d83b9c3bfb.jpg","text":"TemporaryFile(/tmp/multipartBody350075160600484984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_53_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1575389bee13b7f10b99f49aa13fb46a.jpg","text":"TemporaryFile(/tmp/multipartBody6517007650124583134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892473537,"filename":"image_26012025_12_53_36_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667643","file1":"1331667624","file0":"1331667621","file4":"1331667670","file5":"1331667681","file3":"1331667655"},"map_files_photo_id_array":[{"photo_id":"1331667681","filename":"file5"},{"photo_id":"1331667643","filename":"file2"},{"photo_id":"1331667670","filename":"file4"},{"photo_id":"1331667624","filename":"file1"},{"photo_id":"1331667621","filename":"file0"},{"photo_id":"1331667655","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667655":["hashtag1","hashtag2"]},{"1331667643":["hashtag1","hashtag2"]},{"1331667681":["hashtag1","hashtag2"]},{"1331667621":["hashtag1","hashtag2"]},{"1331667624":["hashtag1","hashtag2"]},{"1331667670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667655, 1331667643, 1331667681, 1331667621, 1331667624, 1331667670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41355061531067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:54:32.993518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_56_10363.jpg', '/home/pi/Desktop/images/26012025/12/53/image_26012025_12_54_07_10446.jpg', '/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_16_9320.jpg', '/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_26_10349.jpg', '/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_37_10397.jpg', '/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_46_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_53_56_10363.jpg
/home/pi/Desktop/images/26012025/12/53/image_26012025_12_54_07_10446.jpg
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_16_9320.jpg
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_26_10349.jpg
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_37_10397.jpg
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_46_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331667769","1331667733","1331667757","1331667739","1331667729","1331667770"],"photo_ids_order":["1331667729","1331667733","1331667739","1331667757","1331667769","1331667770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54252efebb7db0e2fe0fdacb51d4e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7229697197444818578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_54_37_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf62955f83f557d6e35ca489233af24a.jpg","text":"TemporaryFile(/tmp/multipartBody6727755402127420625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_54_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/26/3ebc6ed9143fae56200289e4e5fd79ab.jpg","text":"TemporaryFile(/tmp/multipartBody8717411036061487275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_54_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/26/6816431a0178e801095d83af193aa1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5147065326030180434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_54_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/26/53bf58d8084c6f3fdf59219a708a7751.jpg","text":"TemporaryFile(/tmp/multipartBody7077404428017250732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_53_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae9407fb47e22f9d14b8ed69abe7875a.jpg","text":"TemporaryFile(/tmp/multipartBody4434387058327707658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892533920,"filename":"image_26012025_12_54_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667739","file1":"1331667733","file0":"1331667729","file4":"1331667769","file5":"1331667770","file3":"1331667757"},"map_files_photo_id_array":[{"photo_id":"1331667770","filename":"file5"},{"photo_id":"1331667739","filename":"file2"},{"photo_id":"1331667769","filename":"file4"},{"photo_id":"1331667733","filename":"file1"},{"photo_id":"1331667729","filename":"file0"},{"photo_id":"1331667757","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667769":["hashtag1","hashtag2"]},{"1331667733":["hashtag1","hashtag2"]},{"1331667757":["hashtag1","hashtag2"]},{"1331667739":["hashtag1","hashtag2"]},{"1331667729":["hashtag1","hashtag2"]},{"1331667770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667769, 1331667733, 1331667757, 1331667739, 1331667729, 1331667770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62261486053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:55:32.172953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_57_10438.jpg', '/home/pi/Desktop/images/26012025/12/54/image_26012025_12_55_06_9328.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_16_10381.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_27_10431.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_36_9243.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_54_57_10438.jpg
/home/pi/Desktop/images/26012025/12/54/image_26012025_12_55_06_9328.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_16_10381.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_27_10431.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_36_9243.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_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":["1331667820","1331667817","1331667797","1331667821","1331667815","1331667787"],"photo_ids_order":["1331667787","1331667797","1331667815","1331667817","1331667820","1331667821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18100203b88d0723af6bddf306e95590.jpg","text":"TemporaryFile(/tmp/multipartBody1651790911629103696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_55_36_9243.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/696c57f61eac0bbb5eb2b0e699d14fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5761798677776594922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_55_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4549c79acedd2a321e23069648db736.jpg","text":"TemporaryFile(/tmp/multipartBody4315089947180416331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_55_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/26/94c50572d9425b28fdbf9352fef67977.jpg","text":"TemporaryFile(/tmp/multipartBody7980349783421508233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_55_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/26/7f05720e96b25c414d16235c0e864209.jpg","text":"TemporaryFile(/tmp/multipartBody4876343897002376232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_55_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49640c6fbea6a6bf2cc2c3ce10d61db1.jpg","text":"TemporaryFile(/tmp/multipartBody6975109629276170808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892593072,"filename":"image_26012025_12_54_57_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667815","file1":"1331667797","file0":"1331667787","file4":"1331667820","file5":"1331667821","file3":"1331667817"},"map_files_photo_id_array":[{"photo_id":"1331667821","filename":"file5"},{"photo_id":"1331667815","filename":"file2"},{"photo_id":"1331667820","filename":"file4"},{"photo_id":"1331667797","filename":"file1"},{"photo_id":"1331667787","filename":"file0"},{"photo_id":"1331667817","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667820":["hashtag1","hashtag2"]},{"1331667817":["hashtag1","hashtag2"]},{"1331667797":["hashtag1","hashtag2"]},{"1331667821":["hashtag1","hashtag2"]},{"1331667815":["hashtag1","hashtag2"]},{"1331667787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667820, 1331667817, 1331667797, 1331667821, 1331667815, 1331667787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.28984570503235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:56:32.388548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_57_10419.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_56_06_9382.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_16_10360.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_26_9348.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_36_10324.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_47_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_57_10419.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_56_06_9382.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_16_10360.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_26_9348.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_36_10324.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_47_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.5099968910217285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:56:42.395124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_57_10419.jpg', '/home/pi/Desktop/images/26012025/12/55/image_26012025_12_56_06_9382.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_16_10360.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_26_9348.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_36_10324.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_47_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_55_57_10419.jpg
/home/pi/Desktop/images/26012025/12/55/image_26012025_12_56_06_9382.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_16_10360.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_26_9348.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_36_10324.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_47_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331667841","1331667835","1331667861","1331667848","1331667851","1331667845"],"photo_ids_order":["1331667835","1331667841","1331667845","1331667848","1331667851","1331667861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/47720c66879b6ebc4c49ced166782553.jpg","text":"TemporaryFile(/tmp/multipartBody6574219805473862589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_56_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83469b992955019e376b41b8788158d1.jpg","text":"TemporaryFile(/tmp/multipartBody1588688944768131040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_55_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/26/883109e0b12470546b54a16da915f2d8.jpg","text":"TemporaryFile(/tmp/multipartBody7968712365946940940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_56_47_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddfbaffc9a66efa045532ae864159e44.jpg","text":"TemporaryFile(/tmp/multipartBody4759928638826010815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_56_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/26/82b06fae49f36fa3c280ddd4669d9a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1383631373401909462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_56_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4494a11ba2073b6d0b8ad07eb18050b4.jpg","text":"TemporaryFile(/tmp/multipartBody6764676874170566356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892663331,"filename":"image_26012025_12_56_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667845","file1":"1331667841","file0":"1331667835","file4":"1331667851","file5":"1331667861","file3":"1331667848"},"map_files_photo_id_array":[{"photo_id":"1331667861","filename":"file5"},{"photo_id":"1331667845","filename":"file2"},{"photo_id":"1331667851","filename":"file4"},{"photo_id":"1331667841","filename":"file1"},{"photo_id":"1331667835","filename":"file0"},{"photo_id":"1331667848","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667841":["hashtag1","hashtag2"]},{"1331667835":["hashtag1","hashtag2"]},{"1331667861":["hashtag1","hashtag2"]},{"1331667848":["hashtag1","hashtag2"]},{"1331667851":["hashtag1","hashtag2"]},{"1331667845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667841, 1331667835, 1331667861, 1331667848, 1331667851, 1331667845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27194309234619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 12:57:32.781551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_56_9349.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_57_06_10315.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_17_10383.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_26_9343.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_36_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_56_9349.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_57_06_10315.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_17_10383.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_26_9343.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_36_10319.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-26 12:59:04.190295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_56_9349.jpg', '/home/pi/Desktop/images/26012025/12/56/image_26012025_12_57_06_10315.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_17_10383.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_26_9343.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_36_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_56_56_9349.jpg
/home/pi/Desktop/images/26012025/12/56/image_26012025_12_57_06_10315.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_17_10383.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_26_9343.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_36_10319.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331667928","1331667919","1331667930","1331667935","1331667923"],"photo_ids_order":["1331667919","1331667923","1331667928","1331667930","1331667935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74e109b6230d7eae3e4fd0a66d1161aa.jpg","text":"TemporaryFile(/tmp/multipartBody1575120415481070370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892805264,"filename":"image_26012025_12_57_17_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/26/e83bbb6bc0c0a6db3976c62063a83fed.jpg","text":"TemporaryFile(/tmp/multipartBody1334106557304090047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892805264,"filename":"image_26012025_12_56_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/26/68a6f54750c05adb65c7e57f6cff6128.jpg","text":"TemporaryFile(/tmp/multipartBody3484183916665939694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892805264,"filename":"image_26012025_12_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/26/ddd85b65defc10ef32146bcf66f9dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody1253315702172592137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892805264,"filename":"image_26012025_12_57_36_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f571a6558dbd8ab7e93e79ff9daa2901.jpg","text":"TemporaryFile(/tmp/multipartBody2653943930150192834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892805264,"filename":"image_26012025_12_57_06_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331667928","file1":"1331667923","file0":"1331667919","file4":"1331667935","file3":"1331667930"},"map_files_photo_id_array":[{"photo_id":"1331667928","filename":"file2"},{"photo_id":"1331667935","filename":"file4"},{"photo_id":"1331667923","filename":"file1"},{"photo_id":"1331667919","filename":"file0"},{"photo_id":"1331667930","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331667928":["hashtag1","hashtag2"]},{"1331667919":["hashtag1","hashtag2"]},{"1331667930":["hashtag1","hashtag2"]},{"1331667935":["hashtag1","hashtag2"]},{"1331667923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331667928, 1331667919, 1331667930, 1331667935, 1331667923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.461793184280396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 12:59:42.984918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_56_9337.jpg', '/home/pi/Desktop/images/26012025/12/57/image_26012025_12_58_06_10319.jpg', '/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_17_10354.jpg', '/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_26_9340.jpg', '/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_36_10354.jpg', '/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_47_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_57_56_9337.jpg
/home/pi/Desktop/images/26012025/12/57/image_26012025_12_58_06_10319.jpg
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_17_10354.jpg
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_26_9340.jpg
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_36_10354.jpg
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_47_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":["1331668761","1331667942","1331667956","1331668756","1331668369","1331668714"],"photo_ids_order":["1331667942","1331667956","1331668369","1331668714","1331668756","1331668761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c057a58ad80a9b43bb8e7f8a609026e6.jpg","text":"TemporaryFile(/tmp/multipartBody8913261696329782880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_58_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1c75b40fdcb4beb0b9197acee0c532a.jpg","text":"TemporaryFile(/tmp/multipartBody2297070476395484885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_57_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/26/d396ba01d25ef5407486d6e4fbdf6ef2.jpg","text":"TemporaryFile(/tmp/multipartBody2003645315282929906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_58_06_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/26/fd0fe0c2a2682754e9717fe7c4a75992.jpg","text":"TemporaryFile(/tmp/multipartBody1281323802995655796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_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/26/a3f7ce41e33384a5936a44a651b3764a.jpg","text":"TemporaryFile(/tmp/multipartBody3316703934100051030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_58_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/26/d59ab6e55d22b5af99582e46f0b270ef.jpg","text":"TemporaryFile(/tmp/multipartBody2126785383788017311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892843896,"filename":"image_26012025_12_58_26_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331668369","file1":"1331667956","file0":"1331667942","file4":"1331668756","file5":"1331668761","file3":"1331668714"},"map_files_photo_id_array":[{"photo_id":"1331668761","filename":"file5"},{"photo_id":"1331668369","filename":"file2"},{"photo_id":"1331668756","filename":"file4"},{"photo_id":"1331667956","filename":"file1"},{"photo_id":"1331667942","filename":"file0"},{"photo_id":"1331668714","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331668761":["hashtag1","hashtag2"]},{"1331667942":["hashtag1","hashtag2"]},{"1331667956":["hashtag1","hashtag2"]},{"1331668756":["hashtag1","hashtag2"]},{"1331668369":["hashtag1","hashtag2"]},{"1331668714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331668761, 1331667942, 1331667956, 1331668756, 1331668369, 1331668714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.193196058273315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:00:32.319102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_56_9340.jpg', '/home/pi/Desktop/images/26012025/12/58/image_26012025_12_59_07_10446.jpg', '/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_16_9361.jpg', '/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_26_10362.jpg', '/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_37_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_58_56_9340.jpg
/home/pi/Desktop/images/26012025/12/58/image_26012025_12_59_07_10446.jpg
/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_16_9361.jpg
/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_26_10362.jpg
/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_37_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":["1331669049","1331669328","1331669301","1331669356","1331669221"],"photo_ids_order":["1331669049","1331669221","1331669301","1331669328","1331669356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/476bc1c6a6707b5a7b763321ec389a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6267303645024624383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892893201,"filename":"image_26012025_12_58_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/26/28bb265b607f2f755382f7fba135a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2115649370196608038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892893201,"filename":"image_26012025_12_59_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/26/28fdef44e6de20c6980d66dd7a446524.jpg","text":"TemporaryFile(/tmp/multipartBody6334321788491646775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892893201,"filename":"image_26012025_12_59_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/26/be2515b90d7098306831bd886f30915f.jpg","text":"TemporaryFile(/tmp/multipartBody5780625638590320457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892893201,"filename":"image_26012025_12_59_37_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1533224a9ea4c0ad40ee428cd9dfd4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5174230061593915847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892893201,"filename":"image_26012025_12_59_07_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669301","file1":"1331669221","file0":"1331669049","file4":"1331669356","file3":"1331669328"},"map_files_photo_id_array":[{"photo_id":"1331669301","filename":"file2"},{"photo_id":"1331669356","filename":"file4"},{"photo_id":"1331669221","filename":"file1"},{"photo_id":"1331669049","filename":"file0"},{"photo_id":"1331669328","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669049":["hashtag1","hashtag2"]},{"1331669328":["hashtag1","hashtag2"]},{"1331669301":["hashtag1","hashtag2"]},{"1331669356":["hashtag1","hashtag2"]},{"1331669221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669049, 1331669328, 1331669301, 1331669356, 1331669221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.30052900314331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:01:32.657694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_46_9451.jpg', '/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_14_10070.jpg', '/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_24_10377.jpg', '/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_35_10337.jpg', '/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_44_9419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/12/59/image_26012025_12_59_46_9451.jpg
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_14_10070.jpg
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_24_10377.jpg
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_35_10337.jpg
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_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":["1331669424","1331669417","1331669414","1331669422","1331669419"],"photo_ids_order":["1331669414","1331669417","1331669419","1331669422","1331669424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f8ef98ef41d0192563573919915ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody8623665054637621914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892953550,"filename":"image_26012025_13_01_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/26/f48ef2c2234762ca51ca5dc0e53bf0ed.jpg","text":"TemporaryFile(/tmp/multipartBody4918597192767015067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892953550,"filename":"image_26012025_13_01_14_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/78086f3628cfb2a649cfcce8fb3cad5e.jpg","text":"TemporaryFile(/tmp/multipartBody7673179617249097075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892953550,"filename":"image_26012025_12_59_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/26/1e890f9c4b6800093919b3168ae3ec3a.jpg","text":"TemporaryFile(/tmp/multipartBody8126291116339855753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892953550,"filename":"image_26012025_13_01_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/26/4e489e0b8fd2e044491fbb4a78b9d19b.jpg","text":"TemporaryFile(/tmp/multipartBody2184457661130661021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737892953550,"filename":"image_26012025_13_01_24_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669419","file1":"1331669417","file0":"1331669414","file4":"1331669424","file3":"1331669422"},"map_files_photo_id_array":[{"photo_id":"1331669419","filename":"file2"},{"photo_id":"1331669424","filename":"file4"},{"photo_id":"1331669417","filename":"file1"},{"photo_id":"1331669414","filename":"file0"},{"photo_id":"1331669422","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669424":["hashtag1","hashtag2"]},{"1331669417":["hashtag1","hashtag2"]},{"1331669414":["hashtag1","hashtag2"]},{"1331669422":["hashtag1","hashtag2"]},{"1331669419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669424, 1331669417, 1331669414, 1331669422, 1331669419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.02963709831238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:02:32.784211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_54_10355.jpg', '/home/pi/Desktop/images/26012025/13/01/image_26012025_13_02_05_10409.jpg', '/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_14_9403.jpg', '/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_25_10345.jpg', '/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_34_9343.jpg', '/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_44_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_01_54_10355.jpg
/home/pi/Desktop/images/26012025/13/01/image_26012025_13_02_05_10409.jpg
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_14_9403.jpg
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_25_10345.jpg
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_34_9343.jpg
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_44_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":["1331669441","1331669444","1331669438","1331669446","1331669449","1331669443"],"photo_ids_order":["1331669438","1331669441","1331669443","1331669444","1331669446","1331669449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e91f541b295f4f0d25deff4612fedc9b.jpg","text":"TemporaryFile(/tmp/multipartBody5207418191204039673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_02_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/26/e6f9e09bdc9fb5b0922dd7402441913f.jpg","text":"TemporaryFile(/tmp/multipartBody4052417642831786829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_02_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95df55eb59d9733fa5504ba9b5b74cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8075147428575996449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_01_54_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bd7b7a174db9fffbe78dce3fc0031d9.jpg","text":"TemporaryFile(/tmp/multipartBody6068763989608414515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_02_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/26/7b3ffd605b75f8912c781ae8a70fc362.jpg","text":"TemporaryFile(/tmp/multipartBody9096903740930659417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_02_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1120dd24da078458dbd5b1069feaf90d.jpg","text":"TemporaryFile(/tmp/multipartBody3362094807559832455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893013749,"filename":"image_26012025_13_02_14_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669443","file1":"1331669441","file0":"1331669438","file4":"1331669446","file5":"1331669449","file3":"1331669444"},"map_files_photo_id_array":[{"photo_id":"1331669449","filename":"file5"},{"photo_id":"1331669443","filename":"file2"},{"photo_id":"1331669446","filename":"file4"},{"photo_id":"1331669441","filename":"file1"},{"photo_id":"1331669438","filename":"file0"},{"photo_id":"1331669444","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669441":["hashtag1","hashtag2"]},{"1331669444":["hashtag1","hashtag2"]},{"1331669438":["hashtag1","hashtag2"]},{"1331669446":["hashtag1","hashtag2"]},{"1331669449":["hashtag1","hashtag2"]},{"1331669443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669441, 1331669444, 1331669438, 1331669446, 1331669449, 1331669443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.444642543792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:03:33.099929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_55_10367.jpg', '/home/pi/Desktop/images/26012025/13/02/image_26012025_13_03_04_9327.jpg', '/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_14_10389.jpg', '/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_25_10367.jpg', '/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_34_9372.jpg', '/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_45_10511.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_02_55_10367.jpg
/home/pi/Desktop/images/26012025/13/02/image_26012025_13_03_04_9327.jpg
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_14_10389.jpg
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_25_10367.jpg
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_34_9372.jpg
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_45_10511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331669478","1331669492","1331669464","1331669467","1331669472","1331669469"],"photo_ids_order":["1331669464","1331669467","1331669469","1331669472","1331669478","1331669492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4a3c1c65e73ad5913a7b9d74dd01516.jpg","text":"TemporaryFile(/tmp/multipartBody5667566449058760708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_03_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/26/d6e830857edd643da3cd3cb0a95121b9.jpg","text":"TemporaryFile(/tmp/multipartBody7989647335880094976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_03_45_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/26/e00119d84d1a7772c5523f772e6447c2.jpg","text":"TemporaryFile(/tmp/multipartBody7646876517854317942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_02_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f77f9dbcaa07eda322b26afbc72b9511.jpg","text":"TemporaryFile(/tmp/multipartBody4665566898508723310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_03_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/26/f37c9aa25f4d77e8ea7a84cfe681fa86.jpg","text":"TemporaryFile(/tmp/multipartBody7164118879147170531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_03_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/26/dd2de125b662ef449c2fccdbf3e05806.jpg","text":"TemporaryFile(/tmp/multipartBody863397790527433110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893074014,"filename":"image_26012025_13_03_14_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669469","file1":"1331669467","file0":"1331669464","file4":"1331669478","file5":"1331669492","file3":"1331669472"},"map_files_photo_id_array":[{"photo_id":"1331669492","filename":"file5"},{"photo_id":"1331669469","filename":"file2"},{"photo_id":"1331669478","filename":"file4"},{"photo_id":"1331669467","filename":"file1"},{"photo_id":"1331669464","filename":"file0"},{"photo_id":"1331669472","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669478":["hashtag1","hashtag2"]},{"1331669492":["hashtag1","hashtag2"]},{"1331669464":["hashtag1","hashtag2"]},{"1331669467":["hashtag1","hashtag2"]},{"1331669472":["hashtag1","hashtag2"]},{"1331669469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669478, 1331669492, 1331669464, 1331669467, 1331669472, 1331669469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20800185203552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:04:32.305849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_54_9354.jpg', '/home/pi/Desktop/images/26012025/13/03/image_26012025_13_04_04_10361.jpg', '/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_15_10411.jpg', '/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_24_9348.jpg', '/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_35_10478.jpg', '/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_44_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_03_54_9354.jpg
/home/pi/Desktop/images/26012025/13/03/image_26012025_13_04_04_10361.jpg
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_15_10411.jpg
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_24_9348.jpg
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_35_10478.jpg
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_44_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331669556","1331669547","1331669549","1331669525","1331669557","1331669553"],"photo_ids_order":["1331669525","1331669547","1331669549","1331669553","1331669556","1331669557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87168b97ad602c828dbb59181a9bb3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2696413083646316995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_04_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/26/3aa64abfdd49a0c6ee7a7ebc762e831a.jpg","text":"TemporaryFile(/tmp/multipartBody8244544863507108435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_04_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf5e96021078609e05900f8b943664d1.jpg","text":"TemporaryFile(/tmp/multipartBody1390269740229414906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_04_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/26/434abbe1e53f25366912a1a81b87052a.jpg","text":"TemporaryFile(/tmp/multipartBody5694098637502258389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_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/26/5543915efe55d2ff7fc386a5e808c2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5657737621760679494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_04_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/26/28e1d79d906b27e2836239bb1c16cbc5.jpg","text":"TemporaryFile(/tmp/multipartBody4620096546887017083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893133233,"filename":"image_26012025_13_04_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669549","file1":"1331669547","file0":"1331669525","file4":"1331669556","file5":"1331669557","file3":"1331669553"},"map_files_photo_id_array":[{"photo_id":"1331669557","filename":"file5"},{"photo_id":"1331669549","filename":"file2"},{"photo_id":"1331669556","filename":"file4"},{"photo_id":"1331669547","filename":"file1"},{"photo_id":"1331669525","filename":"file0"},{"photo_id":"1331669553","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669556":["hashtag1","hashtag2"]},{"1331669547":["hashtag1","hashtag2"]},{"1331669549":["hashtag1","hashtag2"]},{"1331669525":["hashtag1","hashtag2"]},{"1331669557":["hashtag1","hashtag2"]},{"1331669553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669556, 1331669547, 1331669549, 1331669525, 1331669557, 1331669553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20578408241272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:05:32.398888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_54_10355.jpg', '/home/pi/Desktop/images/26012025/13/04/image_26012025_13_05_05_10438.jpg', '/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_14_9323.jpg', '/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_24_10371.jpg', '/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_35_10409.jpg', '/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_44_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_04_54_10355.jpg
/home/pi/Desktop/images/26012025/13/04/image_26012025_13_05_05_10438.jpg
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_14_9323.jpg
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_24_10371.jpg
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_35_10409.jpg
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_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":["1331669576","1331669579","1331669573","1331669572","1331669571","1331669574"],"photo_ids_order":["1331669571","1331669572","1331669573","1331669574","1331669576","1331669579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/251b412bd5c02cdec973cf078af39893.jpg","text":"TemporaryFile(/tmp/multipartBody8844236200278487457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_05_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b00e9364903ba0a8c77bffa5919d88e7.jpg","text":"TemporaryFile(/tmp/multipartBody8535178026161650359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_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/26/e512ca331b1a8ff5432aab3a841d1d72.jpg","text":"TemporaryFile(/tmp/multipartBody7848351392327458899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_05_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/26/ff69df6632180eaf6aabd055427ccda9.jpg","text":"TemporaryFile(/tmp/multipartBody7011609016625590938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_05_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/26/984737afdcd473b1bba4fed410fdbe97.jpg","text":"TemporaryFile(/tmp/multipartBody2903573264564165861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_04_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/26/5762d735df35213f5471679cd03e932c.jpg","text":"TemporaryFile(/tmp/multipartBody4068772441092404536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893193300,"filename":"image_26012025_13_05_24_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669573","file1":"1331669572","file0":"1331669571","file4":"1331669576","file5":"1331669579","file3":"1331669574"},"map_files_photo_id_array":[{"photo_id":"1331669579","filename":"file5"},{"photo_id":"1331669573","filename":"file2"},{"photo_id":"1331669576","filename":"file4"},{"photo_id":"1331669572","filename":"file1"},{"photo_id":"1331669571","filename":"file0"},{"photo_id":"1331669574","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669576":["hashtag1","hashtag2"]},{"1331669579":["hashtag1","hashtag2"]},{"1331669573":["hashtag1","hashtag2"]},{"1331669572":["hashtag1","hashtag2"]},{"1331669571":["hashtag1","hashtag2"]},{"1331669574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669576, 1331669579, 1331669573, 1331669572, 1331669571, 1331669574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30899715423584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:06:32.752166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_55_10522.jpg', '/home/pi/Desktop/images/26012025/13/05/image_26012025_13_06_04_9402.jpg', '/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_15_10433.jpg', '/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_25_10335.jpg', '/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_34_9327.jpg', '/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_45_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_05_55_10522.jpg
/home/pi/Desktop/images/26012025/13/05/image_26012025_13_06_04_9402.jpg
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_15_10433.jpg
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_25_10335.jpg
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_34_9327.jpg
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_45_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331669610","1331669708","1331669621","1331669606","1331669602","1331669652"],"photo_ids_order":["1331669602","1331669606","1331669610","1331669621","1331669652","1331669708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/609d9ab83a0f536f288e908f424512a4.jpg","text":"TemporaryFile(/tmp/multipartBody5831844264556623271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_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/26/d7f9500994b5002bbc6b586273123802.jpg","text":"TemporaryFile(/tmp/multipartBody7508931635154679810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_06_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c99de466b416c22156c8b74a40b797b6.jpg","text":"TemporaryFile(/tmp/multipartBody7741656830703782275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_06_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3866df1e55c67261a0679a450a62c57b.jpg","text":"TemporaryFile(/tmp/multipartBody1425351281340054031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_06_04_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/26/fcac71fecbb5efb3fe5795d106e90a69.jpg","text":"TemporaryFile(/tmp/multipartBody7897312753623045661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_05_55_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/26/139ea2400c1c48eed850e28153f886e5.jpg","text":"TemporaryFile(/tmp/multipartBody4311059298353845696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893253696,"filename":"image_26012025_13_06_34_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669610","file1":"1331669606","file0":"1331669602","file4":"1331669652","file5":"1331669708","file3":"1331669621"},"map_files_photo_id_array":[{"photo_id":"1331669708","filename":"file5"},{"photo_id":"1331669610","filename":"file2"},{"photo_id":"1331669652","filename":"file4"},{"photo_id":"1331669606","filename":"file1"},{"photo_id":"1331669602","filename":"file0"},{"photo_id":"1331669621","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669610":["hashtag1","hashtag2"]},{"1331669708":["hashtag1","hashtag2"]},{"1331669621":["hashtag1","hashtag2"]},{"1331669606":["hashtag1","hashtag2"]},{"1331669602":["hashtag1","hashtag2"]},{"1331669652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669610, 1331669708, 1331669621, 1331669606, 1331669602, 1331669652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38162302970886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:07:32.893160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_54_9337.jpg', '/home/pi/Desktop/images/26012025/13/06/image_26012025_13_07_04_10401.jpg', '/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_15_10353.jpg', '/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_24_9330.jpg', '/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_34_10349.jpg', '/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_06_54_9337.jpg
/home/pi/Desktop/images/26012025/13/06/image_26012025_13_07_04_10401.jpg
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_15_10353.jpg
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_24_9330.jpg
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_34_10349.jpg
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_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":["1331669826","1331669828","1331669822","1331669830","1331669803","1331669862"],"photo_ids_order":["1331669803","1331669822","1331669826","1331669828","1331669830","1331669862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ebda5d24688ff9d4d9c30d6c148751fa.jpg","text":"TemporaryFile(/tmp/multipartBody804535430736177925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_07_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/26/fcd8cd8728a04378cf63086bfc2e7366.jpg","text":"TemporaryFile(/tmp/multipartBody8578755201161572571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_07_24_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b48402ea556ba717d0e93947150b9e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3184562369938054296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_07_04_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/26/4d44fcfd74f698bb0ee14f77b0758658.jpg","text":"TemporaryFile(/tmp/multipartBody8969506865954000548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_07_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/26/631ccae761442c43e4cd3fe9eaee132f.jpg","text":"TemporaryFile(/tmp/multipartBody6998901652917396455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_06_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ec29af601f46ca64a6a27f64f38916cc.jpg","text":"TemporaryFile(/tmp/multipartBody3334746706786200784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893313796,"filename":"image_26012025_13_07_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669826","file1":"1331669822","file0":"1331669803","file4":"1331669830","file5":"1331669862","file3":"1331669828"},"map_files_photo_id_array":[{"photo_id":"1331669862","filename":"file5"},{"photo_id":"1331669826","filename":"file2"},{"photo_id":"1331669830","filename":"file4"},{"photo_id":"1331669822","filename":"file1"},{"photo_id":"1331669803","filename":"file0"},{"photo_id":"1331669828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669826":["hashtag1","hashtag2"]},{"1331669828":["hashtag1","hashtag2"]},{"1331669822":["hashtag1","hashtag2"]},{"1331669830":["hashtag1","hashtag2"]},{"1331669803":["hashtag1","hashtag2"]},{"1331669862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669826, 1331669828, 1331669822, 1331669830, 1331669803, 1331669862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.988137006759644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:08:33.050381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_54_9402.jpg', '/home/pi/Desktop/images/26012025/13/07/image_26012025_13_08_05_10441.jpg', '/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_14_9324.jpg', '/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_24_10353.jpg', '/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_35_10415.jpg', '/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_44_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_07_54_9402.jpg
/home/pi/Desktop/images/26012025/13/07/image_26012025_13_08_05_10441.jpg
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_14_9324.jpg
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_24_10353.jpg
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_35_10415.jpg
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_44_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":["1331669987","1331669975","1331669984","1331669986","1331669971","1331669980"],"photo_ids_order":["1331669971","1331669975","1331669980","1331669984","1331669986","1331669987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7df5eb4ee543a9c2d63971a365a976c4.jpg","text":"TemporaryFile(/tmp/multipartBody7992645963622873124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_08_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/163fccb1a6d417affe3a137cc75f49e5.jpg","text":"TemporaryFile(/tmp/multipartBody3049419059692167226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_08_05_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/26/5e2fe1ca1c49b694144ab9c8f9b8a416.jpg","text":"TemporaryFile(/tmp/multipartBody1117940608241078284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_08_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/26/0ad0336fa58595b73ab2f3bb1c0a167d.jpg","text":"TemporaryFile(/tmp/multipartBody2085075345202718977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_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/26/896a614fc5537828d7e034c2d0bcf8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7208597199106469893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_07_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97bae08fb0687608331611dbb3bf88c4.jpg","text":"TemporaryFile(/tmp/multipartBody572733193630941417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893373965,"filename":"image_26012025_13_08_14_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331669980","file1":"1331669975","file0":"1331669971","file4":"1331669986","file5":"1331669987","file3":"1331669984"},"map_files_photo_id_array":[{"photo_id":"1331669987","filename":"file5"},{"photo_id":"1331669980","filename":"file2"},{"photo_id":"1331669986","filename":"file4"},{"photo_id":"1331669975","filename":"file1"},{"photo_id":"1331669971","filename":"file0"},{"photo_id":"1331669984","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331669987":["hashtag1","hashtag2"]},{"1331669975":["hashtag1","hashtag2"]},{"1331669984":["hashtag1","hashtag2"]},{"1331669986":["hashtag1","hashtag2"]},{"1331669971":["hashtag1","hashtag2"]},{"1331669980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331669987, 1331669975, 1331669984, 1331669986, 1331669971, 1331669980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.595175981521606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:09:32.385704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_55_10494.jpg', '/home/pi/Desktop/images/26012025/13/08/image_26012025_13_09_04_9427.jpg', '/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_14_10338.jpg', '/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_25_10460.jpg', '/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_34_9331.jpg', '/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_44_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_08_55_10494.jpg
/home/pi/Desktop/images/26012025/13/08/image_26012025_13_09_04_9427.jpg
/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_14_10338.jpg
/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_25_10460.jpg
/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_34_9331.jpg
/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_44_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":["1331670012","1331670021","1331670009","1331670041","1331670059","1331670005"],"photo_ids_order":["1331670005","1331670009","1331670012","1331670021","1331670041","1331670059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/75c0327b7cc59d74bab7c37773b96312.jpg","text":"TemporaryFile(/tmp/multipartBody8733185052777794760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_09_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c35791f086802b9343352a2484aa50c.jpg","text":"TemporaryFile(/tmp/multipartBody1130717303557356231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_09_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00d74080dbbf78bc5275015e97434c84.jpg","text":"TemporaryFile(/tmp/multipartBody5267772155803449771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_09_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/26/d5a47df131869c09a6df2ed9f59bcece.jpg","text":"TemporaryFile(/tmp/multipartBody5546400509502148529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_09_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/26/b0d27ed3fe0a3802eb55c7f9604c6ad2.jpg","text":"TemporaryFile(/tmp/multipartBody4429953602014928281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_09_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fc3792210746b9e511a77d041e109527.jpg","text":"TemporaryFile(/tmp/multipartBody3649302515569990177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893433275,"filename":"image_26012025_13_08_55_10494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670012","file1":"1331670009","file0":"1331670005","file4":"1331670041","file5":"1331670059","file3":"1331670021"},"map_files_photo_id_array":[{"photo_id":"1331670059","filename":"file5"},{"photo_id":"1331670012","filename":"file2"},{"photo_id":"1331670041","filename":"file4"},{"photo_id":"1331670009","filename":"file1"},{"photo_id":"1331670005","filename":"file0"},{"photo_id":"1331670021","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670012":["hashtag1","hashtag2"]},{"1331670021":["hashtag1","hashtag2"]},{"1331670009":["hashtag1","hashtag2"]},{"1331670041":["hashtag1","hashtag2"]},{"1331670059":["hashtag1","hashtag2"]},{"1331670005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670012, 1331670021, 1331670009, 1331670041, 1331670059, 1331670005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85859560966492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:10:32.509286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_55_10345.jpg', '/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_15_10425.jpg', '/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_24_9348.jpg', '/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_34_10331.jpg', '/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_45_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/09/image_26012025_13_09_55_10345.jpg
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_15_10425.jpg
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_24_9348.jpg
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_34_10331.jpg
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_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":["1331670165","1331670111","1331670105","1331670140","1331670136"],"photo_ids_order":["1331670105","1331670111","1331670136","1331670140","1331670165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f942026f384d661555ae0fba66ed4c0e.jpg","text":"TemporaryFile(/tmp/multipartBody5120155788125989411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893493392,"filename":"image_26012025_13_10_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/26/8b9a6ded95028b1ec5908fd71db2b8a9.jpg","text":"TemporaryFile(/tmp/multipartBody6964656995048645390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893493392,"filename":"image_26012025_13_10_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/26/9f927995e8840110068ab99084e3bcbe.jpg","text":"TemporaryFile(/tmp/multipartBody1253831608029192207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893493392,"filename":"image_26012025_13_09_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/26/3f651c55280838a7a2e34b7f2517e4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5730261477937189102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893493392,"filename":"image_26012025_13_10_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/26/88b3bc1d1618d6b9a558a2a6e3c394ac.jpg","text":"TemporaryFile(/tmp/multipartBody8872775312195867694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893493392,"filename":"image_26012025_13_10_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670136","file1":"1331670111","file0":"1331670105","file4":"1331670165","file3":"1331670140"},"map_files_photo_id_array":[{"photo_id":"1331670136","filename":"file2"},{"photo_id":"1331670165","filename":"file4"},{"photo_id":"1331670111","filename":"file1"},{"photo_id":"1331670105","filename":"file0"},{"photo_id":"1331670140","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670165":["hashtag1","hashtag2"]},{"1331670111":["hashtag1","hashtag2"]},{"1331670105":["hashtag1","hashtag2"]},{"1331670140":["hashtag1","hashtag2"]},{"1331670136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670165, 1331670111, 1331670105, 1331670140, 1331670136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.270601749420166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:11:32.748023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_54_9358.jpg', '/home/pi/Desktop/images/26012025/13/10/image_26012025_13_11_04_10398.jpg', '/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_15_10405.jpg', '/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_24_9338.jpg', '/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_35_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_10_54_9358.jpg
/home/pi/Desktop/images/26012025/13/10/image_26012025_13_11_04_10398.jpg
/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_15_10405.jpg
/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_24_9338.jpg
/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_35_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":["1331670288","1331670282","1331670285","1331670278","1331670272"],"photo_ids_order":["1331670272","1331670278","1331670282","1331670285","1331670288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74bff56ed33ee99cfaf5b308657cd32b.jpg","text":"TemporaryFile(/tmp/multipartBody1056883560958793096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893553635,"filename":"image_26012025_13_11_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/26/7c6dbc767b17de1b84dc8562402e109c.jpg","text":"TemporaryFile(/tmp/multipartBody7016184971776812680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893553635,"filename":"image_26012025_13_11_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/26/9939005528b01da37d49844352ca5275.jpg","text":"TemporaryFile(/tmp/multipartBody2276166183508642049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893553635,"filename":"image_26012025_13_11_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/26/aa06da3f069419a075d2074f95f0e7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4622518187916408616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893553635,"filename":"image_26012025_13_11_04_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/26/8fc008a856704a41da4d36964cfd6c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7602380260870132059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893553635,"filename":"image_26012025_13_10_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670282","file1":"1331670278","file0":"1331670272","file4":"1331670288","file3":"1331670285"},"map_files_photo_id_array":[{"photo_id":"1331670282","filename":"file2"},{"photo_id":"1331670288","filename":"file4"},{"photo_id":"1331670278","filename":"file1"},{"photo_id":"1331670272","filename":"file0"},{"photo_id":"1331670285","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670288":["hashtag1","hashtag2"]},{"1331670282":["hashtag1","hashtag2"]},{"1331670285":["hashtag1","hashtag2"]},{"1331670278":["hashtag1","hashtag2"]},{"1331670272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670288, 1331670282, 1331670285, 1331670278, 1331670272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.47276496887207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:12:32.986534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_44_9397.jpg', '/home/pi/Desktop/images/26012025/13/11/image_26012025_13_12_05_10397.jpg', '/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_14_9329.jpg', '/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_24_10343.jpg', '/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_35_10349.jpg', '/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_44_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/11/image_26012025_13_11_44_9397.jpg
/home/pi/Desktop/images/26012025/13/11/image_26012025_13_12_05_10397.jpg
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_14_9329.jpg
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_24_10343.jpg
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_35_10349.jpg
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_44_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331670332","1331670356","1331670341","1331670314","1331670302","1331670307"],"photo_ids_order":["1331670302","1331670307","1331670314","1331670332","1331670341","1331670356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c963e9c205cf7af1358b0a676b880252.jpg","text":"TemporaryFile(/tmp/multipartBody3063153219662669706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_12_24_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca9e08994c1bf07cd9bbe4967fcaee99.jpg","text":"TemporaryFile(/tmp/multipartBody7748741512556199071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_12_44_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5526e35945ade7f48795f0348d0f831d.jpg","text":"TemporaryFile(/tmp/multipartBody596654233209338020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_12_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/26/ca46f6c7fdaf2e5e0329f5f0f4717438.jpg","text":"TemporaryFile(/tmp/multipartBody3186955846492622398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_12_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/26/f47f8cbeb22c15fca11bfa36809cb1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8516864636279499036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_11_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/333a58983360626048b7bbfad86ec1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8088273431487528239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893613906,"filename":"image_26012025_13_12_05_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670314","file1":"1331670307","file0":"1331670302","file4":"1331670341","file5":"1331670356","file3":"1331670332"},"map_files_photo_id_array":[{"photo_id":"1331670356","filename":"file5"},{"photo_id":"1331670314","filename":"file2"},{"photo_id":"1331670341","filename":"file4"},{"photo_id":"1331670307","filename":"file1"},{"photo_id":"1331670302","filename":"file0"},{"photo_id":"1331670332","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670332":["hashtag1","hashtag2"]},{"1331670356":["hashtag1","hashtag2"]},{"1331670341":["hashtag1","hashtag2"]},{"1331670314":["hashtag1","hashtag2"]},{"1331670302":["hashtag1","hashtag2"]},{"1331670307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670332, 1331670356, 1331670341, 1331670314, 1331670302, 1331670307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86717104911804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:13:32.166267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_55_10422.jpg', '/home/pi/Desktop/images/26012025/13/12/image_26012025_13_13_04_9333.jpg', '/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_14_10394.jpg', '/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_25_10418.jpg', '/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_34_9390.jpg', '/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_44_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_12_55_10422.jpg
/home/pi/Desktop/images/26012025/13/12/image_26012025_13_13_04_9333.jpg
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_14_10394.jpg
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_25_10418.jpg
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_34_9390.jpg
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_44_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":["1331670435","1331670440","1331670428","1331670422","1331670442","1331670385"],"photo_ids_order":["1331670385","1331670422","1331670428","1331670435","1331670440","1331670442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/afaeacd5495bd918cdbccd16ab67d589.jpg","text":"TemporaryFile(/tmp/multipartBody3286807576739966240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_13_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/26/c8b8904ccfda324e0de344a560d89390.jpg","text":"TemporaryFile(/tmp/multipartBody3747198929790976107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_13_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1bd468a5980d41e226827d168bec7253.jpg","text":"TemporaryFile(/tmp/multipartBody415881455575559918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_13_14_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/26/c8106f0463e59e8b54a3e646e4f6d609.jpg","text":"TemporaryFile(/tmp/multipartBody4784653978141424848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_13_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/26/ef9f88985ba147d1e3de71c3c06e481e.jpg","text":"TemporaryFile(/tmp/multipartBody2242643185217133254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_13_44_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/26/68d1ad383da9703046b512d32c79afd9.jpg","text":"TemporaryFile(/tmp/multipartBody6630555117964917937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893673062,"filename":"image_26012025_13_12_55_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670428","file1":"1331670422","file0":"1331670385","file4":"1331670440","file5":"1331670442","file3":"1331670435"},"map_files_photo_id_array":[{"photo_id":"1331670442","filename":"file5"},{"photo_id":"1331670428","filename":"file2"},{"photo_id":"1331670440","filename":"file4"},{"photo_id":"1331670422","filename":"file1"},{"photo_id":"1331670385","filename":"file0"},{"photo_id":"1331670435","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670435":["hashtag1","hashtag2"]},{"1331670440":["hashtag1","hashtag2"]},{"1331670428":["hashtag1","hashtag2"]},{"1331670422":["hashtag1","hashtag2"]},{"1331670442":["hashtag1","hashtag2"]},{"1331670385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670435, 1331670440, 1331670428, 1331670422, 1331670442, 1331670385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78025245666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:14:32.402768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_54_9444.jpg', '/home/pi/Desktop/images/26012025/13/13/image_26012025_13_14_04_10330.jpg', '/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_15_10421.jpg', '/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_24_9347.jpg', '/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_34_10393.jpg', '/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_13_54_9444.jpg
/home/pi/Desktop/images/26012025/13/13/image_26012025_13_14_04_10330.jpg
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_15_10421.jpg
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_24_9347.jpg
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_34_10393.jpg
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_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":["1331670468","1331670456","1331670464","1331670469","1331670460","1331670466"],"photo_ids_order":["1331670456","1331670460","1331670464","1331670466","1331670468","1331670469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/576cb87ae2e8a808fbdc7053840742e5.jpg","text":"TemporaryFile(/tmp/multipartBody6245398276377109127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_14_34_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/26/b5cfda34d731241ed5ab3026f86cde4e.jpg","text":"TemporaryFile(/tmp/multipartBody8176030261109000311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_13_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/26/320f94b466aa83859d8c0b502ccf6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7336023794566158109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_14_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/26/466e74220e312c155db80d28225b2071.jpg","text":"TemporaryFile(/tmp/multipartBody3148217034437060961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_14_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/26/41bed23c891fe4b70f0adfc0dc249c57.jpg","text":"TemporaryFile(/tmp/multipartBody5240554660047706346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_14_04_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/26/7da49963d08f8c63209c641638bfaf75.jpg","text":"TemporaryFile(/tmp/multipartBody8473140627286994570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893733310,"filename":"image_26012025_13_14_24_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670464","file1":"1331670460","file0":"1331670456","file4":"1331670468","file5":"1331670469","file3":"1331670466"},"map_files_photo_id_array":[{"photo_id":"1331670469","filename":"file5"},{"photo_id":"1331670464","filename":"file2"},{"photo_id":"1331670468","filename":"file4"},{"photo_id":"1331670460","filename":"file1"},{"photo_id":"1331670456","filename":"file0"},{"photo_id":"1331670466","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670468":["hashtag1","hashtag2"]},{"1331670456":["hashtag1","hashtag2"]},{"1331670464":["hashtag1","hashtag2"]},{"1331670469":["hashtag1","hashtag2"]},{"1331670460":["hashtag1","hashtag2"]},{"1331670466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670468, 1331670456, 1331670464, 1331670469, 1331670460, 1331670466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.984474420547485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:15:32.579850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_54_9396.jpg', '/home/pi/Desktop/images/26012025/13/14/image_26012025_13_15_05_10450.jpg', '/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_14_9340.jpg', '/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_24_10348.jpg', '/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_35_10452.jpg', '/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_44_9418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_14_54_9396.jpg
/home/pi/Desktop/images/26012025/13/14/image_26012025_13_15_05_10450.jpg
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_14_9340.jpg
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_24_10348.jpg
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_35_10452.jpg
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_44_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":["1331670483","1331670492","1331670507","1331670518","1331670487","1331670496"],"photo_ids_order":["1331670483","1331670487","1331670492","1331670496","1331670507","1331670518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb16a8ef7cbf865eb7d7819b43e07204.jpg","text":"TemporaryFile(/tmp/multipartBody877908302536321385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_14_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/26/f91f8ac13bb0fcdf22d250d6808f696f.jpg","text":"TemporaryFile(/tmp/multipartBody3569085505476041231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_15_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/26/d4be75202eefc8d579c2b7fb1adcf438.jpg","text":"TemporaryFile(/tmp/multipartBody1431695907985286027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_15_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f366b493cc3d5447ae52a959d45df16d.jpg","text":"TemporaryFile(/tmp/multipartBody8266872089604497278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_15_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/26/cee34adbee927359c1a77b95105c2c79.jpg","text":"TemporaryFile(/tmp/multipartBody8346611218348380126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_15_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/26/4cd6d9b85a1e74148ea1468e46e15977.jpg","text":"TemporaryFile(/tmp/multipartBody2441651413501132139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893793472,"filename":"image_26012025_13_15_24_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670492","file1":"1331670487","file0":"1331670483","file4":"1331670507","file5":"1331670518","file3":"1331670496"},"map_files_photo_id_array":[{"photo_id":"1331670518","filename":"file5"},{"photo_id":"1331670492","filename":"file2"},{"photo_id":"1331670507","filename":"file4"},{"photo_id":"1331670487","filename":"file1"},{"photo_id":"1331670483","filename":"file0"},{"photo_id":"1331670496","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670483":["hashtag1","hashtag2"]},{"1331670492":["hashtag1","hashtag2"]},{"1331670507":["hashtag1","hashtag2"]},{"1331670518":["hashtag1","hashtag2"]},{"1331670487":["hashtag1","hashtag2"]},{"1331670496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670483, 1331670492, 1331670507, 1331670518, 1331670487, 1331670496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70616912841797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:16:32.794131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_55_10400.jpg', '/home/pi/Desktop/images/26012025/13/15/image_26012025_13_16_04_9336.jpg', '/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_14_10329.jpg', '/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_25_10367.jpg', '/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_34_9331.jpg', '/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_44_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_15_55_10400.jpg
/home/pi/Desktop/images/26012025/13/15/image_26012025_13_16_04_9336.jpg
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_14_10329.jpg
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_25_10367.jpg
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_34_9331.jpg
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_44_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331670552","1331670558","1331670543","1331670563","1331670572","1331670569"],"photo_ids_order":["1331670543","1331670552","1331670558","1331670563","1331670569","1331670572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7336dab0a2376d8ff68f763714327c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2456230464746106042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_16_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/26/47a0f0014b8d3a89430e7e9392f0c707.jpg","text":"TemporaryFile(/tmp/multipartBody6742268450469457841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_16_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/26/438ccc40ac74ee532f675a7ebbe1b83e.jpg","text":"TemporaryFile(/tmp/multipartBody490504849924548656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_15_55_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/26/536d679c8f1f9b1195b051928108a3b8.jpg","text":"TemporaryFile(/tmp/multipartBody6768762362189640194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_16_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/26/795bc244d1e660aa0195ac6d3805ec9f.jpg","text":"TemporaryFile(/tmp/multipartBody3575264419715465447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_16_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62f861b8e40216a922769b0733ca6546.jpg","text":"TemporaryFile(/tmp/multipartBody4397159056024913409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893853709,"filename":"image_26012025_13_16_34_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331670558","file1":"1331670552","file0":"1331670543","file4":"1331670569","file5":"1331670572","file3":"1331670563"},"map_files_photo_id_array":[{"photo_id":"1331670572","filename":"file5"},{"photo_id":"1331670558","filename":"file2"},{"photo_id":"1331670569","filename":"file4"},{"photo_id":"1331670552","filename":"file1"},{"photo_id":"1331670543","filename":"file0"},{"photo_id":"1331670563","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331670552":["hashtag1","hashtag2"]},{"1331670558":["hashtag1","hashtag2"]},{"1331670543":["hashtag1","hashtag2"]},{"1331670563":["hashtag1","hashtag2"]},{"1331670572":["hashtag1","hashtag2"]},{"1331670569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331670552, 1331670558, 1331670543, 1331670563, 1331670572, 1331670569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28631091117859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:17:33.023800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_55_10354.jpg', '/home/pi/Desktop/images/26012025/13/16/image_26012025_13_17_04_9333.jpg', '/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_14_10337.jpg', '/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_25_10359.jpg', '/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_34_9342.jpg', '/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_44_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_16_55_10354.jpg
/home/pi/Desktop/images/26012025/13/16/image_26012025_13_17_04_9333.jpg
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_14_10337.jpg
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_25_10359.jpg
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_34_9342.jpg
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_44_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331671206","1331671202","1331671210","1331671213","1331671102","1331670763"],"photo_ids_order":["1331670763","1331671102","1331671202","1331671206","1331671210","1331671213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b113cb0c6feaed574ca5882c28ecca49.jpg","text":"TemporaryFile(/tmp/multipartBody6744292870453840668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_17_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/26/636972de458225cefda474139ff4dfda.jpg","text":"TemporaryFile(/tmp/multipartBody119886259479021930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_17_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/26/ae6a94059fc07c6058ec308d9f4f7df3.jpg","text":"TemporaryFile(/tmp/multipartBody808392960588142588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_17_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d70ba4adf8090f84ea2e2ec1fa0cc77.jpg","text":"TemporaryFile(/tmp/multipartBody383296760278452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_17_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1018d384df66c7a01344ba16b5068b46.jpg","text":"TemporaryFile(/tmp/multipartBody2937778573287192628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_17_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/26/ff394a2d18a113c293901d66210ab33b.jpg","text":"TemporaryFile(/tmp/multipartBody1823830840581195278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893913933,"filename":"image_26012025_13_16_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671202","file1":"1331671102","file0":"1331670763","file4":"1331671210","file5":"1331671213","file3":"1331671206"},"map_files_photo_id_array":[{"photo_id":"1331671213","filename":"file5"},{"photo_id":"1331671202","filename":"file2"},{"photo_id":"1331671210","filename":"file4"},{"photo_id":"1331671102","filename":"file1"},{"photo_id":"1331670763","filename":"file0"},{"photo_id":"1331671206","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671206":["hashtag1","hashtag2"]},{"1331671202":["hashtag1","hashtag2"]},{"1331671210":["hashtag1","hashtag2"]},{"1331671213":["hashtag1","hashtag2"]},{"1331671102":["hashtag1","hashtag2"]},{"1331670763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671206, 1331671202, 1331671210, 1331671213, 1331671102, 1331670763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.554272174835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:18:32.230144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_55_10358.jpg', '/home/pi/Desktop/images/26012025/13/17/image_26012025_13_18_04_9342.jpg', '/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_14_10348.jpg', '/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_25_10436.jpg', '/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_34_9345.jpg', '/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_45_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_17_55_10358.jpg
/home/pi/Desktop/images/26012025/13/17/image_26012025_13_18_04_9342.jpg
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_14_10348.jpg
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_25_10436.jpg
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_34_9345.jpg
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_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":["1331671542","1331671556","1331671463","1331671471","1331671504","1331671557"],"photo_ids_order":["1331671463","1331671471","1331671504","1331671542","1331671556","1331671557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de1001a15241042ec3b3ac147078a2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5605878139526829575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_18_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/26/985d3454a1b15e432fa4f14f0100e256.jpg","text":"TemporaryFile(/tmp/multipartBody7486536772016419067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_18_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a0e39959e010806ffe44015c0cb8c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1243938896310560134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_17_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/26/ba4d0f45cf1b93d4d7b9bf8c217de85b.jpg","text":"TemporaryFile(/tmp/multipartBody1583463156523911310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_18_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/26/3037640e8ae1f83855fb803422cb03d9.jpg","text":"TemporaryFile(/tmp/multipartBody7046198000116369372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_18_14_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/26/66a90c09d38835832c31482ee6d77a90.jpg","text":"TemporaryFile(/tmp/multipartBody6551435321858893479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737893973125,"filename":"image_26012025_13_18_45_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671504","file1":"1331671471","file0":"1331671463","file4":"1331671556","file5":"1331671557","file3":"1331671542"},"map_files_photo_id_array":[{"photo_id":"1331671557","filename":"file5"},{"photo_id":"1331671504","filename":"file2"},{"photo_id":"1331671556","filename":"file4"},{"photo_id":"1331671471","filename":"file1"},{"photo_id":"1331671463","filename":"file0"},{"photo_id":"1331671542","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671542":["hashtag1","hashtag2"]},{"1331671556":["hashtag1","hashtag2"]},{"1331671463":["hashtag1","hashtag2"]},{"1331671471":["hashtag1","hashtag2"]},{"1331671504":["hashtag1","hashtag2"]},{"1331671557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671542, 1331671556, 1331671463, 1331671471, 1331671504, 1331671557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0398690700531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:19:32.411357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_54_9329.jpg', '/home/pi/Desktop/images/26012025/13/18/image_26012025_13_19_04_10325.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_15_10338.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_24_9342.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_34_10337.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_45_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_18_54_9329.jpg
/home/pi/Desktop/images/26012025/13/18/image_26012025_13_19_04_10325.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_15_10338.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_24_9342.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_34_10337.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_45_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":["1331671571","1331671605","1331671574","1331671568","1331671577","1331671603"],"photo_ids_order":["1331671568","1331671571","1331671574","1331671577","1331671603","1331671605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e32dc860ad044c0ff41740492199b74.jpg","text":"TemporaryFile(/tmp/multipartBody6832242682858730597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_19_04_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/26/fc3130cf5025ce6b9321896954ab9eda.jpg","text":"TemporaryFile(/tmp/multipartBody8055229198423880261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_19_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/47ce25a9242843687a53fd69b4e0c043.jpg","text":"TemporaryFile(/tmp/multipartBody281069279566232602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_19_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10495b1cc171eefde4d126e471551c46.jpg","text":"TemporaryFile(/tmp/multipartBody5359537569986356725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_18_54_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/26/a433dd1e1d118fb67a8d22beca036656.jpg","text":"TemporaryFile(/tmp/multipartBody8420682102408894297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_19_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6d0f19c6e19c0da2da3524bd52581ff.jpg","text":"TemporaryFile(/tmp/multipartBody5300339335948298596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894033314,"filename":"image_26012025_13_19_34_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671574","file1":"1331671571","file0":"1331671568","file4":"1331671603","file5":"1331671605","file3":"1331671577"},"map_files_photo_id_array":[{"photo_id":"1331671605","filename":"file5"},{"photo_id":"1331671574","filename":"file2"},{"photo_id":"1331671603","filename":"file4"},{"photo_id":"1331671571","filename":"file1"},{"photo_id":"1331671568","filename":"file0"},{"photo_id":"1331671577","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671571":["hashtag1","hashtag2"]},{"1331671605":["hashtag1","hashtag2"]},{"1331671574":["hashtag1","hashtag2"]},{"1331671568":["hashtag1","hashtag2"]},{"1331671577":["hashtag1","hashtag2"]},{"1331671603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671571, 1331671605, 1331671574, 1331671568, 1331671577, 1331671603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88472127914429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:20:32.622933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_54_9347.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_20_04_10344.jpg', '/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_15_10392.jpg', '/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_44_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_54_9347.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_20_04_10344.jpg
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_15_10392.jpg
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_44_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.4874744415283203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:20:42.661710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_54_9347.jpg', '/home/pi/Desktop/images/26012025/13/19/image_26012025_13_20_04_10344.jpg', '/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_15_10392.jpg', '/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_44_9422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_19_54_9347.jpg
/home/pi/Desktop/images/26012025/13/19/image_26012025_13_20_04_10344.jpg
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_15_10392.jpg
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_44_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":["1331671772","1331671775","1331671754","1331671774"],"photo_ids_order":["1331671754","1331671772","1331671774","1331671775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a82f8b3ac36d46d8f2d224129a67fee.jpg","text":"TemporaryFile(/tmp/multipartBody2139344342873830768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894103547,"filename":"image_26012025_13_20_04_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de4b90b4ca46d89c5e60b01c798522e2.jpg","text":"TemporaryFile(/tmp/multipartBody4773157987352050941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894103547,"filename":"image_26012025_13_20_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/26/1c013c2c008438ae5610907a673c3923.jpg","text":"TemporaryFile(/tmp/multipartBody7350388034747395825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894103547,"filename":"image_26012025_13_19_54_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/26/de819255607e37c068dd59d76e705f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5096667127104476457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894103547,"filename":"image_26012025_13_20_15_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671774","file1":"1331671772","file0":"1331671754","file3":"1331671775"},"map_files_photo_id_array":[{"photo_id":"1331671774","filename":"file2"},{"photo_id":"1331671772","filename":"file1"},{"photo_id":"1331671754","filename":"file0"},{"photo_id":"1331671775","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671772":["hashtag1","hashtag2"]},{"1331671775":["hashtag1","hashtag2"]},{"1331671754":["hashtag1","hashtag2"]},{"1331671774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671772, 1331671775, 1331671754, 1331671774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.2093825340271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:21:32.991355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_54_10362.jpg', '/home/pi/Desktop/images/26012025/13/20/image_26012025_13_21_05_10397.jpg', '/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_24_10343.jpg', '/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_35_10404.jpg', '/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_44_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_20_54_10362.jpg
/home/pi/Desktop/images/26012025/13/20/image_26012025_13_21_05_10397.jpg
/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_24_10343.jpg
/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_35_10404.jpg
/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_44_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":["1331671821","1331671818","1331671815","1331671809","1331671804"],"photo_ids_order":["1331671804","1331671809","1331671815","1331671818","1331671821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c10f2304537b8ed0ca9846c2767c6b27.jpg","text":"TemporaryFile(/tmp/multipartBody8791641587779435586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894153885,"filename":"image_26012025_13_21_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/184037ee8d5f1f11253dd1e759501aea.jpg","text":"TemporaryFile(/tmp/multipartBody8883979200320790983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894153885,"filename":"image_26012025_13_21_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/26/07486b61b898325a390133c197562013.jpg","text":"TemporaryFile(/tmp/multipartBody1032719097149244509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894153885,"filename":"image_26012025_13_21_24_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d38a481012854dfafe6f153382154e98.jpg","text":"TemporaryFile(/tmp/multipartBody9108694382645932103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894153885,"filename":"image_26012025_13_21_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/26/49b8b4995a3e54a03e1bf80ddd0f6659.jpg","text":"TemporaryFile(/tmp/multipartBody4183348986742851934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894153885,"filename":"image_26012025_13_20_54_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671815","file1":"1331671809","file0":"1331671804","file4":"1331671821","file3":"1331671818"},"map_files_photo_id_array":[{"photo_id":"1331671815","filename":"file2"},{"photo_id":"1331671821","filename":"file4"},{"photo_id":"1331671809","filename":"file1"},{"photo_id":"1331671804","filename":"file0"},{"photo_id":"1331671818","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671821":["hashtag1","hashtag2"]},{"1331671818":["hashtag1","hashtag2"]},{"1331671815":["hashtag1","hashtag2"]},{"1331671809":["hashtag1","hashtag2"]},{"1331671804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671821, 1331671818, 1331671815, 1331671809, 1331671804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.60032773017883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:22:33.098785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_55_10404.jpg', '/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_14_10461.jpg', '/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_25_10444.jpg', '/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_34_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/21/image_26012025_13_21_55_10404.jpg
/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_14_10461.jpg
/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_25_10444.jpg
/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_34_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":["1331671833","1331671841","1331671844","1331671838"],"photo_ids_order":["1331671833","1331671838","1331671841","1331671844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a0bae1d8eddc70d06f17db0d9957f73.jpg","text":"TemporaryFile(/tmp/multipartBody5937898861098334288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894213987,"filename":"image_26012025_13_21_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/26/013469d260785577f8a59299e01c4188.jpg","text":"TemporaryFile(/tmp/multipartBody8696870882955353676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894213987,"filename":"image_26012025_13_22_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b09d7d98c76b74bfd76d16fa025b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody7862732080296344369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894213987,"filename":"image_26012025_13_22_34_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/26/73bd5bf1b6625394e158cd95114ab5b6.jpg","text":"TemporaryFile(/tmp/multipartBody5743427938018419821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894213987,"filename":"image_26012025_13_22_14_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671841","file1":"1331671838","file0":"1331671833","file3":"1331671844"},"map_files_photo_id_array":[{"photo_id":"1331671841","filename":"file2"},{"photo_id":"1331671838","filename":"file1"},{"photo_id":"1331671833","filename":"file0"},{"photo_id":"1331671844","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671833":["hashtag1","hashtag2"]},{"1331671841":["hashtag1","hashtag2"]},{"1331671844":["hashtag1","hashtag2"]},{"1331671838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671833, 1331671841, 1331671844, 1331671838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.48704195022583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:23:32.485849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_54_9422.jpg', '/home/pi/Desktop/images/26012025/13/22/image_26012025_13_23_04_10335.jpg', '/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_15_10408.jpg', '/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_24_9342.jpg', '/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_34_10345.jpg', '/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/22/image_26012025_13_22_54_9422.jpg
/home/pi/Desktop/images/26012025/13/22/image_26012025_13_23_04_10335.jpg
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_15_10408.jpg
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_24_9342.jpg
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_34_10345.jpg
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_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":["1331671865","1331671868","1331671862","1331671870","1331671858","1331671854"],"photo_ids_order":["1331671854","1331671858","1331671862","1331671865","1331671868","1331671870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c9d6f47b127a43428d08e5a9f791b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7375344860638632019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_23_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46f6e45c43943a08a979deefdb1a1863.jpg","text":"TemporaryFile(/tmp/multipartBody3758325004739803473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_23_34_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1b22b1983ad7e49601fbf445706e464c.jpg","text":"TemporaryFile(/tmp/multipartBody7734413656025217530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_23_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c055e2fac6ab496b7445795d8dfb0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8609830627967052449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_23_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/26/b0bf431faba405e197429a84977029a0.jpg","text":"TemporaryFile(/tmp/multipartBody459447163745165142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_23_04_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ef30101397e456c055e2026a843cf84.jpg","text":"TemporaryFile(/tmp/multipartBody4650075426801003771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894273393,"filename":"image_26012025_13_22_54_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671862","file1":"1331671858","file0":"1331671854","file4":"1331671868","file5":"1331671870","file3":"1331671865"},"map_files_photo_id_array":[{"photo_id":"1331671870","filename":"file5"},{"photo_id":"1331671862","filename":"file2"},{"photo_id":"1331671868","filename":"file4"},{"photo_id":"1331671858","filename":"file1"},{"photo_id":"1331671854","filename":"file0"},{"photo_id":"1331671865","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671865":["hashtag1","hashtag2"]},{"1331671868":["hashtag1","hashtag2"]},{"1331671862":["hashtag1","hashtag2"]},{"1331671870":["hashtag1","hashtag2"]},{"1331671858":["hashtag1","hashtag2"]},{"1331671854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671865, 1331671868, 1331671862, 1331671870, 1331671858, 1331671854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.469621658325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:24:32.688728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_54_9384.jpg', '/home/pi/Desktop/images/26012025/13/23/image_26012025_13_24_05_10436.jpg', '/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_14_9345.jpg', '/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_35_10415.jpg', '/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_44_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_23_54_9384.jpg
/home/pi/Desktop/images/26012025/13/23/image_26012025_13_24_05_10436.jpg
/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_14_9345.jpg
/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_35_10415.jpg
/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_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":["1331671905","1331671914","1331671907","1331671912","1331671899"],"photo_ids_order":["1331671899","1331671905","1331671907","1331671912","1331671914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4decbbc1f71f0f3478fadf6643c07d54.jpg","text":"TemporaryFile(/tmp/multipartBody4740478905670429563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894333582,"filename":"image_26012025_13_24_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/26/f808b414e57e95006e1af9a0ac236b01.jpg","text":"TemporaryFile(/tmp/multipartBody6944167707536208100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894333582,"filename":"image_26012025_13_24_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/26/3ae878dd0eee9277d38b26dc721c5b46.jpg","text":"TemporaryFile(/tmp/multipartBody2335009962094367280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894333582,"filename":"image_26012025_13_24_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/26/e5ad56a6545f776eaca0e2ce3da292fd.jpg","text":"TemporaryFile(/tmp/multipartBody1345815466891130808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894333582,"filename":"image_26012025_13_24_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/26/6da9c81826a31a9faaddec0866c0e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4436453230507529697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894333582,"filename":"image_26012025_13_23_54_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671907","file1":"1331671905","file0":"1331671899","file4":"1331671914","file3":"1331671912"},"map_files_photo_id_array":[{"photo_id":"1331671907","filename":"file2"},{"photo_id":"1331671914","filename":"file4"},{"photo_id":"1331671905","filename":"file1"},{"photo_id":"1331671899","filename":"file0"},{"photo_id":"1331671912","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671905":["hashtag1","hashtag2"]},{"1331671914":["hashtag1","hashtag2"]},{"1331671907":["hashtag1","hashtag2"]},{"1331671912":["hashtag1","hashtag2"]},{"1331671899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671905, 1331671914, 1331671907, 1331671912, 1331671899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.81835174560547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:25:32.976927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_54_10354.jpg', '/home/pi/Desktop/images/26012025/13/24/image_26012025_13_25_05_10386.jpg', '/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_14_9344.jpg', '/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_34_9326.jpg', '/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_44_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/24/image_26012025_13_24_54_10354.jpg
/home/pi/Desktop/images/26012025/13/24/image_26012025_13_25_05_10386.jpg
/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_14_9344.jpg
/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_34_9326.jpg
/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_44_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":["1331671962","1331671959","1331671964","1331671957","1331671965"],"photo_ids_order":["1331671957","1331671959","1331671962","1331671964","1331671965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/25b50f42ddf6ad6744e395a21c718568.jpg","text":"TemporaryFile(/tmp/multipartBody577593988587762996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894393867,"filename":"image_26012025_13_25_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/26/cf38dc2643e6b049e1e702344ec88591.jpg","text":"TemporaryFile(/tmp/multipartBody6535644427915987883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894393867,"filename":"image_26012025_13_25_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca74c9a8d497946448af83b4207d0140.jpg","text":"TemporaryFile(/tmp/multipartBody3875360240348055797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894393867,"filename":"image_26012025_13_25_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/377bf5e182a31414107a5bfbf055a045.jpg","text":"TemporaryFile(/tmp/multipartBody6352584170344169714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894393867,"filename":"image_26012025_13_24_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/26/05dba5177d258e6c3f50ccd5d79f55c4.jpg","text":"TemporaryFile(/tmp/multipartBody3271845032930067192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894393867,"filename":"image_26012025_13_25_44_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671962","file1":"1331671959","file0":"1331671957","file4":"1331671965","file3":"1331671964"},"map_files_photo_id_array":[{"photo_id":"1331671962","filename":"file2"},{"photo_id":"1331671965","filename":"file4"},{"photo_id":"1331671959","filename":"file1"},{"photo_id":"1331671957","filename":"file0"},{"photo_id":"1331671964","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671962":["hashtag1","hashtag2"]},{"1331671959":["hashtag1","hashtag2"]},{"1331671964":["hashtag1","hashtag2"]},{"1331671957":["hashtag1","hashtag2"]},{"1331671965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671962, 1331671959, 1331671964, 1331671957, 1331671965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 43.07642865180969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:26:32.170939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_55_10437.jpg', '/home/pi/Desktop/images/26012025/13/25/image_26012025_13_26_04_9333.jpg', '/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_15_10409.jpg', '/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_24_9338.jpg', '/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_34_10335.jpg', '/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/25/image_26012025_13_25_55_10437.jpg
/home/pi/Desktop/images/26012025/13/25/image_26012025_13_26_04_9333.jpg
/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_15_10409.jpg
/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_24_9338.jpg
/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_34_10335.jpg
/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_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":["1331671994","1331672015","1331671996","1331671992","1331671986","1331671989"],"photo_ids_order":["1331671986","1331671989","1331671992","1331671994","1331671996","1331672015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad696d56d0ab6a453e4bdad51306c90a.jpg","text":"TemporaryFile(/tmp/multipartBody9174405253847744398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_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/26/7a9eda0ffea5f87a6dbfa37709d42545.jpg","text":"TemporaryFile(/tmp/multipartBody2360308258550269820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_26_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/26/1a23b15a0d6948590753b4507743e160.jpg","text":"TemporaryFile(/tmp/multipartBody7237855765677453709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_26_34_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/26/bc9db4b5021caca8dd25525368440003.jpg","text":"TemporaryFile(/tmp/multipartBody3499668802878325376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_26_15_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cfb25af7e1be4cdf4b48a2f2733ac734.jpg","text":"TemporaryFile(/tmp/multipartBody5523584184166709400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_25_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/26/db4b393a169ae6f4eb5767bc1b96d61c.jpg","text":"TemporaryFile(/tmp/multipartBody3134294879454241765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894453088,"filename":"image_26012025_13_26_04_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331671992","file1":"1331671989","file0":"1331671986","file4":"1331671996","file5":"1331672015","file3":"1331671994"},"map_files_photo_id_array":[{"photo_id":"1331672015","filename":"file5"},{"photo_id":"1331671992","filename":"file2"},{"photo_id":"1331671996","filename":"file4"},{"photo_id":"1331671989","filename":"file1"},{"photo_id":"1331671986","filename":"file0"},{"photo_id":"1331671994","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331671994":["hashtag1","hashtag2"]},{"1331672015":["hashtag1","hashtag2"]},{"1331671996":["hashtag1","hashtag2"]},{"1331671992":["hashtag1","hashtag2"]},{"1331671986":["hashtag1","hashtag2"]},{"1331671989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331671994, 1331672015, 1331671996, 1331671992, 1331671986, 1331671989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04246473312378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:27:32.379415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_54_9352.jpg', '/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_15_10363.jpg', '/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_24_9344.jpg', '/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_34_10340.jpg', '/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_45_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/26/image_26012025_13_26_54_9352.jpg
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_15_10363.jpg
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_24_9344.jpg
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_34_10340.jpg
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_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":["1331672053","1331672056","1331672059","1331672061","1331672049"],"photo_ids_order":["1331672049","1331672053","1331672056","1331672059","1331672061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0eea63cb21c4aa8ec5df2cc310dd0ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5146284641300822694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894513265,"filename":"image_26012025_13_27_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/26/39a70d72829b5de16f0343f605c11539.jpg","text":"TemporaryFile(/tmp/multipartBody3806126810095420673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894513265,"filename":"image_26012025_13_27_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/26/2f5f0de4c31b7533d211e126133b1187.jpg","text":"TemporaryFile(/tmp/multipartBody5015667012936296655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894513265,"filename":"image_26012025_13_27_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/26/e957821424dd3527b5597f82e5b7c785.jpg","text":"TemporaryFile(/tmp/multipartBody803993178837713955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894513265,"filename":"image_26012025_13_27_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/26/7d36f101eecbd159d32171b83d94ec57.jpg","text":"TemporaryFile(/tmp/multipartBody4714451197376372667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894513265,"filename":"image_26012025_13_26_54_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672056","file1":"1331672053","file0":"1331672049","file4":"1331672061","file3":"1331672059"},"map_files_photo_id_array":[{"photo_id":"1331672056","filename":"file2"},{"photo_id":"1331672061","filename":"file4"},{"photo_id":"1331672053","filename":"file1"},{"photo_id":"1331672049","filename":"file0"},{"photo_id":"1331672059","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672053":["hashtag1","hashtag2"]},{"1331672056":["hashtag1","hashtag2"]},{"1331672059":["hashtag1","hashtag2"]},{"1331672061":["hashtag1","hashtag2"]},{"1331672049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672053, 1331672056, 1331672059, 1331672061, 1331672049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.887603998184204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:28:32.648848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_54_9360.jpg', '/home/pi/Desktop/images/26012025/13/27/image_26012025_13_28_05_10377.jpg', '/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_14_9323.jpg', '/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_24_10375.jpg', '/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_35_10339.jpg', '/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_44_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_27_54_9360.jpg
/home/pi/Desktop/images/26012025/13/27/image_26012025_13_28_05_10377.jpg
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_14_9323.jpg
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_24_10375.jpg
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_35_10339.jpg
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_44_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":["1331672096","1331672135","1331672098","1331672137","1331672131","1331672104"],"photo_ids_order":["1331672096","1331672098","1331672104","1331672131","1331672135","1331672137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f5729ba2d2c280c25ff3ebc4d77daa2.jpg","text":"TemporaryFile(/tmp/multipartBody3053685305283642587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_27_54_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/26/0c7e41c428865383aa56e923c4e29178.jpg","text":"TemporaryFile(/tmp/multipartBody6427430722325355812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_28_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/26/99541ed3af14f1c1040680bedef8a7ed.jpg","text":"TemporaryFile(/tmp/multipartBody9046702172941926235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_28_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/26/50d78f393b4b6fffbf8367b1724944d1.jpg","text":"TemporaryFile(/tmp/multipartBody122149733149927473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_28_44_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/26/9845b399742e1aaeed83967aede96183.jpg","text":"TemporaryFile(/tmp/multipartBody3595253627715612471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_28_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/26/abb6efcf803f0e8c838bc53ca1649ede.jpg","text":"TemporaryFile(/tmp/multipartBody442090203469730007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894573555,"filename":"image_26012025_13_28_14_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672104","file1":"1331672098","file0":"1331672096","file4":"1331672135","file5":"1331672137","file3":"1331672131"},"map_files_photo_id_array":[{"photo_id":"1331672137","filename":"file5"},{"photo_id":"1331672104","filename":"file2"},{"photo_id":"1331672135","filename":"file4"},{"photo_id":"1331672098","filename":"file1"},{"photo_id":"1331672096","filename":"file0"},{"photo_id":"1331672131","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672096":["hashtag1","hashtag2"]},{"1331672135":["hashtag1","hashtag2"]},{"1331672098":["hashtag1","hashtag2"]},{"1331672137":["hashtag1","hashtag2"]},{"1331672131":["hashtag1","hashtag2"]},{"1331672104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672096, 1331672135, 1331672098, 1331672137, 1331672131, 1331672104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8647403717041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:29:32.980024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_54_10402.jpg', '/home/pi/Desktop/images/26012025/13/28/image_26012025_13_29_05_10346.jpg', '/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_14_9343.jpg', '/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_25_10510.jpg', '/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_34_9341.jpg', '/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_44_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_28_54_10402.jpg
/home/pi/Desktop/images/26012025/13/28/image_26012025_13_29_05_10346.jpg
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_14_9343.jpg
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_25_10510.jpg
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_34_9341.jpg
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_44_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331672180","1331672183","1331672177","1331672149","1331672187","1331672154"],"photo_ids_order":["1331672149","1331672154","1331672177","1331672180","1331672183","1331672187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8dbc24bdf0a180623004022f48acf56.jpg","text":"TemporaryFile(/tmp/multipartBody5781257588868699972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_29_25_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/26/174eecc2f337dfeb81861904d04db56f.jpg","text":"TemporaryFile(/tmp/multipartBody1993141416094459787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_29_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/26/8cfa2eb51f6caa517b31df5d84a02c63.jpg","text":"TemporaryFile(/tmp/multipartBody1638344187284172021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_29_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/26/a70e52b23a41779d7fd021526d3db388.jpg","text":"TemporaryFile(/tmp/multipartBody5444820261387575937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_28_54_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/26/77e76b8364f6775712c10867e0301e38.jpg","text":"TemporaryFile(/tmp/multipartBody5787575630910031503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_29_44_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/26/a5d3ac420d64f898074ef1051d000885.jpg","text":"TemporaryFile(/tmp/multipartBody8313426814379750713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894633920,"filename":"image_26012025_13_29_05_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672177","file1":"1331672154","file0":"1331672149","file4":"1331672183","file5":"1331672187","file3":"1331672180"},"map_files_photo_id_array":[{"photo_id":"1331672187","filename":"file5"},{"photo_id":"1331672177","filename":"file2"},{"photo_id":"1331672183","filename":"file4"},{"photo_id":"1331672154","filename":"file1"},{"photo_id":"1331672149","filename":"file0"},{"photo_id":"1331672180","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672180":["hashtag1","hashtag2"]},{"1331672183":["hashtag1","hashtag2"]},{"1331672177":["hashtag1","hashtag2"]},{"1331672149":["hashtag1","hashtag2"]},{"1331672187":["hashtag1","hashtag2"]},{"1331672154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672180, 1331672183, 1331672177, 1331672149, 1331672187, 1331672154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.54777693748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:30:32.162347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_55_10365.jpg', '/home/pi/Desktop/images/26012025/13/29/image_26012025_13_30_04_9412.jpg', '/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_15_10485.jpg', '/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_24_9319.jpg', '/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_34_10325.jpg', '/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_45_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_29_55_10365.jpg
/home/pi/Desktop/images/26012025/13/29/image_26012025_13_30_04_9412.jpg
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_15_10485.jpg
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_24_9319.jpg
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_34_10325.jpg
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_45_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":["1331672322","1331672310","1331672303","1331672312","1331672311","1331672307"],"photo_ids_order":["1331672303","1331672307","1331672310","1331672311","1331672312","1331672322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b581bff9a8086c65724d9e8ab04a3616.jpg","text":"TemporaryFile(/tmp/multipartBody1131790642090174871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_30_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa3845ab1d900d1982fb67e9ff72e6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8276637461325771397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_30_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/26/6479ce987b6046d0d825664076f64aac.jpg","text":"TemporaryFile(/tmp/multipartBody4731139839406706645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_29_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dfb5b84526b10852576dc39611f9c004.jpg","text":"TemporaryFile(/tmp/multipartBody344243737348605888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_30_34_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/26/23f88b9c0fc597c11343b9c63f49482c.jpg","text":"TemporaryFile(/tmp/multipartBody2582674286600622521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_30_24_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/26/4e186b699d163a53bb3e11492cffdd4e.jpg","text":"TemporaryFile(/tmp/multipartBody8575705533108175814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894693067,"filename":"image_26012025_13_30_04_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672310","file1":"1331672307","file0":"1331672303","file4":"1331672312","file5":"1331672322","file3":"1331672311"},"map_files_photo_id_array":[{"photo_id":"1331672322","filename":"file5"},{"photo_id":"1331672310","filename":"file2"},{"photo_id":"1331672312","filename":"file4"},{"photo_id":"1331672307","filename":"file1"},{"photo_id":"1331672303","filename":"file0"},{"photo_id":"1331672311","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672322":["hashtag1","hashtag2"]},{"1331672310":["hashtag1","hashtag2"]},{"1331672303":["hashtag1","hashtag2"]},{"1331672312":["hashtag1","hashtag2"]},{"1331672311":["hashtag1","hashtag2"]},{"1331672307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672322, 1331672310, 1331672303, 1331672312, 1331672311, 1331672307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9389386177063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:31:32.356576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_54_9350.jpg', '/home/pi/Desktop/images/26012025/13/30/image_26012025_13_31_04_10339.jpg', '/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_15_10441.jpg', '/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_24_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_30_54_9350.jpg
/home/pi/Desktop/images/26012025/13/30/image_26012025_13_31_04_10339.jpg
/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_15_10441.jpg
/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_24_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":["1331672350","1331672478","1331672379","1331672358"],"photo_ids_order":["1331672350","1331672358","1331672379","1331672478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7f0c2e861ca57b22fb51a9ee3593fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7705119321735926528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894753240,"filename":"image_26012025_13_30_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/26/52ffe52b97cfc91688d2b28500db5505.jpg","text":"TemporaryFile(/tmp/multipartBody73925112008179179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894753240,"filename":"image_26012025_13_31_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/26/66408cc7d31ca9059df0e4839f1ff8b8.jpg","text":"TemporaryFile(/tmp/multipartBody6926609924636818910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894753240,"filename":"image_26012025_13_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/26/883e83606832ac25233f13ae1f978e41.jpg","text":"TemporaryFile(/tmp/multipartBody42676494532680877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894753240,"filename":"image_26012025_13_31_04_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672379","file1":"1331672358","file0":"1331672350","file3":"1331672478"},"map_files_photo_id_array":[{"photo_id":"1331672379","filename":"file2"},{"photo_id":"1331672358","filename":"file1"},{"photo_id":"1331672350","filename":"file0"},{"photo_id":"1331672478","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672350":["hashtag1","hashtag2"]},{"1331672478":["hashtag1","hashtag2"]},{"1331672379":["hashtag1","hashtag2"]},{"1331672358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672350, 1331672478, 1331672379, 1331672358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.411631107330322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:32:03.296232
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/50/image_23012025_21_51_05_10482.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_14_9344.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_25_10367.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_34_9447.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_45_10350.jpg', '/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_55_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/50/image_23012025_21_51_05_10482.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_14_9344.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_25_10367.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_34_9447.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_45_10350.jpg
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_51_55_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331672483","1331672486","1331672491","1331672500","1331672506","1331672496"],"photo_ids_order":["1331672483","1331672486","1331672491","1331672496","1331672500","1331672506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1fc4560b4de3a863a5221a4887942f66.jpg","text":"TemporaryFile(/tmp/multipartBody9041139591587822226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_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/26/6d933aac85a43caf7fc4de3c05cc447e.jpg","text":"TemporaryFile(/tmp/multipartBody1928743700202571931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_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/26/fe30d9d7c54c78f1cb5ca547db5cf717.jpg","text":"TemporaryFile(/tmp/multipartBody8965688770913837632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_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/26/a455e6b27df8015efe17b020674c86d4.jpg","text":"TemporaryFile(/tmp/multipartBody1929468055248055957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_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/26/7327a36c7fba30cb586c9586ab839d4a.jpg","text":"TemporaryFile(/tmp/multipartBody5058863539156830066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_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/26/bf2d251798570b039e8bf2179cdd6a57.jpg","text":"TemporaryFile(/tmp/multipartBody6709262617479271014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894784892,"filename":"image_23012025_21_51_34_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672491","file1":"1331672486","file0":"1331672483","file4":"1331672500","file5":"1331672506","file3":"1331672496"},"map_files_photo_id_array":[{"photo_id":"1331672506","filename":"file5"},{"photo_id":"1331672491","filename":"file2"},{"photo_id":"1331672500","filename":"file4"},{"photo_id":"1331672486","filename":"file1"},{"photo_id":"1331672483","filename":"file0"},{"photo_id":"1331672496","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331672483":["hashtag1","hashtag2"]},{"1331672486":["hashtag1","hashtag2"]},{"1331672491":["hashtag1","hashtag2"]},{"1331672500":["hashtag1","hashtag2"]},{"1331672506":["hashtag1","hashtag2"]},{"1331672496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331672483, 1331672486, 1331672491, 1331672500, 1331672506, 1331672496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55372500419617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 13:32:52.568945
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/51/image_23012025_21_52_04_9463.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_15_10380.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_24_9412.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_35_10372.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_45_10368.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_54_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_52_04_9463.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_15_10380.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_24_9412.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_35_10372.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_45_10368.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_54_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: 1.9443283081054688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:33:04.435645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_35_10411.jpg', '/home/pi/Desktop/images/26012025/13/31/image_26012025_13_32_05_10438.jpg', '/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_24_10366.jpg', '/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_35_10341.jpg', '/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/31/image_26012025_13_31_35_10411.jpg
/home/pi/Desktop/images/26012025/13/31/image_26012025_13_32_05_10438.jpg
/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_24_10366.jpg
/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_35_10341.jpg
/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_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":["1331672534","1331672528","1331672516","1331672519","1331672523"],"photo_ids_order":["1331672516","1331672519","1331672523","1331672528","1331672534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6cea936c84f99a6ece77cae47a25c155.jpg","text":"TemporaryFile(/tmp/multipartBody694738272717810272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894845485,"filename":"image_26012025_13_32_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/26/fec56e2bb7243302e5c36270b1e50548.jpg","text":"TemporaryFile(/tmp/multipartBody7105677963070611284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894845485,"filename":"image_26012025_13_32_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/26/7183ba7986da7848c8e342e2a73cd54b.jpg","text":"TemporaryFile(/tmp/multipartBody2902827719040569634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894845485,"filename":"image_26012025_13_31_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/26/8d34aa43227d4d267326c28fe2046ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2307615919630439582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894845485,"filename":"image_26012025_13_32_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/26/496458c75128d79232085cc64a9a053a.jpg","text":"TemporaryFile(/tmp/multipartBody4233527273985111720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894845485,"filename":"image_26012025_13_32_24_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672523","file1":"1331672519","file0":"1331672516","file4":"1331672534","file3":"1331672528"},"map_files_photo_id_array":[{"photo_id":"1331672523","filename":"file2"},{"photo_id":"1331672534","filename":"file4"},{"photo_id":"1331672519","filename":"file1"},{"photo_id":"1331672516","filename":"file0"},{"photo_id":"1331672528","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672534":["hashtag1","hashtag2"]},{"1331672528":["hashtag1","hashtag2"]},{"1331672516":["hashtag1","hashtag2"]},{"1331672519":["hashtag1","hashtag2"]},{"1331672523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672534, 1331672528, 1331672516, 1331672519, 1331672523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.72936129570007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 13:33:52.760337
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/51/image_23012025_21_52_04_9463.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_15_10380.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_24_9412.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_35_10372.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_45_10368.jpg', '/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_54_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/51/image_23012025_21_52_04_9463.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_15_10380.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_24_9412.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_35_10372.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_45_10368.jpg
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_52_54_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":["1331672572","1331672598","1331672592","1331672553","1331672556","1331672550"],"photo_ids_order":["1331672550","1331672553","1331672556","1331672572","1331672592","1331672598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd485fd52abd8ecbc91d9fdc1c2bf82b.jpg","text":"TemporaryFile(/tmp/multipartBody3368125998306716388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_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/26/4d089e711f6a96c6e701718700924c62.jpg","text":"TemporaryFile(/tmp/multipartBody4669141855836769814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e357e8da9b1d6fc675fd1db4d2c74cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8321023538608346854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_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/26/48ef252a7fab5228abe4c2f6f15340a5.jpg","text":"TemporaryFile(/tmp/multipartBody4750177803109159447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_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/26/1333144d3a682c93cae7c15454cad4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7593501957409575777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_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/26/b305d073e987cf5b17ba77ba0546028a.jpg","text":"TemporaryFile(/tmp/multipartBody8689874678224686956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894895008,"filename":"image_23012025_21_52_04_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672556","file1":"1331672553","file0":"1331672550","file4":"1331672592","file5":"1331672598","file3":"1331672572"},"map_files_photo_id_array":[{"photo_id":"1331672598","filename":"file5"},{"photo_id":"1331672556","filename":"file2"},{"photo_id":"1331672592","filename":"file4"},{"photo_id":"1331672553","filename":"file1"},{"photo_id":"1331672550","filename":"file0"},{"photo_id":"1331672572","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331672572":["hashtag1","hashtag2"]},{"1331672598":["hashtag1","hashtag2"]},{"1331672592":["hashtag1","hashtag2"]},{"1331672553":["hashtag1","hashtag2"]},{"1331672556":["hashtag1","hashtag2"]},{"1331672550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331672572, 1331672598, 1331672592, 1331672553, 1331672556, 1331672550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.98518776893616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:34:43.001824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_55_10614.jpg', '/home/pi/Desktop/images/26012025/13/32/image_26012025_13_33_04_9322.jpg', '/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_14_10358.jpg', '/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_25_10452.jpg', '/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_34_9331.jpg', '/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/32/image_26012025_13_32_55_10614.jpg
/home/pi/Desktop/images/26012025/13/32/image_26012025_13_33_04_9322.jpg
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_14_10358.jpg
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_25_10452.jpg
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_34_9331.jpg
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_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":["1331672609","1331672626","1331672614","1331672617","1331672622","1331672619"],"photo_ids_order":["1331672609","1331672614","1331672617","1331672619","1331672622","1331672626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccc927166790593aa551a81cfaf6f718.jpg","text":"TemporaryFile(/tmp/multipartBody4381362743937617626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_32_55_10614.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/060e4ab2028e75f0b8c7877251290616.jpg","text":"TemporaryFile(/tmp/multipartBody5164953323623806685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_33_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/26/40cbe7155b0b73d75041e3e788bd9b81.jpg","text":"TemporaryFile(/tmp/multipartBody1751466807257620740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_33_04_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a9a5ec9bdb607ff766a0df4b9c798695.jpg","text":"TemporaryFile(/tmp/multipartBody7208672834823665389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_33_14_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/26/d5fcd3c0d8af4522df01c8095ace83b8.jpg","text":"TemporaryFile(/tmp/multipartBody8104806562090868434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_33_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/26/9e564744f94631da2ecb3b51d9bb2c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7673670418220551383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894944660,"filename":"image_26012025_13_33_25_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672617","file1":"1331672614","file0":"1331672609","file4":"1331672622","file5":"1331672626","file3":"1331672619"},"map_files_photo_id_array":[{"photo_id":"1331672626","filename":"file5"},{"photo_id":"1331672617","filename":"file2"},{"photo_id":"1331672622","filename":"file4"},{"photo_id":"1331672614","filename":"file1"},{"photo_id":"1331672609","filename":"file0"},{"photo_id":"1331672619","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672609":["hashtag1","hashtag2"]},{"1331672626":["hashtag1","hashtag2"]},{"1331672614":["hashtag1","hashtag2"]},{"1331672617":["hashtag1","hashtag2"]},{"1331672622":["hashtag1","hashtag2"]},{"1331672619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672609, 1331672626, 1331672614, 1331672617, 1331672622, 1331672619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.596386194229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:35:32.242823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_54_9338.jpg', '/home/pi/Desktop/images/26012025/13/33/image_26012025_13_34_04_10357.jpg', '/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_15_10352.jpg', '/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_24_9344.jpg', '/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_34_10336.jpg', '/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_45_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_33_54_9338.jpg
/home/pi/Desktop/images/26012025/13/33/image_26012025_13_34_04_10357.jpg
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_15_10352.jpg
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_24_9344.jpg
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_34_10336.jpg
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_45_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331672651","1331672648","1331672636","1331672662","1331672644","1331672640"],"photo_ids_order":["1331672636","1331672640","1331672644","1331672648","1331672651","1331672662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c23d6024fc364c41b5989497a241c270.jpg","text":"TemporaryFile(/tmp/multipartBody8928689107898870535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_34_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a19460a5f2338e4081f64332dd7bb7a7.jpg","text":"TemporaryFile(/tmp/multipartBody4617102112401997787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_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/26/41c921d4090bd713dc2b748903f00875.jpg","text":"TemporaryFile(/tmp/multipartBody2185169806169544190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_33_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/26/7cb588546b31f16898f112384004beba.jpg","text":"TemporaryFile(/tmp/multipartBody5412098193505189417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_34_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d62d0bb0066029552745d15031a83a5e.jpg","text":"TemporaryFile(/tmp/multipartBody318681245894982933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_34_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6045636ae660d2d7370ad017a3d3de4c.jpg","text":"TemporaryFile(/tmp/multipartBody5425393117285284711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737894993161,"filename":"image_26012025_13_34_04_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331672644","file1":"1331672640","file0":"1331672636","file4":"1331672651","file5":"1331672662","file3":"1331672648"},"map_files_photo_id_array":[{"photo_id":"1331672662","filename":"file5"},{"photo_id":"1331672644","filename":"file2"},{"photo_id":"1331672651","filename":"file4"},{"photo_id":"1331672640","filename":"file1"},{"photo_id":"1331672636","filename":"file0"},{"photo_id":"1331672648","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331672651":["hashtag1","hashtag2"]},{"1331672648":["hashtag1","hashtag2"]},{"1331672636":["hashtag1","hashtag2"]},{"1331672662":["hashtag1","hashtag2"]},{"1331672644":["hashtag1","hashtag2"]},{"1331672640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331672651, 1331672648, 1331672636, 1331672662, 1331672644, 1331672640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1674919128418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:36:32.423160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_54_9320.jpg', '/home/pi/Desktop/images/26012025/13/34/image_26012025_13_35_04_10310.jpg', '/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_15_10354.jpg', '/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_24_9351.jpg', '/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_34_10355.jpg', '/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_34_54_9320.jpg
/home/pi/Desktop/images/26012025/13/34/image_26012025_13_35_04_10310.jpg
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_15_10354.jpg
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_24_9351.jpg
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_34_10355.jpg
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_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":["1331673941","1331673935","1331673958","1331673952","1331673930","1331673924"],"photo_ids_order":["1331673924","1331673930","1331673935","1331673941","1331673952","1331673958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0f08deb5b9a02757e2f3261610f74509.jpg","text":"TemporaryFile(/tmp/multipartBody8402404897089282199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_35_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/26/cc992d5d3ffae8467bc38c634dc53cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2462585056516608390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_35_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/26/a2f368e8a2c7c8624a2c1939bb9235d4.jpg","text":"TemporaryFile(/tmp/multipartBody4811935795400902120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_35_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/26/91e712b9a373a499d4cf577ebc5e3e53.jpg","text":"TemporaryFile(/tmp/multipartBody5218634070446183943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_35_34_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/26/b1a9f64df3e842b27362487955919bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7933101748329570030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_35_04_10310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2939519454d75f0c0fee626bdf677749.jpg","text":"TemporaryFile(/tmp/multipartBody5261239054911693472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895053323,"filename":"image_26012025_13_34_54_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331673935","file1":"1331673930","file0":"1331673924","file4":"1331673952","file5":"1331673958","file3":"1331673941"},"map_files_photo_id_array":[{"photo_id":"1331673958","filename":"file5"},{"photo_id":"1331673935","filename":"file2"},{"photo_id":"1331673952","filename":"file4"},{"photo_id":"1331673930","filename":"file1"},{"photo_id":"1331673924","filename":"file0"},{"photo_id":"1331673941","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331673941":["hashtag1","hashtag2"]},{"1331673935":["hashtag1","hashtag2"]},{"1331673958":["hashtag1","hashtag2"]},{"1331673952":["hashtag1","hashtag2"]},{"1331673930":["hashtag1","hashtag2"]},{"1331673924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331673941, 1331673935, 1331673958, 1331673952, 1331673930, 1331673924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.60906910896301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:37:32.663528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_54_9422.jpg', '/home/pi/Desktop/images/26012025/13/35/image_26012025_13_36_05_10484.jpg', '/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_14_9331.jpg', '/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_24_10368.jpg', '/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_35_10414.jpg', '/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_44_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_35_54_9422.jpg
/home/pi/Desktop/images/26012025/13/35/image_26012025_13_36_05_10484.jpg
/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_14_9331.jpg
/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_24_10368.jpg
/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_35_10414.jpg
/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_44_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":["1331673982","1331674003","1331673999","1331673993","1331673987","1331674005"],"photo_ids_order":["1331673982","1331673987","1331673993","1331673999","1331674003","1331674005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/109e147e9db36baaad62f7845f92ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody3674452026952100372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_35_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a12d3516a97372eb3136d7723b06d16.jpg","text":"TemporaryFile(/tmp/multipartBody1640376746815145468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_36_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca84093f0d7590a5e0692e2697d01ba5.jpg","text":"TemporaryFile(/tmp/multipartBody956547782429250084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_36_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/26/e742ae84174f22e78c823cca10038670.jpg","text":"TemporaryFile(/tmp/multipartBody6957523080433218445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_36_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/26/6eb6fe703a22fe8ecac15ed90ad971ef.jpg","text":"TemporaryFile(/tmp/multipartBody4115846057821176490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_36_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/26/d504be5afa3e858f82af250a715a2349.jpg","text":"TemporaryFile(/tmp/multipartBody2278078970982887480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895113572,"filename":"image_26012025_13_36_44_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331673993","file1":"1331673987","file0":"1331673982","file4":"1331674003","file5":"1331674005","file3":"1331673999"},"map_files_photo_id_array":[{"photo_id":"1331674005","filename":"file5"},{"photo_id":"1331673993","filename":"file2"},{"photo_id":"1331674003","filename":"file4"},{"photo_id":"1331673987","filename":"file1"},{"photo_id":"1331673982","filename":"file0"},{"photo_id":"1331673999","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331673982":["hashtag1","hashtag2"]},{"1331674003":["hashtag1","hashtag2"]},{"1331673999":["hashtag1","hashtag2"]},{"1331673993":["hashtag1","hashtag2"]},{"1331673987":["hashtag1","hashtag2"]},{"1331674005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331673982, 1331674003, 1331673999, 1331673993, 1331673987, 1331674005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25543141365051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:38:32.876960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_55_10456.jpg', '/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_14_10321.jpg', '/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_25_10444.jpg', '/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_34_9334.jpg', '/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_44_10330.jpg', '/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_55_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/36/image_26012025_13_36_55_10456.jpg
/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_14_10321.jpg
/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_25_10444.jpg
/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_34_9334.jpg
/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_44_10330.jpg
/home/pi/Desktop/images/26012025/13/37/image_26012025_13_37_55_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":["1331674687","1331674636","1331674638","1331674572","1331674568","1331674631"],"photo_ids_order":["1331674568","1331674572","1331674631","1331674636","1331674638","1331674687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/933f7712ce8637c9ce2bca7a1454c949.jpg","text":"TemporaryFile(/tmp/multipartBody4774911791848177793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_37_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/24406f404bd9dee90dc018e468aba10a.jpg","text":"TemporaryFile(/tmp/multipartBody4816942090899983547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_37_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/26/ce0e7b8ed4628a3538514c83b2485f40.jpg","text":"TemporaryFile(/tmp/multipartBody1589788178617679861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_37_44_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/339c357ec5b768f22677a1e503f3d659.jpg","text":"TemporaryFile(/tmp/multipartBody2496678364527823905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_37_14_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/26/e605e575673c179ad745fd24b4fc749d.jpg","text":"TemporaryFile(/tmp/multipartBody872010326470082891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_36_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0de75cdf7f8c90e048b62554f8a43d15.jpg","text":"TemporaryFile(/tmp/multipartBody8450916207688019062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895173786,"filename":"image_26012025_13_37_25_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331674631","file1":"1331674572","file0":"1331674568","file4":"1331674638","file5":"1331674687","file3":"1331674636"},"map_files_photo_id_array":[{"photo_id":"1331674687","filename":"file5"},{"photo_id":"1331674631","filename":"file2"},{"photo_id":"1331674638","filename":"file4"},{"photo_id":"1331674572","filename":"file1"},{"photo_id":"1331674568","filename":"file0"},{"photo_id":"1331674636","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331674687":["hashtag1","hashtag2"]},{"1331674636":["hashtag1","hashtag2"]},{"1331674638":["hashtag1","hashtag2"]},{"1331674572":["hashtag1","hashtag2"]},{"1331674568":["hashtag1","hashtag2"]},{"1331674631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331674687, 1331674636, 1331674638, 1331674572, 1331674568, 1331674631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91551899909973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:39:33.234306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_15_10419.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_25_10345.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_34_9339.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_45_10481.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_54_9336.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_39_04_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_15_10419.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_25_10345.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_34_9339.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_45_10481.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_54_9336.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_39_04_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5137462615966797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:39:43.077391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_15_10419.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_25_10345.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_34_9339.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_45_10481.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_54_9336.jpg', '/home/pi/Desktop/images/26012025/13/38/image_26012025_13_39_04_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_15_10419.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_25_10345.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_34_9339.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_45_10481.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_38_54_9336.jpg
/home/pi/Desktop/images/26012025/13/38/image_26012025_13_39_04_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":["1331674741","1331674735","1331674752","1331674745","1331674748","1331674739"],"photo_ids_order":["1331674735","1331674739","1331674741","1331674745","1331674748","1331674752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/536401b3626e94d7b06de9b9adf18347.jpg","text":"TemporaryFile(/tmp/multipartBody4781076031368230290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_38_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/26/74c65c90a35d968deac63c6788e6376a.jpg","text":"TemporaryFile(/tmp/multipartBody5610451655891774504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_38_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/26/fc0b893405b1843b66c571929c35c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6283280590161238192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_39_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/26/7f6e23efd33b738900b7b3bff4b7c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8600645921675432812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_38_45_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/26/3ca6148cef29b56584e028b1236bb90a.jpg","text":"TemporaryFile(/tmp/multipartBody7413982552371426342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_38_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/26/0cd59de2cf0e861923aa0ef6775cab8d.jpg","text":"TemporaryFile(/tmp/multipartBody3279362364226181850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895243977,"filename":"image_26012025_13_38_25_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331674741","file1":"1331674739","file0":"1331674735","file4":"1331674748","file5":"1331674752","file3":"1331674745"},"map_files_photo_id_array":[{"photo_id":"1331674752","filename":"file5"},{"photo_id":"1331674741","filename":"file2"},{"photo_id":"1331674748","filename":"file4"},{"photo_id":"1331674739","filename":"file1"},{"photo_id":"1331674735","filename":"file0"},{"photo_id":"1331674745","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331674741":["hashtag1","hashtag2"]},{"1331674735":["hashtag1","hashtag2"]},{"1331674752":["hashtag1","hashtag2"]},{"1331674745":["hashtag1","hashtag2"]},{"1331674748":["hashtag1","hashtag2"]},{"1331674739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331674741, 1331674735, 1331674752, 1331674745, 1331674748, 1331674739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50696086883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:40:32.386119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_15_10400.jpg', '/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_24_9349.jpg', '/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_35_10436.jpg', '/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_44_9364.jpg', '/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_54_10338.jpg', '/home/pi/Desktop/images/26012025/13/39/image_26012025_13_40_05_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_15_10400.jpg
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_24_9349.jpg
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_35_10436.jpg
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_44_9364.jpg
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_39_54_10338.jpg
/home/pi/Desktop/images/26012025/13/39/image_26012025_13_40_05_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":["1331674825","1331674828","1331674821","1331674830","1331674818","1331674815"],"photo_ids_order":["1331674815","1331674818","1331674821","1331674825","1331674828","1331674830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c8898e5acb4fa193f9a5fca32072504.jpg","text":"TemporaryFile(/tmp/multipartBody2273499143988316552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_39_44_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/26/d5fbca5176ac8efbefa3e159653ca232.jpg","text":"TemporaryFile(/tmp/multipartBody7519791989911756707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_39_54_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/26/703eac78e980d0e404afe8beec674997.jpg","text":"TemporaryFile(/tmp/multipartBody1353691117309803021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_39_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/26/2e965228967b2021582378bd9af1b6ac.jpg","text":"TemporaryFile(/tmp/multipartBody6298555687459209390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_40_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c9d999af603c14774d5f8ad8e09b2ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7237604808975573702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_39_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/26/e2ffd2c24062ae1f08081ccd1c3ab902.jpg","text":"TemporaryFile(/tmp/multipartBody7290690886472445765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895293314,"filename":"image_26012025_13_39_15_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331674821","file1":"1331674818","file0":"1331674815","file4":"1331674828","file5":"1331674830","file3":"1331674825"},"map_files_photo_id_array":[{"photo_id":"1331674830","filename":"file5"},{"photo_id":"1331674821","filename":"file2"},{"photo_id":"1331674828","filename":"file4"},{"photo_id":"1331674818","filename":"file1"},{"photo_id":"1331674815","filename":"file0"},{"photo_id":"1331674825","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331674825":["hashtag1","hashtag2"]},{"1331674828":["hashtag1","hashtag2"]},{"1331674821":["hashtag1","hashtag2"]},{"1331674830":["hashtag1","hashtag2"]},{"1331674818":["hashtag1","hashtag2"]},{"1331674815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331674825, 1331674828, 1331674821, 1331674830, 1331674818, 1331674815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.081270933151245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:41:32.553209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_14_9367.jpg', '/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_24_10361.jpg', '/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_35_10356.jpg', '/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_44_9339.jpg', '/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_55_10400.jpg', '/home/pi/Desktop/images/26012025/13/40/image_26012025_13_41_05_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_14_9367.jpg
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_24_10361.jpg
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_35_10356.jpg
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_44_9339.jpg
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_40_55_10400.jpg
/home/pi/Desktop/images/26012025/13/40/image_26012025_13_41_05_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":["1331674852","1331674849","1331674854","1331674851","1331674850","1331674853"],"photo_ids_order":["1331674849","1331674850","1331674851","1331674852","1331674853","1331674854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/051dd598c13509905bb9c70fb96d3bff.jpg","text":"TemporaryFile(/tmp/multipartBody2072576052909470995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_40_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5ea21aa90e2a740edb173f2d6451723.jpg","text":"TemporaryFile(/tmp/multipartBody3563231633622225284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_40_14_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/26/d9df706d6e1a79b35ef7efa1059b01e6.jpg","text":"TemporaryFile(/tmp/multipartBody7693187467177180325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_41_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/26/f2134efa63223887942d3023fea4b3dc.jpg","text":"TemporaryFile(/tmp/multipartBody1630538927106224294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_40_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/26/ae4237f440359a70446802cbf57727f5.jpg","text":"TemporaryFile(/tmp/multipartBody1499848907911401176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_40_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/26/8d094d9ade47d2369644d8c99786e228.jpg","text":"TemporaryFile(/tmp/multipartBody5110793132795141331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895353477,"filename":"image_26012025_13_40_55_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331674851","file1":"1331674850","file0":"1331674849","file4":"1331674853","file5":"1331674854","file3":"1331674852"},"map_files_photo_id_array":[{"photo_id":"1331674854","filename":"file5"},{"photo_id":"1331674851","filename":"file2"},{"photo_id":"1331674853","filename":"file4"},{"photo_id":"1331674850","filename":"file1"},{"photo_id":"1331674849","filename":"file0"},{"photo_id":"1331674852","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331674852":["hashtag1","hashtag2"]},{"1331674849":["hashtag1","hashtag2"]},{"1331674854":["hashtag1","hashtag2"]},{"1331674851":["hashtag1","hashtag2"]},{"1331674850":["hashtag1","hashtag2"]},{"1331674853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331674852, 1331674849, 1331674854, 1331674851, 1331674850, 1331674853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02022075653076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:42:32.823693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_14_9326.jpg', '/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_25_10400.jpg', '/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_34_9326.jpg', '/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_44_10330.jpg', '/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_55_10347.jpg', '/home/pi/Desktop/images/26012025/13/41/image_26012025_13_42_04_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_14_9326.jpg
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_25_10400.jpg
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_34_9326.jpg
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_44_10330.jpg
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_41_55_10347.jpg
/home/pi/Desktop/images/26012025/13/41/image_26012025_13_42_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":["1331674983","1331674953","1331674911","1331674958","1331674973","1331674907"],"photo_ids_order":["1331674907","1331674911","1331674953","1331674958","1331674973","1331674983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60c1e87cbedd343a849dfefe81b32824.jpg","text":"TemporaryFile(/tmp/multipartBody7763185747959641845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_42_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/26/99a366de159325c6ea0c0fd9dbf47dcb.jpg","text":"TemporaryFile(/tmp/multipartBody3754340577676095290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_41_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ed28c12f602d56334b8d86e7e9825bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6661623946844532605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_41_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac0280266dc90825596b8cba9cece072.jpg","text":"TemporaryFile(/tmp/multipartBody6551089558474360738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_41_44_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4b95ad013f2983e24b347a0f15cc1fe3.jpg","text":"TemporaryFile(/tmp/multipartBody5873234864926538007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_41_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/26/f570dd8c0f040260df3d3cc79f193bee.jpg","text":"TemporaryFile(/tmp/multipartBody2921901231130369132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895414177,"filename":"image_26012025_13_41_14_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331674953","file1":"1331674911","file0":"1331674907","file4":"1331674973","file5":"1331674983","file3":"1331674958"},"map_files_photo_id_array":[{"photo_id":"1331674983","filename":"file5"},{"photo_id":"1331674953","filename":"file2"},{"photo_id":"1331674973","filename":"file4"},{"photo_id":"1331674911","filename":"file1"},{"photo_id":"1331674907","filename":"file0"},{"photo_id":"1331674958","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331674983":["hashtag1","hashtag2"]},{"1331674953":["hashtag1","hashtag2"]},{"1331674911":["hashtag1","hashtag2"]},{"1331674958":["hashtag1","hashtag2"]},{"1331674973":["hashtag1","hashtag2"]},{"1331674907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331674983, 1331674953, 1331674911, 1331674958, 1331674973, 1331674907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24366235733032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:43:33.168458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_14_10331.jpg', '/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_25_10325.jpg', '/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_34_9341.jpg', '/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_55_10347.jpg', '/home/pi/Desktop/images/26012025/13/42/image_26012025_13_43_04_9397.jpg', '/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_14_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_14_10331.jpg
/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_25_10325.jpg
/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_34_9341.jpg
/home/pi/Desktop/images/26012025/13/42/image_26012025_13_42_55_10347.jpg
/home/pi/Desktop/images/26012025/13/42/image_26012025_13_43_04_9397.jpg
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_14_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":["1331675026","1331675029","1331675022","1331675016","1331675019","1331675024"],"photo_ids_order":["1331675016","1331675019","1331675022","1331675024","1331675026","1331675029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd794900dd159fc0ee072d99e8c252cd.jpg","text":"TemporaryFile(/tmp/multipartBody3770208053604565196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_43_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/315b792c010ce45d8836a2b5b97393d1.jpg","text":"TemporaryFile(/tmp/multipartBody4685900992783917532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_43_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b6f8af1ac47db4d8701cd600c58da7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5578948106540713367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_42_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/26/c44210da74334a7c5747d2206faee9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2019224845764828455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_42_14_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/26/99e48646af5dd8d847d60f94689822f6.jpg","text":"TemporaryFile(/tmp/multipartBody7407211481434132141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_42_25_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2d13f73c7b8d91c98e0ee61b6c08f01.jpg","text":"TemporaryFile(/tmp/multipartBody7593289794498695260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895474106,"filename":"image_26012025_13_42_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331675022","file1":"1331675019","file0":"1331675016","file4":"1331675026","file5":"1331675029","file3":"1331675024"},"map_files_photo_id_array":[{"photo_id":"1331675029","filename":"file5"},{"photo_id":"1331675022","filename":"file2"},{"photo_id":"1331675026","filename":"file4"},{"photo_id":"1331675019","filename":"file1"},{"photo_id":"1331675016","filename":"file0"},{"photo_id":"1331675024","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331675026":["hashtag1","hashtag2"]},{"1331675029":["hashtag1","hashtag2"]},{"1331675022":["hashtag1","hashtag2"]},{"1331675016":["hashtag1","hashtag2"]},{"1331675019":["hashtag1","hashtag2"]},{"1331675024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331675026, 1331675029, 1331675022, 1331675016, 1331675019, 1331675024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28769850730896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:44:32.314277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_25_10355.jpg', '/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_34_9324.jpg', '/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_44_10336.jpg', '/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_55_10358.jpg', '/home/pi/Desktop/images/26012025/13/43/image_26012025_13_44_04_9339.jpg', '/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_15_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_25_10355.jpg
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_34_9324.jpg
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_44_10336.jpg
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_43_55_10358.jpg
/home/pi/Desktop/images/26012025/13/43/image_26012025_13_44_04_9339.jpg
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_15_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":["1331675176","1331675181","1331675189","1331675174","1331675191","1331675185"],"photo_ids_order":["1331675174","1331675176","1331675181","1331675185","1331675189","1331675191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6afc6ee07c9605aeb15966e08ad9a47.jpg","text":"TemporaryFile(/tmp/multipartBody4790346836752498669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_43_34_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4b47033f01daa4011b7872079c0a8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5771664054621539801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_43_44_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d53e48208778dc40fa3cd9e354d8dcc7.jpg","text":"TemporaryFile(/tmp/multipartBody1977666572381549861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_44_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/26/3825ec866963ea0522449f99444ecbe4.jpg","text":"TemporaryFile(/tmp/multipartBody1668790187241917819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_43_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/26/d303445a06934754f36ed2fd58b3e88b.jpg","text":"TemporaryFile(/tmp/multipartBody4746640724361200496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_44_15_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/26/252f3b0be567ce4263958d32291e6efb.jpg","text":"TemporaryFile(/tmp/multipartBody1077833481727167167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895533232,"filename":"image_26012025_13_43_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331675181","file1":"1331675176","file0":"1331675174","file4":"1331675189","file5":"1331675191","file3":"1331675185"},"map_files_photo_id_array":[{"photo_id":"1331675191","filename":"file5"},{"photo_id":"1331675181","filename":"file2"},{"photo_id":"1331675189","filename":"file4"},{"photo_id":"1331675176","filename":"file1"},{"photo_id":"1331675174","filename":"file0"},{"photo_id":"1331675185","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331675176":["hashtag1","hashtag2"]},{"1331675181":["hashtag1","hashtag2"]},{"1331675189":["hashtag1","hashtag2"]},{"1331675174":["hashtag1","hashtag2"]},{"1331675191":["hashtag1","hashtag2"]},{"1331675185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331675176, 1331675181, 1331675189, 1331675174, 1331675191, 1331675185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.503329277038574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:45:32.548024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_24_9339.jpg', '/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_34_10426.jpg', '/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_45_10450.jpg', '/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_54_9332.jpg', '/home/pi/Desktop/images/26012025/13/44/image_26012025_13_45_05_10439.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_14_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_24_9339.jpg
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_34_10426.jpg
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_45_10450.jpg
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_44_54_9332.jpg
/home/pi/Desktop/images/26012025/13/44/image_26012025_13_45_05_10439.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_14_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":["1331675227","1331675218","1331675226","1331675205","1331675225","1331675201"],"photo_ids_order":["1331675201","1331675205","1331675218","1331675225","1331675226","1331675227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb942bcc482e225ad962c918bb39b0bb.jpg","text":"TemporaryFile(/tmp/multipartBody81073908710725388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_45_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/26/356e78f8f85ec3df47832b87103ba8f0.jpg","text":"TemporaryFile(/tmp/multipartBody9025502479284499263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_44_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/26/4958b370262245636c19c010194a2b91.jpg","text":"TemporaryFile(/tmp/multipartBody4954710023307924290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_45_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/26/75a29d570e8cbb053ffde56786dad525.jpg","text":"TemporaryFile(/tmp/multipartBody7154728043423474165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_44_34_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/26/07244cb6def6a8664271b8b600d337f4.jpg","text":"TemporaryFile(/tmp/multipartBody4802346836746304914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_44_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/26/3d8f5a3c9ac9330a417e8aae0dc21639.jpg","text":"TemporaryFile(/tmp/multipartBody5984796797000494654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895593466,"filename":"image_26012025_13_44_24_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331675218","file1":"1331675205","file0":"1331675201","file4":"1331675226","file5":"1331675227","file3":"1331675225"},"map_files_photo_id_array":[{"photo_id":"1331675227","filename":"file5"},{"photo_id":"1331675218","filename":"file2"},{"photo_id":"1331675226","filename":"file4"},{"photo_id":"1331675205","filename":"file1"},{"photo_id":"1331675201","filename":"file0"},{"photo_id":"1331675225","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331675227":["hashtag1","hashtag2"]},{"1331675218":["hashtag1","hashtag2"]},{"1331675226":["hashtag1","hashtag2"]},{"1331675205":["hashtag1","hashtag2"]},{"1331675225":["hashtag1","hashtag2"]},{"1331675201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331675227, 1331675218, 1331675226, 1331675205, 1331675225, 1331675201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.48493552207947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:46:32.831113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_24_10379.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_35_10345.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_44_9347.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_54_10377.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_46_05_10340.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_14_9310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_24_10379.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_35_10345.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_44_9347.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_54_10377.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_46_05_10340.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_14_9310.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5121188163757324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:46:42.859858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_24_10379.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_35_10345.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_44_9347.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_54_10377.jpg', '/home/pi/Desktop/images/26012025/13/45/image_26012025_13_46_05_10340.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_14_9310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_24_10379.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_35_10345.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_44_9347.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_45_54_10377.jpg
/home/pi/Desktop/images/26012025/13/45/image_26012025_13_46_05_10340.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_14_9310.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331675261","1331675255","1331675258","1331675246","1331675263","1331675251"],"photo_ids_order":["1331675246","1331675251","1331675255","1331675258","1331675261","1331675263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/814cb1e69719d22570b57248716ac335.jpg","text":"TemporaryFile(/tmp/multipartBody5350244530501242701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_46_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/26/77e434d0fd89ad3445ce295c343e260f.jpg","text":"TemporaryFile(/tmp/multipartBody4961584472449457491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_45_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/26/b927e6a9269797b042ddca4da59ca234.jpg","text":"TemporaryFile(/tmp/multipartBody2762986606919201446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_45_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e86bc81d134e5ea546e668cf5d626397.jpg","text":"TemporaryFile(/tmp/multipartBody6671296150966632188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_45_24_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/26/3d177a1b220545beb09d3c2f00981c87.jpg","text":"TemporaryFile(/tmp/multipartBody7099139448474407483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_46_14_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/24e1e705a3601d6558ca9c47c5309793.jpg","text":"TemporaryFile(/tmp/multipartBody253191502601452077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895663759,"filename":"image_26012025_13_45_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331675255","file1":"1331675251","file0":"1331675246","file4":"1331675261","file5":"1331675263","file3":"1331675258"},"map_files_photo_id_array":[{"photo_id":"1331675263","filename":"file5"},{"photo_id":"1331675255","filename":"file2"},{"photo_id":"1331675261","filename":"file4"},{"photo_id":"1331675251","filename":"file1"},{"photo_id":"1331675246","filename":"file0"},{"photo_id":"1331675258","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331675261":["hashtag1","hashtag2"]},{"1331675255":["hashtag1","hashtag2"]},{"1331675258":["hashtag1","hashtag2"]},{"1331675246":["hashtag1","hashtag2"]},{"1331675263":["hashtag1","hashtag2"]},{"1331675251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331675261, 1331675255, 1331675258, 1331675246, 1331675263, 1331675251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97894501686096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:47:33.127940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_24_10466.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_34_9404.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_44_10342.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_55_10364.jpg', '/home/pi/Desktop/images/26012025/13/46/image_26012025_13_47_04_9351.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_25_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_24_10466.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_34_9404.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_44_10342.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_46_55_10364.jpg
/home/pi/Desktop/images/26012025/13/46/image_26012025_13_47_04_9351.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331675844","1331675847","1331675855","1331675849","1331675852","1331675854"],"photo_ids_order":["1331675844","1331675847","1331675849","1331675852","1331675854","1331675855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3080428c10a9e971cc2f15527dc9134a.jpg","text":"TemporaryFile(/tmp/multipartBody4315999542275041150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_46_24_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46e70a312ec5173b5781b61bfce3b986.jpg","text":"TemporaryFile(/tmp/multipartBody7040008217032530805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_46_34_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40d004a67ffc1ce1e5c2f68a6d39d703.jpg","text":"TemporaryFile(/tmp/multipartBody4068768526512454214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_47_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/26/f68df1714389627217e79d8fadd66064.jpg","text":"TemporaryFile(/tmp/multipartBody6465839819652762136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_46_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/26/0a23580fb1d8bd1e5835a4b65d2e1821.jpg","text":"TemporaryFile(/tmp/multipartBody6235703108083910257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_46_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5e48129c690139f7fd175969a031714.jpg","text":"TemporaryFile(/tmp/multipartBody8742877448238748942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895714044,"filename":"image_26012025_13_47_04_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331675849","file1":"1331675847","file0":"1331675844","file4":"1331675854","file5":"1331675855","file3":"1331675852"},"map_files_photo_id_array":[{"photo_id":"1331675855","filename":"file5"},{"photo_id":"1331675849","filename":"file2"},{"photo_id":"1331675854","filename":"file4"},{"photo_id":"1331675847","filename":"file1"},{"photo_id":"1331675844","filename":"file0"},{"photo_id":"1331675852","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331675844":["hashtag1","hashtag2"]},{"1331675847":["hashtag1","hashtag2"]},{"1331675855":["hashtag1","hashtag2"]},{"1331675849":["hashtag1","hashtag2"]},{"1331675852":["hashtag1","hashtag2"]},{"1331675854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331675844, 1331675847, 1331675855, 1331675849, 1331675852, 1331675854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.57173466682434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:48:32.229921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_34_9345.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_44_10415.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_55_10360.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_48_04_9330.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_15_10399.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_24_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_34_9345.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_44_10415.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_55_10360.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_48_04_9330.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_15_10399.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_24_9395.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5083630084991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:48:42.229770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_34_9345.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_44_10415.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_55_10360.jpg', '/home/pi/Desktop/images/26012025/13/47/image_26012025_13_48_04_9330.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_15_10399.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_24_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_34_9345.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_44_10415.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_47_55_10360.jpg
/home/pi/Desktop/images/26012025/13/47/image_26012025_13_48_04_9330.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_15_10399.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_24_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331676209","1331676200","1331676203","1331676206","1331676211","1331676214"],"photo_ids_order":["1331676200","1331676203","1331676206","1331676209","1331676211","1331676214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/511bea2a39c6ce81e1be85f8bb090a03.jpg","text":"TemporaryFile(/tmp/multipartBody8408453153622359074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_48_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/26/47e5989b42c46d49dfe39980f003db77.jpg","text":"TemporaryFile(/tmp/multipartBody1179233716343401677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_47_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/694629c73643d4353ba5b05721226f54.jpg","text":"TemporaryFile(/tmp/multipartBody8649878517470436213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_47_44_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70d9f3c0a65cd59daf7a4b1224ae3ed0.jpg","text":"TemporaryFile(/tmp/multipartBody7415905722729330335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_47_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/26/60fba0adf09d54c52a5bdc7a47073d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7181331006087594732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_48_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/26/d22b059fd231c10536e41716e8daf949.jpg","text":"TemporaryFile(/tmp/multipartBody2139683057318513145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895783136,"filename":"image_26012025_13_48_24_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676206","file1":"1331676203","file0":"1331676200","file4":"1331676211","file5":"1331676214","file3":"1331676209"},"map_files_photo_id_array":[{"photo_id":"1331676214","filename":"file5"},{"photo_id":"1331676206","filename":"file2"},{"photo_id":"1331676211","filename":"file4"},{"photo_id":"1331676203","filename":"file1"},{"photo_id":"1331676200","filename":"file0"},{"photo_id":"1331676209","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676209":["hashtag1","hashtag2"]},{"1331676200":["hashtag1","hashtag2"]},{"1331676203":["hashtag1","hashtag2"]},{"1331676206":["hashtag1","hashtag2"]},{"1331676211":["hashtag1","hashtag2"]},{"1331676214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676209, 1331676200, 1331676203, 1331676206, 1331676211, 1331676214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45145320892334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:49:32.436115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_34_10333.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_45_10423.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_54_9343.jpg', '/home/pi/Desktop/images/26012025/13/48/image_26012025_13_49_04_10413.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_15_10392.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_24_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_34_10333.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_45_10423.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_48_54_9343.jpg
/home/pi/Desktop/images/26012025/13/48/image_26012025_13_49_04_10413.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_15_10392.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_24_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":["1331676270","1331676273","1331676267","1331676264","1331676246","1331676272"],"photo_ids_order":["1331676246","1331676264","1331676267","1331676270","1331676272","1331676273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96d528b5f1dd49aea63c6b73c440ab6e.jpg","text":"TemporaryFile(/tmp/multipartBody7168179673249076112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_49_04_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/26/c2438a2f15987460892f6b35ce5831be.jpg","text":"TemporaryFile(/tmp/multipartBody4838119100970462969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_49_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/26/2ebf9ea6ff9ed611354fdfbca588c65a.jpg","text":"TemporaryFile(/tmp/multipartBody5826719424281831215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_48_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/26/4ef52fb6ba564b9dd0fdf59b348e776f.jpg","text":"TemporaryFile(/tmp/multipartBody178837798925563948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_48_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/26/4cffc915e189aae93147ea99e45fea37.jpg","text":"TemporaryFile(/tmp/multipartBody5453586280548954729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_48_34_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77f3424761ea1836bfedf1cb7a0b83c4.jpg","text":"TemporaryFile(/tmp/multipartBody7627161538607382367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895833340,"filename":"image_26012025_13_49_15_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676267","file1":"1331676264","file0":"1331676246","file4":"1331676272","file5":"1331676273","file3":"1331676270"},"map_files_photo_id_array":[{"photo_id":"1331676273","filename":"file5"},{"photo_id":"1331676267","filename":"file2"},{"photo_id":"1331676272","filename":"file4"},{"photo_id":"1331676264","filename":"file1"},{"photo_id":"1331676246","filename":"file0"},{"photo_id":"1331676270","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676270":["hashtag1","hashtag2"]},{"1331676273":["hashtag1","hashtag2"]},{"1331676267":["hashtag1","hashtag2"]},{"1331676264":["hashtag1","hashtag2"]},{"1331676246":["hashtag1","hashtag2"]},{"1331676272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676270, 1331676273, 1331676267, 1331676264, 1331676246, 1331676272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.659546852111816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:50:32.760224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_35_10477.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_44_9343.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_54_10371.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_50_05_10341.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_14_9328.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_24_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_35_10477.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_44_9343.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_54_10371.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_50_05_10341.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_14_9328.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_24_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.5668766498565674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:50:42.708116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_35_10477.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_44_9343.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_54_10371.jpg', '/home/pi/Desktop/images/26012025/13/49/image_26012025_13_50_05_10341.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_14_9328.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_24_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_35_10477.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_44_9343.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_49_54_10371.jpg
/home/pi/Desktop/images/26012025/13/49/image_26012025_13_50_05_10341.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_14_9328.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_24_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":["1331676435","1331676443","1331676446","1331676448","1331676451","1331676439"],"photo_ids_order":["1331676435","1331676439","1331676443","1331676446","1331676448","1331676451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05754850532d9cfc761a1777221ed474.jpg","text":"TemporaryFile(/tmp/multipartBody3815118628971058544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_49_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/26/e1d45ede3e0b2cbfa3878e5d171c288c.jpg","text":"TemporaryFile(/tmp/multipartBody5457122177114935033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_49_54_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/26/019e8a332afdd4fc74c247c283100c41.jpg","text":"TemporaryFile(/tmp/multipartBody5471860805250843722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_50_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/26/92c2dbc3f086bd79f3be8a85e1724f40.jpg","text":"TemporaryFile(/tmp/multipartBody8978412701176812948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_50_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0ab2b15681c97daa5d962580450e54f.jpg","text":"TemporaryFile(/tmp/multipartBody6747598703887141922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_50_24_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/26/924a311671fe66596154ed856f1af4cb.jpg","text":"TemporaryFile(/tmp/multipartBody2634885975633972517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895903616,"filename":"image_26012025_13_49_44_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676443","file1":"1331676439","file0":"1331676435","file4":"1331676448","file5":"1331676451","file3":"1331676446"},"map_files_photo_id_array":[{"photo_id":"1331676451","filename":"file5"},{"photo_id":"1331676443","filename":"file2"},{"photo_id":"1331676448","filename":"file4"},{"photo_id":"1331676439","filename":"file1"},{"photo_id":"1331676435","filename":"file0"},{"photo_id":"1331676446","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676435":["hashtag1","hashtag2"]},{"1331676443":["hashtag1","hashtag2"]},{"1331676446":["hashtag1","hashtag2"]},{"1331676448":["hashtag1","hashtag2"]},{"1331676451":["hashtag1","hashtag2"]},{"1331676439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676435, 1331676443, 1331676446, 1331676448, 1331676451, 1331676439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.056605100631714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:51:33.106378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_35_10414.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_44_9339.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_55_10414.jpg', '/home/pi/Desktop/images/26012025/13/50/image_26012025_13_51_04_9397.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_14_10414.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_25_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_35_10414.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_44_9339.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_50_55_10414.jpg
/home/pi/Desktop/images/26012025/13/50/image_26012025_13_51_04_9397.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_14_10414.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331676474","1331676470","1331676467","1331676472","1331676460","1331676463"],"photo_ids_order":["1331676460","1331676463","1331676467","1331676470","1331676472","1331676474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb2adfd1b8198d0a592728c708a99552.jpg","text":"TemporaryFile(/tmp/multipartBody6392116830494503870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_51_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/26/17771a23f9d6ea572cdd220fcb6a319c.jpg","text":"TemporaryFile(/tmp/multipartBody8055670007653576107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_51_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/608bd34839e2a6bdd45cb58c9ac7d4c0.jpg","text":"TemporaryFile(/tmp/multipartBody3080026568191102799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_50_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/26/22d3f89b3b70df979b6f3750be777a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7375262041917910738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_51_14_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c9f1321693666d1b7080eda354bac7b.jpg","text":"TemporaryFile(/tmp/multipartBody4900105628235078358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_50_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/530b2c3e984b888cef5d73f82d137dab.jpg","text":"TemporaryFile(/tmp/multipartBody3411671996382846829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737895954039,"filename":"image_26012025_13_50_44_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676467","file1":"1331676463","file0":"1331676460","file4":"1331676472","file5":"1331676474","file3":"1331676470"},"map_files_photo_id_array":[{"photo_id":"1331676474","filename":"file5"},{"photo_id":"1331676467","filename":"file2"},{"photo_id":"1331676472","filename":"file4"},{"photo_id":"1331676463","filename":"file1"},{"photo_id":"1331676460","filename":"file0"},{"photo_id":"1331676470","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676474":["hashtag1","hashtag2"]},{"1331676470":["hashtag1","hashtag2"]},{"1331676467":["hashtag1","hashtag2"]},{"1331676472":["hashtag1","hashtag2"]},{"1331676460":["hashtag1","hashtag2"]},{"1331676463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676474, 1331676470, 1331676467, 1331676472, 1331676460, 1331676463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.2212233543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:52:32.254548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_44_10351.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_55_10442.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_52_04_9340.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_15_10526.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_24_9411.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_44_10351.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_55_10442.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_52_04_9340.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_15_10526.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_24_9411.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_45_10344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5112807750701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:52:42.277220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_44_10351.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_55_10442.jpg', '/home/pi/Desktop/images/26012025/13/51/image_26012025_13_52_04_9340.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_15_10526.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_24_9411.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_44_10351.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_51_55_10442.jpg
/home/pi/Desktop/images/26012025/13/51/image_26012025_13_52_04_9340.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_15_10526.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_24_9411.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_45_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":["1331676531","1331676524","1331676533","1331676527","1331676521","1331676529"],"photo_ids_order":["1331676521","1331676524","1331676527","1331676529","1331676531","1331676533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d16be8c016baf9d7e7ee67ca5d31afd1.jpg","text":"TemporaryFile(/tmp/multipartBody9116984754699968100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_52_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/26/1831894ab3a9a815b58b91b85c60d727.jpg","text":"TemporaryFile(/tmp/multipartBody1479423731333081754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_51_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/26/84ad83696a9ed6e71dc2ea9a1105a143.jpg","text":"TemporaryFile(/tmp/multipartBody7954601810294910194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_52_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/26/dff01fa346c5bc63486ead779f795f03.jpg","text":"TemporaryFile(/tmp/multipartBody5338353427029705041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_52_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42476e994c45280632ae999bae283b79.jpg","text":"TemporaryFile(/tmp/multipartBody2259561211526070919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_51_44_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/26/8fa78c5611a2e6b098f57880cf745c29.jpg","text":"TemporaryFile(/tmp/multipartBody3159561844294435739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896023201,"filename":"image_26012025_13_52_15_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676527","file1":"1331676524","file0":"1331676521","file4":"1331676531","file5":"1331676533","file3":"1331676529"},"map_files_photo_id_array":[{"photo_id":"1331676533","filename":"file5"},{"photo_id":"1331676527","filename":"file2"},{"photo_id":"1331676531","filename":"file4"},{"photo_id":"1331676524","filename":"file1"},{"photo_id":"1331676521","filename":"file0"},{"photo_id":"1331676529","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676531":["hashtag1","hashtag2"]},{"1331676524":["hashtag1","hashtag2"]},{"1331676533":["hashtag1","hashtag2"]},{"1331676527":["hashtag1","hashtag2"]},{"1331676521":["hashtag1","hashtag2"]},{"1331676529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676531, 1331676524, 1331676533, 1331676527, 1331676521, 1331676529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06953549385071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:53:32.726985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_54_9353.jpg', '/home/pi/Desktop/images/26012025/13/52/image_26012025_13_53_05_10467.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_14_9310.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_24_10344.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_35_10423.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_44_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_52_54_9353.jpg
/home/pi/Desktop/images/26012025/13/52/image_26012025_13_53_05_10467.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_14_9310.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_24_10344.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_35_10423.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_44_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331676613","1331676564","1331676590","1331676611","1331676614","1331676594"],"photo_ids_order":["1331676564","1331676590","1331676594","1331676611","1331676613","1331676614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d84e9b6e7b512f8031c222edc793848.jpg","text":"TemporaryFile(/tmp/multipartBody5116859779637730220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_53_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/26/167420d28ec702ec01b9207779d1cec3.jpg","text":"TemporaryFile(/tmp/multipartBody1390767746098323536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_52_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/26/8f69a9df37fd9c881856f19cafd532a2.jpg","text":"TemporaryFile(/tmp/multipartBody2887537300920125144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_53_05_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/26/441eee1f29753a1f6c97945576d12cec.jpg","text":"TemporaryFile(/tmp/multipartBody5191666724356617592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_53_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/26/19334ce3ca05b50ee93339988af92289.jpg","text":"TemporaryFile(/tmp/multipartBody3326789506866047868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_53_44_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/312b2dab99513dc8427fd56153901d1a.jpg","text":"TemporaryFile(/tmp/multipartBody204395150992815642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896073638,"filename":"image_26012025_13_53_14_9310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676594","file1":"1331676590","file0":"1331676564","file4":"1331676613","file5":"1331676614","file3":"1331676611"},"map_files_photo_id_array":[{"photo_id":"1331676614","filename":"file5"},{"photo_id":"1331676594","filename":"file2"},{"photo_id":"1331676613","filename":"file4"},{"photo_id":"1331676590","filename":"file1"},{"photo_id":"1331676564","filename":"file0"},{"photo_id":"1331676611","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676613":["hashtag1","hashtag2"]},{"1331676564":["hashtag1","hashtag2"]},{"1331676590":["hashtag1","hashtag2"]},{"1331676611":["hashtag1","hashtag2"]},{"1331676614":["hashtag1","hashtag2"]},{"1331676594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676613, 1331676564, 1331676590, 1331676611, 1331676614, 1331676594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92687916755676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:54:32.937470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_54_10352.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_54_05_10391.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_14_9392.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_25_10468.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_34_9328.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_44_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_54_10352.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_54_05_10391.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_14_9392.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_25_10468.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_34_9328.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_44_10330.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5443518161773682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:54:42.780412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_54_10352.jpg', '/home/pi/Desktop/images/26012025/13/53/image_26012025_13_54_05_10391.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_14_9392.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_25_10468.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_34_9328.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_44_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_53_54_10352.jpg
/home/pi/Desktop/images/26012025/13/53/image_26012025_13_54_05_10391.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_14_9392.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_25_10468.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_34_9328.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_44_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331676639","1331676723","1331676752","1331676761","1331676775","1331676643"],"photo_ids_order":["1331676639","1331676643","1331676723","1331676752","1331676761","1331676775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a5c4569a6afbd7484867e9dce1252b1.jpg","text":"TemporaryFile(/tmp/multipartBody7192941877531748570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_53_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/26/22ea2ef52444f269b0dcebe6c695cb25.jpg","text":"TemporaryFile(/tmp/multipartBody1459876033024250266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_54_14_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/06f00ef3a32fabee3c0a385a82fe0e72.jpg","text":"TemporaryFile(/tmp/multipartBody2287851927770134727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_54_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/26/7cd3be2b8ae2d9b08771aa30742485b3.jpg","text":"TemporaryFile(/tmp/multipartBody677870863541428737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_54_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b9efc761f7fd2c57f16f863b52034d3.jpg","text":"TemporaryFile(/tmp/multipartBody7681212363360117494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_54_44_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/663eaf457650d5c1d0cfdcaf5afbef5b.jpg","text":"TemporaryFile(/tmp/multipartBody8349890494106569005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896143710,"filename":"image_26012025_13_54_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676723","file1":"1331676643","file0":"1331676639","file4":"1331676761","file5":"1331676775","file3":"1331676752"},"map_files_photo_id_array":[{"photo_id":"1331676775","filename":"file5"},{"photo_id":"1331676723","filename":"file2"},{"photo_id":"1331676761","filename":"file4"},{"photo_id":"1331676643","filename":"file1"},{"photo_id":"1331676639","filename":"file0"},{"photo_id":"1331676752","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676639":["hashtag1","hashtag2"]},{"1331676723":["hashtag1","hashtag2"]},{"1331676752":["hashtag1","hashtag2"]},{"1331676761":["hashtag1","hashtag2"]},{"1331676775":["hashtag1","hashtag2"]},{"1331676643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676639, 1331676723, 1331676752, 1331676761, 1331676775, 1331676643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1220805644989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:55:33.127279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_55_10345.jpg', '/home/pi/Desktop/images/26012025/13/54/image_26012025_13_55_04_9315.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_14_10336.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_25_10398.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_34_9317.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_44_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_54_55_10345.jpg
/home/pi/Desktop/images/26012025/13/54/image_26012025_13_55_04_9315.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_14_10336.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_25_10398.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_34_9317.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_44_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":["1331676819","1331676821","1331676815","1331676818","1331676812","1331676809"],"photo_ids_order":["1331676809","1331676812","1331676815","1331676818","1331676819","1331676821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5040f19d6deaed1c42451e3fd70b081b.jpg","text":"TemporaryFile(/tmp/multipartBody363486278575426668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_55_34_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf6cd0ff7af879507ea71ebca3f7b617.jpg","text":"TemporaryFile(/tmp/multipartBody6159092137728128927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_55_44_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6bb102ad84f4d4b527cbf19957a676e.jpg","text":"TemporaryFile(/tmp/multipartBody5961875334381217950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_55_14_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a49fb40848280608a9f66fedc17b03d.jpg","text":"TemporaryFile(/tmp/multipartBody7269220739190372608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_55_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/26/62a764bb5df98477e9c8c6918fb21d18.jpg","text":"TemporaryFile(/tmp/multipartBody1629608298663520567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_55_04_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/26/c5c20b7edada886754f9ce2a244943f9.jpg","text":"TemporaryFile(/tmp/multipartBody8679637462697089866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896194038,"filename":"image_26012025_13_54_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676815","file1":"1331676812","file0":"1331676809","file4":"1331676819","file5":"1331676821","file3":"1331676818"},"map_files_photo_id_array":[{"photo_id":"1331676821","filename":"file5"},{"photo_id":"1331676815","filename":"file2"},{"photo_id":"1331676819","filename":"file4"},{"photo_id":"1331676812","filename":"file1"},{"photo_id":"1331676809","filename":"file0"},{"photo_id":"1331676818","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676819":["hashtag1","hashtag2"]},{"1331676821":["hashtag1","hashtag2"]},{"1331676815":["hashtag1","hashtag2"]},{"1331676818":["hashtag1","hashtag2"]},{"1331676812":["hashtag1","hashtag2"]},{"1331676809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676819, 1331676821, 1331676815, 1331676818, 1331676812, 1331676809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.229938983917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:56:32.300420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_55_10388.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_56_04_9346.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_15_10476.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_24_9363.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_34_10325.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_45_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_55_10388.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_56_04_9346.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_15_10476.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_24_9363.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_34_10325.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_45_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.5084304809570312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 13:56:42.290440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_55_10388.jpg', '/home/pi/Desktop/images/26012025/13/55/image_26012025_13_56_04_9346.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_15_10476.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_24_9363.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_34_10325.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_45_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_55_55_10388.jpg
/home/pi/Desktop/images/26012025/13/55/image_26012025_13_56_04_9346.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_15_10476.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_24_9363.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_34_10325.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_45_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":["1331676855","1331676852","1331676846","1331676857","1331676842","1331676850"],"photo_ids_order":["1331676842","1331676846","1331676850","1331676852","1331676855","1331676857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f56799963bfedb95d553c393f9706354.jpg","text":"TemporaryFile(/tmp/multipartBody5703513452864092607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_56_34_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/26/633730b2dcf0ef93fd55956c200a5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody9060061728670007782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_56_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe108dba8c9c0bbeeace1ed83b37c3c7.jpg","text":"TemporaryFile(/tmp/multipartBody3566195113371571059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_56_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/26/4c6f0eb444b02ef44d46ab382452a20b.jpg","text":"TemporaryFile(/tmp/multipartBody7948284810971415713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_56_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd34fad7f239438b1f102fa92e17acd5.jpg","text":"TemporaryFile(/tmp/multipartBody123416403119089170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_55_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/26/837b8e0c276809aa627eda8ebe379a74.jpg","text":"TemporaryFile(/tmp/multipartBody171040252182805061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896263198,"filename":"image_26012025_13_56_15_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331676850","file1":"1331676846","file0":"1331676842","file4":"1331676855","file5":"1331676857","file3":"1331676852"},"map_files_photo_id_array":[{"photo_id":"1331676857","filename":"file5"},{"photo_id":"1331676850","filename":"file2"},{"photo_id":"1331676855","filename":"file4"},{"photo_id":"1331676846","filename":"file1"},{"photo_id":"1331676842","filename":"file0"},{"photo_id":"1331676852","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331676855":["hashtag1","hashtag2"]},{"1331676852":["hashtag1","hashtag2"]},{"1331676846":["hashtag1","hashtag2"]},{"1331676857":["hashtag1","hashtag2"]},{"1331676842":["hashtag1","hashtag2"]},{"1331676850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331676855, 1331676852, 1331676846, 1331676857, 1331676842, 1331676850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.766950368881226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 13:57:32.550406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_54_9345.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_57_04_10365.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_15_10369.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_24_9360.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_35_10421.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_44_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_54_9345.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_57_04_10365.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_15_10369.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_24_9360.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_35_10421.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_44_9337.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-26 13:59:04.165538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_54_9345.jpg', '/home/pi/Desktop/images/26012025/13/56/image_26012025_13_57_04_10365.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_15_10369.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_24_9360.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_35_10421.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_44_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_56_54_9345.jpg
/home/pi/Desktop/images/26012025/13/56/image_26012025_13_57_04_10365.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_15_10369.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_24_9360.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_35_10421.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_44_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":["1331677388","1331677397","1331677400","1331677390","1331677392","1331677383"],"photo_ids_order":["1331677383","1331677388","1331677390","1331677392","1331677397","1331677400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4707e3d49f0269f037c13731b57dc8b4.jpg","text":"TemporaryFile(/tmp/multipartBody7794352881197611244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_57_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/26/c431f68d7db399690a8f410da93f6392.jpg","text":"TemporaryFile(/tmp/multipartBody7462363251030934826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_57_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/822b6b42e5306d2c275f008feceb686f.jpg","text":"TemporaryFile(/tmp/multipartBody5935202848026194991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_57_44_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53872c982921a3ab96fe9cada93a05d2.jpg","text":"TemporaryFile(/tmp/multipartBody53207551872530873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_57_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/26/aa83c0cc913e4a31dbb463cd022fe58c.jpg","text":"TemporaryFile(/tmp/multipartBody4686936941208765129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_57_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/26/fb74f3fb791433e1673906e0986047ca.jpg","text":"TemporaryFile(/tmp/multipartBody8758516975961728371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896405179,"filename":"image_26012025_13_56_54_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331677390","file1":"1331677388","file0":"1331677383","file4":"1331677397","file5":"1331677400","file3":"1331677392"},"map_files_photo_id_array":[{"photo_id":"1331677400","filename":"file5"},{"photo_id":"1331677390","filename":"file2"},{"photo_id":"1331677397","filename":"file4"},{"photo_id":"1331677388","filename":"file1"},{"photo_id":"1331677383","filename":"file0"},{"photo_id":"1331677392","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331677388":["hashtag1","hashtag2"]},{"1331677397":["hashtag1","hashtag2"]},{"1331677400":["hashtag1","hashtag2"]},{"1331677390":["hashtag1","hashtag2"]},{"1331677392":["hashtag1","hashtag2"]},{"1331677383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331677388, 1331677397, 1331677400, 1331677390, 1331677392, 1331677383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.971739768981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 13:59:52.847822
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/52/image_23012025_21_53_05_10355.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_15_10357.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_24_9350.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_35_10356.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_45_10460.jpg', '/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_55_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/52/image_23012025_21_53_05_10355.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_15_10357.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_24_9350.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_35_10356.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_45_10460.jpg
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_53_55_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":["1331677425","1331677410","1331677420","1331677414","1331677417","1331677408"],"photo_ids_order":["1331677408","1331677410","1331677414","1331677417","1331677420","1331677425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef6e63daf063afb0f6df21255659619c.jpg","text":"TemporaryFile(/tmp/multipartBody1080972633437764500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_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/26/468cac47a0951548b9da55b626d71808.jpg","text":"TemporaryFile(/tmp/multipartBody8377167832743721711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_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/26/3d13af66de41aa5e0ead63b0235811d1.jpg","text":"TemporaryFile(/tmp/multipartBody1796832421580407364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_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/26/2628c638db4aebc810076822c6de600b.jpg","text":"TemporaryFile(/tmp/multipartBody8646550294363308203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/219414c042ea864e998614dc253daa62.jpg","text":"TemporaryFile(/tmp/multipartBody2411247038420044757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a86605d37f77d38b33107b7e3488f981.jpg","text":"TemporaryFile(/tmp/multipartBody5311724623672471973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896455192,"filename":"image_23012025_21_53_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331677414","file1":"1331677410","file0":"1331677408","file4":"1331677420","file5":"1331677425","file3":"1331677417"},"map_files_photo_id_array":[{"photo_id":"1331677425","filename":"file5"},{"photo_id":"1331677414","filename":"file2"},{"photo_id":"1331677420","filename":"file4"},{"photo_id":"1331677410","filename":"file1"},{"photo_id":"1331677408","filename":"file0"},{"photo_id":"1331677417","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331677425":["hashtag1","hashtag2"]},{"1331677410":["hashtag1","hashtag2"]},{"1331677420":["hashtag1","hashtag2"]},{"1331677414":["hashtag1","hashtag2"]},{"1331677417":["hashtag1","hashtag2"]},{"1331677408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331677425, 1331677410, 1331677420, 1331677414, 1331677417, 1331677408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.30609107017517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:00:43.003100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_54_10355.jpg', '/home/pi/Desktop/images/26012025/13/57/image_26012025_13_58_05_10404.jpg', '/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_14_9325.jpg', '/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_24_10438.jpg', '/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_35_10334.jpg', '/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_44_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_57_54_10355.jpg
/home/pi/Desktop/images/26012025/13/57/image_26012025_13_58_05_10404.jpg
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_14_9325.jpg
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_24_10438.jpg
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_35_10334.jpg
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_44_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":["1331677440","1331677445","1331677439","1331677441","1331677438","1331677443"],"photo_ids_order":["1331677438","1331677439","1331677440","1331677441","1331677443","1331677445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31da1a0793e21387ea8604ca62c42035.jpg","text":"TemporaryFile(/tmp/multipartBody6532507743716785283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_58_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/26/6ca2d3fcc488b75e34a3b6eebea90d36.jpg","text":"TemporaryFile(/tmp/multipartBody1620197038600338862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_58_44_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/26/fd0f1bbdf5f8d7cd109ff5827f094f31.jpg","text":"TemporaryFile(/tmp/multipartBody4199750517487572145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_58_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/26/73858cd90a9d8a9ce434675e2055dd65.jpg","text":"TemporaryFile(/tmp/multipartBody2712474208328469113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_58_24_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/26/91071379c7f40f7f839598b34c7f575e.jpg","text":"TemporaryFile(/tmp/multipartBody911132379611763548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_57_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/26/1b8015f6851da142d8e0927e98f6053a.jpg","text":"TemporaryFile(/tmp/multipartBody5281890623442125918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896503927,"filename":"image_26012025_13_58_35_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331677440","file1":"1331677439","file0":"1331677438","file4":"1331677443","file5":"1331677445","file3":"1331677441"},"map_files_photo_id_array":[{"photo_id":"1331677445","filename":"file5"},{"photo_id":"1331677440","filename":"file2"},{"photo_id":"1331677443","filename":"file4"},{"photo_id":"1331677439","filename":"file1"},{"photo_id":"1331677438","filename":"file0"},{"photo_id":"1331677441","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331677440":["hashtag1","hashtag2"]},{"1331677445":["hashtag1","hashtag2"]},{"1331677439":["hashtag1","hashtag2"]},{"1331677441":["hashtag1","hashtag2"]},{"1331677438":["hashtag1","hashtag2"]},{"1331677443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331677440, 1331677445, 1331677439, 1331677441, 1331677438, 1331677443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.243122816085815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:01:32.301759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_55_10452.jpg', '/home/pi/Desktop/images/26012025/13/58/image_26012025_13_59_04_9325.jpg', '/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_14_10343.jpg', '/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_25_10367.jpg', '/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_34_9369.jpg', '/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_44_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_58_55_10452.jpg
/home/pi/Desktop/images/26012025/13/58/image_26012025_13_59_04_9325.jpg
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_14_10343.jpg
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_25_10367.jpg
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_34_9369.jpg
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_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":["1331677484","1331677487","1331677489","1331677480","1331677482","1331677470"],"photo_ids_order":["1331677470","1331677480","1331677482","1331677484","1331677487","1331677489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a56cf9aef5a30e09614dcdb4e2e1d23.jpg","text":"TemporaryFile(/tmp/multipartBody2731351585846006166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_59_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/26/806ef690b062a2a065bf67ecc2e4dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7431145493997805630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_59_34_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/26/be9faee033698b34d2e7553d56910353.jpg","text":"TemporaryFile(/tmp/multipartBody5520417329637612464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_59_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/26/df7f67060f2a6305db1255dde24b9482.jpg","text":"TemporaryFile(/tmp/multipartBody6527709401905114969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_59_04_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/26/021b64d57c64b5e6cb9fd3591b182be7.jpg","text":"TemporaryFile(/tmp/multipartBody5257519648617266331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_59_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4e4eb3b3c68bce4f26a60d05321e749.jpg","text":"TemporaryFile(/tmp/multipartBody3150973661983130196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896553202,"filename":"image_26012025_13_58_55_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331677482","file1":"1331677480","file0":"1331677470","file4":"1331677487","file5":"1331677489","file3":"1331677484"},"map_files_photo_id_array":[{"photo_id":"1331677489","filename":"file5"},{"photo_id":"1331677482","filename":"file2"},{"photo_id":"1331677487","filename":"file4"},{"photo_id":"1331677480","filename":"file1"},{"photo_id":"1331677470","filename":"file0"},{"photo_id":"1331677484","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331677484":["hashtag1","hashtag2"]},{"1331677487":["hashtag1","hashtag2"]},{"1331677489":["hashtag1","hashtag2"]},{"1331677480":["hashtag1","hashtag2"]},{"1331677482":["hashtag1","hashtag2"]},{"1331677470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331677484, 1331677487, 1331677489, 1331677480, 1331677482, 1331677470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77742838859558 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:02:32.682583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_55_10424.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_15_10069.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_25_10354.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_36_10457.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_45_9327.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_55_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_55_10424.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_15_10069.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_25_10354.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_36_10457.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_45_9327.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_55_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.5221896171569824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:02:42.689712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_55_10424.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_15_10069.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_25_10354.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_36_10457.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_45_9327.jpg', '/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_55_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/13/59/image_26012025_13_59_55_10424.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_15_10069.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_25_10354.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_36_10457.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_45_9327.jpg
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_01_55_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":["1331678048","1331678050","1331678044","1331678052","1331678046","1331678055"],"photo_ids_order":["1331678044","1331678046","1331678048","1331678050","1331678052","1331678055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23659d55d572fc226dbf17ef9d7ef9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6107162333275945879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_14_01_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/26/24952b8aa3d36e5c1efe25bf5db22624.jpg","text":"TemporaryFile(/tmp/multipartBody7792252367834250247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_14_01_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/26/4225ee07120d7ed9a5e1c7de82a9083d.jpg","text":"TemporaryFile(/tmp/multipartBody2346852084641170504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_13_59_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/26/b01653854d88bc95156d59b2034468df.jpg","text":"TemporaryFile(/tmp/multipartBody685906826665748630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_14_01_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3b7715363b1cb3fea7aeac11eeb5ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1387350771235438175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_14_01_15_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/698df216303de592ba5676f4ce0d4a91.jpg","text":"TemporaryFile(/tmp/multipartBody2043005587155558885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896623596,"filename":"image_26012025_14_01_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331678048","file1":"1331678046","file0":"1331678044","file4":"1331678052","file5":"1331678055","file3":"1331678050"},"map_files_photo_id_array":[{"photo_id":"1331678055","filename":"file5"},{"photo_id":"1331678048","filename":"file2"},{"photo_id":"1331678052","filename":"file4"},{"photo_id":"1331678046","filename":"file1"},{"photo_id":"1331678044","filename":"file0"},{"photo_id":"1331678050","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331678048":["hashtag1","hashtag2"]},{"1331678050":["hashtag1","hashtag2"]},{"1331678044":["hashtag1","hashtag2"]},{"1331678052":["hashtag1","hashtag2"]},{"1331678046":["hashtag1","hashtag2"]},{"1331678055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331678048, 1331678050, 1331678044, 1331678052, 1331678046, 1331678055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.63412427902222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:03:32.973164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/01/image_26012025_14_02_06_10392.jpg', '/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_15_9751.jpg', '/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_25_9438.jpg', '/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_35_10333.jpg', '/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_46_10424.jpg', '/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_55_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/01/image_26012025_14_02_06_10392.jpg
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_15_9751.jpg
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_25_9438.jpg
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_35_10333.jpg
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_46_10424.jpg
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_02_55_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":["1331678285","1331678293","1331678356","1331678368","1331678370","1331678319"],"photo_ids_order":["1331678285","1331678293","1331678319","1331678356","1331678368","1331678370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5038c58ff06e58ccc46842bdbbd828c4.jpg","text":"TemporaryFile(/tmp/multipartBody7640227832174432501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_02_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/26/c859258db4467a546ab0c4b5b8335cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5205570635090086581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_02_15_9751.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ba7d87e1272db89aa468642a98a11383.jpg","text":"TemporaryFile(/tmp/multipartBody5469566953503846419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_02_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7c3606cab10d099d38375fd05570d03.jpg","text":"TemporaryFile(/tmp/multipartBody4946197115523956284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_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/26/8e2ccd7ea46a0ca541cafb4afc7129c5.jpg","text":"TemporaryFile(/tmp/multipartBody1284005897701408516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_02_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/26/f2383eb6f184be45abb6c777a5c48d02.jpg","text":"TemporaryFile(/tmp/multipartBody5853129547081663802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896673885,"filename":"image_26012025_14_02_25_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331678319","file1":"1331678293","file0":"1331678285","file4":"1331678368","file5":"1331678370","file3":"1331678356"},"map_files_photo_id_array":[{"photo_id":"1331678370","filename":"file5"},{"photo_id":"1331678319","filename":"file2"},{"photo_id":"1331678368","filename":"file4"},{"photo_id":"1331678293","filename":"file1"},{"photo_id":"1331678285","filename":"file0"},{"photo_id":"1331678356","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331678285":["hashtag1","hashtag2"]},{"1331678293":["hashtag1","hashtag2"]},{"1331678356":["hashtag1","hashtag2"]},{"1331678368":["hashtag1","hashtag2"]},{"1331678370":["hashtag1","hashtag2"]},{"1331678319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331678285, 1331678293, 1331678356, 1331678368, 1331678370, 1331678319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.49078106880188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:04:32.305866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/02/image_26012025_14_03_05_10351.jpg', '/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_16_10336.jpg', '/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_25_9349.jpg', '/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_35_10322.jpg', '/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_46_10394.jpg', '/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_55_9421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/02/image_26012025_14_03_05_10351.jpg
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_16_10336.jpg
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_25_9349.jpg
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_35_10322.jpg
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_46_10394.jpg
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_03_55_9421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331679212","1331679215","1331679209","1331679218","1331679193","1331679219"],"photo_ids_order":["1331679193","1331679209","1331679212","1331679215","1331679218","1331679219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6845d0dbea208e5b5def5241a798ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6121221928431145020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_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/26/6b26e802203da03e3323e6dec19f8bac.jpg","text":"TemporaryFile(/tmp/multipartBody3866574247856383080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f6a6a0bf18ddfb5b6ab6a074e312719.jpg","text":"TemporaryFile(/tmp/multipartBody2004302659888314815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_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/26/7caea22691f864665ec47275def9f2b1.jpg","text":"TemporaryFile(/tmp/multipartBody619205830297661563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_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/26/17c6bf1e53904c397098ccea1429e524.jpg","text":"TemporaryFile(/tmp/multipartBody4017339363804613290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_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/26/dc754c566e9cc413595cf1ae78e7b005.jpg","text":"TemporaryFile(/tmp/multipartBody3336158722723028712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896733236,"filename":"image_26012025_14_03_55_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679212","file1":"1331679209","file0":"1331679193","file4":"1331679218","file5":"1331679219","file3":"1331679215"},"map_files_photo_id_array":[{"photo_id":"1331679219","filename":"file5"},{"photo_id":"1331679212","filename":"file2"},{"photo_id":"1331679218","filename":"file4"},{"photo_id":"1331679209","filename":"file1"},{"photo_id":"1331679193","filename":"file0"},{"photo_id":"1331679215","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679212":["hashtag1","hashtag2"]},{"1331679215":["hashtag1","hashtag2"]},{"1331679209":["hashtag1","hashtag2"]},{"1331679218":["hashtag1","hashtag2"]},{"1331679193":["hashtag1","hashtag2"]},{"1331679219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679212, 1331679215, 1331679209, 1331679218, 1331679193, 1331679219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.536439418792725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:05:32.474166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/03/image_26012025_14_04_06_10444.jpg', '/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_15_9329.jpg', '/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_25_10342.jpg', '/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_36_10409.jpg', '/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_45_9353.jpg', '/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_55_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/03/image_26012025_14_04_06_10444.jpg
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_15_9329.jpg
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_25_10342.jpg
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_36_10409.jpg
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_45_9353.jpg
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_04_55_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331679490","1331679498","1331679492","1331679486","1331679494","1331679488"],"photo_ids_order":["1331679486","1331679488","1331679490","1331679492","1331679494","1331679498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d03fb5963fba342bb7a4013213614e08.jpg","text":"TemporaryFile(/tmp/multipartBody7238222830339686957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_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/26/d890c50323427a4650474296124e0a9e.jpg","text":"TemporaryFile(/tmp/multipartBody314121506565570840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_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/26/04f9074852bc2ce0dc810f916db9eb50.jpg","text":"TemporaryFile(/tmp/multipartBody8298508369288412700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_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/26/fed3b13f30fb70bb16580031c20fab94.jpg","text":"TemporaryFile(/tmp/multipartBody7146358139529250885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_06_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0cd1abff48de5e6b9b464bf560a328f7.jpg","text":"TemporaryFile(/tmp/multipartBody1335701765559448046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_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/26/f466fe9b449472f32fcc9d4428f6507a.jpg","text":"TemporaryFile(/tmp/multipartBody2695104566526213235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896793377,"filename":"image_26012025_14_04_15_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679490","file1":"1331679488","file0":"1331679486","file4":"1331679494","file5":"1331679498","file3":"1331679492"},"map_files_photo_id_array":[{"photo_id":"1331679498","filename":"file5"},{"photo_id":"1331679490","filename":"file2"},{"photo_id":"1331679494","filename":"file4"},{"photo_id":"1331679488","filename":"file1"},{"photo_id":"1331679486","filename":"file0"},{"photo_id":"1331679492","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679490":["hashtag1","hashtag2"]},{"1331679498":["hashtag1","hashtag2"]},{"1331679492":["hashtag1","hashtag2"]},{"1331679486":["hashtag1","hashtag2"]},{"1331679494":["hashtag1","hashtag2"]},{"1331679488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679490, 1331679498, 1331679492, 1331679486, 1331679494, 1331679488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.79130578041077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:06:32.654103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/04/image_26012025_14_05_05_9405.jpg', '/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_15_10353.jpg', '/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_26_10412.jpg', '/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_35_9325.jpg', '/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_45_10349.jpg', '/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_56_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/04/image_26012025_14_05_05_9405.jpg
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_15_10353.jpg
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_26_10412.jpg
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_35_9325.jpg
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_45_10349.jpg
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_05_56_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":["1331679521","1331679515","1331679541","1331679538","1331679517","1331679513"],"photo_ids_order":["1331679513","1331679515","1331679517","1331679521","1331679538","1331679541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5040f45773b0fba0cccffabbe3b9ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody3165538331093792559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_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/26/aef5b1b20a3844aa6fbdd79965798ec5.jpg","text":"TemporaryFile(/tmp/multipartBody6597724294567321141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_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/26/06a44ca6f3eb182f934bbe77f8b44c12.jpg","text":"TemporaryFile(/tmp/multipartBody2085978371278299433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_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/26/00642bcfbb603fdf41158098fb3b3740.jpg","text":"TemporaryFile(/tmp/multipartBody5168368183525912515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_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/26/b2fde3f63a4fe20b4e482768b8cd5d77.jpg","text":"TemporaryFile(/tmp/multipartBody6639227670570566447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/750062364d916b3c63a1c8e6d34dc11a.jpg","text":"TemporaryFile(/tmp/multipartBody9021161062692535866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896853561,"filename":"image_26012025_14_05_05_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679517","file1":"1331679515","file0":"1331679513","file4":"1331679538","file5":"1331679541","file3":"1331679521"},"map_files_photo_id_array":[{"photo_id":"1331679541","filename":"file5"},{"photo_id":"1331679517","filename":"file2"},{"photo_id":"1331679538","filename":"file4"},{"photo_id":"1331679515","filename":"file1"},{"photo_id":"1331679513","filename":"file0"},{"photo_id":"1331679521","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679521":["hashtag1","hashtag2"]},{"1331679515":["hashtag1","hashtag2"]},{"1331679541":["hashtag1","hashtag2"]},{"1331679538":["hashtag1","hashtag2"]},{"1331679517":["hashtag1","hashtag2"]},{"1331679513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679521, 1331679515, 1331679541, 1331679538, 1331679517, 1331679513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5144464969635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:07:32.879818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/05/image_26012025_14_06_05_9445.jpg', '/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_15_10326.jpg', '/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_25_9373.jpg', '/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_35_10357.jpg', '/home/pi/Desktop/images/26012025/14/06/image_26012025_14_07_05_10342.jpg', '/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_16_10395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/05/image_26012025_14_06_05_9445.jpg
/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_15_10326.jpg
/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_25_9373.jpg
/home/pi/Desktop/images/26012025/14/06/image_26012025_14_06_35_10357.jpg
/home/pi/Desktop/images/26012025/14/06/image_26012025_14_07_05_10342.jpg
/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_16_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331679571","1331679576","1331679564","1331679567","1331679575","1331679569"],"photo_ids_order":["1331679564","1331679567","1331679569","1331679571","1331679575","1331679576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/56b71a26aeaa117c0951c51910939eff.jpg","text":"TemporaryFile(/tmp/multipartBody6447068062419407789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_06_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/26/a4a678d9a367f54016c566ecf7dc0bb5.jpg","text":"TemporaryFile(/tmp/multipartBody756570688619222983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_07_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/26/658aa2cc6af80498d4b5230e0501c04b.jpg","text":"TemporaryFile(/tmp/multipartBody664631847335763944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_06_05_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff98a2424af84df2509c4a6e9ca17df8.jpg","text":"TemporaryFile(/tmp/multipartBody2457271715445981204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_06_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/26/5a5936410f25dffc7dd62cac1f68ae77.jpg","text":"TemporaryFile(/tmp/multipartBody167694463059338787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_07_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/26/fa9a3fb4745ffbbe3fd593fb07c23c18.jpg","text":"TemporaryFile(/tmp/multipartBody66043556766312262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896913799,"filename":"image_26012025_14_06_25_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679569","file1":"1331679567","file0":"1331679564","file4":"1331679575","file5":"1331679576","file3":"1331679571"},"map_files_photo_id_array":[{"photo_id":"1331679576","filename":"file5"},{"photo_id":"1331679569","filename":"file2"},{"photo_id":"1331679575","filename":"file4"},{"photo_id":"1331679567","filename":"file1"},{"photo_id":"1331679564","filename":"file0"},{"photo_id":"1331679571","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679571":["hashtag1","hashtag2"]},{"1331679576":["hashtag1","hashtag2"]},{"1331679564":["hashtag1","hashtag2"]},{"1331679567":["hashtag1","hashtag2"]},{"1331679575":["hashtag1","hashtag2"]},{"1331679569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679571, 1331679576, 1331679564, 1331679567, 1331679575, 1331679569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01705455780029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:08:33.127996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_25_9336.jpg', '/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_35_10361.jpg', '/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_45_9365.jpg', '/home/pi/Desktop/images/26012025/14/07/image_26012025_14_08_06_10440.jpg', '/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_15_9356.jpg', '/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_25_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_25_9336.jpg
/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_35_10361.jpg
/home/pi/Desktop/images/26012025/14/07/image_26012025_14_07_45_9365.jpg
/home/pi/Desktop/images/26012025/14/07/image_26012025_14_08_06_10440.jpg
/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_15_9356.jpg
/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_25_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":["1331679592","1331679601","1331679594","1331679597","1331679591","1331679599"],"photo_ids_order":["1331679591","1331679592","1331679594","1331679597","1331679599","1331679601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/959e690957595723d595951f8e1af29a.jpg","text":"TemporaryFile(/tmp/multipartBody4989746725945316767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_07_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/26/ae6ee2bc8d87f8c0916294a69cca0889.jpg","text":"TemporaryFile(/tmp/multipartBody5323938601625992589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_08_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/26/e4349f75aa7ec0559705cf44f0ff589c.jpg","text":"TemporaryFile(/tmp/multipartBody1903179927202365754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_07_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca3d9cb6be20065534cf02600399e90c.jpg","text":"TemporaryFile(/tmp/multipartBody6551514022889829434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_08_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/26/5205ab006e13ba0d6f0caa1d7161814a.jpg","text":"TemporaryFile(/tmp/multipartBody6091700857028155861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_07_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/26/b1599c0a507e4fd10245ac2d8ddd2741.jpg","text":"TemporaryFile(/tmp/multipartBody3154748499549245690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737896974061,"filename":"image_26012025_14_08_15_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679594","file1":"1331679592","file0":"1331679591","file4":"1331679599","file5":"1331679601","file3":"1331679597"},"map_files_photo_id_array":[{"photo_id":"1331679601","filename":"file5"},{"photo_id":"1331679594","filename":"file2"},{"photo_id":"1331679599","filename":"file4"},{"photo_id":"1331679592","filename":"file1"},{"photo_id":"1331679591","filename":"file0"},{"photo_id":"1331679597","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679592":["hashtag1","hashtag2"]},{"1331679601":["hashtag1","hashtag2"]},{"1331679594":["hashtag1","hashtag2"]},{"1331679597":["hashtag1","hashtag2"]},{"1331679591":["hashtag1","hashtag2"]},{"1331679599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679592, 1331679601, 1331679594, 1331679597, 1331679591, 1331679599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.092275619506836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:09:32.415640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_36_10393.jpg', '/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_45_9354.jpg', '/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_26_10480.jpg', '/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_35_9310.jpg', '/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_36_10393.jpg
/home/pi/Desktop/images/26012025/14/08/image_26012025_14_08_45_9354.jpg
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_26_10480.jpg
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_35_9310.jpg
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_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":["1331679613","1331679610","1331679645","1331679639","1331679641"],"photo_ids_order":["1331679610","1331679613","1331679639","1331679641","1331679645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/751d7693b75bcf339e76e9e15692cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody5456030503383510858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897033314,"filename":"image_26012025_14_08_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/26/0563276a551ec4015ca4013c8b7b4b37.jpg","text":"TemporaryFile(/tmp/multipartBody6317403844527546006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897033314,"filename":"image_26012025_14_08_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/26/7a5cb3c3186cff1dbbcd74d2e7b7ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody7969660536715161766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897033314,"filename":"image_26012025_14_09_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/26/8c07cc2858f57cd8806eba3909d7877c.jpg","text":"TemporaryFile(/tmp/multipartBody8927731007421034716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897033314,"filename":"image_26012025_14_09_26_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ea43fbd9b2b1ad056b7bb04fd39e6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3614185739344620995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897033314,"filename":"image_26012025_14_09_35_9310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679639","file1":"1331679613","file0":"1331679610","file4":"1331679645","file3":"1331679641"},"map_files_photo_id_array":[{"photo_id":"1331679639","filename":"file2"},{"photo_id":"1331679645","filename":"file4"},{"photo_id":"1331679613","filename":"file1"},{"photo_id":"1331679610","filename":"file0"},{"photo_id":"1331679641","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679613":["hashtag1","hashtag2"]},{"1331679610":["hashtag1","hashtag2"]},{"1331679645":["hashtag1","hashtag2"]},{"1331679639":["hashtag1","hashtag2"]},{"1331679641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679613, 1331679610, 1331679645, 1331679639, 1331679641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.63296627998352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:10:32.725598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_56_10431.jpg', '/home/pi/Desktop/images/26012025/14/09/image_26012025_14_10_05_9408.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_15_10380.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_25_9353.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_46_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_56_10431.jpg
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_10_05_9408.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_15_10380.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_25_9353.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_46_10423.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5018956661224365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:10:42.708483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_56_10431.jpg', '/home/pi/Desktop/images/26012025/14/09/image_26012025_14_10_05_9408.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_15_10380.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_25_9353.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_46_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_09_56_10431.jpg
/home/pi/Desktop/images/26012025/14/09/image_26012025_14_10_05_9408.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_15_10380.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_25_9353.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_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":["1331679707","1331679715","1331679696","1331679711","1331679702"],"photo_ids_order":["1331679696","1331679702","1331679707","1331679711","1331679715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/75aaf42ba64e13ad0636c15c717a5a84.jpg","text":"TemporaryFile(/tmp/multipartBody3603902384237605918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897103615,"filename":"image_26012025_14_10_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/26/3c940aa17e768cb3b957431dfc4c9b5c.jpg","text":"TemporaryFile(/tmp/multipartBody9202978822320333441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897103615,"filename":"image_26012025_14_10_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/26/aa53660045961f4e22eddc8616f00cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2143299314649242025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897103615,"filename":"image_26012025_14_09_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2bb94148a40e9ed61b69555de3f2325e.jpg","text":"TemporaryFile(/tmp/multipartBody2997118414083475653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897103615,"filename":"image_26012025_14_10_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/26/53d809d8b2cdeb6652541047f46952a7.jpg","text":"TemporaryFile(/tmp/multipartBody1748488152829929696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897103615,"filename":"image_26012025_14_10_05_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679707","file1":"1331679702","file0":"1331679696","file4":"1331679715","file3":"1331679711"},"map_files_photo_id_array":[{"photo_id":"1331679707","filename":"file2"},{"photo_id":"1331679715","filename":"file4"},{"photo_id":"1331679702","filename":"file1"},{"photo_id":"1331679696","filename":"file0"},{"photo_id":"1331679711","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679707":["hashtag1","hashtag2"]},{"1331679715":["hashtag1","hashtag2"]},{"1331679696":["hashtag1","hashtag2"]},{"1331679711":["hashtag1","hashtag2"]},{"1331679702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679707, 1331679715, 1331679696, 1331679711, 1331679702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.99858117103577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:11:32.931455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_55_9359.jpg', '/home/pi/Desktop/images/26012025/14/10/image_26012025_14_11_05_10331.jpg', '/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_16_10338.jpg', '/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_25_9348.jpg', '/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_35_10412.jpg', '/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_45_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_10_55_9359.jpg
/home/pi/Desktop/images/26012025/14/10/image_26012025_14_11_05_10331.jpg
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_16_10338.jpg
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_25_9348.jpg
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_35_10412.jpg
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_45_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331679920","1331679923","1331679917","1331679790","1331679922","1331679873"],"photo_ids_order":["1331679790","1331679873","1331679917","1331679920","1331679922","1331679923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53d2b00e64095cd06cf825293c5e61fb.jpg","text":"TemporaryFile(/tmp/multipartBody5894256266256507549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_11_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/26/58ecc7bb00905ee99a25d8ae675924de.jpg","text":"TemporaryFile(/tmp/multipartBody2395384282440655517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_11_45_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa89a786ee223e51be32856ab1531024.jpg","text":"TemporaryFile(/tmp/multipartBody4120090403317299160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_11_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/26/a71c6b93a1309ae0a0e264f691b473d2.jpg","text":"TemporaryFile(/tmp/multipartBody331547173302466480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_10_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/26/dfb83fc71740f0b9691904f5aba8b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6437047911301574843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_11_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/26/362282593d60b938010ebb334d58c1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1980146500718705102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897153853,"filename":"image_26012025_14_11_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679917","file1":"1331679873","file0":"1331679790","file4":"1331679922","file5":"1331679923","file3":"1331679920"},"map_files_photo_id_array":[{"photo_id":"1331679923","filename":"file5"},{"photo_id":"1331679917","filename":"file2"},{"photo_id":"1331679922","filename":"file4"},{"photo_id":"1331679873","filename":"file1"},{"photo_id":"1331679790","filename":"file0"},{"photo_id":"1331679920","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679920":["hashtag1","hashtag2"]},{"1331679923":["hashtag1","hashtag2"]},{"1331679917":["hashtag1","hashtag2"]},{"1331679790":["hashtag1","hashtag2"]},{"1331679922":["hashtag1","hashtag2"]},{"1331679873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679920, 1331679923, 1331679917, 1331679790, 1331679922, 1331679873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56987762451172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:12:32.156209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_55_10374.jpg', '/home/pi/Desktop/images/26012025/14/11/image_26012025_14_12_06_10465.jpg', '/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_15_9371.jpg', '/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_25_10336.jpg', '/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_35_9402.jpg', '/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_11_55_10374.jpg
/home/pi/Desktop/images/26012025/14/11/image_26012025_14_12_06_10465.jpg
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_15_9371.jpg
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_25_10336.jpg
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_35_9402.jpg
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_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":["1331679955","1331679937","1331679940","1331679934","1331679959","1331679944"],"photo_ids_order":["1331679934","1331679937","1331679940","1331679944","1331679955","1331679959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cee8da38bd2fbae327b8cadd89f900ff.jpg","text":"TemporaryFile(/tmp/multipartBody6494501190863506991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_12_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/26/76a620899ef5d7efc1ce8d4c50dec069.jpg","text":"TemporaryFile(/tmp/multipartBody1373203740907319211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_12_06_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4449fe32a01ba1bd2129211cab738193.jpg","text":"TemporaryFile(/tmp/multipartBody2058348898619269790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_12_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/26/9458852ecdeec06e9aa3914fedf62de3.jpg","text":"TemporaryFile(/tmp/multipartBody1823356961521318505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_11_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/26/68c01062e5f6b3297c61015456ea512d.jpg","text":"TemporaryFile(/tmp/multipartBody5113750865790590584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_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/26/c661fd8fccf1b81d59599748eef4e43b.jpg","text":"TemporaryFile(/tmp/multipartBody532967795159133823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897213064,"filename":"image_26012025_14_12_25_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331679940","file1":"1331679937","file0":"1331679934","file4":"1331679955","file5":"1331679959","file3":"1331679944"},"map_files_photo_id_array":[{"photo_id":"1331679959","filename":"file5"},{"photo_id":"1331679940","filename":"file2"},{"photo_id":"1331679955","filename":"file4"},{"photo_id":"1331679937","filename":"file1"},{"photo_id":"1331679934","filename":"file0"},{"photo_id":"1331679944","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331679955":["hashtag1","hashtag2"]},{"1331679937":["hashtag1","hashtag2"]},{"1331679940":["hashtag1","hashtag2"]},{"1331679934":["hashtag1","hashtag2"]},{"1331679959":["hashtag1","hashtag2"]},{"1331679944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331679955, 1331679937, 1331679940, 1331679934, 1331679959, 1331679944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.337340354919434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:13:32.508004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_55_10417.jpg', '/home/pi/Desktop/images/26012025/14/12/image_26012025_14_13_05_9333.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_15_10328.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_26_10391.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_35_9316.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_12_55_10417.jpg
/home/pi/Desktop/images/26012025/14/12/image_26012025_14_13_05_9333.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_15_10328.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_26_10391.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_35_9316.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_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":["1331680002","1331679997","1331680001","1331680006","1331680000","1331680003"],"photo_ids_order":["1331679997","1331680000","1331680001","1331680002","1331680003","1331680006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9738a044e9c4b0329bdc9c48ea7dc70.jpg","text":"TemporaryFile(/tmp/multipartBody2791533936978992906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_13_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/26/e0fe11f232756d6c1f09386b835663c6.jpg","text":"TemporaryFile(/tmp/multipartBody4456849527910776072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_12_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/26/f93fa5b5a7160dc775469ee9117eb911.jpg","text":"TemporaryFile(/tmp/multipartBody1718839341492448276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_13_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a0c0d2144db4e285e5d4bea516d9959.jpg","text":"TemporaryFile(/tmp/multipartBody5596122744085257940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_13_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/26/f2afe04bd85c9e89231f2c775c5d8e86.jpg","text":"TemporaryFile(/tmp/multipartBody8287725777539137095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_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/26/d92e969193bec834193b27757ba89af7.jpg","text":"TemporaryFile(/tmp/multipartBody3714180539767678548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897273408,"filename":"image_26012025_14_13_35_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331680001","file1":"1331680000","file0":"1331679997","file4":"1331680003","file5":"1331680006","file3":"1331680002"},"map_files_photo_id_array":[{"photo_id":"1331680006","filename":"file5"},{"photo_id":"1331680001","filename":"file2"},{"photo_id":"1331680003","filename":"file4"},{"photo_id":"1331680000","filename":"file1"},{"photo_id":"1331679997","filename":"file0"},{"photo_id":"1331680002","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331680002":["hashtag1","hashtag2"]},{"1331679997":["hashtag1","hashtag2"]},{"1331680001":["hashtag1","hashtag2"]},{"1331680006":["hashtag1","hashtag2"]},{"1331680000":["hashtag1","hashtag2"]},{"1331680003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331680002, 1331679997, 1331680001, 1331680006, 1331680000, 1331680003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41178894042969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:14:32.630578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_56_10354.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_14_05_9334.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_15_10335.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_26_10357.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_35_9346.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_45_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_56_10354.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_14_05_9334.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_15_10335.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_26_10357.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_35_9346.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_45_10383.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5130753517150879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:14:42.571497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_56_10354.jpg', '/home/pi/Desktop/images/26012025/14/13/image_26012025_14_14_05_9334.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_15_10335.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_26_10357.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_35_9346.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_45_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_13_56_10354.jpg
/home/pi/Desktop/images/26012025/14/13/image_26012025_14_14_05_9334.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_15_10335.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_26_10357.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_35_9346.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_45_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331680031","1331680034","1331680043","1331680045","1331680039","1331680038"],"photo_ids_order":["1331680031","1331680034","1331680038","1331680039","1331680043","1331680045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9fddb2f78ca346384be79da02d7e9e2.jpg","text":"TemporaryFile(/tmp/multipartBody4178735140565689636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_13_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/26/c286eeb48b73aab55f76049b852584a5.jpg","text":"TemporaryFile(/tmp/multipartBody6035893209178348864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_14_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/26/230b018ac7b456ea7b537e03b47d6f57.jpg","text":"TemporaryFile(/tmp/multipartBody5547767732797133389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_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/26/d7710bda35eb6f28c37b16e77edf2344.jpg","text":"TemporaryFile(/tmp/multipartBody6012697829441504652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_14_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/26/b059efcd07a2cc4df55e7258ea5db879.jpg","text":"TemporaryFile(/tmp/multipartBody2452182042229132691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_14_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/26/3c564802feb6e6fcc927d0e3b8f516fb.jpg","text":"TemporaryFile(/tmp/multipartBody3654537926870114790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897343473,"filename":"image_26012025_14_14_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331680038","file1":"1331680034","file0":"1331680031","file4":"1331680043","file5":"1331680045","file3":"1331680039"},"map_files_photo_id_array":[{"photo_id":"1331680045","filename":"file5"},{"photo_id":"1331680038","filename":"file2"},{"photo_id":"1331680043","filename":"file4"},{"photo_id":"1331680034","filename":"file1"},{"photo_id":"1331680031","filename":"file0"},{"photo_id":"1331680039","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331680031":["hashtag1","hashtag2"]},{"1331680034":["hashtag1","hashtag2"]},{"1331680043":["hashtag1","hashtag2"]},{"1331680045":["hashtag1","hashtag2"]},{"1331680039":["hashtag1","hashtag2"]},{"1331680038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331680031, 1331680034, 1331680043, 1331680045, 1331680039, 1331680038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470897912979126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:15:32.878794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_55_9429.jpg', '/home/pi/Desktop/images/26012025/14/14/image_26012025_14_15_05_10340.jpg', '/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_16_10432.jpg', '/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_25_9340.jpg', '/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_35_10340.jpg', '/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_46_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_14_55_9429.jpg
/home/pi/Desktop/images/26012025/14/14/image_26012025_14_15_05_10340.jpg
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_16_10432.jpg
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_25_9340.jpg
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_35_10340.jpg
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_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":["1331680055","1331680081","1331680060","1331680057","1331680068","1331680053"],"photo_ids_order":["1331680053","1331680055","1331680057","1331680060","1331680068","1331680081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/40b05e1cbd115e1447b22a1437b64b11.jpg","text":"TemporaryFile(/tmp/multipartBody5238513001571499805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_15_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/26/2ca9eb1eaaad92a1fe591268a613dbed.jpg","text":"TemporaryFile(/tmp/multipartBody8719944242701244366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_15_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/26/14aac3632cca50dff55555dc62495549.jpg","text":"TemporaryFile(/tmp/multipartBody3141434930233520500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_15_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/26/8079d802aacb5430aa4693f933d683f6.jpg","text":"TemporaryFile(/tmp/multipartBody4576615250713849406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_15_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/126304325fda2c1d93d2d4f79350a0af.jpg","text":"TemporaryFile(/tmp/multipartBody6292012280745965992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_15_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69c28285af289decce9efa0918598288.jpg","text":"TemporaryFile(/tmp/multipartBody4678593262847175932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897393807,"filename":"image_26012025_14_14_55_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331680057","file1":"1331680055","file0":"1331680053","file4":"1331680068","file5":"1331680081","file3":"1331680060"},"map_files_photo_id_array":[{"photo_id":"1331680081","filename":"file5"},{"photo_id":"1331680057","filename":"file2"},{"photo_id":"1331680068","filename":"file4"},{"photo_id":"1331680055","filename":"file1"},{"photo_id":"1331680053","filename":"file0"},{"photo_id":"1331680060","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331680055":["hashtag1","hashtag2"]},{"1331680081":["hashtag1","hashtag2"]},{"1331680060":["hashtag1","hashtag2"]},{"1331680057":["hashtag1","hashtag2"]},{"1331680068":["hashtag1","hashtag2"]},{"1331680053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331680055, 1331680081, 1331680060, 1331680057, 1331680068, 1331680053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77155780792236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:16:33.079380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_55_9395.jpg', '/home/pi/Desktop/images/26012025/14/15/image_26012025_14_16_05_10334.jpg', '/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_15_9385.jpg', '/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_25_10347.jpg', '/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_36_10385.jpg', '/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_45_9438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_15_55_9395.jpg
/home/pi/Desktop/images/26012025/14/15/image_26012025_14_16_05_10334.jpg
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_15_9385.jpg
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_25_10347.jpg
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_36_10385.jpg
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_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":["1331680121","1331680118","1331680162","1331680123","1331680120","1331680122"],"photo_ids_order":["1331680118","1331680120","1331680121","1331680122","1331680123","1331680162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6cd7cf5c07ce847cd46b13d61509bc09.jpg","text":"TemporaryFile(/tmp/multipartBody2244382197997374877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_16_15_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa305a95356e1dd2cc38b073ead19f63.jpg","text":"TemporaryFile(/tmp/multipartBody15863256548280303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_15_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ef929b31ad466739a87fe459a0a5802.jpg","text":"TemporaryFile(/tmp/multipartBody4371953981904538161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_16_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/26/540ddfcd211bfa105af2326115510775.jpg","text":"TemporaryFile(/tmp/multipartBody1757417253328127156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_16_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/26/bf1d19c6e14f1be4d43fbe22e85a5f57.jpg","text":"TemporaryFile(/tmp/multipartBody8123974199657538885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_16_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/26/1f9708fe0eaf8ce66b4e601767b740e7.jpg","text":"TemporaryFile(/tmp/multipartBody7209087055146980386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897454006,"filename":"image_26012025_14_16_25_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331680121","file1":"1331680120","file0":"1331680118","file4":"1331680123","file5":"1331680162","file3":"1331680122"},"map_files_photo_id_array":[{"photo_id":"1331680162","filename":"file5"},{"photo_id":"1331680121","filename":"file2"},{"photo_id":"1331680123","filename":"file4"},{"photo_id":"1331680120","filename":"file1"},{"photo_id":"1331680118","filename":"file0"},{"photo_id":"1331680122","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331680121":["hashtag1","hashtag2"]},{"1331680118":["hashtag1","hashtag2"]},{"1331680162":["hashtag1","hashtag2"]},{"1331680123":["hashtag1","hashtag2"]},{"1331680120":["hashtag1","hashtag2"]},{"1331680122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331680121, 1331680118, 1331680162, 1331680123, 1331680120, 1331680122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.26637077331543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:17:32.391300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_55_10350.jpg', '/home/pi/Desktop/images/26012025/14/16/image_26012025_14_17_06_10336.jpg', '/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_15_9335.jpg', '/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_25_10460.jpg', '/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_35_9348.jpg', '/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_16_55_10350.jpg
/home/pi/Desktop/images/26012025/14/16/image_26012025_14_17_06_10336.jpg
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_15_9335.jpg
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_25_10460.jpg
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_35_9348.jpg
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_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":["1331680844","1331680849","1331680924","1331680933","1331680842","1331680518"],"photo_ids_order":["1331680518","1331680842","1331680844","1331680849","1331680924","1331680933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6007b73907cd60bdab9b25a6b091ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5130327876951680395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_17_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/26/68298524005ea820b3932b5048dc7612.jpg","text":"TemporaryFile(/tmp/multipartBody9004480577779131228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_17_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a79dd658979e262d17c6e9a91781a66d.jpg","text":"TemporaryFile(/tmp/multipartBody777334669657071603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_17_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/26/c2605d21fde34a8265f5f66b4458bc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8443370283848188886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_17_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/26/5f3f8b008b1e542a5b9ea45c12eee252.jpg","text":"TemporaryFile(/tmp/multipartBody412188189727217766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_17_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5de48cf89f33a1d162e227219d53aaa.jpg","text":"TemporaryFile(/tmp/multipartBody5172345155780563175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897513316,"filename":"image_26012025_14_16_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331680844","file1":"1331680842","file0":"1331680518","file4":"1331680924","file5":"1331680933","file3":"1331680849"},"map_files_photo_id_array":[{"photo_id":"1331680933","filename":"file5"},{"photo_id":"1331680844","filename":"file2"},{"photo_id":"1331680924","filename":"file4"},{"photo_id":"1331680842","filename":"file1"},{"photo_id":"1331680518","filename":"file0"},{"photo_id":"1331680849","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331680844":["hashtag1","hashtag2"]},{"1331680849":["hashtag1","hashtag2"]},{"1331680924":["hashtag1","hashtag2"]},{"1331680933":["hashtag1","hashtag2"]},{"1331680842":["hashtag1","hashtag2"]},{"1331680518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331680844, 1331680849, 1331680924, 1331680933, 1331680842, 1331680518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20543336868286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:18:32.612059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_56_10419.jpg', '/home/pi/Desktop/images/26012025/14/17/image_26012025_14_18_05_9318.jpg', '/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_26_10352.jpg', '/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_35_9317.jpg', '/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_17_56_10419.jpg
/home/pi/Desktop/images/26012025/14/17/image_26012025_14_18_05_9318.jpg
/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_26_10352.jpg
/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_35_9317.jpg
/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_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":["1331681344","1331681347","1331681349","1331681346","1331681351"],"photo_ids_order":["1331681344","1331681346","1331681347","1331681349","1331681351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c247b956a112416b715f3d750550eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2791359034876929106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897573510,"filename":"image_26012025_14_17_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/26/4927964f84d9e0cafea5fdc8efe60c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1519840178120658374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897573510,"filename":"image_26012025_14_18_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/26/6811d1695698f24d5a451781a391bbfb.jpg","text":"TemporaryFile(/tmp/multipartBody4931944818311652326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897573510,"filename":"image_26012025_14_18_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc1f09d64fb5cede36d21acf360678d6.jpg","text":"TemporaryFile(/tmp/multipartBody4057392163250240826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897573510,"filename":"image_26012025_14_18_05_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/26/74ba945982756330bdca9ac8e6f25fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1078638436775523596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897573510,"filename":"image_26012025_14_18_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331681347","file1":"1331681346","file0":"1331681344","file4":"1331681351","file3":"1331681349"},"map_files_photo_id_array":[{"photo_id":"1331681347","filename":"file2"},{"photo_id":"1331681351","filename":"file4"},{"photo_id":"1331681346","filename":"file1"},{"photo_id":"1331681344","filename":"file0"},{"photo_id":"1331681349","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331681344":["hashtag1","hashtag2"]},{"1331681347":["hashtag1","hashtag2"]},{"1331681349":["hashtag1","hashtag2"]},{"1331681346":["hashtag1","hashtag2"]},{"1331681351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331681344, 1331681347, 1331681349, 1331681346, 1331681351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.20904326438904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:19:32.895271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_55_9441.jpg', '/home/pi/Desktop/images/26012025/14/18/image_26012025_14_19_05_10343.jpg', '/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_15_10326.jpg', '/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_25_9445.jpg', '/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_35_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/18/image_26012025_14_18_55_9441.jpg
/home/pi/Desktop/images/26012025/14/18/image_26012025_14_19_05_10343.jpg
/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_15_10326.jpg
/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_25_9445.jpg
/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331681488","1331681482","1331681477","1331681486","1331681480"],"photo_ids_order":["1331681477","1331681480","1331681482","1331681486","1331681488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6337c7a8ae0447b6ab905a01d6351390.jpg","text":"TemporaryFile(/tmp/multipartBody6571078986961551984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897633794,"filename":"image_26012025_14_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/26/6ec12199d443fe6dbcaa345ebcd7a498.jpg","text":"TemporaryFile(/tmp/multipartBody161724868175410295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897633794,"filename":"image_26012025_14_19_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/26/502939d7409ba23b26c0e6af70f92b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6306409602644544089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897633794,"filename":"image_26012025_14_18_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/26/721d39c79058b895c5381f875c1669af.jpg","text":"TemporaryFile(/tmp/multipartBody7582934868000026409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897633794,"filename":"image_26012025_14_19_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/26/d429c9a8024c9fe8c613d957cef43f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5663275295424213886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897633794,"filename":"image_26012025_14_19_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331681482","file1":"1331681480","file0":"1331681477","file4":"1331681488","file3":"1331681486"},"map_files_photo_id_array":[{"photo_id":"1331681482","filename":"file2"},{"photo_id":"1331681488","filename":"file4"},{"photo_id":"1331681480","filename":"file1"},{"photo_id":"1331681477","filename":"file0"},{"photo_id":"1331681486","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331681488":["hashtag1","hashtag2"]},{"1331681482":["hashtag1","hashtag2"]},{"1331681477":["hashtag1","hashtag2"]},{"1331681486":["hashtag1","hashtag2"]},{"1331681480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331681488, 1331681482, 1331681477, 1331681486, 1331681480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.595219373703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:20:33.179405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_46_10461.jpg', '/home/pi/Desktop/images/26012025/14/19/image_26012025_14_20_05_10328.jpg', '/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_15_9427.jpg', '/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_25_10363.jpg', '/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_35_10392.jpg', '/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/19/image_26012025_14_19_46_10461.jpg
/home/pi/Desktop/images/26012025/14/19/image_26012025_14_20_05_10328.jpg
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_15_9427.jpg
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_25_10363.jpg
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_35_10392.jpg
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_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":["1331681561","1331681615","1331681572","1331681584","1331681617","1331681585"],"photo_ids_order":["1331681561","1331681572","1331681584","1331681585","1331681615","1331681617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe1bed759fd265141e188c79def6c153.jpg","text":"TemporaryFile(/tmp/multipartBody813069863698020875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_19_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/26/4db0a52a99fbadd6ab24beec57e17d0a.jpg","text":"TemporaryFile(/tmp/multipartBody7841906867225739230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_20_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76add44e072cbb7cb292e00a778a69d6.jpg","text":"TemporaryFile(/tmp/multipartBody3270119346613241991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_20_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2efff3c2fec17ef9411f859918a225b.jpg","text":"TemporaryFile(/tmp/multipartBody935290528440668150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_20_15_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/26/c8830f4a0a9315722c8cee161ab832dc.jpg","text":"TemporaryFile(/tmp/multipartBody4145070472408572202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_20_45_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a5ac7e3582411115c989470cbcdadf9.jpg","text":"TemporaryFile(/tmp/multipartBody7597845208050019920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897694099,"filename":"image_26012025_14_20_25_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331681584","file1":"1331681572","file0":"1331681561","file4":"1331681615","file5":"1331681617","file3":"1331681585"},"map_files_photo_id_array":[{"photo_id":"1331681617","filename":"file5"},{"photo_id":"1331681584","filename":"file2"},{"photo_id":"1331681615","filename":"file4"},{"photo_id":"1331681572","filename":"file1"},{"photo_id":"1331681561","filename":"file0"},{"photo_id":"1331681585","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331681561":["hashtag1","hashtag2"]},{"1331681615":["hashtag1","hashtag2"]},{"1331681572":["hashtag1","hashtag2"]},{"1331681584":["hashtag1","hashtag2"]},{"1331681617":["hashtag1","hashtag2"]},{"1331681585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331681561, 1331681615, 1331681572, 1331681584, 1331681617, 1331681585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.804152488708496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:21:32.439914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_55_10369.jpg', '/home/pi/Desktop/images/26012025/14/20/image_26012025_14_21_06_10410.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_15_9320.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_25_10350.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_36_10352.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_45_9376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_20_55_10369.jpg
/home/pi/Desktop/images/26012025/14/20/image_26012025_14_21_06_10410.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_15_9320.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_25_10350.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_36_10352.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_45_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331681626","1331681640","1331681634","1331681628","1331681637","1331681630"],"photo_ids_order":["1331681626","1331681628","1331681630","1331681634","1331681637","1331681640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b63ed68d5b8204aa20bb05cc7faa8e75.jpg","text":"TemporaryFile(/tmp/multipartBody304180402066008054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_20_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b32b92b5a17edd92effa156c7cc0748.jpg","text":"TemporaryFile(/tmp/multipartBody1682860011057819742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_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/26/efe406f98b7e18ec197367d4a25dc54a.jpg","text":"TemporaryFile(/tmp/multipartBody1319800173205616544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_21_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/26/da07c17efa8e428dad1f2a717f27f7a6.jpg","text":"TemporaryFile(/tmp/multipartBody3834399223569986279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_21_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6af998c71800c3ea7a414b8da06fb1fd.jpg","text":"TemporaryFile(/tmp/multipartBody2252234435205098407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_21_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/26/143d10a07c701ad0f59b3585f8e7bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody4434488294819753344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897753345,"filename":"image_26012025_14_21_15_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331681630","file1":"1331681628","file0":"1331681626","file4":"1331681637","file5":"1331681640","file3":"1331681634"},"map_files_photo_id_array":[{"photo_id":"1331681640","filename":"file5"},{"photo_id":"1331681630","filename":"file2"},{"photo_id":"1331681637","filename":"file4"},{"photo_id":"1331681628","filename":"file1"},{"photo_id":"1331681626","filename":"file0"},{"photo_id":"1331681634","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331681626":["hashtag1","hashtag2"]},{"1331681640":["hashtag1","hashtag2"]},{"1331681634":["hashtag1","hashtag2"]},{"1331681628":["hashtag1","hashtag2"]},{"1331681637":["hashtag1","hashtag2"]},{"1331681630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331681626, 1331681640, 1331681634, 1331681628, 1331681637, 1331681630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.018187046051025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:22:32.661812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_55_10359.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_22_05_9389.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_15_10405.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_26_10386.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_35_9430.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_55_10359.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_22_05_9389.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_15_10405.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_26_10386.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_35_9430.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_45_10345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5172243118286133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:22:42.738470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_55_10359.jpg', '/home/pi/Desktop/images/26012025/14/21/image_26012025_14_22_05_9389.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_15_10405.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_26_10386.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_35_9430.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_45_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_21_55_10359.jpg
/home/pi/Desktop/images/26012025/14/21/image_26012025_14_22_05_9389.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_15_10405.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_26_10386.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_35_9430.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_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":["1331681886","1331681832","1331681891","1331681882","1331681849","1331681756"],"photo_ids_order":["1331681756","1331681832","1331681849","1331681882","1331681886","1331681891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/17fece037b4a73888b6676aec00a2939.jpg","text":"TemporaryFile(/tmp/multipartBody4931129228813981209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_22_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08da2e569d5063566905f8988824d895.jpg","text":"TemporaryFile(/tmp/multipartBody1729972213883264168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_22_05_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b69123c4dbea91a6d89e8b54371be10c.jpg","text":"TemporaryFile(/tmp/multipartBody2432714088996780604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_22_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/26/362cc51d23b3395b4361ec3b7dffe159.jpg","text":"TemporaryFile(/tmp/multipartBody1974644376152689088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_22_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/26/2d0d2318e4b6c0a5a549552fc1b2c5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2914665453656392020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_22_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/26/af799153bd32e398ff1c130ae9a429ae.jpg","text":"TemporaryFile(/tmp/multipartBody8551665238663243295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897823642,"filename":"image_26012025_14_21_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331681849","file1":"1331681832","file0":"1331681756","file4":"1331681886","file5":"1331681891","file3":"1331681882"},"map_files_photo_id_array":[{"photo_id":"1331681891","filename":"file5"},{"photo_id":"1331681849","filename":"file2"},{"photo_id":"1331681886","filename":"file4"},{"photo_id":"1331681832","filename":"file1"},{"photo_id":"1331681756","filename":"file0"},{"photo_id":"1331681882","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331681886":["hashtag1","hashtag2"]},{"1331681832":["hashtag1","hashtag2"]},{"1331681891":["hashtag1","hashtag2"]},{"1331681882":["hashtag1","hashtag2"]},{"1331681849":["hashtag1","hashtag2"]},{"1331681756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331681886, 1331681832, 1331681891, 1331681882, 1331681849, 1331681756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53815937042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:23:32.995333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_55_9424.jpg', '/home/pi/Desktop/images/26012025/14/22/image_26012025_14_23_05_10333.jpg', '/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_16_10433.jpg', '/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_25_9338.jpg', '/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_35_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_22_55_9424.jpg
/home/pi/Desktop/images/26012025/14/22/image_26012025_14_23_05_10333.jpg
/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_16_10433.jpg
/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_25_9338.jpg
/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_35_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331682034","1331682037","1331682022","1331682039","1331681999"],"photo_ids_order":["1331681999","1331682022","1331682034","1331682037","1331682039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39d0c4352310917059acd278147dfdc2.jpg","text":"TemporaryFile(/tmp/multipartBody2786879100617016938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897873898,"filename":"image_26012025_14_23_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/26/6ffb23e19efbd46d8ff5ff07bc8ada88.jpg","text":"TemporaryFile(/tmp/multipartBody5557321924911511956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897873898,"filename":"image_26012025_14_23_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/26/29cd772e125b6b8d82d2d361023f25ec.jpg","text":"TemporaryFile(/tmp/multipartBody2987494811658050284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897873898,"filename":"image_26012025_14_23_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/26/46e55266f66c57586a506f92dcda087f.jpg","text":"TemporaryFile(/tmp/multipartBody1693294268173982942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897873898,"filename":"image_26012025_14_23_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/26/1646d866b64203c6d977753213458aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1188631856362649439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897873898,"filename":"image_26012025_14_22_55_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682034","file1":"1331682022","file0":"1331681999","file4":"1331682039","file3":"1331682037"},"map_files_photo_id_array":[{"photo_id":"1331682034","filename":"file2"},{"photo_id":"1331682039","filename":"file4"},{"photo_id":"1331682022","filename":"file1"},{"photo_id":"1331681999","filename":"file0"},{"photo_id":"1331682037","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682034":["hashtag1","hashtag2"]},{"1331682037":["hashtag1","hashtag2"]},{"1331682022":["hashtag1","hashtag2"]},{"1331682039":["hashtag1","hashtag2"]},{"1331681999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682034, 1331682037, 1331682022, 1331682039, 1331681999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.73644757270813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:24:32.153117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_55_9338.jpg', '/home/pi/Desktop/images/26012025/14/23/image_26012025_14_24_05_10336.jpg', '/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_16_10419.jpg', '/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_25_9326.jpg', '/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_35_10402.jpg', '/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/23/image_26012025_14_23_55_9338.jpg
/home/pi/Desktop/images/26012025/14/23/image_26012025_14_24_05_10336.jpg
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_16_10419.jpg
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_25_9326.jpg
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_35_10402.jpg
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_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":["1331682082","1331682070","1331682073","1331682075","1331682084","1331682078"],"photo_ids_order":["1331682070","1331682073","1331682075","1331682078","1331682082","1331682084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3a29c0ac5e4fe7a3750b3279e088c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3115488110436193040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_24_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/26/62d8011d27ecd6bc84b14e808a87535f.jpg","text":"TemporaryFile(/tmp/multipartBody5027848267035946609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_23_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f34aa4ef1d1263eeef2ea63e02677fa.jpg","text":"TemporaryFile(/tmp/multipartBody6914727276097467800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_24_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/26/5e86a3b912ed8d4962d110ec1156f456.jpg","text":"TemporaryFile(/tmp/multipartBody5039433119502086207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_24_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/26/1ccd21664f885a89176aaf2ac763055d.jpg","text":"TemporaryFile(/tmp/multipartBody5652535066208883278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_24_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/26/9249f98c0537e9a63d58db90bb67ac50.jpg","text":"TemporaryFile(/tmp/multipartBody8676523601600769675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897933058,"filename":"image_26012025_14_24_25_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682075","file1":"1331682073","file0":"1331682070","file4":"1331682082","file5":"1331682084","file3":"1331682078"},"map_files_photo_id_array":[{"photo_id":"1331682084","filename":"file5"},{"photo_id":"1331682075","filename":"file2"},{"photo_id":"1331682082","filename":"file4"},{"photo_id":"1331682073","filename":"file1"},{"photo_id":"1331682070","filename":"file0"},{"photo_id":"1331682078","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682082":["hashtag1","hashtag2"]},{"1331682070":["hashtag1","hashtag2"]},{"1331682073":["hashtag1","hashtag2"]},{"1331682075":["hashtag1","hashtag2"]},{"1331682084":["hashtag1","hashtag2"]},{"1331682078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682082, 1331682070, 1331682073, 1331682075, 1331682084, 1331682078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72225832939148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:25:32.354678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_55_10338.jpg', '/home/pi/Desktop/images/26012025/14/24/image_26012025_14_25_05_10343.jpg', '/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_15_9322.jpg', '/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_25_10364.jpg', '/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_35_10379.jpg', '/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_24_55_10338.jpg
/home/pi/Desktop/images/26012025/14/24/image_26012025_14_25_05_10343.jpg
/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_15_9322.jpg
/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_25_10364.jpg
/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_35_10379.jpg
/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_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":["1331682311","1331682305","1331682232","1331682303","1331682300","1331682308"],"photo_ids_order":["1331682232","1331682300","1331682303","1331682305","1331682308","1331682311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91a7fb86eccc4b652dff0ca79ae60ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5444854390884786841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_25_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/26/965ad65c9df57e8fb6c6a2760893cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody1739643838725322923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_25_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/26/fab0718ff0fc7185e51df2bff83e7928.jpg","text":"TemporaryFile(/tmp/multipartBody6250623596616028897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_24_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d221b8b7adee2688655ab94bc31c682b.jpg","text":"TemporaryFile(/tmp/multipartBody7931345126109400927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_25_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/26/45e45a2eedf0051fcb12ccead157c808.jpg","text":"TemporaryFile(/tmp/multipartBody3556534721215528657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_25_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/26/33273952cafb8f316afd221516d0947a.jpg","text":"TemporaryFile(/tmp/multipartBody1054181081475385511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737897993269,"filename":"image_26012025_14_25_35_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682303","file1":"1331682300","file0":"1331682232","file4":"1331682308","file5":"1331682311","file3":"1331682305"},"map_files_photo_id_array":[{"photo_id":"1331682311","filename":"file5"},{"photo_id":"1331682303","filename":"file2"},{"photo_id":"1331682308","filename":"file4"},{"photo_id":"1331682300","filename":"file1"},{"photo_id":"1331682232","filename":"file0"},{"photo_id":"1331682305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682311":["hashtag1","hashtag2"]},{"1331682305":["hashtag1","hashtag2"]},{"1331682232":["hashtag1","hashtag2"]},{"1331682303":["hashtag1","hashtag2"]},{"1331682300":["hashtag1","hashtag2"]},{"1331682308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682311, 1331682305, 1331682232, 1331682303, 1331682300, 1331682308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24634623527527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:26:32.619764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_55_10358.jpg', '/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_15_9367.jpg', '/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_25_10356.jpg', '/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_35_9328.jpg', '/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/25/image_26012025_14_25_55_10358.jpg
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_15_9367.jpg
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_25_10356.jpg
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_35_9328.jpg
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_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":["1331682451","1331682411","1331682398","1331682452","1331682413"],"photo_ids_order":["1331682398","1331682411","1331682413","1331682451","1331682452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c66d3c2385901851e16c58045d0c42d6.jpg","text":"TemporaryFile(/tmp/multipartBody1291875835903488042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898053515,"filename":"image_26012025_14_26_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d644396e5d40c95057b3ea0b829a0382.jpg","text":"TemporaryFile(/tmp/multipartBody8476252778422883678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898053515,"filename":"image_26012025_14_26_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/911f0e3cb633f7d27c8386aa89911c11.jpg","text":"TemporaryFile(/tmp/multipartBody1504060415175600532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898053515,"filename":"image_26012025_14_25_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/26/2cd7ba90d9fd14894607a0087ce62467.jpg","text":"TemporaryFile(/tmp/multipartBody1666883957819995909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898053515,"filename":"image_26012025_14_26_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/26/7428cc810900e8cb91ade0aff9323fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4423681813106512462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898053515,"filename":"image_26012025_14_26_25_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682413","file1":"1331682411","file0":"1331682398","file4":"1331682452","file3":"1331682451"},"map_files_photo_id_array":[{"photo_id":"1331682413","filename":"file2"},{"photo_id":"1331682452","filename":"file4"},{"photo_id":"1331682411","filename":"file1"},{"photo_id":"1331682398","filename":"file0"},{"photo_id":"1331682451","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682451":["hashtag1","hashtag2"]},{"1331682411":["hashtag1","hashtag2"]},{"1331682398":["hashtag1","hashtag2"]},{"1331682452":["hashtag1","hashtag2"]},{"1331682413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682451, 1331682411, 1331682398, 1331682452, 1331682413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.948108196258545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:27:32.772540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_56_10439.jpg', '/home/pi/Desktop/images/26012025/14/26/image_26012025_14_27_05_9322.jpg', '/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_15_10340.jpg', '/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_35_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_26_56_10439.jpg
/home/pi/Desktop/images/26012025/14/26/image_26012025_14_27_05_9322.jpg
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_15_10340.jpg
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_35_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331682478","1331682480","1331682483","1331682486"],"photo_ids_order":["1331682478","1331682480","1331682483","1331682486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6af61976ea9b81f3c4270ab85761b120.jpg","text":"TemporaryFile(/tmp/multipartBody6811307600029767064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898113646,"filename":"image_26012025_14_26_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/26/6bfeb0a5ad54a7da902764be92367403.jpg","text":"TemporaryFile(/tmp/multipartBody6889746469409107986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898113646,"filename":"image_26012025_14_27_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58a6bc56c8836018e492de7406728d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2887482054439450190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898113646,"filename":"image_26012025_14_27_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/26/3cf82524e4fb9de72bebcff1a538c4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5286992755983431083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898113646,"filename":"image_26012025_14_27_35_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682483","file1":"1331682480","file0":"1331682478","file3":"1331682486"},"map_files_photo_id_array":[{"photo_id":"1331682483","filename":"file2"},{"photo_id":"1331682480","filename":"file1"},{"photo_id":"1331682478","filename":"file0"},{"photo_id":"1331682486","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682478":["hashtag1","hashtag2"]},{"1331682480":["hashtag1","hashtag2"]},{"1331682483":["hashtag1","hashtag2"]},{"1331682486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682478, 1331682480, 1331682483, 1331682486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.68581795692444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:28:33.038043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_45_10342.jpg', '/home/pi/Desktop/images/26012025/14/27/image_26012025_14_28_05_9324.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_25_9436.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_35_10350.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_46_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_45_10342.jpg
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_28_05_9324.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_25_9436.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_35_10350.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_46_10463.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5039384365081787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:28:42.969567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_45_10342.jpg', '/home/pi/Desktop/images/26012025/14/27/image_26012025_14_28_05_9324.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_25_9436.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_35_10350.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_46_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_27_45_10342.jpg
/home/pi/Desktop/images/26012025/14/27/image_26012025_14_28_05_9324.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_25_9436.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_35_10350.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_46_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":["1331682588","1331682706","1331682560","1331682584","1331682623"],"photo_ids_order":["1331682560","1331682584","1331682588","1331682623","1331682706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b8f5b439d6cd4a9dcf39b43e14951dd.jpg","text":"TemporaryFile(/tmp/multipartBody7467133484530433564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898183871,"filename":"image_26012025_14_28_25_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d3eedae068249f4d49d3958ba440047.jpg","text":"TemporaryFile(/tmp/multipartBody7067762767209551680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898183871,"filename":"image_26012025_14_28_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b16e788f4ffe1a6b7dc2780a29ecca99.jpg","text":"TemporaryFile(/tmp/multipartBody245368774225016601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898183871,"filename":"image_26012025_14_27_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/26/e82d08c0611cd483f8c9335cb128ba78.jpg","text":"TemporaryFile(/tmp/multipartBody8829128046164106597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898183871,"filename":"image_26012025_14_28_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9322abc6a7525b8418a5158a6dd8892e.jpg","text":"TemporaryFile(/tmp/multipartBody11786391933161772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898183871,"filename":"image_26012025_14_28_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682588","file1":"1331682584","file0":"1331682560","file4":"1331682706","file3":"1331682623"},"map_files_photo_id_array":[{"photo_id":"1331682588","filename":"file2"},{"photo_id":"1331682706","filename":"file4"},{"photo_id":"1331682584","filename":"file1"},{"photo_id":"1331682560","filename":"file0"},{"photo_id":"1331682623","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682588":["hashtag1","hashtag2"]},{"1331682706":["hashtag1","hashtag2"]},{"1331682560":["hashtag1","hashtag2"]},{"1331682584":["hashtag1","hashtag2"]},{"1331682623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682588, 1331682706, 1331682560, 1331682584, 1331682623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.54685068130493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:29:32.300699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_55_9337.jpg', '/home/pi/Desktop/images/26012025/14/28/image_26012025_14_29_05_10358.jpg', '/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_16_10435.jpg', '/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_25_9333.jpg', '/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_35_10348.jpg', '/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_45_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_28_55_9337.jpg
/home/pi/Desktop/images/26012025/14/28/image_26012025_14_29_05_10358.jpg
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_16_10435.jpg
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_25_9333.jpg
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_35_10348.jpg
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_45_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":["1331682730","1331682733","1331682723","1331682732","1331682726","1331682719"],"photo_ids_order":["1331682719","1331682723","1331682726","1331682730","1331682732","1331682733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e52e31f8acada56bfc4d9bb9e39502e.jpg","text":"TemporaryFile(/tmp/multipartBody3959504153452114919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_29_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/26/3beded4b426da64498933b51edc986d1.jpg","text":"TemporaryFile(/tmp/multipartBody1653350353454647199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_29_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/110827d07e2e2b36bf486c99d0b06fbb.jpg","text":"TemporaryFile(/tmp/multipartBody826012326775044738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_29_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/26/5bd109716e678a2c08031cf409ef1b85.jpg","text":"TemporaryFile(/tmp/multipartBody579153713505040044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_29_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/26/4f5d4056e440398f48d3f3a41cd2e020.jpg","text":"TemporaryFile(/tmp/multipartBody4897271782368281477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_29_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/26/327ad3e181c2f280299c3702e1efb238.jpg","text":"TemporaryFile(/tmp/multipartBody2878627184672376475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898233197,"filename":"image_26012025_14_28_55_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682726","file1":"1331682723","file0":"1331682719","file4":"1331682732","file5":"1331682733","file3":"1331682730"},"map_files_photo_id_array":[{"photo_id":"1331682733","filename":"file5"},{"photo_id":"1331682726","filename":"file2"},{"photo_id":"1331682732","filename":"file4"},{"photo_id":"1331682723","filename":"file1"},{"photo_id":"1331682719","filename":"file0"},{"photo_id":"1331682730","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682730":["hashtag1","hashtag2"]},{"1331682733":["hashtag1","hashtag2"]},{"1331682723":["hashtag1","hashtag2"]},{"1331682732":["hashtag1","hashtag2"]},{"1331682726":["hashtag1","hashtag2"]},{"1331682719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682730, 1331682733, 1331682723, 1331682732, 1331682726, 1331682719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19521236419678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:30:32.731694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_55_10435.jpg', '/home/pi/Desktop/images/26012025/14/29/image_26012025_14_30_06_10410.jpg', '/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_26_10472.jpg', '/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_35_9311.jpg', '/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_29_55_10435.jpg
/home/pi/Desktop/images/26012025/14/29/image_26012025_14_30_06_10410.jpg
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_26_10472.jpg
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_35_9311.jpg
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_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":["1331682774","1331682768","1331682903","1331682908","1331682821"],"photo_ids_order":["1331682768","1331682774","1331682821","1331682903","1331682908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c763bd662a364b888778ad3e4a39d95.jpg","text":"TemporaryFile(/tmp/multipartBody9140139263351354927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898293634,"filename":"image_26012025_14_30_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8bf92193bae85d988d31554cc8df05fb.jpg","text":"TemporaryFile(/tmp/multipartBody1928429579560213925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898293634,"filename":"image_26012025_14_29_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/26/f6c6964c6d8965477ecaa7c1059e29f4.jpg","text":"TemporaryFile(/tmp/multipartBody6831487601831395897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898293634,"filename":"image_26012025_14_30_35_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/878883df2b38822c0e797d645207056b.jpg","text":"TemporaryFile(/tmp/multipartBody2553544434956051309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898293634,"filename":"image_26012025_14_30_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/26/cf43d5f1eb7db9d98393788bf134ca5b.jpg","text":"TemporaryFile(/tmp/multipartBody8271642927970264260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898293634,"filename":"image_26012025_14_30_26_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682821","file1":"1331682774","file0":"1331682768","file4":"1331682908","file3":"1331682903"},"map_files_photo_id_array":[{"photo_id":"1331682821","filename":"file2"},{"photo_id":"1331682908","filename":"file4"},{"photo_id":"1331682774","filename":"file1"},{"photo_id":"1331682768","filename":"file0"},{"photo_id":"1331682903","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682774":["hashtag1","hashtag2"]},{"1331682768":["hashtag1","hashtag2"]},{"1331682903":["hashtag1","hashtag2"]},{"1331682908":["hashtag1","hashtag2"]},{"1331682821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682774, 1331682768, 1331682903, 1331682908, 1331682821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.12377190589905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:31:32.810291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_55_9484.jpg', '/home/pi/Desktop/images/26012025/14/30/image_26012025_14_31_05_10344.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_16_10463.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_25_9326.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_35_10323.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_46_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_55_9484.jpg
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_31_05_10344.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_16_10463.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_25_9326.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_35_10323.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_46_10492.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5094687938690186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:31:42.725333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_55_9484.jpg', '/home/pi/Desktop/images/26012025/14/30/image_26012025_14_31_05_10344.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_16_10463.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_25_9326.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_35_10323.jpg', '/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_46_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_30_55_9484.jpg
/home/pi/Desktop/images/26012025/14/30/image_26012025_14_31_05_10344.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_16_10463.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_25_9326.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_35_10323.jpg
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_46_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331682982","1331682972","1331682975","1331682980","1331682977","1331682968"],"photo_ids_order":["1331682968","1331682972","1331682975","1331682977","1331682980","1331682982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d727fa6d05d38284411ae29fc677a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4199241071262212034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_31_46_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/26/466776a37c5d6263706073bfa9976a27.jpg","text":"TemporaryFile(/tmp/multipartBody3486796361515738842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_31_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/26/2f885002d5419711a2a94ca10a265aab.jpg","text":"TemporaryFile(/tmp/multipartBody2961520636138993561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_31_16_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f13f1f0955c942f7c075b46575911214.jpg","text":"TemporaryFile(/tmp/multipartBody1117782781373171069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_31_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/26/6ff50154c038487579a13e387f16fecb.jpg","text":"TemporaryFile(/tmp/multipartBody2541603959351635795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_31_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/26/f21de664805480f92fa3ef30d465065d.jpg","text":"TemporaryFile(/tmp/multipartBody3208869122981175479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898363648,"filename":"image_26012025_14_30_55_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682975","file1":"1331682972","file0":"1331682968","file4":"1331682980","file5":"1331682982","file3":"1331682977"},"map_files_photo_id_array":[{"photo_id":"1331682982","filename":"file5"},{"photo_id":"1331682975","filename":"file2"},{"photo_id":"1331682980","filename":"file4"},{"photo_id":"1331682972","filename":"file1"},{"photo_id":"1331682968","filename":"file0"},{"photo_id":"1331682977","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682982":["hashtag1","hashtag2"]},{"1331682972":["hashtag1","hashtag2"]},{"1331682975":["hashtag1","hashtag2"]},{"1331682980":["hashtag1","hashtag2"]},{"1331682977":["hashtag1","hashtag2"]},{"1331682968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682982, 1331682972, 1331682975, 1331682980, 1331682977, 1331682968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.165961503982544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:32:33.012654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_55_9442.jpg', '/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_15_9347.jpg', '/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_25_10372.jpg', '/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_36_10320.jpg', '/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/31/image_26012025_14_31_55_9442.jpg
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_15_9347.jpg
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_25_10372.jpg
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_36_10320.jpg
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_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":["1331682997","1331683003","1331682999","1331682990","1331682994"],"photo_ids_order":["1331682990","1331682994","1331682997","1331682999","1331683003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a993c5f2cd95be7f29b8fad6ed744c6.jpg","text":"TemporaryFile(/tmp/multipartBody8063116335203679574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898413911,"filename":"image_26012025_14_32_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/26/9290692e3e5678f2226644af863d848b.jpg","text":"TemporaryFile(/tmp/multipartBody5444224028185680895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898413911,"filename":"image_26012025_14_32_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/26/e3f861b9a1d847e5ffaee66cbec5ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody1514473780816606821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898413911,"filename":"image_26012025_14_32_36_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/409e893e1170f989e8fbdf8051bd3f25.jpg","text":"TemporaryFile(/tmp/multipartBody5734907173128588749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898413911,"filename":"image_26012025_14_31_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2da2509b402661318cf3d08ef5829e2f.jpg","text":"TemporaryFile(/tmp/multipartBody4878410204996560004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898413911,"filename":"image_26012025_14_32_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331682997","file1":"1331682994","file0":"1331682990","file4":"1331683003","file3":"1331682999"},"map_files_photo_id_array":[{"photo_id":"1331682997","filename":"file2"},{"photo_id":"1331683003","filename":"file4"},{"photo_id":"1331682994","filename":"file1"},{"photo_id":"1331682990","filename":"file0"},{"photo_id":"1331682999","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331682997":["hashtag1","hashtag2"]},{"1331683003":["hashtag1","hashtag2"]},{"1331682999":["hashtag1","hashtag2"]},{"1331682990":["hashtag1","hashtag2"]},{"1331682994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331682997, 1331683003, 1331682999, 1331682990, 1331682994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.124876260757446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:33:32.257974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_55_10368.jpg', '/home/pi/Desktop/images/26012025/14/32/image_26012025_14_33_05_9457.jpg', '/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_15_10333.jpg', '/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_25_10352.jpg', '/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_35_9367.jpg', '/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_45_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_32_55_10368.jpg
/home/pi/Desktop/images/26012025/14/32/image_26012025_14_33_05_9457.jpg
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_15_10333.jpg
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_25_10352.jpg
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_35_9367.jpg
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_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":["1331683051","1331683018","1331683021","1331683015","1331683020","1331683038"],"photo_ids_order":["1331683015","1331683018","1331683020","1331683021","1331683038","1331683051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5de8637bff8e2c7d3cee428bdcc3d388.jpg","text":"TemporaryFile(/tmp/multipartBody4546179273265494081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_33_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/26/4ad5f9c8ab5f139aa4ff4d55a0a46161.jpg","text":"TemporaryFile(/tmp/multipartBody7951338768888706643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_33_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22c82b8baab20db0842c87043f9df5c4.jpg","text":"TemporaryFile(/tmp/multipartBody6082212186621535050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_33_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/26/47e2e6437b2cdadec1a0b5b09a36efca.jpg","text":"TemporaryFile(/tmp/multipartBody7982588022384110706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_32_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/290b4e3bce6d7da37978a763765322fc.jpg","text":"TemporaryFile(/tmp/multipartBody8896148680503399309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_33_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/26/ee7da3982490539111d298226a3a5c27.jpg","text":"TemporaryFile(/tmp/multipartBody2132224741722144572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898473188,"filename":"image_26012025_14_33_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331683020","file1":"1331683018","file0":"1331683015","file4":"1331683038","file5":"1331683051","file3":"1331683021"},"map_files_photo_id_array":[{"photo_id":"1331683051","filename":"file5"},{"photo_id":"1331683020","filename":"file2"},{"photo_id":"1331683038","filename":"file4"},{"photo_id":"1331683018","filename":"file1"},{"photo_id":"1331683015","filename":"file0"},{"photo_id":"1331683021","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331683051":["hashtag1","hashtag2"]},{"1331683018":["hashtag1","hashtag2"]},{"1331683021":["hashtag1","hashtag2"]},{"1331683015":["hashtag1","hashtag2"]},{"1331683020":["hashtag1","hashtag2"]},{"1331683038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331683051, 1331683018, 1331683021, 1331683015, 1331683020, 1331683038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.62169098854065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:34:32.612751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_56_10408.jpg', '/home/pi/Desktop/images/26012025/14/33/image_26012025_14_34_05_9332.jpg', '/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_15_10342.jpg', '/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_26_10430.jpg', '/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_35_9316.jpg', '/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_33_56_10408.jpg
/home/pi/Desktop/images/26012025/14/33/image_26012025_14_34_05_9332.jpg
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_15_10342.jpg
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_26_10430.jpg
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_35_9316.jpg
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_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":["1331683197","1331683200","1331683190","1331683186","1331683195","1331683255"],"photo_ids_order":["1331683186","1331683190","1331683195","1331683197","1331683200","1331683255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f53a25a4e5b531ac17a7c24a54c0f1c3.jpg","text":"TemporaryFile(/tmp/multipartBody1821854887378312224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_34_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/26/8db69fba3e1328b750ada5b1525adb2c.jpg","text":"TemporaryFile(/tmp/multipartBody5576941795322107697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_34_35_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58c075ed2163ff74789b30a33870cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody1419136584321699072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_34_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/26/829041bde5bfa25d3926588c9d622abb.jpg","text":"TemporaryFile(/tmp/multipartBody831284180042586798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_33_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4439e49eb9895f198b9d058ff617dc02.jpg","text":"TemporaryFile(/tmp/multipartBody3790426263972600846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_34_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/26/81241ab06fd4f6ffc89a3f8a639cab64.jpg","text":"TemporaryFile(/tmp/multipartBody7616657615935420283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898533503,"filename":"image_26012025_14_34_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331683195","file1":"1331683190","file0":"1331683186","file4":"1331683200","file5":"1331683255","file3":"1331683197"},"map_files_photo_id_array":[{"photo_id":"1331683255","filename":"file5"},{"photo_id":"1331683195","filename":"file2"},{"photo_id":"1331683200","filename":"file4"},{"photo_id":"1331683190","filename":"file1"},{"photo_id":"1331683186","filename":"file0"},{"photo_id":"1331683197","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331683197":["hashtag1","hashtag2"]},{"1331683200":["hashtag1","hashtag2"]},{"1331683190":["hashtag1","hashtag2"]},{"1331683186":["hashtag1","hashtag2"]},{"1331683195":["hashtag1","hashtag2"]},{"1331683255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331683197, 1331683200, 1331683190, 1331683186, 1331683195, 1331683255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04295372962952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:35:32.744140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_55_9400.jpg', '/home/pi/Desktop/images/26012025/14/34/image_26012025_14_35_05_10350.jpg', '/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_16_10531.jpg', '/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_25_9358.jpg', '/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_34_55_9400.jpg
/home/pi/Desktop/images/26012025/14/34/image_26012025_14_35_05_10350.jpg
/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_16_10531.jpg
/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_25_9358.jpg
/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331684206","1331684211","1331684208","1331684212","1331684203"],"photo_ids_order":["1331684203","1331684206","1331684208","1331684211","1331684212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff3cc021d2dbc8d3dc2eadb75ca4a20d.jpg","text":"TemporaryFile(/tmp/multipartBody1760783163916376316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898593641,"filename":"image_26012025_14_35_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/26/bd605b085cfadb815910d89cd7c734da.jpg","text":"TemporaryFile(/tmp/multipartBody6120913489393796613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898593641,"filename":"image_26012025_14_35_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/26/c66ad8f4f4ca9618066bb71eb2657017.jpg","text":"TemporaryFile(/tmp/multipartBody573501358920262003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898593641,"filename":"image_26012025_14_35_16_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/26/e738fc3d1d9b5c62cb4bd1e35f41bcc0.jpg","text":"TemporaryFile(/tmp/multipartBody2353855689677331367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898593641,"filename":"image_26012025_14_35_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/26/a1813e37e09431d33f8d3987b692a348.jpg","text":"TemporaryFile(/tmp/multipartBody1813885177879164383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898593641,"filename":"image_26012025_14_34_55_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331684208","file1":"1331684206","file0":"1331684203","file4":"1331684212","file3":"1331684211"},"map_files_photo_id_array":[{"photo_id":"1331684208","filename":"file2"},{"photo_id":"1331684212","filename":"file4"},{"photo_id":"1331684206","filename":"file1"},{"photo_id":"1331684203","filename":"file0"},{"photo_id":"1331684211","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331684206":["hashtag1","hashtag2"]},{"1331684211":["hashtag1","hashtag2"]},{"1331684208":["hashtag1","hashtag2"]},{"1331684212":["hashtag1","hashtag2"]},{"1331684203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331684206, 1331684211, 1331684208, 1331684212, 1331684203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.13901329040527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:36:32.978984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_55_9337.jpg', '/home/pi/Desktop/images/26012025/14/35/image_26012025_14_36_05_10346.jpg', '/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_16_10336.jpg', '/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_25_9393.jpg', '/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_35_10317.jpg', '/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_45_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/35/image_26012025_14_35_55_9337.jpg
/home/pi/Desktop/images/26012025/14/35/image_26012025_14_36_05_10346.jpg
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_16_10336.jpg
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_25_9393.jpg
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_35_10317.jpg
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_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":["1331684238","1331684418","1331684234","1331684243","1331684230","1331684260"],"photo_ids_order":["1331684230","1331684234","1331684238","1331684243","1331684260","1331684418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e197f0770714499be6e9b706ecafe13b.jpg","text":"TemporaryFile(/tmp/multipartBody2784663559416649314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_36_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/26/3632bcd9c55d47121877c31233795a00.jpg","text":"TemporaryFile(/tmp/multipartBody1779575287408057700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_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/26/bbf710cf8adce6cc90d87530a8ed0dc7.jpg","text":"TemporaryFile(/tmp/multipartBody3760812662968197847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_36_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/26/74c8ecab1ec4beea317442ea8a6e6da3.jpg","text":"TemporaryFile(/tmp/multipartBody6500739107069991176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_36_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/26/893cad230e1c49619de471c345f4a842.jpg","text":"TemporaryFile(/tmp/multipartBody4147195514849446008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_35_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/26/09020e6498ab9504bedde62928e01b1b.jpg","text":"TemporaryFile(/tmp/multipartBody147077370155557760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898653911,"filename":"image_26012025_14_36_35_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331684238","file1":"1331684234","file0":"1331684230","file4":"1331684260","file5":"1331684418","file3":"1331684243"},"map_files_photo_id_array":[{"photo_id":"1331684418","filename":"file5"},{"photo_id":"1331684238","filename":"file2"},{"photo_id":"1331684260","filename":"file4"},{"photo_id":"1331684234","filename":"file1"},{"photo_id":"1331684230","filename":"file0"},{"photo_id":"1331684243","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331684238":["hashtag1","hashtag2"]},{"1331684418":["hashtag1","hashtag2"]},{"1331684234":["hashtag1","hashtag2"]},{"1331684243":["hashtag1","hashtag2"]},{"1331684230":["hashtag1","hashtag2"]},{"1331684260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331684238, 1331684418, 1331684234, 1331684243, 1331684230, 1331684260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67561340332031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:37:33.274161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_55_10353.jpg', '/home/pi/Desktop/images/26012025/14/36/image_26012025_14_37_06_10428.jpg', '/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_15_9357.jpg', '/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_25_10361.jpg', '/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_36_10416.jpg', '/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_36_55_10353.jpg
/home/pi/Desktop/images/26012025/14/36/image_26012025_14_37_06_10428.jpg
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_15_9357.jpg
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_25_10361.jpg
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_36_10416.jpg
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_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":["1331684879","1331684915","1331684837","1331684833","1331684908","1331684917"],"photo_ids_order":["1331684833","1331684837","1331684879","1331684908","1331684915","1331684917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/196540b968f5ef55ddce98b19517193c.jpg","text":"TemporaryFile(/tmp/multipartBody5679080453207437476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_37_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/26/f81b45d53a9d345213f0a1172900ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody7410591926677261185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_37_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/26/945bbe68541ff762b31568df54ef2350.jpg","text":"TemporaryFile(/tmp/multipartBody2950085746003465526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_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/26/2d511fa882f22b2ece0ee92694bf18a4.jpg","text":"TemporaryFile(/tmp/multipartBody3041258218528068214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_36_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/26/4cdf2694e576d86cabb45346e265a028.jpg","text":"TemporaryFile(/tmp/multipartBody4021748859921003915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_37_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/26/1aa42557b7d4acf878c7a5c95395d0aa.jpg","text":"TemporaryFile(/tmp/multipartBody7879355317794186284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898714191,"filename":"image_26012025_14_37_45_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331684879","file1":"1331684837","file0":"1331684833","file4":"1331684915","file5":"1331684917","file3":"1331684908"},"map_files_photo_id_array":[{"photo_id":"1331684917","filename":"file5"},{"photo_id":"1331684879","filename":"file2"},{"photo_id":"1331684915","filename":"file4"},{"photo_id":"1331684837","filename":"file1"},{"photo_id":"1331684833","filename":"file0"},{"photo_id":"1331684908","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331684879":["hashtag1","hashtag2"]},{"1331684915":["hashtag1","hashtag2"]},{"1331684837":["hashtag1","hashtag2"]},{"1331684833":["hashtag1","hashtag2"]},{"1331684908":["hashtag1","hashtag2"]},{"1331684917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331684879, 1331684915, 1331684837, 1331684833, 1331684908, 1331684917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2938129901886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:38:32.430985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_55_10364.jpg', '/home/pi/Desktop/images/26012025/14/37/image_26012025_14_38_05_9348.jpg', '/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_15_10356.jpg', '/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_25_10341.jpg', '/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_35_9389.jpg', '/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_37_55_10364.jpg
/home/pi/Desktop/images/26012025/14/37/image_26012025_14_38_05_9348.jpg
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_15_10356.jpg
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_25_10341.jpg
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_35_9389.jpg
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_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":["1331684949","1331684937","1331684933","1331684944","1331684947","1331684941"],"photo_ids_order":["1331684933","1331684937","1331684941","1331684944","1331684947","1331684949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41679d2337e648945ee77633057b2a11.jpg","text":"TemporaryFile(/tmp/multipartBody8106196297427562210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_38_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/26/4d59a3db7f5daeeeaa11c821a2d80aff.jpg","text":"TemporaryFile(/tmp/multipartBody1239361804995233817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_38_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/26/399cd4224be725e49a0e3fb65add43c7.jpg","text":"TemporaryFile(/tmp/multipartBody3070018590540985695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_37_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/26/9b35f0c16c5f2d8af22dcdb8bb93e1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7760783723586325028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_38_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/26/2ff4d29b2253ea03a9026ec0fcd877da.jpg","text":"TemporaryFile(/tmp/multipartBody2525138790880246760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_38_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9596bf4b30ec65216e27fb998782f6bc.jpg","text":"TemporaryFile(/tmp/multipartBody781777369248843026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898773333,"filename":"image_26012025_14_38_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331684941","file1":"1331684937","file0":"1331684933","file4":"1331684947","file5":"1331684949","file3":"1331684944"},"map_files_photo_id_array":[{"photo_id":"1331684949","filename":"file5"},{"photo_id":"1331684941","filename":"file2"},{"photo_id":"1331684947","filename":"file4"},{"photo_id":"1331684937","filename":"file1"},{"photo_id":"1331684933","filename":"file0"},{"photo_id":"1331684944","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331684949":["hashtag1","hashtag2"]},{"1331684937":["hashtag1","hashtag2"]},{"1331684933":["hashtag1","hashtag2"]},{"1331684944":["hashtag1","hashtag2"]},{"1331684947":["hashtag1","hashtag2"]},{"1331684941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331684949, 1331684937, 1331684933, 1331684944, 1331684947, 1331684941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47151017189026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:39:32.676060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_56_10455.jpg', '/home/pi/Desktop/images/26012025/14/38/image_26012025_14_39_05_9318.jpg', '/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_15_10364.jpg', '/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_26_10379.jpg', '/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_35_9320.jpg', '/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_45_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_38_56_10455.jpg
/home/pi/Desktop/images/26012025/14/38/image_26012025_14_39_05_9318.jpg
/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_15_10364.jpg
/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_26_10379.jpg
/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_35_9320.jpg
/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_45_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331684982","1331684984","1331684966","1331684983","1331684986","1331684985"],"photo_ids_order":["1331684966","1331684982","1331684983","1331684984","1331684985","1331684986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa105a0efc3dac884a2f50d00f10ff89.jpg","text":"TemporaryFile(/tmp/multipartBody2919715273157480955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_39_05_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/26/9b27187ff0c5cf6804bec4433de7c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody4094611787625893030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_39_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/26/4f7109e57de0956b6ce94afa56d49a65.jpg","text":"TemporaryFile(/tmp/multipartBody6993521449475489386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_38_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/26/46ebe0a9e95e24611bdaef8c6beef972.jpg","text":"TemporaryFile(/tmp/multipartBody7855351482747652013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_39_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/26/ed63935481d43ab96e78f1d9eadc8ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2646395463952525192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_39_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/26/da93f3b21810608d8c1932b58bd63ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6922413114713064427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898833596,"filename":"image_26012025_14_39_35_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331684983","file1":"1331684982","file0":"1331684966","file4":"1331684985","file5":"1331684986","file3":"1331684984"},"map_files_photo_id_array":[{"photo_id":"1331684986","filename":"file5"},{"photo_id":"1331684983","filename":"file2"},{"photo_id":"1331684985","filename":"file4"},{"photo_id":"1331684982","filename":"file1"},{"photo_id":"1331684966","filename":"file0"},{"photo_id":"1331684984","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331684982":["hashtag1","hashtag2"]},{"1331684984":["hashtag1","hashtag2"]},{"1331684966":["hashtag1","hashtag2"]},{"1331684983":["hashtag1","hashtag2"]},{"1331684986":["hashtag1","hashtag2"]},{"1331684985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331684982, 1331684984, 1331684966, 1331684983, 1331684986, 1331684985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30728507041931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:40:32.866086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_55_9425.jpg', '/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_25_9353.jpg', '/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_45_9412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/39/image_26012025_14_39_55_9425.jpg
/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_25_9353.jpg
/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_45_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685041","1331685044","1331685046"],"photo_ids_order":["1331685041","1331685044","1331685046"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42c629ed49a6c9822ea4ee4f1087280e.jpg","text":"TemporaryFile(/tmp/multipartBody4329667223201828538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898893743,"filename":"image_26012025_14_39_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/26/e8aa4fedc07bc7a2b3f8ccb6cf81a59c.jpg","text":"TemporaryFile(/tmp/multipartBody6360108854247058028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898893743,"filename":"image_26012025_14_40_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/26/073a68ce5e05cfff7b91e1f2c600e9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8837091421502449851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898893743,"filename":"image_26012025_14_40_45_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685046","file1":"1331685044","file0":"1331685041"},"map_files_photo_id_array":[{"photo_id":"1331685046","filename":"file2"},{"photo_id":"1331685044","filename":"file1"},{"photo_id":"1331685041","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685041":["hashtag1","hashtag2"]},{"1331685044":["hashtag1","hashtag2"]},{"1331685046":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685041, 1331685044, 1331685046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.269949436187744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:41:04.729338
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/53/image_23012025_21_54_05_10516.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_14_9352.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_25_10490.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_34_9359.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_45_10345.jpg', '/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_55_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/53/image_23012025_21_54_05_10516.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_14_9352.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_25_10490.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_34_9359.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_45_10345.jpg
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_54_55_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":["1331685077","1331685079","1331685070","1331685067","1331685075","1331685054"],"photo_ids_order":["1331685054","1331685067","1331685070","1331685075","1331685077","1331685079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5a6bae6b9686e9eb962c3bcd8bf2b58.jpg","text":"TemporaryFile(/tmp/multipartBody3939302245535364835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_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/26/cf1ce87aceb028ef49c42c80eb857e98.jpg","text":"TemporaryFile(/tmp/multipartBody1238422017497603769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae564a5e12b4e792de63c35b7edc4c14.jpg","text":"TemporaryFile(/tmp/multipartBody2545574654331155498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_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/26/28b81e54936e6a2b2b7f0ad079e8e05a.jpg","text":"TemporaryFile(/tmp/multipartBody6706946635061468304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_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/26/f761919d9f13748115417b5f62a2143d.jpg","text":"TemporaryFile(/tmp/multipartBody1290066263188005172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/549e52c7a8ac262c5f9a5128d68b2892.jpg","text":"TemporaryFile(/tmp/multipartBody2058671019831885055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898926864,"filename":"image_23012025_21_54_05_10516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685070","file1":"1331685067","file0":"1331685054","file4":"1331685077","file5":"1331685079","file3":"1331685075"},"map_files_photo_id_array":[{"photo_id":"1331685079","filename":"file5"},{"photo_id":"1331685070","filename":"file2"},{"photo_id":"1331685077","filename":"file4"},{"photo_id":"1331685067","filename":"file1"},{"photo_id":"1331685054","filename":"file0"},{"photo_id":"1331685075","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331685077":["hashtag1","hashtag2"]},{"1331685079":["hashtag1","hashtag2"]},{"1331685070":["hashtag1","hashtag2"]},{"1331685067":["hashtag1","hashtag2"]},{"1331685075":["hashtag1","hashtag2"]},{"1331685054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331685077, 1331685079, 1331685070, 1331685067, 1331685075, 1331685054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19476795196533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 14:41:53.014574
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/54/image_23012025_21_55_04_9343.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_15_10364.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_25_10349.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_34_9359.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_45_10377.jpg', '/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_54_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/54/image_23012025_21_55_04_9343.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_15_10364.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_25_10349.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_34_9359.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_45_10377.jpg
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_55_54_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685117","1331685083","1331685089","1331685122","1331685084","1331685168"],"photo_ids_order":["1331685083","1331685084","1331685089","1331685117","1331685122","1331685168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ffc14bbcfab860e7ec73a887878cb473.jpg","text":"TemporaryFile(/tmp/multipartBody8027360047775010788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9312cf0250f74e1c3459d0706bacb69a.jpg","text":"TemporaryFile(/tmp/multipartBody8040537348577878447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_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/26/981c52d8dd218dbed5bc929b5af90450.jpg","text":"TemporaryFile(/tmp/multipartBody8646460952518283191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31465fecb157dc922f35aed3e0a74f30.jpg","text":"TemporaryFile(/tmp/multipartBody5700778614852038706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_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/26/34261f1173d1d0e72f3ca8887750ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody7378686420531952658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_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/26/3fea52573b313b20bb792c2ae519b935.jpg","text":"TemporaryFile(/tmp/multipartBody9025445469941086921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737898975345,"filename":"image_23012025_21_55_54_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685089","file1":"1331685084","file0":"1331685083","file4":"1331685122","file5":"1331685168","file3":"1331685117"},"map_files_photo_id_array":[{"photo_id":"1331685168","filename":"file5"},{"photo_id":"1331685089","filename":"file2"},{"photo_id":"1331685122","filename":"file4"},{"photo_id":"1331685084","filename":"file1"},{"photo_id":"1331685083","filename":"file0"},{"photo_id":"1331685117","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331685117":["hashtag1","hashtag2"]},{"1331685083":["hashtag1","hashtag2"]},{"1331685089":["hashtag1","hashtag2"]},{"1331685122":["hashtag1","hashtag2"]},{"1331685084":["hashtag1","hashtag2"]},{"1331685168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331685117, 1331685083, 1331685089, 1331685122, 1331685084, 1331685168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.34091138839722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:42:42.272256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_55_10354.jpg', '/home/pi/Desktop/images/26012025/14/40/image_26012025_14_41_05_10346.jpg', '/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_15_9327.jpg', '/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_25_10364.jpg', '/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_36_10432.jpg', '/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/40/image_26012025_14_40_55_10354.jpg
/home/pi/Desktop/images/26012025/14/40/image_26012025_14_41_05_10346.jpg
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_15_9327.jpg
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_25_10364.jpg
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_36_10432.jpg
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_45_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":["1331685216","1331685197","1331685185","1331685212","1331685241","1331685180"],"photo_ids_order":["1331685180","1331685185","1331685197","1331685212","1331685216","1331685241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b25d605e09527cfe13e705f39e6800a.jpg","text":"TemporaryFile(/tmp/multipartBody8350393154715156074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_41_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/26/4a98aa89cfcb43be5925ac008f77bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody7743861502164994228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_41_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/26/5ee79de0bf8de20f38b0e14d6d2357bd.jpg","text":"TemporaryFile(/tmp/multipartBody3145996429278983713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_41_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/26/e74b31ae2e7ee52129c588e600a9f5ba.jpg","text":"TemporaryFile(/tmp/multipartBody464745428194841523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_41_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/26/d94b5c5944f92b8b4370f26bb6ad6986.jpg","text":"TemporaryFile(/tmp/multipartBody2735666116996343270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_41_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/26/8bb77accfb9e882e0143dd817e8a2827.jpg","text":"TemporaryFile(/tmp/multipartBody3287067776754354125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899023175,"filename":"image_26012025_14_40_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685197","file1":"1331685185","file0":"1331685180","file4":"1331685216","file5":"1331685241","file3":"1331685212"},"map_files_photo_id_array":[{"photo_id":"1331685241","filename":"file5"},{"photo_id":"1331685197","filename":"file2"},{"photo_id":"1331685216","filename":"file4"},{"photo_id":"1331685185","filename":"file1"},{"photo_id":"1331685180","filename":"file0"},{"photo_id":"1331685212","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685216":["hashtag1","hashtag2"]},{"1331685197":["hashtag1","hashtag2"]},{"1331685185":["hashtag1","hashtag2"]},{"1331685212":["hashtag1","hashtag2"]},{"1331685241":["hashtag1","hashtag2"]},{"1331685180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685216, 1331685197, 1331685185, 1331685212, 1331685241, 1331685180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78771209716797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:43:32.528705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_55_10344.jpg', '/home/pi/Desktop/images/26012025/14/41/image_26012025_14_42_06_10434.jpg', '/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_15_9322.jpg', '/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_25_10347.jpg', '/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_35_9421.jpg', '/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_41_55_10344.jpg
/home/pi/Desktop/images/26012025/14/41/image_26012025_14_42_06_10434.jpg
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_15_9322.jpg
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_25_10347.jpg
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_35_9421.jpg
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_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":["1331685258","1331685260","1331685254","1331685250","1331685261","1331685255"],"photo_ids_order":["1331685250","1331685254","1331685255","1331685258","1331685260","1331685261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca4152563348c699714cf35706075011.jpg","text":"TemporaryFile(/tmp/multipartBody1921058386159695912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_42_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/26/0b0c6d2742e3fa54932923add9e61356.jpg","text":"TemporaryFile(/tmp/multipartBody6681258520506528991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_42_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5613d9bc7c657ae269878adb9ea83e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1349609591760038201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_42_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/79c88867c2a0a776ab24efe72a4f2037.jpg","text":"TemporaryFile(/tmp/multipartBody3190183369025436651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_41_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/26/962dfcc73cec15f5a425b242334470a8.jpg","text":"TemporaryFile(/tmp/multipartBody169044676526571709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_42_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/26/90804f484791bb8b22c8f58b697b1120.jpg","text":"TemporaryFile(/tmp/multipartBody8935943360298478160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899073425,"filename":"image_26012025_14_42_15_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685255","file1":"1331685254","file0":"1331685250","file4":"1331685260","file5":"1331685261","file3":"1331685258"},"map_files_photo_id_array":[{"photo_id":"1331685261","filename":"file5"},{"photo_id":"1331685255","filename":"file2"},{"photo_id":"1331685260","filename":"file4"},{"photo_id":"1331685254","filename":"file1"},{"photo_id":"1331685250","filename":"file0"},{"photo_id":"1331685258","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685258":["hashtag1","hashtag2"]},{"1331685260":["hashtag1","hashtag2"]},{"1331685254":["hashtag1","hashtag2"]},{"1331685250":["hashtag1","hashtag2"]},{"1331685261":["hashtag1","hashtag2"]},{"1331685255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685258, 1331685260, 1331685254, 1331685250, 1331685261, 1331685255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.136523485183716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:44:32.687061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_56_10423.jpg', '/home/pi/Desktop/images/26012025/14/42/image_26012025_14_43_05_9311.jpg', '/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_15_10331.jpg', '/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_26_10459.jpg', '/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_45_10341.jpg', '/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_55_9411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_42_56_10423.jpg
/home/pi/Desktop/images/26012025/14/42/image_26012025_14_43_05_9311.jpg
/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_15_10331.jpg
/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_26_10459.jpg
/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_45_10341.jpg
/home/pi/Desktop/images/26012025/14/43/image_26012025_14_43_55_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685281","1331685290","1331685292","1331685277","1331685285","1331685288"],"photo_ids_order":["1331685277","1331685281","1331685285","1331685288","1331685290","1331685292"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f371a6fa3d64a37737b27e833e8b83a.jpg","text":"TemporaryFile(/tmp/multipartBody1355244777703150706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_43_05_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5aa35b8af05f250cdf6dbf9232bf261.jpg","text":"TemporaryFile(/tmp/multipartBody8054851156685509269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_43_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fef5f9d5d35ce7ed212cf1bfc66b8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5404881567184162953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_43_55_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/61b16ee51e3b0986cd3c774a25d74741.jpg","text":"TemporaryFile(/tmp/multipartBody7188278156558430791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_42_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da5d23a7077d3b312bb77b2cc1c74bed.jpg","text":"TemporaryFile(/tmp/multipartBody2464508182902507333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_43_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3033ff458699aee37f2848b26d2b65ab.jpg","text":"TemporaryFile(/tmp/multipartBody7567721877110150754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899133599,"filename":"image_26012025_14_43_26_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685285","file1":"1331685281","file0":"1331685277","file4":"1331685290","file5":"1331685292","file3":"1331685288"},"map_files_photo_id_array":[{"photo_id":"1331685292","filename":"file5"},{"photo_id":"1331685285","filename":"file2"},{"photo_id":"1331685290","filename":"file4"},{"photo_id":"1331685281","filename":"file1"},{"photo_id":"1331685277","filename":"file0"},{"photo_id":"1331685288","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685281":["hashtag1","hashtag2"]},{"1331685290":["hashtag1","hashtag2"]},{"1331685292":["hashtag1","hashtag2"]},{"1331685277":["hashtag1","hashtag2"]},{"1331685285":["hashtag1","hashtag2"]},{"1331685288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685281, 1331685290, 1331685292, 1331685277, 1331685285, 1331685288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10873246192932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:45:33.018753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/43/image_26012025_14_44_05_10334.jpg', '/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_15_10333.jpg', '/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_35_10371.jpg', '/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_46_10379.jpg', '/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_55_9331.jpg', '/home/pi/Desktop/images/26012025/14/44/image_26012025_14_45_05_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/43/image_26012025_14_44_05_10334.jpg
/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_15_10333.jpg
/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_35_10371.jpg
/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_46_10379.jpg
/home/pi/Desktop/images/26012025/14/44/image_26012025_14_44_55_9331.jpg
/home/pi/Desktop/images/26012025/14/44/image_26012025_14_45_05_10348.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":["1331685347","1331685311","1331685314","1331685317","1331685340","1331685307"],"photo_ids_order":["1331685307","1331685311","1331685314","1331685317","1331685340","1331685347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/953010b5d13436a41dca39e353ab5f38.jpg","text":"TemporaryFile(/tmp/multipartBody1588607260576387976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_45_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/26/1b0937118c746d6029943063321cb2af.jpg","text":"TemporaryFile(/tmp/multipartBody8648113276621370889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_44_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/26/696e9d1ac670b27c45887708953706a0.jpg","text":"TemporaryFile(/tmp/multipartBody3507709260234303587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_44_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/26/bf0de5bdce3e7bb9274403d2bbcefa0e.jpg","text":"TemporaryFile(/tmp/multipartBody4553507981278420859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_44_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/26/3be0895b5bf435a3a9465a46fa922c36.jpg","text":"TemporaryFile(/tmp/multipartBody1865813324950340563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_44_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/26/d09f1c6961a2873d9aae0f2f52c48c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4762252064937779958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899193926,"filename":"image_26012025_14_44_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685314","file1":"1331685311","file0":"1331685307","file4":"1331685340","file5":"1331685347","file3":"1331685317"},"map_files_photo_id_array":[{"photo_id":"1331685347","filename":"file5"},{"photo_id":"1331685314","filename":"file2"},{"photo_id":"1331685340","filename":"file4"},{"photo_id":"1331685311","filename":"file1"},{"photo_id":"1331685307","filename":"file0"},{"photo_id":"1331685317","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685347":["hashtag1","hashtag2"]},{"1331685311":["hashtag1","hashtag2"]},{"1331685314":["hashtag1","hashtag2"]},{"1331685317":["hashtag1","hashtag2"]},{"1331685340":["hashtag1","hashtag2"]},{"1331685307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685347, 1331685311, 1331685314, 1331685317, 1331685340, 1331685307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.869502544403076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:46:42.294321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_16_10337.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_25_9336.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_35_10330.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_46_10360.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_55_9333.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_46_05_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_16_10337.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_25_9336.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_35_10330.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_46_10360.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_55_9333.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_46_05_10353.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5089144706726074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 14:46:52.290515
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/55/image_23012025_21_56_05_10362.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_15_10386.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_24_9344.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_35_10352.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_45_10337.jpg', '/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_55_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/55/image_23012025_21_56_05_10362.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_15_10386.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_24_9344.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_35_10352.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_45_10337.jpg
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_56_55_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685392","1331685386","1331685379","1331685388","1331685381","1331685390"],"photo_ids_order":["1331685379","1331685381","1331685386","1331685388","1331685390","1331685392"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be6afbb15f4a76b079b7dec6c4b2891a.jpg","text":"TemporaryFile(/tmp/multipartBody4353635900343242457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_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/26/52600054c38a03282beac8139c69b53e.jpg","text":"TemporaryFile(/tmp/multipartBody454944538091481697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_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/26/b79350a10632a11c49685b757718fc71.jpg","text":"TemporaryFile(/tmp/multipartBody6016039879138848423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_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/26/f3aa4213664d5a350a66705b53336a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5081549289907400782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_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/26/c04b5c24efb475e4354dc2405a98a4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8522309401035591962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_15_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64fa28dc616943ad9961c058e3cc6ff3.jpg","text":"TemporaryFile(/tmp/multipartBody993267364519621100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899274607,"filename":"image_23012025_21_56_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685386","file1":"1331685381","file0":"1331685379","file4":"1331685390","file5":"1331685392","file3":"1331685388"},"map_files_photo_id_array":[{"photo_id":"1331685392","filename":"file5"},{"photo_id":"1331685386","filename":"file2"},{"photo_id":"1331685390","filename":"file4"},{"photo_id":"1331685381","filename":"file1"},{"photo_id":"1331685379","filename":"file0"},{"photo_id":"1331685388","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331685392":["hashtag1","hashtag2"]},{"1331685386":["hashtag1","hashtag2"]},{"1331685379":["hashtag1","hashtag2"]},{"1331685388":["hashtag1","hashtag2"]},{"1331685381":["hashtag1","hashtag2"]},{"1331685390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331685392, 1331685386, 1331685379, 1331685388, 1331685381, 1331685390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56278085708618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:47:42.645190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_16_10337.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_25_9336.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_35_10330.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_46_10360.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_55_9333.jpg', '/home/pi/Desktop/images/26012025/14/45/image_26012025_14_46_05_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_16_10337.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_25_9336.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_35_10330.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_46_10360.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_45_55_9333.jpg
/home/pi/Desktop/images/26012025/14/45/image_26012025_14_46_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685408","1331685411","1331685405","1331685401","1331685404","1331685399"],"photo_ids_order":["1331685399","1331685401","1331685404","1331685405","1331685408","1331685411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f7c544c8d1c184a96636d70c3b71650d.jpg","text":"TemporaryFile(/tmp/multipartBody4512201292170012028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_45_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/26/cdf05570fbfbfd0a648c1a789f51c556.jpg","text":"TemporaryFile(/tmp/multipartBody5482579459497308034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_46_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6c671acbdfc1b706674276d519ac8624.jpg","text":"TemporaryFile(/tmp/multipartBody9202382503012949999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_45_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/26/9d88f4e23c53d5ce101918bac2700fed.jpg","text":"TemporaryFile(/tmp/multipartBody6484067343301731968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_45_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/26/f593f765653fc71c15bf4af27733c353.jpg","text":"TemporaryFile(/tmp/multipartBody4943303596754863654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_45_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c04a8bd8bdb6f5a9f8d0d1a2bca44b88.jpg","text":"TemporaryFile(/tmp/multipartBody1993744021192251935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899323541,"filename":"image_26012025_14_45_16_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685404","file1":"1331685401","file0":"1331685399","file4":"1331685408","file5":"1331685411","file3":"1331685405"},"map_files_photo_id_array":[{"photo_id":"1331685411","filename":"file5"},{"photo_id":"1331685404","filename":"file2"},{"photo_id":"1331685408","filename":"file4"},{"photo_id":"1331685401","filename":"file1"},{"photo_id":"1331685399","filename":"file0"},{"photo_id":"1331685405","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685408":["hashtag1","hashtag2"]},{"1331685411":["hashtag1","hashtag2"]},{"1331685405":["hashtag1","hashtag2"]},{"1331685401":["hashtag1","hashtag2"]},{"1331685404":["hashtag1","hashtag2"]},{"1331685399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685408, 1331685411, 1331685405, 1331685401, 1331685404, 1331685399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36434507369995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:48:32.766115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_16_10336.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_25_9345.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_35_10360.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_45_9353.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_55_10337.jpg', '/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_25_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_16_10336.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_25_9345.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_35_10360.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_45_9353.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_55_10337.jpg
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_25_10397.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.516547679901123 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:48:42.734222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_16_10336.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_25_9345.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_35_10360.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_45_9353.jpg', '/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_55_10337.jpg', '/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_25_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_16_10336.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_25_9345.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_35_10360.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_45_9353.jpg
/home/pi/Desktop/images/26012025/14/46/image_26012025_14_46_55_10337.jpg
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_25_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331685446","1331685829","1331686245","1331686140","1331685942","1331685618"],"photo_ids_order":["1331685446","1331685618","1331685829","1331685942","1331686140","1331686245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c47fa2bd2f30b4b5e61718699e8cebfd.jpg","text":"TemporaryFile(/tmp/multipartBody8156416029658042451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_46_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/26/cbcc3b34968dd9547da06d808b6f0da0.jpg","text":"TemporaryFile(/tmp/multipartBody7800732953850224131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_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/26/24317e0a34db41a3916a9e6f86b64fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4702542467243637782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_47_25_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/26/64fc088a6e4d21ff3ff05289b609fd88.jpg","text":"TemporaryFile(/tmp/multipartBody7273039296089130568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_46_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d79258a616fdde59caf54aa5e257ce24.jpg","text":"TemporaryFile(/tmp/multipartBody3970600432557601612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_46_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/26/2146bb3f0d5bb88b947b09c5954d96da.jpg","text":"TemporaryFile(/tmp/multipartBody8682352335715698913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899383646,"filename":"image_26012025_14_46_25_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331685829","file1":"1331685618","file0":"1331685446","file4":"1331686140","file5":"1331686245","file3":"1331685942"},"map_files_photo_id_array":[{"photo_id":"1331686245","filename":"file5"},{"photo_id":"1331685829","filename":"file2"},{"photo_id":"1331686140","filename":"file4"},{"photo_id":"1331685618","filename":"file1"},{"photo_id":"1331685446","filename":"file0"},{"photo_id":"1331685942","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331685446":["hashtag1","hashtag2"]},{"1331685829":["hashtag1","hashtag2"]},{"1331686245":["hashtag1","hashtag2"]},{"1331686140":["hashtag1","hashtag2"]},{"1331685942":["hashtag1","hashtag2"]},{"1331685618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331685446, 1331685829, 1331686245, 1331686140, 1331685942, 1331685618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81956601142883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:49:32.973625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_36_10388.jpg', '/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_45_9332.jpg', '/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_55_10365.jpg', '/home/pi/Desktop/images/26012025/14/47/image_26012025_14_48_06_10344.jpg', '/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_15_9321.jpg', '/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_25_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_36_10388.jpg
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_45_9332.jpg
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_47_55_10365.jpg
/home/pi/Desktop/images/26012025/14/47/image_26012025_14_48_06_10344.jpg
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_15_9321.jpg
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_25_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331686268","1331686264","1331686273","1331686257","1331686254","1331686271"],"photo_ids_order":["1331686254","1331686257","1331686264","1331686268","1331686271","1331686273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4aaf6bb0c00fa18c76512486763be58d.jpg","text":"TemporaryFile(/tmp/multipartBody767252810783464493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_48_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/26/20615a754a159fd2b3cc7ceebd927542.jpg","text":"TemporaryFile(/tmp/multipartBody1708420862212488400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_47_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/26/f6031e48f2edb2622f79a4e4301422e4.jpg","text":"TemporaryFile(/tmp/multipartBody4886413404729492007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_48_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/26/1d44fe3fc6bc2f7e51088dbb75d2792b.jpg","text":"TemporaryFile(/tmp/multipartBody5759694807942892778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_47_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/26/4e60ab1fe7850ca5563994124d8bd108.jpg","text":"TemporaryFile(/tmp/multipartBody1332979724041081285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_47_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bca08b67826851d362e824f5ec4db6e8.jpg","text":"TemporaryFile(/tmp/multipartBody8925033316474416581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899433877,"filename":"image_26012025_14_48_15_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331686264","file1":"1331686257","file0":"1331686254","file4":"1331686271","file5":"1331686273","file3":"1331686268"},"map_files_photo_id_array":[{"photo_id":"1331686273","filename":"file5"},{"photo_id":"1331686264","filename":"file2"},{"photo_id":"1331686271","filename":"file4"},{"photo_id":"1331686257","filename":"file1"},{"photo_id":"1331686254","filename":"file0"},{"photo_id":"1331686268","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331686268":["hashtag1","hashtag2"]},{"1331686264":["hashtag1","hashtag2"]},{"1331686273":["hashtag1","hashtag2"]},{"1331686257":["hashtag1","hashtag2"]},{"1331686254":["hashtag1","hashtag2"]},{"1331686271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331686268, 1331686264, 1331686273, 1331686257, 1331686254, 1331686271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66232180595398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:50:32.265071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_36_10334.jpg', '/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_45_9338.jpg', '/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_55_10352.jpg', '/home/pi/Desktop/images/26012025/14/48/image_26012025_14_49_06_10409.jpg', '/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_15_9321.jpg', '/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_25_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_36_10334.jpg
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_45_9338.jpg
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_48_55_10352.jpg
/home/pi/Desktop/images/26012025/14/48/image_26012025_14_49_06_10409.jpg
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_15_9321.jpg
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_25_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331687204","1331686970","1331687197","1331687199","1331686615","1331687202"],"photo_ids_order":["1331686615","1331686970","1331687197","1331687199","1331687202","1331687204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74a0146763480f707c8016030ae3fe3e.jpg","text":"TemporaryFile(/tmp/multipartBody7296911568978516463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_49_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ffd890cbd053afd1c31ae9ae8dab081.jpg","text":"TemporaryFile(/tmp/multipartBody6913301418300608743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_48_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/26/6cc43e16a9a076309da7d33c31466a47.jpg","text":"TemporaryFile(/tmp/multipartBody8915973119436610733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_48_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/26/6723286f0a666d85169ebd4f22173fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6891792993231739819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_49_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/26/9aaecec055868b9a00344764b646de17.jpg","text":"TemporaryFile(/tmp/multipartBody3084127411954847238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_48_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/26/1d6382f1474a3f806add227a8ed42889.jpg","text":"TemporaryFile(/tmp/multipartBody913427691524844972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899493160,"filename":"image_26012025_14_49_15_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687197","file1":"1331686970","file0":"1331686615","file4":"1331687202","file5":"1331687204","file3":"1331687199"},"map_files_photo_id_array":[{"photo_id":"1331687204","filename":"file5"},{"photo_id":"1331687197","filename":"file2"},{"photo_id":"1331687202","filename":"file4"},{"photo_id":"1331686970","filename":"file1"},{"photo_id":"1331686615","filename":"file0"},{"photo_id":"1331687199","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687204":["hashtag1","hashtag2"]},{"1331686970":["hashtag1","hashtag2"]},{"1331687197":["hashtag1","hashtag2"]},{"1331687199":["hashtag1","hashtag2"]},{"1331686615":["hashtag1","hashtag2"]},{"1331687202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687204, 1331686970, 1331687197, 1331687199, 1331686615, 1331687202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.835201025009155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:51:32.510119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_35_9430.jpg', '/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_45_10325.jpg', '/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_56_10556.jpg', '/home/pi/Desktop/images/26012025/14/49/image_26012025_14_50_05_9317.jpg', '/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_15_10353.jpg', '/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_25_9377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_35_9430.jpg
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_45_10325.jpg
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_49_56_10556.jpg
/home/pi/Desktop/images/26012025/14/49/image_26012025_14_50_05_9317.jpg
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_15_10353.jpg
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_25_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331687441","1331687429","1331687473","1331687437","1331687466","1331687433"],"photo_ids_order":["1331687429","1331687433","1331687437","1331687441","1331687466","1331687473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f20134e75b81676c303beb66d32deb74.jpg","text":"TemporaryFile(/tmp/multipartBody1426743290666606898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_50_05_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b32ca3cf591f8d841db554b0b3791b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8657390210909067647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_49_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b16277913f3fdf1567b9dc097b130c5.jpg","text":"TemporaryFile(/tmp/multipartBody7707601043681487828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_50_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/26/107c5dc5297a29ed9113ad3a893fea0a.jpg","text":"TemporaryFile(/tmp/multipartBody1945859504491262180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_49_56_10556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/46b8e08053855243209ccda49f7b73d7.jpg","text":"TemporaryFile(/tmp/multipartBody2676369645293045935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_50_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/26/82787fe424008fb868d14f1aa1f837d9.jpg","text":"TemporaryFile(/tmp/multipartBody4989102431318164570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899553423,"filename":"image_26012025_14_49_45_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687437","file1":"1331687433","file0":"1331687429","file4":"1331687466","file5":"1331687473","file3":"1331687441"},"map_files_photo_id_array":[{"photo_id":"1331687473","filename":"file5"},{"photo_id":"1331687437","filename":"file2"},{"photo_id":"1331687466","filename":"file4"},{"photo_id":"1331687433","filename":"file1"},{"photo_id":"1331687429","filename":"file0"},{"photo_id":"1331687441","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687441":["hashtag1","hashtag2"]},{"1331687429":["hashtag1","hashtag2"]},{"1331687473":["hashtag1","hashtag2"]},{"1331687437":["hashtag1","hashtag2"]},{"1331687466":["hashtag1","hashtag2"]},{"1331687433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687441, 1331687429, 1331687473, 1331687437, 1331687466, 1331687433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58405542373657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:52:32.750900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_35_10336.jpg', '/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_45_10340.jpg', '/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_55_9429.jpg', '/home/pi/Desktop/images/26012025/14/50/image_26012025_14_51_05_10324.jpg', '/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_16_10524.jpg', '/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_25_9351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_35_10336.jpg
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_45_10340.jpg
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_50_55_9429.jpg
/home/pi/Desktop/images/26012025/14/50/image_26012025_14_51_05_10324.jpg
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_16_10524.jpg
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_25_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331687528","1331687507","1331687554","1331687499","1331687502","1331687558"],"photo_ids_order":["1331687499","1331687502","1331687507","1331687528","1331687554","1331687558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/89547ff76f70d46b138feee44f9d9b67.jpg","text":"TemporaryFile(/tmp/multipartBody7756348288970429980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_51_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/81a8ac871dc065b2386b64bab87ed540.jpg","text":"TemporaryFile(/tmp/multipartBody1802620940133549448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_50_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/26/751a40c3f17f1288637c3a5e48b64a58.jpg","text":"TemporaryFile(/tmp/multipartBody7285546840616838420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_51_16_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/26/b6395dce11736121f566357c2b4763bf.jpg","text":"TemporaryFile(/tmp/multipartBody7950990427647638572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_50_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/26/569e901a4c436ee5275b9100a3051b5e.jpg","text":"TemporaryFile(/tmp/multipartBody7983393335226435363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_50_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/26/820d2adb9dfb8f9a87cab726efdf90cc.jpg","text":"TemporaryFile(/tmp/multipartBody1567461019990521200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899613657,"filename":"image_26012025_14_51_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687507","file1":"1331687502","file0":"1331687499","file4":"1331687554","file5":"1331687558","file3":"1331687528"},"map_files_photo_id_array":[{"photo_id":"1331687558","filename":"file5"},{"photo_id":"1331687507","filename":"file2"},{"photo_id":"1331687554","filename":"file4"},{"photo_id":"1331687502","filename":"file1"},{"photo_id":"1331687499","filename":"file0"},{"photo_id":"1331687528","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687528":["hashtag1","hashtag2"]},{"1331687507":["hashtag1","hashtag2"]},{"1331687554":["hashtag1","hashtag2"]},{"1331687499":["hashtag1","hashtag2"]},{"1331687502":["hashtag1","hashtag2"]},{"1331687558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687528, 1331687507, 1331687554, 1331687499, 1331687502, 1331687558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.59942960739136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:53:32.982389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_35_10326.jpg', '/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_45_9430.jpg', '/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_55_10335.jpg', '/home/pi/Desktop/images/26012025/14/51/image_26012025_14_52_05_10395.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_15_9327.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_25_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_35_10326.jpg
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_45_9430.jpg
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_51_55_10335.jpg
/home/pi/Desktop/images/26012025/14/51/image_26012025_14_52_05_10395.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_15_9327.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_25_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":["1331687587","1331687589","1331687580","1331687583","1331687591","1331687585"],"photo_ids_order":["1331687580","1331687583","1331687585","1331687587","1331687589","1331687591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f883f21173dbc6161d82ff5da1c28332.jpg","text":"TemporaryFile(/tmp/multipartBody471005886090722619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_52_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/26/e5860a939600108dc91ada32f985042f.jpg","text":"TemporaryFile(/tmp/multipartBody9148519322552740005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_52_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/26/20fabfa0fe4d38d4c42400b1cdaaebe5.jpg","text":"TemporaryFile(/tmp/multipartBody8630650296206132844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_51_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2abbe3fb3d159764c70c2c8cd2bebe1a.jpg","text":"TemporaryFile(/tmp/multipartBody8988544247570466883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_51_45_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/26/1d7a2c2385367fcd65f3ff8cebf368ea.jpg","text":"TemporaryFile(/tmp/multipartBody6859992075214719228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_52_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bec64d56833a6dec801d7b4f0fdc254.jpg","text":"TemporaryFile(/tmp/multipartBody6890648896385509491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899673903,"filename":"image_26012025_14_51_55_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687585","file1":"1331687583","file0":"1331687580","file4":"1331687589","file5":"1331687591","file3":"1331687587"},"map_files_photo_id_array":[{"photo_id":"1331687591","filename":"file5"},{"photo_id":"1331687585","filename":"file2"},{"photo_id":"1331687589","filename":"file4"},{"photo_id":"1331687583","filename":"file1"},{"photo_id":"1331687580","filename":"file0"},{"photo_id":"1331687587","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687587":["hashtag1","hashtag2"]},{"1331687589":["hashtag1","hashtag2"]},{"1331687580":["hashtag1","hashtag2"]},{"1331687583":["hashtag1","hashtag2"]},{"1331687591":["hashtag1","hashtag2"]},{"1331687585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687587, 1331687589, 1331687580, 1331687583, 1331687591, 1331687585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.52846026420593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:54:32.212514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_36_10378.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_45_9346.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_55_10365.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_53_06_10411.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_15_9326.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_25_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_36_10378.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_45_9346.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_55_10365.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_53_06_10411.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_15_9326.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_25_10328.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49908947944641113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:54:42.255667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_36_10378.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_45_9346.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_55_10365.jpg', '/home/pi/Desktop/images/26012025/14/52/image_26012025_14_53_06_10411.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_15_9326.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_25_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_36_10378.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_45_9346.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_52_55_10365.jpg
/home/pi/Desktop/images/26012025/14/52/image_26012025_14_53_06_10411.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_15_9326.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_25_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331687749","1331687757","1331687745","1331687754","1331687709","1331687741"],"photo_ids_order":["1331687709","1331687741","1331687745","1331687749","1331687754","1331687757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0197d993a4b755188589e80c30b4f500.jpg","text":"TemporaryFile(/tmp/multipartBody6251751710633457171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_53_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/26/7b8717e86e1c363f7485152c2055abb8.jpg","text":"TemporaryFile(/tmp/multipartBody6117607023144242545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_53_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/26/c97a1e62ef988f1b82c42f326fb347c5.jpg","text":"TemporaryFile(/tmp/multipartBody6190686312027114380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_52_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/26/2be3ae6afe20742b6fc7e47b821600af.jpg","text":"TemporaryFile(/tmp/multipartBody4948949903343824315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_53_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90ce742e8213d1822b20bc07beb14097.jpg","text":"TemporaryFile(/tmp/multipartBody2863214208660787257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_52_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b11f4e11d29bf582f2d08320a9385dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8080141541438919026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899743148,"filename":"image_26012025_14_52_45_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687745","file1":"1331687741","file0":"1331687709","file4":"1331687754","file5":"1331687757","file3":"1331687749"},"map_files_photo_id_array":[{"photo_id":"1331687757","filename":"file5"},{"photo_id":"1331687745","filename":"file2"},{"photo_id":"1331687754","filename":"file4"},{"photo_id":"1331687741","filename":"file1"},{"photo_id":"1331687709","filename":"file0"},{"photo_id":"1331687749","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687749":["hashtag1","hashtag2"]},{"1331687757":["hashtag1","hashtag2"]},{"1331687745":["hashtag1","hashtag2"]},{"1331687754":["hashtag1","hashtag2"]},{"1331687709":["hashtag1","hashtag2"]},{"1331687741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687749, 1331687757, 1331687745, 1331687754, 1331687709, 1331687741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.47730374336243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:55:32.425980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_36_10327.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_45_9342.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_55_10338.jpg', '/home/pi/Desktop/images/26012025/14/53/image_26012025_14_54_05_9440.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_15_10353.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_26_10465.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_36_10327.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_45_9342.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_53_55_10338.jpg
/home/pi/Desktop/images/26012025/14/53/image_26012025_14_54_05_9440.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_15_10353.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_26_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":["1331687770","1331687773","1331687769","1331687763","1331687766","1331687771"],"photo_ids_order":["1331687763","1331687766","1331687769","1331687770","1331687771","1331687773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e29e7ff7653d0398eeaeff194e230eee.jpg","text":"TemporaryFile(/tmp/multipartBody5937003551030987941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_54_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/26/ed2cd071a4562001982697da32096b63.jpg","text":"TemporaryFile(/tmp/multipartBody6774966779729577466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_54_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/26/8e28b6f7e903fef352188a121fe340db.jpg","text":"TemporaryFile(/tmp/multipartBody4853692648039951512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_53_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b6aaec2627be56ce9770a26ba66bf76.jpg","text":"TemporaryFile(/tmp/multipartBody8868333754047444554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_53_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3566cad085dfeaf63b63b964b66735a4.jpg","text":"TemporaryFile(/tmp/multipartBody4480413030611806630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_53_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/26/18afff14a0e4a6d12a1b2c658d099259.jpg","text":"TemporaryFile(/tmp/multipartBody3560054361703120071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899793318,"filename":"image_26012025_14_54_15_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687769","file1":"1331687766","file0":"1331687763","file4":"1331687771","file5":"1331687773","file3":"1331687770"},"map_files_photo_id_array":[{"photo_id":"1331687773","filename":"file5"},{"photo_id":"1331687769","filename":"file2"},{"photo_id":"1331687771","filename":"file4"},{"photo_id":"1331687766","filename":"file1"},{"photo_id":"1331687763","filename":"file0"},{"photo_id":"1331687770","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687770":["hashtag1","hashtag2"]},{"1331687773":["hashtag1","hashtag2"]},{"1331687769":["hashtag1","hashtag2"]},{"1331687763":["hashtag1","hashtag2"]},{"1331687766":["hashtag1","hashtag2"]},{"1331687771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687770, 1331687773, 1331687769, 1331687763, 1331687766, 1331687771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.497414350509644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:56:32.632179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_35_9317.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_45_10341.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_56_10335.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_55_05_9324.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_15_10341.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_35_9317.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_45_10341.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_56_10335.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_55_05_9324.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_15_10341.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_26_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.5234761238098145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:56:42.658609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_35_9317.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_45_10341.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_56_10335.jpg', '/home/pi/Desktop/images/26012025/14/54/image_26012025_14_55_05_9324.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_15_10341.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_26_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_35_9317.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_45_10341.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_54_56_10335.jpg
/home/pi/Desktop/images/26012025/14/54/image_26012025_14_55_05_9324.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_15_10341.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331687806","1331687799","1331687790","1331687808","1331687802","1331687795"],"photo_ids_order":["1331687790","1331687795","1331687799","1331687802","1331687806","1331687808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db8d0fed572f34bcfef2dd27e73a7663.jpg","text":"TemporaryFile(/tmp/multipartBody7855139553179921584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_55_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3fc1d0c1f7d475288640c28f193ad07e.jpg","text":"TemporaryFile(/tmp/multipartBody2039028138480053252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_54_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/26/fd5f3940b9808c18f95af77da4c02b41.jpg","text":"TemporaryFile(/tmp/multipartBody8008616330368841203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_54_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c50509da3f43e2a5c7b9d4767101e75c.jpg","text":"TemporaryFile(/tmp/multipartBody7065607543976355303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_55_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8498ee59b5feec18a313f655cbb778d0.jpg","text":"TemporaryFile(/tmp/multipartBody7264908497761422105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_55_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37128ec893efe63cdaa57f31117230e8.jpg","text":"TemporaryFile(/tmp/multipartBody4566398221347765507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737899863565,"filename":"image_26012025_14_54_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331687799","file1":"1331687795","file0":"1331687790","file4":"1331687806","file5":"1331687808","file3":"1331687802"},"map_files_photo_id_array":[{"photo_id":"1331687808","filename":"file5"},{"photo_id":"1331687799","filename":"file2"},{"photo_id":"1331687806","filename":"file4"},{"photo_id":"1331687795","filename":"file1"},{"photo_id":"1331687790","filename":"file0"},{"photo_id":"1331687802","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331687806":["hashtag1","hashtag2"]},{"1331687799":["hashtag1","hashtag2"]},{"1331687790":["hashtag1","hashtag2"]},{"1331687808":["hashtag1","hashtag2"]},{"1331687802":["hashtag1","hashtag2"]},{"1331687795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331687806, 1331687799, 1331687790, 1331687808, 1331687802, 1331687795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.988691091537476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 14:57:32.868025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_35_9316.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_45_10336.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_56_10347.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_56_05_9319.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_15_10332.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_26_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_35_9316.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_45_10336.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_56_10347.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_56_05_9319.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_15_10332.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_26_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 14:59:03.903043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_35_9316.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_45_10336.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_56_10347.jpg', '/home/pi/Desktop/images/26012025/14/55/image_26012025_14_56_05_9319.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_15_10332.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_26_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_35_9316.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_45_10336.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_55_56_10347.jpg
/home/pi/Desktop/images/26012025/14/55/image_26012025_14_56_05_9319.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_15_10332.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_26_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331688046","1331688057","1331688042","1331688051","1331688062","1331688065"],"photo_ids_order":["1331688042","1331688046","1331688051","1331688057","1331688062","1331688065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71dcec1fc80e41aa97f7761877631056.jpg","text":"TemporaryFile(/tmp/multipartBody626771707403460557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_55_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/26/5f6116b17c32024b2402329c315e9833.jpg","text":"TemporaryFile(/tmp/multipartBody2270256583461620407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_56_05_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4727b44ab624f595d6280e8339416d52.jpg","text":"TemporaryFile(/tmp/multipartBody9151344290460948482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_55_35_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1f8e4f432b669dd72da5566fbaa4a21.jpg","text":"TemporaryFile(/tmp/multipartBody3231634372194271099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_55_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/26/f61b3008632642e5e089dec477e2515a.jpg","text":"TemporaryFile(/tmp/multipartBody6092702370289664546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_56_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/26/d8b5997fc67fa83469b8d9e06004031c.jpg","text":"TemporaryFile(/tmp/multipartBody5982241655026398667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900004897,"filename":"image_26012025_14_56_26_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331688051","file1":"1331688046","file0":"1331688042","file4":"1331688062","file5":"1331688065","file3":"1331688057"},"map_files_photo_id_array":[{"photo_id":"1331688065","filename":"file5"},{"photo_id":"1331688051","filename":"file2"},{"photo_id":"1331688062","filename":"file4"},{"photo_id":"1331688046","filename":"file1"},{"photo_id":"1331688042","filename":"file0"},{"photo_id":"1331688057","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331688046":["hashtag1","hashtag2"]},{"1331688057":["hashtag1","hashtag2"]},{"1331688042":["hashtag1","hashtag2"]},{"1331688051":["hashtag1","hashtag2"]},{"1331688062":["hashtag1","hashtag2"]},{"1331688065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331688046, 1331688057, 1331688042, 1331688051, 1331688062, 1331688065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86892127990723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 14:59:52.826822
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/56/image_23012025_21_57_05_10347.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_15_10359.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_25_9362.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_35_10409.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_44_9346.jpg', '/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_55_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/56/image_23012025_21_57_05_10347.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_15_10359.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_25_9362.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_35_10409.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_44_9346.jpg
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_57_55_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331688090","1331688080","1331688083","1331688077","1331688086","1331688074"],"photo_ids_order":["1331688074","1331688077","1331688080","1331688083","1331688086","1331688090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ade356152c205c409df77031b0f000d.jpg","text":"TemporaryFile(/tmp/multipartBody7819296301524034736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_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/26/09013fa9695b569cc92f41350c47b416.jpg","text":"TemporaryFile(/tmp/multipartBody952532058362070203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_57_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/26/bbf649eb053aad48892a3ce7848ef803.jpg","text":"TemporaryFile(/tmp/multipartBody2651771590560731082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_57_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f22893ba62611c253d2456d60e3d4b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5599332112120422710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_57_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/26/688b9612c649f7cc0d720135502baa64.jpg","text":"TemporaryFile(/tmp/multipartBody4030801837381832320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_57_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/26/fb81804f75b888d500fab64cc2d2888b.jpg","text":"TemporaryFile(/tmp/multipartBody5298591374139719938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900055173,"filename":"image_23012025_21_57_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331688080","file1":"1331688077","file0":"1331688074","file4":"1331688086","file5":"1331688090","file3":"1331688083"},"map_files_photo_id_array":[{"photo_id":"1331688090","filename":"file5"},{"photo_id":"1331688080","filename":"file2"},{"photo_id":"1331688086","filename":"file4"},{"photo_id":"1331688077","filename":"file1"},{"photo_id":"1331688074","filename":"file0"},{"photo_id":"1331688083","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331688090":["hashtag1","hashtag2"]},{"1331688080":["hashtag1","hashtag2"]},{"1331688083":["hashtag1","hashtag2"]},{"1331688077":["hashtag1","hashtag2"]},{"1331688086":["hashtag1","hashtag2"]},{"1331688074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331688090, 1331688080, 1331688083, 1331688077, 1331688086, 1331688074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97198534011841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:00:43.032797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_35_9310.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_45_10329.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_56_10345.jpg', '/home/pi/Desktop/images/26012025/14/56/image_26012025_14_57_05_9326.jpg', '/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_15_10336.jpg', '/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_26_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_35_9310.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_45_10329.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_56_56_10345.jpg
/home/pi/Desktop/images/26012025/14/56/image_26012025_14_57_05_9326.jpg
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_15_10336.jpg
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_26_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":["1331688250","1331688573","1331688444","1331689076","1331688111","1331688929"],"photo_ids_order":["1331688111","1331688250","1331688444","1331688573","1331688929","1331689076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f0e9c132c52c5abb17952b444e1b64a.jpg","text":"TemporaryFile(/tmp/multipartBody6972595753281295318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_56_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03c717999b08474b666844c340796779.jpg","text":"TemporaryFile(/tmp/multipartBody7655374480876359022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_57_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/489498b43c4c9ff0572221d054ac2c59.jpg","text":"TemporaryFile(/tmp/multipartBody344881442748532706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_56_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/26/768925cfbf8f542be3fdab1ecebf516e.jpg","text":"TemporaryFile(/tmp/multipartBody4446731304125530381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_57_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/26/537daf78bf8049c24122c1e61b5b00fb.jpg","text":"TemporaryFile(/tmp/multipartBody7036911298279133994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_56_35_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3f4fee5d221b268b573e1b0977e1159a.jpg","text":"TemporaryFile(/tmp/multipartBody111080405818466136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900103926,"filename":"image_26012025_14_57_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331688444","file1":"1331688250","file0":"1331688111","file4":"1331688929","file5":"1331689076","file3":"1331688573"},"map_files_photo_id_array":[{"photo_id":"1331689076","filename":"file5"},{"photo_id":"1331688444","filename":"file2"},{"photo_id":"1331688929","filename":"file4"},{"photo_id":"1331688250","filename":"file1"},{"photo_id":"1331688111","filename":"file0"},{"photo_id":"1331688573","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331688250":["hashtag1","hashtag2"]},{"1331688573":["hashtag1","hashtag2"]},{"1331688444":["hashtag1","hashtag2"]},{"1331689076":["hashtag1","hashtag2"]},{"1331688111":["hashtag1","hashtag2"]},{"1331688929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331688250, 1331688573, 1331688444, 1331689076, 1331688111, 1331688929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65092134475708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:01:32.321145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_35_9326.jpg', '/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_45_10340.jpg', '/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_55_9458.jpg', '/home/pi/Desktop/images/26012025/14/57/image_26012025_14_58_05_10331.jpg', '/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_15_10385.jpg', '/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_25_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_35_9326.jpg
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_45_10340.jpg
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_57_55_9458.jpg
/home/pi/Desktop/images/26012025/14/57/image_26012025_14_58_05_10331.jpg
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_15_10385.jpg
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_25_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331689534","1331689083","1331689536","1331689172","1331689085","1331689523"],"photo_ids_order":["1331689083","1331689085","1331689172","1331689523","1331689534","1331689536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a800b309baca8669139f89b82f8cb65.jpg","text":"TemporaryFile(/tmp/multipartBody3140990210702368116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_58_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/26/862cf7bab1ed28ee2443aa850d747a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2488345314774436547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_57_35_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/26/8a1f138c95c78d1f108f787ce59e75a9.jpg","text":"TemporaryFile(/tmp/multipartBody5337540970981576337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_58_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/26/919bdd23921d204fa5e63101a98cb3ca.jpg","text":"TemporaryFile(/tmp/multipartBody4517053634411192091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_57_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/313dd718afd6ea2ef8c45ccfe9801cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6626397099960897814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_57_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/26/d46b5e0fa9fe713077d704f61fd8f1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8834491922052304729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900153218,"filename":"image_26012025_14_58_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331689172","file1":"1331689085","file0":"1331689083","file4":"1331689534","file5":"1331689536","file3":"1331689523"},"map_files_photo_id_array":[{"photo_id":"1331689536","filename":"file5"},{"photo_id":"1331689172","filename":"file2"},{"photo_id":"1331689534","filename":"file4"},{"photo_id":"1331689085","filename":"file1"},{"photo_id":"1331689083","filename":"file0"},{"photo_id":"1331689523","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331689534":["hashtag1","hashtag2"]},{"1331689083":["hashtag1","hashtag2"]},{"1331689536":["hashtag1","hashtag2"]},{"1331689172":["hashtag1","hashtag2"]},{"1331689085":["hashtag1","hashtag2"]},{"1331689523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331689534, 1331689083, 1331689536, 1331689172, 1331689085, 1331689523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.001208543777466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:02:32.430285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_35_10332.jpg', '/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_46_10397.jpg', '/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_55_9359.jpg', '/home/pi/Desktop/images/26012025/14/58/image_26012025_14_59_05_10439.jpg', '/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_15_9333.jpg', '/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_25_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_35_10332.jpg
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_46_10397.jpg
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_58_55_9359.jpg
/home/pi/Desktop/images/26012025/14/58/image_26012025_14_59_05_10439.jpg
/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_15_9333.jpg
/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_25_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331690266","1331690385","1331690118","1331690505","1331690327","1331690188"],"photo_ids_order":["1331690118","1331690188","1331690266","1331690327","1331690385","1331690505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/12cfaf6e20d9aa6fd78a24761371b255.jpg","text":"TemporaryFile(/tmp/multipartBody8893304051261052024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_58_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/26/61c902e868a03dc23fd47690bf080b37.jpg","text":"TemporaryFile(/tmp/multipartBody6082324498332336137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_59_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/26/11f4ea4e6727979dfe3f46061bfbe236.jpg","text":"TemporaryFile(/tmp/multipartBody51458419794159186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_58_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/26/34ac45abe289e0aa33d36204246390b0.jpg","text":"TemporaryFile(/tmp/multipartBody289669207290765769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_59_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/26/432b9934cb5ad19449ef5028ca019ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5962152101136816327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_59_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/26/c2247063a2d030ff199a296ab78922c3.jpg","text":"TemporaryFile(/tmp/multipartBody5449708608404341154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900213333,"filename":"image_26012025_14_58_46_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331690266","file1":"1331690188","file0":"1331690118","file4":"1331690385","file5":"1331690505","file3":"1331690327"},"map_files_photo_id_array":[{"photo_id":"1331690505","filename":"file5"},{"photo_id":"1331690266","filename":"file2"},{"photo_id":"1331690385","filename":"file4"},{"photo_id":"1331690188","filename":"file1"},{"photo_id":"1331690118","filename":"file0"},{"photo_id":"1331690327","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331690266":["hashtag1","hashtag2"]},{"1331690385":["hashtag1","hashtag2"]},{"1331690118":["hashtag1","hashtag2"]},{"1331690505":["hashtag1","hashtag2"]},{"1331690327":["hashtag1","hashtag2"]},{"1331690188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331690266, 1331690385, 1331690118, 1331690505, 1331690327, 1331690188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.063833713531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:03:32.644602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_35_10333.jpg', '/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_45_9355.jpg', '/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_55_10369.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_15_10074.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_25_10360.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_36_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_35_10333.jpg
/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_45_9355.jpg
/home/pi/Desktop/images/26012025/14/59/image_26012025_14_59_55_10369.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_15_10074.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_25_10360.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_36_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691331","1331691279","1331691333","1331691336","1331691324","1331691178"],"photo_ids_order":["1331691178","1331691279","1331691324","1331691331","1331691333","1331691336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10ea23bfea5191b9ef9119a6c2781aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3175392828129360824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_15_01_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe82e2173a5ad0eac8de126ef38a107e.jpg","text":"TemporaryFile(/tmp/multipartBody4258544931266901108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_14_59_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/26/1f00d566acf98e9641b1d6aaf58598d3.jpg","text":"TemporaryFile(/tmp/multipartBody7341896791339325648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_15_01_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/26/488e733db6671f4ea0b29e2853ee5c5f.jpg","text":"TemporaryFile(/tmp/multipartBody258277326714541385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_15_01_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b91f3b19842157ed129b764352126f3.jpg","text":"TemporaryFile(/tmp/multipartBody4048282634010225131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_14_59_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95f29a5d8710338e1fc97729bbf13d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2990660917844945124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900273550,"filename":"image_26012025_14_59_35_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691324","file1":"1331691279","file0":"1331691178","file4":"1331691333","file5":"1331691336","file3":"1331691331"},"map_files_photo_id_array":[{"photo_id":"1331691336","filename":"file5"},{"photo_id":"1331691324","filename":"file2"},{"photo_id":"1331691333","filename":"file4"},{"photo_id":"1331691279","filename":"file1"},{"photo_id":"1331691178","filename":"file0"},{"photo_id":"1331691331","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691331":["hashtag1","hashtag2"]},{"1331691279":["hashtag1","hashtag2"]},{"1331691333":["hashtag1","hashtag2"]},{"1331691336":["hashtag1","hashtag2"]},{"1331691324":["hashtag1","hashtag2"]},{"1331691178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691331, 1331691279, 1331691333, 1331691336, 1331691324, 1331691178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7018768787384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:04:33.035725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_45_9335.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_55_10330.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_02_06_10457.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_15_9348.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_26_10504.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_35_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_45_9335.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_55_10330.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_02_06_10457.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_15_9348.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_26_10504.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_35_9324.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5054104328155518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:04:42.864788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_45_9335.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_55_10330.jpg', '/home/pi/Desktop/images/26012025/15/01/image_26012025_15_02_06_10457.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_15_9348.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_26_10504.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_35_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_45_9335.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_01_55_10330.jpg
/home/pi/Desktop/images/26012025/15/01/image_26012025_15_02_06_10457.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_15_9348.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_26_10504.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_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":["1331691424","1331691418","1331691426","1331691429","1331691383","1331691422"],"photo_ids_order":["1331691383","1331691418","1331691422","1331691424","1331691426","1331691429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b42a0a50bd3871d36e1ce1ededf465a.jpg","text":"TemporaryFile(/tmp/multipartBody6430181260375296680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_02_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/26/13e81081dbba675b125d79a4fc8cc868.jpg","text":"TemporaryFile(/tmp/multipartBody5312833981647572103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_01_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/26/9f960c9e8a154275299f3e24d2eb5e4e.jpg","text":"TemporaryFile(/tmp/multipartBody7293996639054762604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_02_26_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f6f4bdb1f5adcb4c0f4506dff651a55.jpg","text":"TemporaryFile(/tmp/multipartBody8248027552370176208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_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/26/d756e2e4ebd9c834e1a90b50dcf600c2.jpg","text":"TemporaryFile(/tmp/multipartBody2541396277762125755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_01_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/26/949115972a54896d000dd332e2a761d6.jpg","text":"TemporaryFile(/tmp/multipartBody3115257851741211966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900343763,"filename":"image_26012025_15_02_06_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691422","file1":"1331691418","file0":"1331691383","file4":"1331691426","file5":"1331691429","file3":"1331691424"},"map_files_photo_id_array":[{"photo_id":"1331691429","filename":"file5"},{"photo_id":"1331691422","filename":"file2"},{"photo_id":"1331691426","filename":"file4"},{"photo_id":"1331691418","filename":"file1"},{"photo_id":"1331691383","filename":"file0"},{"photo_id":"1331691424","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691424":["hashtag1","hashtag2"]},{"1331691418":["hashtag1","hashtag2"]},{"1331691426":["hashtag1","hashtag2"]},{"1331691429":["hashtag1","hashtag2"]},{"1331691383":["hashtag1","hashtag2"]},{"1331691422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691424, 1331691418, 1331691426, 1331691429, 1331691383, 1331691422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96736121177673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:05:32.261397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_45_10350.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_56_10409.jpg', '/home/pi/Desktop/images/26012025/15/02/image_26012025_15_03_05_9322.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_15_10351.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_26_10414.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_35_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_45_10350.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_02_56_10409.jpg
/home/pi/Desktop/images/26012025/15/02/image_26012025_15_03_05_9322.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_15_10351.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_26_10414.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_35_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691444","1331691455","1331691452","1331691484","1331691463","1331691460"],"photo_ids_order":["1331691444","1331691452","1331691455","1331691460","1331691463","1331691484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/123dcad1044d0a9068d339234b8a14a3.jpg","text":"TemporaryFile(/tmp/multipartBody8188553353733994441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_02_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad7ccde6e4d6481052e17b9f8ca1f40e.jpg","text":"TemporaryFile(/tmp/multipartBody8423403295034419502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_03_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04498e58137c27a5aff6430a74d9f73f.jpg","text":"TemporaryFile(/tmp/multipartBody5334424416478308714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_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/26/e6cfe6ae3a94b905e4c433903c9fd555.jpg","text":"TemporaryFile(/tmp/multipartBody4640262903305900791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_03_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/26/6cd5db13f8f40c775b4295507413ac7d.jpg","text":"TemporaryFile(/tmp/multipartBody657609788896208360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_03_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2bfcc195f35379d755edf00931ee9776.jpg","text":"TemporaryFile(/tmp/multipartBody9136421952084713709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900393152,"filename":"image_26012025_15_03_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691455","file1":"1331691452","file0":"1331691444","file4":"1331691463","file5":"1331691484","file3":"1331691460"},"map_files_photo_id_array":[{"photo_id":"1331691484","filename":"file5"},{"photo_id":"1331691455","filename":"file2"},{"photo_id":"1331691463","filename":"file4"},{"photo_id":"1331691452","filename":"file1"},{"photo_id":"1331691444","filename":"file0"},{"photo_id":"1331691460","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691444":["hashtag1","hashtag2"]},{"1331691455":["hashtag1","hashtag2"]},{"1331691452":["hashtag1","hashtag2"]},{"1331691484":["hashtag1","hashtag2"]},{"1331691463":["hashtag1","hashtag2"]},{"1331691460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691444, 1331691455, 1331691452, 1331691484, 1331691463, 1331691460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.034934520721436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:06:32.452370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_45_10351.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_56_10341.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_04_05_9323.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_15_10324.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_26_10341.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_45_10351.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_56_10341.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_04_05_9323.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_15_10324.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_26_10341.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_35_9327.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4970517158508301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:06:42.496395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_45_10351.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_56_10341.jpg', '/home/pi/Desktop/images/26012025/15/03/image_26012025_15_04_05_9323.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_15_10324.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_26_10341.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_45_10351.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_03_56_10341.jpg
/home/pi/Desktop/images/26012025/15/03/image_26012025_15_04_05_9323.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_15_10324.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_26_10341.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_35_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691616","1331691618","1331691567","1331691612","1331691606","1331691621"],"photo_ids_order":["1331691567","1331691606","1331691612","1331691616","1331691618","1331691621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/267a7023a950732fb06f33f1a2970bee.jpg","text":"TemporaryFile(/tmp/multipartBody8158492782142024598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_04_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/26/8feec3a2d544fa08e6e87820d4b3bfad.jpg","text":"TemporaryFile(/tmp/multipartBody6249013593277042875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_04_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/26/ec9a57d83f0e8e52cdd05cecd7f6186d.jpg","text":"TemporaryFile(/tmp/multipartBody5402756382572706951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_03_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/26/733455682fb3afc4e63f70539153a313.jpg","text":"TemporaryFile(/tmp/multipartBody437990496064376963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_04_05_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/26/f26ab4f1d2319d380143b57576985879.jpg","text":"TemporaryFile(/tmp/multipartBody531299788847839656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_03_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30a92d287c70fb0ec50cca5a3c0caaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2677921783054479356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900463929,"filename":"image_26012025_15_04_35_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691612","file1":"1331691606","file0":"1331691567","file4":"1331691618","file5":"1331691621","file3":"1331691616"},"map_files_photo_id_array":[{"photo_id":"1331691621","filename":"file5"},{"photo_id":"1331691612","filename":"file2"},{"photo_id":"1331691618","filename":"file4"},{"photo_id":"1331691606","filename":"file1"},{"photo_id":"1331691567","filename":"file0"},{"photo_id":"1331691616","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691616":["hashtag1","hashtag2"]},{"1331691618":["hashtag1","hashtag2"]},{"1331691567":["hashtag1","hashtag2"]},{"1331691612":["hashtag1","hashtag2"]},{"1331691606":["hashtag1","hashtag2"]},{"1331691621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691616, 1331691618, 1331691567, 1331691612, 1331691606, 1331691621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.691638231277466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:07:32.765722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_45_10343.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_56_10336.jpg', '/home/pi/Desktop/images/26012025/15/04/image_26012025_15_05_05_9319.jpg', '/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_15_10315.jpg', '/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_26_10425.jpg', '/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_35_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_45_10343.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_04_56_10336.jpg
/home/pi/Desktop/images/26012025/15/04/image_26012025_15_05_05_9319.jpg
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_15_10315.jpg
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_26_10425.jpg
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_35_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691693","1331691651","1331691683","1331691694","1331691688","1331691691"],"photo_ids_order":["1331691651","1331691683","1331691688","1331691691","1331691693","1331691694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95695a03841f937d77bfb54f5eebb0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8888316439914031676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_05_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/26/f975d630b1306cd6f0a6d6346309f38b.jpg","text":"TemporaryFile(/tmp/multipartBody1139672553440190695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_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/26/d76308696f7b49b5ed6548b92b0a93ab.jpg","text":"TemporaryFile(/tmp/multipartBody6234997770627154835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_04_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/26/46cde3816f2c151fc27a4309ee62329e.jpg","text":"TemporaryFile(/tmp/multipartBody7556669131836369863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_05_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e0dc93a78f383ef0fe4389b6b277db74.jpg","text":"TemporaryFile(/tmp/multipartBody4578033499615382484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_05_05_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d63d64759a93d68595431b06426335c.jpg","text":"TemporaryFile(/tmp/multipartBody1654402902160984034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900513668,"filename":"image_26012025_15_05_15_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691688","file1":"1331691683","file0":"1331691651","file4":"1331691693","file5":"1331691694","file3":"1331691691"},"map_files_photo_id_array":[{"photo_id":"1331691694","filename":"file5"},{"photo_id":"1331691688","filename":"file2"},{"photo_id":"1331691693","filename":"file4"},{"photo_id":"1331691683","filename":"file1"},{"photo_id":"1331691651","filename":"file0"},{"photo_id":"1331691691","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691693":["hashtag1","hashtag2"]},{"1331691651":["hashtag1","hashtag2"]},{"1331691683":["hashtag1","hashtag2"]},{"1331691694":["hashtag1","hashtag2"]},{"1331691688":["hashtag1","hashtag2"]},{"1331691691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691693, 1331691651, 1331691683, 1331691694, 1331691688, 1331691691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34448456764221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:08:32.942215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_46_10428.jpg', '/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_55_9336.jpg', '/home/pi/Desktop/images/26012025/15/05/image_26012025_15_06_05_10333.jpg', '/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_16_10419.jpg', '/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_25_9347.jpg', '/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_35_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_46_10428.jpg
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_05_55_9336.jpg
/home/pi/Desktop/images/26012025/15/05/image_26012025_15_06_05_10333.jpg
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_16_10419.jpg
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_25_9347.jpg
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_35_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691721","1331691715","1331691717","1331691711","1331691749","1331691751"],"photo_ids_order":["1331691711","1331691715","1331691717","1331691721","1331691749","1331691751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d64315dfe9283ae7dea6aa107a4d768.jpg","text":"TemporaryFile(/tmp/multipartBody1647886676828449273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_06_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/26/7fa0d726ba3960eef46c4200cff7bae5.jpg","text":"TemporaryFile(/tmp/multipartBody1438509267855077208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_05_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/26/2675966a7b2b486531d975ada2d8e053.jpg","text":"TemporaryFile(/tmp/multipartBody3528082754828637207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_06_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/26/22c674b89885c97e3db56d6e345ed578.jpg","text":"TemporaryFile(/tmp/multipartBody5135601523932938764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_05_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/26/842bdfe5aac560c88b45acfb9bc0bfa6.jpg","text":"TemporaryFile(/tmp/multipartBody2804997726794628414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_06_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39f4d3b4480e6012dd52b59c9e403fbb.jpg","text":"TemporaryFile(/tmp/multipartBody8865377324900708874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900573850,"filename":"image_26012025_15_06_35_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691717","file1":"1331691715","file0":"1331691711","file4":"1331691749","file5":"1331691751","file3":"1331691721"},"map_files_photo_id_array":[{"photo_id":"1331691751","filename":"file5"},{"photo_id":"1331691717","filename":"file2"},{"photo_id":"1331691749","filename":"file4"},{"photo_id":"1331691715","filename":"file1"},{"photo_id":"1331691711","filename":"file0"},{"photo_id":"1331691721","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691721":["hashtag1","hashtag2"]},{"1331691715":["hashtag1","hashtag2"]},{"1331691717":["hashtag1","hashtag2"]},{"1331691711":["hashtag1","hashtag2"]},{"1331691749":["hashtag1","hashtag2"]},{"1331691751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691721, 1331691715, 1331691717, 1331691711, 1331691749, 1331691751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34959387779236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:09:32.286338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_46_10368.jpg', '/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_55_9337.jpg', '/home/pi/Desktop/images/26012025/15/06/image_26012025_15_07_05_10453.jpg', '/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_15_9343.jpg', '/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_25_10339.jpg', '/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_36_10447.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_46_10368.jpg
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_06_55_9337.jpg
/home/pi/Desktop/images/26012025/15/06/image_26012025_15_07_05_10453.jpg
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_15_9343.jpg
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_25_10339.jpg
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_36_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691820","1331691814","1331691817","1331691822","1331691825","1331691845"],"photo_ids_order":["1331691814","1331691817","1331691820","1331691822","1331691825","1331691845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/16e6c125cf07a0105f44ad0f0ff71398.jpg","text":"TemporaryFile(/tmp/multipartBody2530699555731189611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_07_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a78292e2839eab64f6d4bd1134312f4.jpg","text":"TemporaryFile(/tmp/multipartBody1431134397896364262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_06_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/26/de6211a72ed91ad603d8f83b275e8f04.jpg","text":"TemporaryFile(/tmp/multipartBody8624241713584307401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_06_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/26/b48717cc34d401c0b20ec27de4976573.jpg","text":"TemporaryFile(/tmp/multipartBody1822353681927345376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_07_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/26/edb37f61c70bb1276aa4b17308c80a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1146835606308523908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_07_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/26/148f2d185268d50cf160b8b15ba8f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody2002760811392426029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900633178,"filename":"image_26012025_15_07_36_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691820","file1":"1331691817","file0":"1331691814","file4":"1331691825","file5":"1331691845","file3":"1331691822"},"map_files_photo_id_array":[{"photo_id":"1331691845","filename":"file5"},{"photo_id":"1331691820","filename":"file2"},{"photo_id":"1331691825","filename":"file4"},{"photo_id":"1331691817","filename":"file1"},{"photo_id":"1331691814","filename":"file0"},{"photo_id":"1331691822","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691820":["hashtag1","hashtag2"]},{"1331691814":["hashtag1","hashtag2"]},{"1331691817":["hashtag1","hashtag2"]},{"1331691822":["hashtag1","hashtag2"]},{"1331691825":["hashtag1","hashtag2"]},{"1331691845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691820, 1331691814, 1331691817, 1331691822, 1331691825, 1331691845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5935697555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:10:32.553418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_45_9429.jpg', '/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_55_10341.jpg', '/home/pi/Desktop/images/26012025/15/07/image_26012025_15_08_06_10390.jpg', '/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_15_9328.jpg', '/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_26_10433.jpg', '/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_35_9399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_45_9429.jpg
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_07_55_10341.jpg
/home/pi/Desktop/images/26012025/15/07/image_26012025_15_08_06_10390.jpg
/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_15_9328.jpg
/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_26_10433.jpg
/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_35_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331691928","1331691888","1331691929","1331691920","1331691892","1331691925"],"photo_ids_order":["1331691888","1331691892","1331691920","1331691925","1331691928","1331691929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03fd167e67bb01a5c72959428115ff23.jpg","text":"TemporaryFile(/tmp/multipartBody4487315521371680401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_08_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/26/1cbd1d9257f32928790a17a7d2a0081c.jpg","text":"TemporaryFile(/tmp/multipartBody4332361828217405199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_07_45_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/26/f8e46c78c52065f766d4be2df5b51b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1025780211459165233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_08_35_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/797b322ff86092860cde7782fd017070.jpg","text":"TemporaryFile(/tmp/multipartBody7622084623714524489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_08_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/26/694f8bd5ad377a4e1ed2ca011f996642.jpg","text":"TemporaryFile(/tmp/multipartBody6436409617426672961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_07_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/26/67962776bed0278c67ccc2921d6d19b2.jpg","text":"TemporaryFile(/tmp/multipartBody6188349804794251448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900693454,"filename":"image_26012025_15_08_15_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691920","file1":"1331691892","file0":"1331691888","file4":"1331691928","file5":"1331691929","file3":"1331691925"},"map_files_photo_id_array":[{"photo_id":"1331691929","filename":"file5"},{"photo_id":"1331691920","filename":"file2"},{"photo_id":"1331691928","filename":"file4"},{"photo_id":"1331691892","filename":"file1"},{"photo_id":"1331691888","filename":"file0"},{"photo_id":"1331691925","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691928":["hashtag1","hashtag2"]},{"1331691888":["hashtag1","hashtag2"]},{"1331691929":["hashtag1","hashtag2"]},{"1331691920":["hashtag1","hashtag2"]},{"1331691892":["hashtag1","hashtag2"]},{"1331691925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691928, 1331691888, 1331691929, 1331691920, 1331691892, 1331691925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.129541635513306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:11:32.908317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_45_10359.jpg', '/home/pi/Desktop/images/26012025/15/08/image_26012025_15_09_05_9312.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_15_10332.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_26_10334.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_35_9301.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/08/image_26012025_15_08_45_10359.jpg
/home/pi/Desktop/images/26012025/15/08/image_26012025_15_09_05_9312.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_15_10332.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_26_10334.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_35_9301.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_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":["1331691957","1331691959","1331691944","1331691947","1331691941","1331691952"],"photo_ids_order":["1331691941","1331691944","1331691947","1331691952","1331691957","1331691959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/75b3dd3ad72db098b1fafac85c7fea17.jpg","text":"TemporaryFile(/tmp/multipartBody3493081183203513119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_09_35_9301.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/786b06cafa69eda7c6af32dd7e4c977b.jpg","text":"TemporaryFile(/tmp/multipartBody2772668991464747999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_09_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/26/1d72277aa1ca4fadb6f1c7d835343f98.jpg","text":"TemporaryFile(/tmp/multipartBody1042428824759595994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_09_05_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/26/41bdb5fef672370fe7f3baf2f48a4356.jpg","text":"TemporaryFile(/tmp/multipartBody4376427398337616156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_09_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/26/c266cab5df538709ad56327faf99332a.jpg","text":"TemporaryFile(/tmp/multipartBody4427631112388361046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_08_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/26/f351c15dd76026ff0d1b4b2d0b7d6511.jpg","text":"TemporaryFile(/tmp/multipartBody5373715252555296236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900753842,"filename":"image_26012025_15_09_26_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331691947","file1":"1331691944","file0":"1331691941","file4":"1331691957","file5":"1331691959","file3":"1331691952"},"map_files_photo_id_array":[{"photo_id":"1331691959","filename":"file5"},{"photo_id":"1331691947","filename":"file2"},{"photo_id":"1331691957","filename":"file4"},{"photo_id":"1331691944","filename":"file1"},{"photo_id":"1331691941","filename":"file0"},{"photo_id":"1331691952","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331691957":["hashtag1","hashtag2"]},{"1331691959":["hashtag1","hashtag2"]},{"1331691944":["hashtag1","hashtag2"]},{"1331691947":["hashtag1","hashtag2"]},{"1331691941":["hashtag1","hashtag2"]},{"1331691952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331691957, 1331691959, 1331691944, 1331691947, 1331691941, 1331691952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13681697845459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:12:33.072506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_56_10409.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_10_05_9332.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_15_10346.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_26_10411.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_35_9338.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_46_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_56_10409.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_10_05_9332.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_15_10346.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_26_10411.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_35_9338.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_46_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.523892879486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:12:43.117903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_56_10409.jpg', '/home/pi/Desktop/images/26012025/15/09/image_26012025_15_10_05_9332.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_15_10346.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_26_10411.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_35_9338.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_46_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_09_56_10409.jpg
/home/pi/Desktop/images/26012025/15/09/image_26012025_15_10_05_9332.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_15_10346.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_26_10411.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_35_9338.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_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":["1331692005","1331692007","1331692016","1331691997","1331692003","1331692000"],"photo_ids_order":["1331691997","1331692000","1331692003","1331692005","1331692007","1331692016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74970e9823df9b7f5f232e5530fd0ccc.jpg","text":"TemporaryFile(/tmp/multipartBody249847072711640700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_10_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/26/7aadb0a8643892039b3f244318cf049e.jpg","text":"TemporaryFile(/tmp/multipartBody6719659863825419125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_10_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/26/428263f151f1fe33d1aeee996bce65cd.jpg","text":"TemporaryFile(/tmp/multipartBody8094128463962214742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_10_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/26/7373eae80de66b0d0137185dbf491b23.jpg","text":"TemporaryFile(/tmp/multipartBody4371671716812493182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_09_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/26/650b69564258751321fc4347b8e21de1.jpg","text":"TemporaryFile(/tmp/multipartBody7651731125200536017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_10_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/26/5d1130086096177c61912afa24719fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8249843709262195931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900824021,"filename":"image_26012025_15_10_05_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692003","file1":"1331692000","file0":"1331691997","file4":"1331692007","file5":"1331692016","file3":"1331692005"},"map_files_photo_id_array":[{"photo_id":"1331692016","filename":"file5"},{"photo_id":"1331692003","filename":"file2"},{"photo_id":"1331692007","filename":"file4"},{"photo_id":"1331692000","filename":"file1"},{"photo_id":"1331691997","filename":"file0"},{"photo_id":"1331692005","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692005":["hashtag1","hashtag2"]},{"1331692007":["hashtag1","hashtag2"]},{"1331692016":["hashtag1","hashtag2"]},{"1331691997":["hashtag1","hashtag2"]},{"1331692003":["hashtag1","hashtag2"]},{"1331692000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692005, 1331692007, 1331692016, 1331691997, 1331692003, 1331692000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44514584541321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:13:32.362649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_55_9437.jpg', '/home/pi/Desktop/images/26012025/15/10/image_26012025_15_11_05_10326.jpg', '/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_15_9520.jpg', '/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_25_10329.jpg', '/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_36_10565.jpg', '/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_45_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_10_55_9437.jpg
/home/pi/Desktop/images/26012025/15/10/image_26012025_15_11_05_10326.jpg
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_15_9520.jpg
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_25_10329.jpg
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_36_10565.jpg
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_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":["1331692065","1331692061","1331692064","1331692052","1331692048","1331692057"],"photo_ids_order":["1331692048","1331692052","1331692057","1331692061","1331692064","1331692065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4552342a31c146103e109950aadbfa14.jpg","text":"TemporaryFile(/tmp/multipartBody7338306751082756574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_11_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/26/8afe5256aab11a037266b04f7ab811ec.jpg","text":"TemporaryFile(/tmp/multipartBody7244537024560998280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_11_25_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/26/89f55f9b95931a8e2aad78830230068e.jpg","text":"TemporaryFile(/tmp/multipartBody3615240999138418704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_11_36_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/26/83b76a0a1fcb3af47fc9ea01864c5c43.jpg","text":"TemporaryFile(/tmp/multipartBody7591336748439991887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_11_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d26aed96f59fcc4980eb6673f2b40d5d.jpg","text":"TemporaryFile(/tmp/multipartBody5323578004193746636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_10_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c68cfd7e05e2aa10035b93046ea43e60.jpg","text":"TemporaryFile(/tmp/multipartBody6408299133163961578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900873286,"filename":"image_26012025_15_11_15_9520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692057","file1":"1331692052","file0":"1331692048","file4":"1331692064","file5":"1331692065","file3":"1331692061"},"map_files_photo_id_array":[{"photo_id":"1331692065","filename":"file5"},{"photo_id":"1331692057","filename":"file2"},{"photo_id":"1331692064","filename":"file4"},{"photo_id":"1331692052","filename":"file1"},{"photo_id":"1331692048","filename":"file0"},{"photo_id":"1331692061","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692065":["hashtag1","hashtag2"]},{"1331692061":["hashtag1","hashtag2"]},{"1331692064":["hashtag1","hashtag2"]},{"1331692052":["hashtag1","hashtag2"]},{"1331692048":["hashtag1","hashtag2"]},{"1331692057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692065, 1331692061, 1331692064, 1331692052, 1331692048, 1331692057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40828037261963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:14:32.456677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_55_10406.jpg', '/home/pi/Desktop/images/26012025/15/11/image_26012025_15_12_05_9341.jpg', '/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_15_10339.jpg', '/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_26_10463.jpg', '/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_35_9321.jpg', '/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_45_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_11_55_10406.jpg
/home/pi/Desktop/images/26012025/15/11/image_26012025_15_12_05_9341.jpg
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_15_10339.jpg
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_26_10463.jpg
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_35_9321.jpg
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_45_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":["1331692073","1331692082","1331692076","1331692070","1331692078","1331692080"],"photo_ids_order":["1331692070","1331692073","1331692076","1331692078","1331692080","1331692082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32409710738ef87d5a39013bd65815bc.jpg","text":"TemporaryFile(/tmp/multipartBody4043508360315333477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_12_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/26/81536347044b802b580ef6284b34511c.jpg","text":"TemporaryFile(/tmp/multipartBody5990743765817786223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_12_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97137a56d2958f216e58aac97bcf08d2.jpg","text":"TemporaryFile(/tmp/multipartBody5810796551774889263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_12_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/26/5b5f6988b830366ccab2c71017e9f0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3645213815816460691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_11_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/26/e34e806890e225c966ae6d9d73b9dea1.jpg","text":"TemporaryFile(/tmp/multipartBody811618829939678674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_12_26_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/26/fd4cd9599f26a0eb25dd29aff8af7821.jpg","text":"TemporaryFile(/tmp/multipartBody5739791668492052751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900933355,"filename":"image_26012025_15_12_35_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692076","file1":"1331692073","file0":"1331692070","file4":"1331692080","file5":"1331692082","file3":"1331692078"},"map_files_photo_id_array":[{"photo_id":"1331692082","filename":"file5"},{"photo_id":"1331692076","filename":"file2"},{"photo_id":"1331692080","filename":"file4"},{"photo_id":"1331692073","filename":"file1"},{"photo_id":"1331692070","filename":"file0"},{"photo_id":"1331692078","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692073":["hashtag1","hashtag2"]},{"1331692082":["hashtag1","hashtag2"]},{"1331692076":["hashtag1","hashtag2"]},{"1331692070":["hashtag1","hashtag2"]},{"1331692078":["hashtag1","hashtag2"]},{"1331692080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692073, 1331692082, 1331692076, 1331692070, 1331692078, 1331692080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1652193069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:15:32.783453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_56_10426.jpg', '/home/pi/Desktop/images/26012025/15/12/image_26012025_15_13_05_9348.jpg', '/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_15_10336.jpg', '/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_26_10347.jpg', '/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_35_9324.jpg', '/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_46_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_12_56_10426.jpg
/home/pi/Desktop/images/26012025/15/12/image_26012025_15_13_05_9348.jpg
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_15_10336.jpg
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_26_10347.jpg
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_35_9324.jpg
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_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":["1331692107","1331692104","1331692097","1331692121","1331692100","1331692102"],"photo_ids_order":["1331692097","1331692100","1331692102","1331692104","1331692107","1331692121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4cc00f32962a72b9197f5f736a888ce8.jpg","text":"TemporaryFile(/tmp/multipartBody4235796350229280185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_13_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/26/f402ee1d46201b1a87f2edb7c0634e4c.jpg","text":"TemporaryFile(/tmp/multipartBody998188799213851586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_13_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/26/6589394dc1f5eaf1118ebd47569c9d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2784159235121356467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_12_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/26/798f4288bd673fd57b8919223d268906.jpg","text":"TemporaryFile(/tmp/multipartBody6666223524955578143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_13_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/26/81839a008dd43ff25d4219c213001ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2134682938371799219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_13_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/26/8ee3a0d9c8dd0aebbb8a72d646fea5a3.jpg","text":"TemporaryFile(/tmp/multipartBody12819857509774841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737900993708,"filename":"image_26012025_15_13_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692102","file1":"1331692100","file0":"1331692097","file4":"1331692107","file5":"1331692121","file3":"1331692104"},"map_files_photo_id_array":[{"photo_id":"1331692121","filename":"file5"},{"photo_id":"1331692102","filename":"file2"},{"photo_id":"1331692107","filename":"file4"},{"photo_id":"1331692100","filename":"file1"},{"photo_id":"1331692097","filename":"file0"},{"photo_id":"1331692104","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692107":["hashtag1","hashtag2"]},{"1331692104":["hashtag1","hashtag2"]},{"1331692097":["hashtag1","hashtag2"]},{"1331692121":["hashtag1","hashtag2"]},{"1331692100":["hashtag1","hashtag2"]},{"1331692102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692107, 1331692104, 1331692097, 1331692121, 1331692100, 1331692102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77872276306152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:16:32.967449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_55_9366.jpg', '/home/pi/Desktop/images/26012025/15/13/image_26012025_15_14_05_10336.jpg', '/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_16_10435.jpg', '/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_25_9339.jpg', '/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_35_10337.jpg', '/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_13_55_9366.jpg
/home/pi/Desktop/images/26012025/15/13/image_26012025_15_14_05_10336.jpg
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_16_10435.jpg
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_25_9339.jpg
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_35_10337.jpg
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_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":["1331692257","1331692185","1331692253","1331692181","1331692285","1331692246"],"photo_ids_order":["1331692181","1331692185","1331692246","1331692253","1331692257","1331692285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a68d72fc8c2d5fddd7179b61ff898d6.jpg","text":"TemporaryFile(/tmp/multipartBody5517407711142714064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_14_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/26/4fef927ac7c485e0c355bccce534f9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5334080839838211375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_14_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/26/c88fd9b2fdceee62cd8d093dd5bf39c0.jpg","text":"TemporaryFile(/tmp/multipartBody2156964598688172710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_14_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/26/61d4cd3d97b1291e32a118161eb42224.jpg","text":"TemporaryFile(/tmp/multipartBody147094540567226418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_13_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/26/87955fe30b97328c09e05c81652093ae.jpg","text":"TemporaryFile(/tmp/multipartBody6393857311177222718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_14_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/26/453e02b5b4607a9b2e11069ba7bdbfbd.jpg","text":"TemporaryFile(/tmp/multipartBody7717037495398429345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901053891,"filename":"image_26012025_15_14_16_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692246","file1":"1331692185","file0":"1331692181","file4":"1331692257","file5":"1331692285","file3":"1331692253"},"map_files_photo_id_array":[{"photo_id":"1331692285","filename":"file5"},{"photo_id":"1331692246","filename":"file2"},{"photo_id":"1331692257","filename":"file4"},{"photo_id":"1331692185","filename":"file1"},{"photo_id":"1331692181","filename":"file0"},{"photo_id":"1331692253","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692257":["hashtag1","hashtag2"]},{"1331692185":["hashtag1","hashtag2"]},{"1331692253":["hashtag1","hashtag2"]},{"1331692181":["hashtag1","hashtag2"]},{"1331692285":["hashtag1","hashtag2"]},{"1331692246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692257, 1331692185, 1331692253, 1331692181, 1331692285, 1331692246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.612717151641846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:17:32.313230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_55_9345.jpg', '/home/pi/Desktop/images/26012025/15/14/image_26012025_15_15_06_10389.jpg', '/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_15_9325.jpg', '/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_25_10455.jpg', '/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_36_10418.jpg', '/home/pi/Desktop/images/26012025/15/15/image_26012025_15_16_06_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_14_55_9345.jpg
/home/pi/Desktop/images/26012025/15/14/image_26012025_15_15_06_10389.jpg
/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_15_9325.jpg
/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_25_10455.jpg
/home/pi/Desktop/images/26012025/15/15/image_26012025_15_15_36_10418.jpg
/home/pi/Desktop/images/26012025/15/15/image_26012025_15_16_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":["1331692299","1331692311","1331692305","1331692302","1331692292","1331692309"],"photo_ids_order":["1331692292","1331692299","1331692302","1331692305","1331692309","1331692311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad5aa1ae7a0bd4a9fd2c10b434be860f.jpg","text":"TemporaryFile(/tmp/multipartBody1781188029849157679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_15_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/26/672530adcded2236d555ac61291354ae.jpg","text":"TemporaryFile(/tmp/multipartBody6056092180895233547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_16_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/26/1f8fb66aef914c52aecec05a5971b3e1.jpg","text":"TemporaryFile(/tmp/multipartBody7120205417493455562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_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/26/8fd24f3d748c6753210efd0c8523fe2b.jpg","text":"TemporaryFile(/tmp/multipartBody8048581642211080534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_15_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/26/9f89340f0ff7bb6c38a175e381acc96b.jpg","text":"TemporaryFile(/tmp/multipartBody1262665160743909325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_14_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/26/fc8c652ac2908ea86ea4e425eb7e046c.jpg","text":"TemporaryFile(/tmp/multipartBody5467317243046855024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901113213,"filename":"image_26012025_15_15_36_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692302","file1":"1331692299","file0":"1331692292","file4":"1331692309","file5":"1331692311","file3":"1331692305"},"map_files_photo_id_array":[{"photo_id":"1331692311","filename":"file5"},{"photo_id":"1331692302","filename":"file2"},{"photo_id":"1331692309","filename":"file4"},{"photo_id":"1331692299","filename":"file1"},{"photo_id":"1331692292","filename":"file0"},{"photo_id":"1331692305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692299":["hashtag1","hashtag2"]},{"1331692311":["hashtag1","hashtag2"]},{"1331692305":["hashtag1","hashtag2"]},{"1331692302":["hashtag1","hashtag2"]},{"1331692292":["hashtag1","hashtag2"]},{"1331692309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692299, 1331692311, 1331692305, 1331692302, 1331692292, 1331692309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76562523841858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:18:32.485346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_15_9308.jpg', '/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_25_10338.jpg', '/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_36_10450.jpg', '/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_45_9343.jpg', '/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_56_10518.jpg', '/home/pi/Desktop/images/26012025/15/16/image_26012025_15_17_05_9310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_15_9308.jpg
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_25_10338.jpg
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_36_10450.jpg
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_45_9343.jpg
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_16_56_10518.jpg
/home/pi/Desktop/images/26012025/15/16/image_26012025_15_17_05_9310.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331692323","1331692328","1331692337","1331692319","1331692339","1331692333"],"photo_ids_order":["1331692319","1331692323","1331692328","1331692333","1331692337","1331692339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ef4528f2266f7e3fe0c67bca259b65f.jpg","text":"TemporaryFile(/tmp/multipartBody5602366472889267321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_16_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/26/8677df998a42eb0707c002e8245c3106.jpg","text":"TemporaryFile(/tmp/multipartBody6813647388874042080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_16_36_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2fc4b676204ec29bd0c259d051f7db69.jpg","text":"TemporaryFile(/tmp/multipartBody7658462698456064991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_16_56_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/26/374b2b2da2018c427fd7578371e41fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3338099241771512507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_16_15_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/26/8bfa2f73cfd6eca5ebf0ff079c0f14bf.jpg","text":"TemporaryFile(/tmp/multipartBody3575240294997465264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_17_05_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/574f147a369c333cc459bc82dd650621.jpg","text":"TemporaryFile(/tmp/multipartBody5710630360874616129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901173395,"filename":"image_26012025_15_16_45_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692328","file1":"1331692323","file0":"1331692319","file4":"1331692337","file5":"1331692339","file3":"1331692333"},"map_files_photo_id_array":[{"photo_id":"1331692339","filename":"file5"},{"photo_id":"1331692328","filename":"file2"},{"photo_id":"1331692337","filename":"file4"},{"photo_id":"1331692323","filename":"file1"},{"photo_id":"1331692319","filename":"file0"},{"photo_id":"1331692333","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692323":["hashtag1","hashtag2"]},{"1331692328":["hashtag1","hashtag2"]},{"1331692337":["hashtag1","hashtag2"]},{"1331692319":["hashtag1","hashtag2"]},{"1331692339":["hashtag1","hashtag2"]},{"1331692333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692323, 1331692328, 1331692337, 1331692319, 1331692339, 1331692333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5282027721405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:19:32.747671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_15_10417.jpg', '/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_25_9423.jpg', '/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_35_10345.jpg', '/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_46_10561.jpg', '/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_55_9335.jpg', '/home/pi/Desktop/images/26012025/15/17/image_26012025_15_18_05_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_15_10417.jpg
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_25_9423.jpg
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_35_10345.jpg
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_46_10561.jpg
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_17_55_9335.jpg
/home/pi/Desktop/images/26012025/15/17/image_26012025_15_18_05_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":["1331692383","1331692393","1331692396","1331692390","1331692378","1331692387"],"photo_ids_order":["1331692378","1331692383","1331692387","1331692390","1331692393","1331692396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/722f823cac7d7775c29052ef38f3387c.jpg","text":"TemporaryFile(/tmp/multipartBody2263916157596251834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_17_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58fd9a917bb39f71bd571d4ae630099b.jpg","text":"TemporaryFile(/tmp/multipartBody3139085807496154343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_17_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/26/90c69bfcccd120dadb6bde9b42b76494.jpg","text":"TemporaryFile(/tmp/multipartBody2676806957372627503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_18_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b71afa8daaaa163a8362ce67283f7d1.jpg","text":"TemporaryFile(/tmp/multipartBody2198347326978429601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_17_46_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2772017f46b0fe31c56237f430b96db7.jpg","text":"TemporaryFile(/tmp/multipartBody5776140218071796020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_17_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/26/1ebe7dc004c586e0e9bc8b48a6de3b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5687929285883746335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901233645,"filename":"image_26012025_15_17_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331692387","file1":"1331692383","file0":"1331692378","file4":"1331692393","file5":"1331692396","file3":"1331692390"},"map_files_photo_id_array":[{"photo_id":"1331692396","filename":"file5"},{"photo_id":"1331692387","filename":"file2"},{"photo_id":"1331692393","filename":"file4"},{"photo_id":"1331692383","filename":"file1"},{"photo_id":"1331692378","filename":"file0"},{"photo_id":"1331692390","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331692383":["hashtag1","hashtag2"]},{"1331692393":["hashtag1","hashtag2"]},{"1331692396":["hashtag1","hashtag2"]},{"1331692390":["hashtag1","hashtag2"]},{"1331692378":["hashtag1","hashtag2"]},{"1331692387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331692383, 1331692393, 1331692396, 1331692390, 1331692378, 1331692387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.937254667282104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:20:32.859838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_15_9431.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_25_10425.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_36_10390.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_45_9327.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_55_10348.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_19_06_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_15_9431.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_25_10425.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_36_10390.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_45_9327.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_55_10348.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_19_06_10398.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9553794860839844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:20:43.111643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_15_9431.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_25_10425.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_36_10390.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_45_9327.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_55_10348.jpg', '/home/pi/Desktop/images/26012025/15/18/image_26012025_15_19_06_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_15_9431.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_25_10425.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_36_10390.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_45_9327.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_18_55_10348.jpg
/home/pi/Desktop/images/26012025/15/18/image_26012025_15_19_06_10398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331693619","1331693630","1331693627","1331693632","1331693638","1331693623"],"photo_ids_order":["1331693619","1331693623","1331693627","1331693630","1331693632","1331693638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6686f6a760739b1bb58e401398d3a055.jpg","text":"TemporaryFile(/tmp/multipartBody4194337469093814339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_18_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/26/4c7c9ecff6e96e4962a845e3afc11f58.jpg","text":"TemporaryFile(/tmp/multipartBody7030078813944815926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_18_45_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3e7e85157443a943572dbd8a89c48726.jpg","text":"TemporaryFile(/tmp/multipartBody5203976156755383725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_18_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/26/76bcb7e2e1152b79585eb5a0081fb010.jpg","text":"TemporaryFile(/tmp/multipartBody4489023184592690351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_18_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf46297dd2e39d2f0e8b6803bce84526.jpg","text":"TemporaryFile(/tmp/multipartBody7454232380069013292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_19_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/26/b777e2a70809452323dbb93f2eca370b.jpg","text":"TemporaryFile(/tmp/multipartBody1626173588636061030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901304014,"filename":"image_26012025_15_18_25_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331693627","file1":"1331693623","file0":"1331693619","file4":"1331693632","file5":"1331693638","file3":"1331693630"},"map_files_photo_id_array":[{"photo_id":"1331693638","filename":"file5"},{"photo_id":"1331693627","filename":"file2"},{"photo_id":"1331693632","filename":"file4"},{"photo_id":"1331693623","filename":"file1"},{"photo_id":"1331693619","filename":"file0"},{"photo_id":"1331693630","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331693619":["hashtag1","hashtag2"]},{"1331693630":["hashtag1","hashtag2"]},{"1331693627":["hashtag1","hashtag2"]},{"1331693632":["hashtag1","hashtag2"]},{"1331693638":["hashtag1","hashtag2"]},{"1331693623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331693619, 1331693630, 1331693627, 1331693632, 1331693638, 1331693623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92935538291931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:21:33.090968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_15_9352.jpg', '/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_26_10429.jpg', '/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_35_9321.jpg', '/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_45_10388.jpg', '/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_56_10422.jpg', '/home/pi/Desktop/images/26012025/15/19/image_26012025_15_20_05_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_15_9352.jpg
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_26_10429.jpg
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_35_9321.jpg
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_45_10388.jpg
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_19_56_10422.jpg
/home/pi/Desktop/images/26012025/15/19/image_26012025_15_20_05_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":["1331693654","1331693651","1331693884","1331693659","1331693647","1331693662"],"photo_ids_order":["1331693647","1331693651","1331693654","1331693659","1331693662","1331693884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fca2e13d6726a17ed7019073bdbcb0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1714191880963152372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_19_35_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01fcb1ad52bf8202fdb22511a8d90f81.jpg","text":"TemporaryFile(/tmp/multipartBody4700047695337553699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_19_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/26/4b030174f72271292806e8361d3b987e.jpg","text":"TemporaryFile(/tmp/multipartBody7440575093500656118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_20_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/26/dce37f5e9c484652b2bebf5a60ac12fb.jpg","text":"TemporaryFile(/tmp/multipartBody825987723709861760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_19_45_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/17431003c52d06a706f377d97d9e3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody2360543147373524324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_19_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/26/0cda50d1c03dfed17c04db126959a18a.jpg","text":"TemporaryFile(/tmp/multipartBody8510378269700976931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901354015,"filename":"image_26012025_15_19_56_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331693654","file1":"1331693651","file0":"1331693647","file4":"1331693662","file5":"1331693884","file3":"1331693659"},"map_files_photo_id_array":[{"photo_id":"1331693884","filename":"file5"},{"photo_id":"1331693654","filename":"file2"},{"photo_id":"1331693662","filename":"file4"},{"photo_id":"1331693651","filename":"file1"},{"photo_id":"1331693647","filename":"file0"},{"photo_id":"1331693659","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331693654":["hashtag1","hashtag2"]},{"1331693651":["hashtag1","hashtag2"]},{"1331693884":["hashtag1","hashtag2"]},{"1331693659":["hashtag1","hashtag2"]},{"1331693647":["hashtag1","hashtag2"]},{"1331693662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331693654, 1331693651, 1331693884, 1331693659, 1331693647, 1331693662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45394778251648 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:22:32.250673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_15_10331.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_26_10438.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_35_9326.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_46_10401.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_55_9365.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_21_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_15_10331.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_26_10438.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_35_9326.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_46_10401.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_55_9365.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_21_05_10349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5030648708343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:22:42.334332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_15_10331.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_26_10438.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_35_9326.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_46_10401.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_55_9365.jpg', '/home/pi/Desktop/images/26012025/15/20/image_26012025_15_21_05_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_15_10331.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_26_10438.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_35_9326.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_46_10401.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_20_55_9365.jpg
/home/pi/Desktop/images/26012025/15/20/image_26012025_15_21_05_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331694359","1331694250","1331694412","1331694660","1331694777","1331694546"],"photo_ids_order":["1331694250","1331694359","1331694412","1331694546","1331694660","1331694777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/611db19ebd604c3653b38b8ebf0d81ff.jpg","text":"TemporaryFile(/tmp/multipartBody4313339504248413192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_20_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c57cd7efad2132b84f6c9b92d7131729.jpg","text":"TemporaryFile(/tmp/multipartBody114719603981478236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_20_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/26/5d34e922567b2d6c737428243be4bf38.jpg","text":"TemporaryFile(/tmp/multipartBody3845157523876187847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_20_35_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/26/255e682415bfcf7a193981863a5eb87f.jpg","text":"TemporaryFile(/tmp/multipartBody3695780999771145126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_20_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/26/41a3036a9b0a8bdab8a8ba615d5a50a3.jpg","text":"TemporaryFile(/tmp/multipartBody7123905141245111549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_21_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a6c346de47c046075e16728401de1c2.jpg","text":"TemporaryFile(/tmp/multipartBody515573012854891224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901423249,"filename":"image_26012025_15_20_46_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331694412","file1":"1331694359","file0":"1331694250","file4":"1331694660","file5":"1331694777","file3":"1331694546"},"map_files_photo_id_array":[{"photo_id":"1331694777","filename":"file5"},{"photo_id":"1331694412","filename":"file2"},{"photo_id":"1331694660","filename":"file4"},{"photo_id":"1331694359","filename":"file1"},{"photo_id":"1331694250","filename":"file0"},{"photo_id":"1331694546","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331694359":["hashtag1","hashtag2"]},{"1331694250":["hashtag1","hashtag2"]},{"1331694412":["hashtag1","hashtag2"]},{"1331694660":["hashtag1","hashtag2"]},{"1331694777":["hashtag1","hashtag2"]},{"1331694546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331694359, 1331694250, 1331694412, 1331694660, 1331694777, 1331694546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19819927215576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:23:32.480914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_16_10398.jpg', '/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_25_9343.jpg', '/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_35_10340.jpg', '/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_46_10393.jpg', '/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_55_9425.jpg', '/home/pi/Desktop/images/26012025/15/21/image_26012025_15_22_06_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_16_10398.jpg
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_25_9343.jpg
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_35_10340.jpg
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_46_10393.jpg
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_21_55_9425.jpg
/home/pi/Desktop/images/26012025/15/21/image_26012025_15_22_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":["1331695028","1331695276","1331694907","1331695530","1331695407","1331695148"],"photo_ids_order":["1331694907","1331695028","1331695148","1331695276","1331695407","1331695530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f8b6b0804b36cf4b6f22213170ce53f6.jpg","text":"TemporaryFile(/tmp/multipartBody5391429138703472304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_21_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/26/7c007bb33865377d600370d2bf2fa565.jpg","text":"TemporaryFile(/tmp/multipartBody7733048588235571882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_21_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/26/db4b9b1ddc677fdef43e463b57448929.jpg","text":"TemporaryFile(/tmp/multipartBody848326314655151047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_21_16_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2888acdfac23285eb909fc71f13a7892.jpg","text":"TemporaryFile(/tmp/multipartBody6868939293806960882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_22_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/26/131b599d583a6a1b17ea8698999b2ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4456482756003658872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_21_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/26/dbbc029cfedc3371bff0fc1f27980dd2.jpg","text":"TemporaryFile(/tmp/multipartBody415155295337245133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901473398,"filename":"image_26012025_15_21_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331695148","file1":"1331695028","file0":"1331694907","file4":"1331695407","file5":"1331695530","file3":"1331695276"},"map_files_photo_id_array":[{"photo_id":"1331695530","filename":"file5"},{"photo_id":"1331695148","filename":"file2"},{"photo_id":"1331695407","filename":"file4"},{"photo_id":"1331695028","filename":"file1"},{"photo_id":"1331694907","filename":"file0"},{"photo_id":"1331695276","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331695028":["hashtag1","hashtag2"]},{"1331695276":["hashtag1","hashtag2"]},{"1331694907":["hashtag1","hashtag2"]},{"1331695530":["hashtag1","hashtag2"]},{"1331695407":["hashtag1","hashtag2"]},{"1331695148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331695028, 1331695276, 1331694907, 1331695530, 1331695407, 1331695148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.817259073257446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:24:32.748822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_15_9326.jpg', '/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_25_10336.jpg', '/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_36_10331.jpg', '/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_45_9365.jpg', '/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_55_10345.jpg', '/home/pi/Desktop/images/26012025/15/22/image_26012025_15_23_06_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_15_9326.jpg
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_25_10336.jpg
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_36_10331.jpg
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_45_9365.jpg
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_22_55_10345.jpg
/home/pi/Desktop/images/26012025/15/22/image_26012025_15_23_06_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331695808","1331695777","1331695792","1331695794","1331695788","1331695782"],"photo_ids_order":["1331695777","1331695782","1331695788","1331695792","1331695794","1331695808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1126116bf3de370cf7ac71d7878426aa.jpg","text":"TemporaryFile(/tmp/multipartBody803073901924154600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_23_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b97ca06dfb4cc336fa542300fd710d56.jpg","text":"TemporaryFile(/tmp/multipartBody6839825247390963836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_22_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/873143bd193f21fad98ac3a93e327946.jpg","text":"TemporaryFile(/tmp/multipartBody7367235730353230332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_22_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/26/3366b5fe2ad8a2c6d9e225cc7762530f.jpg","text":"TemporaryFile(/tmp/multipartBody7129044911366243276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_22_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/26/8191a223887b467b3e8ddf96c0f3f91e.jpg","text":"TemporaryFile(/tmp/multipartBody670599847768836809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_22_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/baa06918d753fd09171de078a28cfcce.jpg","text":"TemporaryFile(/tmp/multipartBody2218866273459095613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901533740,"filename":"image_26012025_15_22_25_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331695788","file1":"1331695782","file0":"1331695777","file4":"1331695794","file5":"1331695808","file3":"1331695792"},"map_files_photo_id_array":[{"photo_id":"1331695808","filename":"file5"},{"photo_id":"1331695788","filename":"file2"},{"photo_id":"1331695794","filename":"file4"},{"photo_id":"1331695782","filename":"file1"},{"photo_id":"1331695777","filename":"file0"},{"photo_id":"1331695792","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331695808":["hashtag1","hashtag2"]},{"1331695777":["hashtag1","hashtag2"]},{"1331695792":["hashtag1","hashtag2"]},{"1331695794":["hashtag1","hashtag2"]},{"1331695788":["hashtag1","hashtag2"]},{"1331695782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331695808, 1331695777, 1331695792, 1331695794, 1331695788, 1331695782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17403721809387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:25:32.921428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_25_10349.jpg', '/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_36_10419.jpg', '/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_45_9375.jpg', '/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_56_10441.jpg', '/home/pi/Desktop/images/26012025/15/23/image_26012025_15_24_05_9363.jpg', '/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_15_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_25_10349.jpg
/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_36_10419.jpg
/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_45_9375.jpg
/home/pi/Desktop/images/26012025/15/23/image_26012025_15_23_56_10441.jpg
/home/pi/Desktop/images/26012025/15/23/image_26012025_15_24_05_9363.jpg
/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_15_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331696362","1331696592","1331696589","1331696486","1331696573","1331696501"],"photo_ids_order":["1331696362","1331696486","1331696501","1331696573","1331696589","1331696592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ef1e1521d59e18cd20ec297517004b3.jpg","text":"TemporaryFile(/tmp/multipartBody7266697465363750045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_23_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2db5adfe90308fe7b73fefd6df5e83f0.jpg","text":"TemporaryFile(/tmp/multipartBody62806721763726349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_24_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/26/b762763251a6c661b2f5a0332101ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody3370082390488601509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_24_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/26/30fbc0bbc5d6d8f2912ffe96d28bb1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7222970759088374238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_23_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a1e3ba52a54b3b0705d5ed87035653f.jpg","text":"TemporaryFile(/tmp/multipartBody3713623359164704279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_23_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/26/fbfb4ff84587117331bd8dda6cce71d7.jpg","text":"TemporaryFile(/tmp/multipartBody7528719407884897662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901593853,"filename":"image_26012025_15_23_45_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696501","file1":"1331696486","file0":"1331696362","file4":"1331696589","file5":"1331696592","file3":"1331696573"},"map_files_photo_id_array":[{"photo_id":"1331696592","filename":"file5"},{"photo_id":"1331696501","filename":"file2"},{"photo_id":"1331696589","filename":"file4"},{"photo_id":"1331696486","filename":"file1"},{"photo_id":"1331696362","filename":"file0"},{"photo_id":"1331696573","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696362":["hashtag1","hashtag2"]},{"1331696592":["hashtag1","hashtag2"]},{"1331696589":["hashtag1","hashtag2"]},{"1331696486":["hashtag1","hashtag2"]},{"1331696573":["hashtag1","hashtag2"]},{"1331696501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696362, 1331696592, 1331696589, 1331696486, 1331696573, 1331696501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.516845703125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:26:32.288311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_35_9326.jpg', '/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_45_10376.jpg', '/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_56_10431.jpg', '/home/pi/Desktop/images/26012025/15/24/image_26012025_15_25_05_9449.jpg', '/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_16_10386.jpg', '/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_25_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_35_9326.jpg
/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_45_10376.jpg
/home/pi/Desktop/images/26012025/15/24/image_26012025_15_24_56_10431.jpg
/home/pi/Desktop/images/26012025/15/24/image_26012025_15_25_05_9449.jpg
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_16_10386.jpg
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_25_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":["1331696608","1331696623","1331696621","1331696618","1331696612","1331696615"],"photo_ids_order":["1331696608","1331696612","1331696615","1331696618","1331696621","1331696623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0a127731c13348f8bfa79cdceafe32ec.jpg","text":"TemporaryFile(/tmp/multipartBody5783723652380405221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_24_35_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/26/48b340ae8d35f55792abadd04f8de9e0.jpg","text":"TemporaryFile(/tmp/multipartBody139547491694140372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_25_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/26/dfced6ee91f38a2e04ed98b1e1535e04.jpg","text":"TemporaryFile(/tmp/multipartBody7930611379940465721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_25_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/26/fec349d283a43a1fb7382b4e1ca4fac7.jpg","text":"TemporaryFile(/tmp/multipartBody8440311054766408652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_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/26/c380bbd7b1a254202e1a64df687f2e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8577978832724823157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_24_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d9ab5fe8798baabc0b9eed5c059057da.jpg","text":"TemporaryFile(/tmp/multipartBody1918467416797445011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901653194,"filename":"image_26012025_15_24_56_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696615","file1":"1331696612","file0":"1331696608","file4":"1331696621","file5":"1331696623","file3":"1331696618"},"map_files_photo_id_array":[{"photo_id":"1331696623","filename":"file5"},{"photo_id":"1331696615","filename":"file2"},{"photo_id":"1331696621","filename":"file4"},{"photo_id":"1331696612","filename":"file1"},{"photo_id":"1331696608","filename":"file0"},{"photo_id":"1331696618","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696608":["hashtag1","hashtag2"]},{"1331696623":["hashtag1","hashtag2"]},{"1331696621":["hashtag1","hashtag2"]},{"1331696618":["hashtag1","hashtag2"]},{"1331696612":["hashtag1","hashtag2"]},{"1331696615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696608, 1331696623, 1331696621, 1331696618, 1331696612, 1331696615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87955188751221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:27:32.431221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_35_10334.jpg', '/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_46_10433.jpg', '/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_55_9351.jpg', '/home/pi/Desktop/images/26012025/15/25/image_26012025_15_26_05_10339.jpg', '/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_25_9326.jpg', '/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_36_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_35_10334.jpg
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_46_10433.jpg
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_25_55_9351.jpg
/home/pi/Desktop/images/26012025/15/25/image_26012025_15_26_05_10339.jpg
/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_25_9326.jpg
/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_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":["1331696641","1331696638","1331696643","1331696640","1331696642","1331696639"],"photo_ids_order":["1331696638","1331696639","1331696640","1331696641","1331696642","1331696643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6aa89bddf2674d1da37bf5a50e0d5f31.jpg","text":"TemporaryFile(/tmp/multipartBody8419389348523382732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_26_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/26/dc7a24570ae7b5777f61be24f8e2c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody8178911917113007883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_25_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/26/6a8c5a7207d220ae6d328f42949054bf.jpg","text":"TemporaryFile(/tmp/multipartBody3069769518854878421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_26_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/26/b983771aaac9c50aa4e8fb8c328967b6.jpg","text":"TemporaryFile(/tmp/multipartBody8936894887608069406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_25_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/26/79da1d6c2e814f85030e381d36ecc6b5.jpg","text":"TemporaryFile(/tmp/multipartBody9201413535280361089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_26_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/26/58d539dd07482c4d05812ae72c8023f0.jpg","text":"TemporaryFile(/tmp/multipartBody4006701321334589464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901713335,"filename":"image_26012025_15_25_46_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696640","file1":"1331696639","file0":"1331696638","file4":"1331696642","file5":"1331696643","file3":"1331696641"},"map_files_photo_id_array":[{"photo_id":"1331696643","filename":"file5"},{"photo_id":"1331696640","filename":"file2"},{"photo_id":"1331696642","filename":"file4"},{"photo_id":"1331696639","filename":"file1"},{"photo_id":"1331696638","filename":"file0"},{"photo_id":"1331696641","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696641":["hashtag1","hashtag2"]},{"1331696638":["hashtag1","hashtag2"]},{"1331696643":["hashtag1","hashtag2"]},{"1331696640":["hashtag1","hashtag2"]},{"1331696642":["hashtag1","hashtag2"]},{"1331696639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696641, 1331696638, 1331696643, 1331696640, 1331696642, 1331696639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.134533166885376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:28:32.725198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_55_10363.jpg', '/home/pi/Desktop/images/26012025/15/26/image_26012025_15_27_06_10365.jpg', '/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_15_9328.jpg', '/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_25_10347.jpg', '/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_36_10340.jpg', '/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/26/image_26012025_15_26_55_10363.jpg
/home/pi/Desktop/images/26012025/15/26/image_26012025_15_27_06_10365.jpg
/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_15_9328.jpg
/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_25_10347.jpg
/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_36_10340.jpg
/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_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":["1331696725","1331696728","1331696722","1331696730","1331696718","1331696686"],"photo_ids_order":["1331696686","1331696718","1331696722","1331696725","1331696728","1331696730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69fd321963bee7378f8526a8f4a9c7de.jpg","text":"TemporaryFile(/tmp/multipartBody3151851645300993200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_27_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/26/7a4c339647e17a7271ec892143d08a66.jpg","text":"TemporaryFile(/tmp/multipartBody8444765653350563328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_27_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/26/d406a89b99e311d2808a076b181d3d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7952421804001247617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_27_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/26/618e6a8d45355b981ad453e0bdbcd5fe.jpg","text":"TemporaryFile(/tmp/multipartBody2996587458392699291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_27_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/26/8525341497865332f72950f79bf9d098.jpg","text":"TemporaryFile(/tmp/multipartBody1370308152556033442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_27_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/26/5830d7a4fb1681de53500dd53e8e7205.jpg","text":"TemporaryFile(/tmp/multipartBody8120983494036539677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901773617,"filename":"image_26012025_15_26_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696722","file1":"1331696718","file0":"1331696686","file4":"1331696728","file5":"1331696730","file3":"1331696725"},"map_files_photo_id_array":[{"photo_id":"1331696730","filename":"file5"},{"photo_id":"1331696722","filename":"file2"},{"photo_id":"1331696728","filename":"file4"},{"photo_id":"1331696718","filename":"file1"},{"photo_id":"1331696686","filename":"file0"},{"photo_id":"1331696725","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696725":["hashtag1","hashtag2"]},{"1331696728":["hashtag1","hashtag2"]},{"1331696722":["hashtag1","hashtag2"]},{"1331696730":["hashtag1","hashtag2"]},{"1331696718":["hashtag1","hashtag2"]},{"1331696686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696725, 1331696728, 1331696722, 1331696730, 1331696718, 1331696686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26949071884155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:29:32.875926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_55_10344.jpg', '/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_15_9341.jpg', '/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_25_10333.jpg', '/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_36_10423.jpg', '/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_45_9348.jpg', '/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_55_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/27/image_26012025_15_27_55_10344.jpg
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_15_9341.jpg
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_25_10333.jpg
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_36_10423.jpg
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_45_9348.jpg
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_28_55_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":["1331696746","1331696742","1331696745","1331696748","1331696747","1331696741"],"photo_ids_order":["1331696741","1331696742","1331696745","1331696746","1331696747","1331696748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7da797f6c97c64453b78831e644e3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3257826651987603366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_28_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/26/032de23316cfc67e2214682fc95b0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3059474814473197145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_28_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/26/ff49f186df63de7f4d6b7f2ac2fa3883.jpg","text":"TemporaryFile(/tmp/multipartBody1578536668267726180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_28_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/26/feb67080c5b8a5475755be59d22f9be3.jpg","text":"TemporaryFile(/tmp/multipartBody8471679987445838256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_28_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/26/f216e6f1a5d1f94e4c6e6a7fb90bd549.jpg","text":"TemporaryFile(/tmp/multipartBody5430836035243160149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_28_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/26/b8167d18a1b82b1c8ab47bb98e10ab4b.jpg","text":"TemporaryFile(/tmp/multipartBody9041045270186991554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901833783,"filename":"image_26012025_15_27_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696745","file1":"1331696742","file0":"1331696741","file4":"1331696747","file5":"1331696748","file3":"1331696746"},"map_files_photo_id_array":[{"photo_id":"1331696748","filename":"file5"},{"photo_id":"1331696745","filename":"file2"},{"photo_id":"1331696747","filename":"file4"},{"photo_id":"1331696742","filename":"file1"},{"photo_id":"1331696741","filename":"file0"},{"photo_id":"1331696746","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696746":["hashtag1","hashtag2"]},{"1331696742":["hashtag1","hashtag2"]},{"1331696745":["hashtag1","hashtag2"]},{"1331696748":["hashtag1","hashtag2"]},{"1331696747":["hashtag1","hashtag2"]},{"1331696741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696746, 1331696742, 1331696745, 1331696748, 1331696747, 1331696741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39401078224182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:30:33.216955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/28/image_26012025_15_29_05_9422.jpg', '/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_15_10335.jpg', '/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_26_10362.jpg', '/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_35_9378.jpg', '/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_45_10353.jpg', '/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_56_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/28/image_26012025_15_29_05_9422.jpg
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_15_10335.jpg
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_26_10362.jpg
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_35_9378.jpg
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_45_10353.jpg
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_29_56_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":["1331696766","1331696777","1331696780","1331696774","1331696782","1331696770"],"photo_ids_order":["1331696766","1331696770","1331696774","1331696777","1331696780","1331696782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f9d8c120aad59dc3938ef2dca5562dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3448937126176787988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_05_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a2e57eda033d321e4ef8b79c7344f02.jpg","text":"TemporaryFile(/tmp/multipartBody2930464588364480155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_35_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/872b88499a53217c371c7b9cdaeff756.jpg","text":"TemporaryFile(/tmp/multipartBody8354155473013474890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_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/26/bf4e11dc6db5def17d07bf8c2d894a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4177578367000494703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_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/26/9a247b982c5f3af86136379ca5729c49.jpg","text":"TemporaryFile(/tmp/multipartBody5409332883962294927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/772d0a7dfeb10fdd0952abd22479c324.jpg","text":"TemporaryFile(/tmp/multipartBody2847094412645569482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901894159,"filename":"image_26012025_15_29_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696774","file1":"1331696770","file0":"1331696766","file4":"1331696780","file5":"1331696782","file3":"1331696777"},"map_files_photo_id_array":[{"photo_id":"1331696782","filename":"file5"},{"photo_id":"1331696774","filename":"file2"},{"photo_id":"1331696780","filename":"file4"},{"photo_id":"1331696770","filename":"file1"},{"photo_id":"1331696766","filename":"file0"},{"photo_id":"1331696777","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696766":["hashtag1","hashtag2"]},{"1331696777":["hashtag1","hashtag2"]},{"1331696780":["hashtag1","hashtag2"]},{"1331696774":["hashtag1","hashtag2"]},{"1331696782":["hashtag1","hashtag2"]},{"1331696770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696766, 1331696777, 1331696780, 1331696774, 1331696782, 1331696770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26652216911316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:31:32.334186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/29/image_26012025_15_30_05_9424.jpg', '/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_16_10352.jpg', '/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_25_9355.jpg', '/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_35_10349.jpg', '/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_46_10427.jpg', '/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_55_9324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/29/image_26012025_15_30_05_9424.jpg
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_16_10352.jpg
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_25_9355.jpg
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_35_10349.jpg
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_46_10427.jpg
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_30_55_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331696833","1331696836","1331696799","1331697278","1331696802","1331696915"],"photo_ids_order":["1331696799","1331696802","1331696833","1331696836","1331696915","1331697278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69df8ea1af416d774a045945df5c3f25.jpg","text":"TemporaryFile(/tmp/multipartBody6205471213507100243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_25_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e7c8728f2bdefce0ed72f9b57cc547f.jpg","text":"TemporaryFile(/tmp/multipartBody8436059104733721283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_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/26/6ce01c76527fc06739664d7e72b4e49d.jpg","text":"TemporaryFile(/tmp/multipartBody6214606765791462558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_05_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/26/f020617cc494c002a9cb129c7db268bd.jpg","text":"TemporaryFile(/tmp/multipartBody4380492580398038767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1fd6c586be41d6596e2c2a655f747e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4320924773151797861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_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/26/c653c744a4547ab7e994f0f180e87398.jpg","text":"TemporaryFile(/tmp/multipartBody119637057843782355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737901953234,"filename":"image_26012025_15_30_46_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331696833","file1":"1331696802","file0":"1331696799","file4":"1331696915","file5":"1331697278","file3":"1331696836"},"map_files_photo_id_array":[{"photo_id":"1331697278","filename":"file5"},{"photo_id":"1331696833","filename":"file2"},{"photo_id":"1331696915","filename":"file4"},{"photo_id":"1331696802","filename":"file1"},{"photo_id":"1331696799","filename":"file0"},{"photo_id":"1331696836","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331696833":["hashtag1","hashtag2"]},{"1331696836":["hashtag1","hashtag2"]},{"1331696799":["hashtag1","hashtag2"]},{"1331697278":["hashtag1","hashtag2"]},{"1331696802":["hashtag1","hashtag2"]},{"1331696915":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331696833, 1331696836, 1331696799, 1331697278, 1331696802, 1331696915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.944791078567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:32:32.550279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/30/image_26012025_15_31_05_10370.jpg', '/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_16_10375.jpg', '/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_25_9358.jpg', '/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_36_10411.jpg', '/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_45_9396.jpg', '/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_15_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/30/image_26012025_15_31_05_10370.jpg
/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_16_10375.jpg
/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_25_9358.jpg
/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_36_10411.jpg
/home/pi/Desktop/images/26012025/15/31/image_26012025_15_31_45_9396.jpg
/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_15_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331697561","1331697555","1331697558","1331697455","1331697562","1331697529"],"photo_ids_order":["1331697455","1331697529","1331697555","1331697558","1331697561","1331697562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d9e8af1ec906a461b815d4282a4d4c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3468438669697035329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_31_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/26/bba87091cdadd0a898d67c9773917394.jpg","text":"TemporaryFile(/tmp/multipartBody1667850089407549525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_31_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/26/f5e28e3971ef5bff339e6741542df480.jpg","text":"TemporaryFile(/tmp/multipartBody7956381997578724691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_31_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc3a4dab6f35730ea5a5d101cdb3d391.jpg","text":"TemporaryFile(/tmp/multipartBody2410850552083450843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_31_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/26/ae66df9c618bf744bb73676dff2fca53.jpg","text":"TemporaryFile(/tmp/multipartBody2987284635407018238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_32_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/26/f5a0f46baf458ba50dbdcc8c80933c7c.jpg","text":"TemporaryFile(/tmp/multipartBody9003729028637768381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902013483,"filename":"image_26012025_15_31_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697555","file1":"1331697529","file0":"1331697455","file4":"1331697561","file5":"1331697562","file3":"1331697558"},"map_files_photo_id_array":[{"photo_id":"1331697562","filename":"file5"},{"photo_id":"1331697555","filename":"file2"},{"photo_id":"1331697561","filename":"file4"},{"photo_id":"1331697529","filename":"file1"},{"photo_id":"1331697455","filename":"file0"},{"photo_id":"1331697558","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697561":["hashtag1","hashtag2"]},{"1331697555":["hashtag1","hashtag2"]},{"1331697558":["hashtag1","hashtag2"]},{"1331697455":["hashtag1","hashtag2"]},{"1331697562":["hashtag1","hashtag2"]},{"1331697529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697561, 1331697555, 1331697558, 1331697455, 1331697562, 1331697529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23336982727051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:33:32.777466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_25_10361.jpg', '/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_36_10318.jpg', '/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_45_9351.jpg', '/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_25_10354.jpg', '/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_36_10327.jpg', '/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_25_10361.jpg
/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_36_10318.jpg
/home/pi/Desktop/images/26012025/15/32/image_26012025_15_32_45_9351.jpg
/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_25_10354.jpg
/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_36_10327.jpg
/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_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":["1331697601","1331697603","1331697606","1331697587","1331697598","1331697607"],"photo_ids_order":["1331697587","1331697598","1331697601","1331697603","1331697606","1331697607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5fcea4486f9fe1dd9bdcbf891e7ce813.jpg","text":"TemporaryFile(/tmp/multipartBody8123830701985163368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_32_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/26/1a26d029a2ed0791ca38af82ff1bcb59.jpg","text":"TemporaryFile(/tmp/multipartBody6158969508393748748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_33_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/26/1f3e987a1d9dd20e1bf1f7d1bdeaf405.jpg","text":"TemporaryFile(/tmp/multipartBody5477249428912061655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_33_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87ee6958c552a21eb694452687c9170b.jpg","text":"TemporaryFile(/tmp/multipartBody2531376610026075069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_32_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/26/de9e900b4ad989a2fe34404d3a86f091.jpg","text":"TemporaryFile(/tmp/multipartBody8715246260079350455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_32_36_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10525a827a434004a914c8d443dbcfb5.jpg","text":"TemporaryFile(/tmp/multipartBody8392410068000015054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902073718,"filename":"image_26012025_15_33_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697601","file1":"1331697598","file0":"1331697587","file4":"1331697606","file5":"1331697607","file3":"1331697603"},"map_files_photo_id_array":[{"photo_id":"1331697607","filename":"file5"},{"photo_id":"1331697601","filename":"file2"},{"photo_id":"1331697606","filename":"file4"},{"photo_id":"1331697598","filename":"file1"},{"photo_id":"1331697587","filename":"file0"},{"photo_id":"1331697603","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697601":["hashtag1","hashtag2"]},{"1331697603":["hashtag1","hashtag2"]},{"1331697606":["hashtag1","hashtag2"]},{"1331697587":["hashtag1","hashtag2"]},{"1331697598":["hashtag1","hashtag2"]},{"1331697607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697601, 1331697603, 1331697606, 1331697587, 1331697598, 1331697607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70651412010193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:34:33.001449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_56_10433.jpg', '/home/pi/Desktop/images/26012025/15/33/image_26012025_15_34_05_9319.jpg', '/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_15_10379.jpg', '/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_26_10438.jpg', '/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_35_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/33/image_26012025_15_33_56_10433.jpg
/home/pi/Desktop/images/26012025/15/33/image_26012025_15_34_05_9319.jpg
/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_15_10379.jpg
/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_26_10438.jpg
/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_35_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":["1331697633","1331697636","1331697627","1331697623","1331697640"],"photo_ids_order":["1331697623","1331697627","1331697633","1331697636","1331697640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95dc04dc321e9b6de4163c786dbb00e0.jpg","text":"TemporaryFile(/tmp/multipartBody8855511789627073257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902133900,"filename":"image_26012025_15_34_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/26/de062efbde2a42a84923c3c1fc9e694d.jpg","text":"TemporaryFile(/tmp/multipartBody987241068119226367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902133900,"filename":"image_26012025_15_34_26_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3b2df4eafe1ecfce15afcddab3642f2.jpg","text":"TemporaryFile(/tmp/multipartBody7213524507415891500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902133900,"filename":"image_26012025_15_34_05_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69efca3445cd034adc5ebc3b3ddb772d.jpg","text":"TemporaryFile(/tmp/multipartBody3535642068139078649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902133900,"filename":"image_26012025_15_33_56_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7974afc4a91da93cf29f1ac631efac42.jpg","text":"TemporaryFile(/tmp/multipartBody6845436697003703894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902133900,"filename":"image_26012025_15_34_35_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697633","file1":"1331697627","file0":"1331697623","file4":"1331697640","file3":"1331697636"},"map_files_photo_id_array":[{"photo_id":"1331697633","filename":"file2"},{"photo_id":"1331697640","filename":"file4"},{"photo_id":"1331697627","filename":"file1"},{"photo_id":"1331697623","filename":"file0"},{"photo_id":"1331697636","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697633":["hashtag1","hashtag2"]},{"1331697636":["hashtag1","hashtag2"]},{"1331697627":["hashtag1","hashtag2"]},{"1331697623":["hashtag1","hashtag2"]},{"1331697640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697633, 1331697636, 1331697627, 1331697623, 1331697640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.92349100112915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:35:32.345216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_56_10379.jpg', '/home/pi/Desktop/images/26012025/15/34/image_26012025_15_35_05_9320.jpg', '/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_16_10393.jpg', '/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_35_10342.jpg', '/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_46_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/34/image_26012025_15_34_56_10379.jpg
/home/pi/Desktop/images/26012025/15/34/image_26012025_15_35_05_9320.jpg
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_16_10393.jpg
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_35_10342.jpg
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_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":["1331697651","1331697648","1331697657","1331697645","1331697655"],"photo_ids_order":["1331697645","1331697648","1331697651","1331697655","1331697657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ba1b661a7769a4657818a6877e52dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody4688967701012758404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902193240,"filename":"image_26012025_15_35_16_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/074258c0955b92a240958d1228781800.jpg","text":"TemporaryFile(/tmp/multipartBody5153180446861238530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902193240,"filename":"image_26012025_15_35_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb003ee609cb7c8dcfb4ab93c34a748b.jpg","text":"TemporaryFile(/tmp/multipartBody2173094123743964390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902193240,"filename":"image_26012025_15_35_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/26/48661b21c6d87c2d103e8f9771885442.jpg","text":"TemporaryFile(/tmp/multipartBody2801605649238261532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902193240,"filename":"image_26012025_15_34_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/26/8edf8b31aedb65a66180141fb84e7b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2561137213802385874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902193240,"filename":"image_26012025_15_35_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697651","file1":"1331697648","file0":"1331697645","file4":"1331697657","file3":"1331697655"},"map_files_photo_id_array":[{"photo_id":"1331697651","filename":"file2"},{"photo_id":"1331697657","filename":"file4"},{"photo_id":"1331697648","filename":"file1"},{"photo_id":"1331697645","filename":"file0"},{"photo_id":"1331697655","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697651":["hashtag1","hashtag2"]},{"1331697648":["hashtag1","hashtag2"]},{"1331697657":["hashtag1","hashtag2"]},{"1331697645":["hashtag1","hashtag2"]},{"1331697655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697651, 1331697648, 1331697657, 1331697645, 1331697655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.497440814971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:36:32.430757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_55_9332.jpg', '/home/pi/Desktop/images/26012025/15/35/image_26012025_15_36_05_10338.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_16_10346.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_25_9333.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_55_9332.jpg
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_36_05_10338.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_16_10346.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_25_9333.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_35_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.5164694786071777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:36:42.478700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_55_9332.jpg', '/home/pi/Desktop/images/26012025/15/35/image_26012025_15_36_05_10338.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_16_10346.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_25_9333.jpg', '/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_35_55_9332.jpg
/home/pi/Desktop/images/26012025/15/35/image_26012025_15_36_05_10338.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_16_10346.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_25_9333.jpg
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_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":["1331697705","1331697683","1331697692","1331697701","1331697704"],"photo_ids_order":["1331697683","1331697692","1331697701","1331697704","1331697705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e4504fa1959ee5ac680c1e922d6d842.jpg","text":"TemporaryFile(/tmp/multipartBody2110326268838536769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902263650,"filename":"image_26012025_15_36_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/26/18b9c16eacc584330bfa7d3b9d2d677a.jpg","text":"TemporaryFile(/tmp/multipartBody2407243424675707909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902263650,"filename":"image_26012025_15_35_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/26/7a08e2b5a2014af74c6c7dba40c4e68f.jpg","text":"TemporaryFile(/tmp/multipartBody8428154774107730064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902263650,"filename":"image_26012025_15_36_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/26/3f1ebcae353571cc57a75992021a6594.jpg","text":"TemporaryFile(/tmp/multipartBody7777444810750280567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902263650,"filename":"image_26012025_15_36_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/26/36a76bb01be4d9e2e23bb1a193650cfb.jpg","text":"TemporaryFile(/tmp/multipartBody1057877459169699521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902263650,"filename":"image_26012025_15_36_25_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697701","file1":"1331697692","file0":"1331697683","file4":"1331697705","file3":"1331697704"},"map_files_photo_id_array":[{"photo_id":"1331697701","filename":"file2"},{"photo_id":"1331697705","filename":"file4"},{"photo_id":"1331697692","filename":"file1"},{"photo_id":"1331697683","filename":"file0"},{"photo_id":"1331697704","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697705":["hashtag1","hashtag2"]},{"1331697683":["hashtag1","hashtag2"]},{"1331697692":["hashtag1","hashtag2"]},{"1331697701":["hashtag1","hashtag2"]},{"1331697704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697705, 1331697683, 1331697692, 1331697701, 1331697704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 40.56841540336609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:37:32.768402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_55_9386.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_15_9354.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_25_10365.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_36_10330.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/36/image_26012025_15_36_55_9386.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_15_9354.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_25_10365.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_36_10330.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_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":["1331697881","1331697884","1331697799","1331697886","1331697865"],"photo_ids_order":["1331697799","1331697865","1331697881","1331697884","1331697886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5bf5391188803caca8ac1179112833b1.jpg","text":"TemporaryFile(/tmp/multipartBody2182674894603528031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902313677,"filename":"image_26012025_15_37_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/26/06b22e3262716f9beab208490eaae3e7.jpg","text":"TemporaryFile(/tmp/multipartBody9111468496487282535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902313677,"filename":"image_26012025_15_37_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/26/48127c4b3a06c656ef604b34bb96d630.jpg","text":"TemporaryFile(/tmp/multipartBody1545408670739152738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902313677,"filename":"image_26012025_15_36_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/26/8e20300032ae4f79bc7fd8c875688e1e.jpg","text":"TemporaryFile(/tmp/multipartBody595785756289138278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902313677,"filename":"image_26012025_15_37_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/26/4316e1fce90cf55f8dd7c4789ffe43c7.jpg","text":"TemporaryFile(/tmp/multipartBody3632896153010202269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902313677,"filename":"image_26012025_15_37_15_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331697881","file1":"1331697865","file0":"1331697799","file4":"1331697886","file3":"1331697884"},"map_files_photo_id_array":[{"photo_id":"1331697881","filename":"file2"},{"photo_id":"1331697886","filename":"file4"},{"photo_id":"1331697865","filename":"file1"},{"photo_id":"1331697799","filename":"file0"},{"photo_id":"1331697884","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331697881":["hashtag1","hashtag2"]},{"1331697884":["hashtag1","hashtag2"]},{"1331697799":["hashtag1","hashtag2"]},{"1331697886":["hashtag1","hashtag2"]},{"1331697865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331697881, 1331697884, 1331697799, 1331697886, 1331697865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.799469232559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:38:32.835541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_55_10375.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_38_06_10359.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_15_9342.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_25_10438.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_36_10357.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_55_10375.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_38_06_10359.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_15_9342.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_25_10438.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_36_10357.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_45_9344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5428659915924072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:38:42.846138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_55_10375.jpg', '/home/pi/Desktop/images/26012025/15/37/image_26012025_15_38_06_10359.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_15_9342.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_25_10438.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_36_10357.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_37_55_10375.jpg
/home/pi/Desktop/images/26012025/15/37/image_26012025_15_38_06_10359.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_15_9342.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_25_10438.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_36_10357.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_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":["1331698053","1331698070","1331698064","1331698058","1331698072","1331698066"],"photo_ids_order":["1331698053","1331698058","1331698064","1331698066","1331698070","1331698072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22c37ed77133e34d0bf4c00eefa35d18.jpg","text":"TemporaryFile(/tmp/multipartBody1646829773332074190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_37_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/26/520416ab527936d06cd48803c5b0cc62.jpg","text":"TemporaryFile(/tmp/multipartBody1382097644478125830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_38_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/26/4447f91cc5bf04c8b004c78254ec9c66.jpg","text":"TemporaryFile(/tmp/multipartBody7963765109690709754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_38_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/26/121dd37539a2418efa35948a6599429e.jpg","text":"TemporaryFile(/tmp/multipartBody878586582559752113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_38_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/26/6889a3fc04be97e0cf6fc0e1367aef93.jpg","text":"TemporaryFile(/tmp/multipartBody1092245226541847028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_38_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/26/49685b64b9dcb439406f02fb470e9d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2177976258260920273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902383768,"filename":"image_26012025_15_38_25_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698064","file1":"1331698058","file0":"1331698053","file4":"1331698070","file5":"1331698072","file3":"1331698066"},"map_files_photo_id_array":[{"photo_id":"1331698072","filename":"file5"},{"photo_id":"1331698064","filename":"file2"},{"photo_id":"1331698070","filename":"file4"},{"photo_id":"1331698058","filename":"file1"},{"photo_id":"1331698053","filename":"file0"},{"photo_id":"1331698066","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698053":["hashtag1","hashtag2"]},{"1331698070":["hashtag1","hashtag2"]},{"1331698064":["hashtag1","hashtag2"]},{"1331698058":["hashtag1","hashtag2"]},{"1331698072":["hashtag1","hashtag2"]},{"1331698066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698053, 1331698070, 1331698064, 1331698058, 1331698072, 1331698066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.801488637924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:39:33.176340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_56_10477.jpg', '/home/pi/Desktop/images/26012025/15/38/image_26012025_15_39_05_9376.jpg', '/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_15_10412.jpg', '/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_35_9311.jpg', '/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_46_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_38_56_10477.jpg
/home/pi/Desktop/images/26012025/15/38/image_26012025_15_39_05_9376.jpg
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_15_10412.jpg
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_35_9311.jpg
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_46_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331698086","1331698085","1331698087","1331698080","1331698083"],"photo_ids_order":["1331698080","1331698083","1331698085","1331698086","1331698087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86be8ccef46b7136ec05973f44b0f600.jpg","text":"TemporaryFile(/tmp/multipartBody5118884287569390551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902434070,"filename":"image_26012025_15_39_35_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5861467a528c426f0dda40f44620cb13.jpg","text":"TemporaryFile(/tmp/multipartBody5485813160338319981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902434070,"filename":"image_26012025_15_39_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/26/39de1daf1864989a8b60af786a366d69.jpg","text":"TemporaryFile(/tmp/multipartBody1928503362551201670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902434070,"filename":"image_26012025_15_39_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/26/36adaf63fa4681d218e7fafbcf35be14.jpg","text":"TemporaryFile(/tmp/multipartBody1071135832400567841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902434070,"filename":"image_26012025_15_38_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37d1953e66c6e6f117723ee9a705701d.jpg","text":"TemporaryFile(/tmp/multipartBody3990837469346916485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902434070,"filename":"image_26012025_15_39_05_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698085","file1":"1331698083","file0":"1331698080","file4":"1331698087","file3":"1331698086"},"map_files_photo_id_array":[{"photo_id":"1331698085","filename":"file2"},{"photo_id":"1331698087","filename":"file4"},{"photo_id":"1331698083","filename":"file1"},{"photo_id":"1331698080","filename":"file0"},{"photo_id":"1331698086","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698086":["hashtag1","hashtag2"]},{"1331698085":["hashtag1","hashtag2"]},{"1331698087":["hashtag1","hashtag2"]},{"1331698080":["hashtag1","hashtag2"]},{"1331698083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698086, 1331698085, 1331698087, 1331698080, 1331698083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.848305463790894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:40:32.420758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_55_9336.jpg', '/home/pi/Desktop/images/26012025/15/39/image_26012025_15_40_05_10334.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_25_9453.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_35_10323.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_55_9336.jpg
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_40_05_10334.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_25_9453.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_35_10323.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_46_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.513770580291748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:40:42.407307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_55_9336.jpg', '/home/pi/Desktop/images/26012025/15/39/image_26012025_15_40_05_10334.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_25_9453.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_35_10323.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_46_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_39_55_9336.jpg
/home/pi/Desktop/images/26012025/15/39/image_26012025_15_40_05_10334.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_25_9453.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_35_10323.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_46_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":["1331698317","1331698265","1331698294","1331698276","1331698284"],"photo_ids_order":["1331698265","1331698276","1331698284","1331698294","1331698317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5c26fb841af5829f1810b6afef3a1225.jpg","text":"TemporaryFile(/tmp/multipartBody3523975567409715611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902503310,"filename":"image_26012025_15_40_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/26/bf30e99a7db5ec2969241c3920ae7878.jpg","text":"TemporaryFile(/tmp/multipartBody1419859631964855846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902503310,"filename":"image_26012025_15_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/26/618aca8d4ec7b101d068361f95a9d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5057441789718285195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902503310,"filename":"image_26012025_15_40_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/26/9af9b45c53e2cef483e505a6806a924e.jpg","text":"TemporaryFile(/tmp/multipartBody6321870659262191786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902503310,"filename":"image_26012025_15_40_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/26/cc34c48f1785bb65f0045bfc8130460e.jpg","text":"TemporaryFile(/tmp/multipartBody6859090783587797394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902503310,"filename":"image_26012025_15_40_25_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698284","file1":"1331698276","file0":"1331698265","file4":"1331698317","file3":"1331698294"},"map_files_photo_id_array":[{"photo_id":"1331698284","filename":"file2"},{"photo_id":"1331698317","filename":"file4"},{"photo_id":"1331698276","filename":"file1"},{"photo_id":"1331698265","filename":"file0"},{"photo_id":"1331698294","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698317":["hashtag1","hashtag2"]},{"1331698265":["hashtag1","hashtag2"]},{"1331698294":["hashtag1","hashtag2"]},{"1331698276":["hashtag1","hashtag2"]},{"1331698284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698317, 1331698265, 1331698294, 1331698276, 1331698284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.204622983932495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:41:32.617950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_55_9341.jpg', '/home/pi/Desktop/images/26012025/15/40/image_26012025_15_41_06_10440.jpg', '/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_15_9377.jpg', '/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_25_10361.jpg', '/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_36_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_40_55_9341.jpg
/home/pi/Desktop/images/26012025/15/40/image_26012025_15_41_06_10440.jpg
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_15_9377.jpg
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_25_10361.jpg
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_36_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":["1331698341","1331698344","1331698343","1331698342","1331698339"],"photo_ids_order":["1331698339","1331698341","1331698342","1331698343","1331698344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/970f4531f757eae6dbede59ae469c63c.jpg","text":"TemporaryFile(/tmp/multipartBody148924396287313413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902553512,"filename":"image_26012025_15_41_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/26/6f10a10684f85547852ffc6dc8f12b90.jpg","text":"TemporaryFile(/tmp/multipartBody7534416494290232717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902553512,"filename":"image_26012025_15_41_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/26/3ea87e79c507140bd5dc95a5ac9fe7df.jpg","text":"TemporaryFile(/tmp/multipartBody3847403094511871507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902553512,"filename":"image_26012025_15_41_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83d1f14c0a2fd957ec7d655c3df1ed70.jpg","text":"TemporaryFile(/tmp/multipartBody1285061308398105086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902553512,"filename":"image_26012025_15_41_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/26/36f2568d58fe1a185b669d028fa9a3eb.jpg","text":"TemporaryFile(/tmp/multipartBody8617270005570165384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902553512,"filename":"image_26012025_15_40_55_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698342","file1":"1331698341","file0":"1331698339","file4":"1331698344","file3":"1331698343"},"map_files_photo_id_array":[{"photo_id":"1331698342","filename":"file2"},{"photo_id":"1331698344","filename":"file4"},{"photo_id":"1331698341","filename":"file1"},{"photo_id":"1331698339","filename":"file0"},{"photo_id":"1331698343","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698341":["hashtag1","hashtag2"]},{"1331698344":["hashtag1","hashtag2"]},{"1331698343":["hashtag1","hashtag2"]},{"1331698342":["hashtag1","hashtag2"]},{"1331698339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698341, 1331698344, 1331698343, 1331698342, 1331698339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.18814039230347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:42:32.969729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_56_10426.jpg', '/home/pi/Desktop/images/26012025/15/41/image_26012025_15_42_05_9327.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_15_10406.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_26_10355.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_35_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_56_10426.jpg
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_42_05_9327.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_15_10406.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_26_10355.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_35_9332.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5319843292236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:42:42.922069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_56_10426.jpg', '/home/pi/Desktop/images/26012025/15/41/image_26012025_15_42_05_9327.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_15_10406.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_26_10355.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_35_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_41_56_10426.jpg
/home/pi/Desktop/images/26012025/15/41/image_26012025_15_42_05_9327.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_15_10406.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_26_10355.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_35_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":["1331698382","1331698385","1331698380","1331698374","1331698368"],"photo_ids_order":["1331698368","1331698374","1331698380","1331698382","1331698385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/312a306cd81a6944a91d4c4623320dba.jpg","text":"TemporaryFile(/tmp/multipartBody8211994248956507517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902623815,"filename":"image_26012025_15_42_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/26/fd44f036bcbd642beb2e57cb58296174.jpg","text":"TemporaryFile(/tmp/multipartBody6178659433053207128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902623815,"filename":"image_26012025_15_42_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/26/a5ea22314e1be72a596f4f404bc0a598.jpg","text":"TemporaryFile(/tmp/multipartBody2342287342702287713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902623815,"filename":"image_26012025_15_42_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/26/f954e99276438a15f8a491358d501648.jpg","text":"TemporaryFile(/tmp/multipartBody1770343785167982107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902623815,"filename":"image_26012025_15_42_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/26/9ae9fa52678c2d186665f15f2a00bc37.jpg","text":"TemporaryFile(/tmp/multipartBody3834141915114369804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902623815,"filename":"image_26012025_15_41_56_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698380","file1":"1331698374","file0":"1331698368","file4":"1331698385","file3":"1331698382"},"map_files_photo_id_array":[{"photo_id":"1331698380","filename":"file2"},{"photo_id":"1331698385","filename":"file4"},{"photo_id":"1331698374","filename":"file1"},{"photo_id":"1331698368","filename":"file0"},{"photo_id":"1331698382","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698382":["hashtag1","hashtag2"]},{"1331698385":["hashtag1","hashtag2"]},{"1331698380":["hashtag1","hashtag2"]},{"1331698374":["hashtag1","hashtag2"]},{"1331698368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698382, 1331698385, 1331698380, 1331698374, 1331698368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.34745526313782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:43:32.267733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_56_10417.jpg', '/home/pi/Desktop/images/26012025/15/42/image_26012025_15_43_05_9324.jpg', '/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_15_10330.jpg', '/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_26_10351.jpg', '/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_35_9581.jpg', '/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_46_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_42_56_10417.jpg
/home/pi/Desktop/images/26012025/15/42/image_26012025_15_43_05_9324.jpg
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_15_10330.jpg
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_26_10351.jpg
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_35_9581.jpg
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_46_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331698455","1331698492","1331698486","1331698491","1331698488","1331698452"],"photo_ids_order":["1331698452","1331698455","1331698486","1331698488","1331698491","1331698492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eeb101b0f0572a7294674e352b3d3550.jpg","text":"TemporaryFile(/tmp/multipartBody8040006540002895234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_43_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a2433109b14f4dcf87e2ff81da5149f.jpg","text":"TemporaryFile(/tmp/multipartBody7542255989948705456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_43_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d6f44252935d18e33bbccb9f89cc476.jpg","text":"TemporaryFile(/tmp/multipartBody7249103457222329353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_43_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/26/a8c16e26bf49509501b007dac365b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody8628035543307226188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_43_35_9581.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ffe23332930f17298c23771e6f063cff.jpg","text":"TemporaryFile(/tmp/multipartBody7294375659620589030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_43_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/26/280fb5c2bb69b4abafdcbee3adb8cec6.jpg","text":"TemporaryFile(/tmp/multipartBody9011423292659097920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902673171,"filename":"image_26012025_15_42_56_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698486","file1":"1331698455","file0":"1331698452","file4":"1331698491","file5":"1331698492","file3":"1331698488"},"map_files_photo_id_array":[{"photo_id":"1331698492","filename":"file5"},{"photo_id":"1331698486","filename":"file2"},{"photo_id":"1331698491","filename":"file4"},{"photo_id":"1331698455","filename":"file1"},{"photo_id":"1331698452","filename":"file0"},{"photo_id":"1331698488","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698455":["hashtag1","hashtag2"]},{"1331698492":["hashtag1","hashtag2"]},{"1331698486":["hashtag1","hashtag2"]},{"1331698491":["hashtag1","hashtag2"]},{"1331698488":["hashtag1","hashtag2"]},{"1331698452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698455, 1331698492, 1331698486, 1331698491, 1331698488, 1331698452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26750206947327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:44:32.559663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_55_9463.jpg', '/home/pi/Desktop/images/26012025/15/43/image_26012025_15_44_06_10378.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_15_9330.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_25_10459.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_36_10364.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_45_9385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_43_55_9463.jpg
/home/pi/Desktop/images/26012025/15/43/image_26012025_15_44_06_10378.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_15_9330.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_25_10459.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_36_10364.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_45_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331698521","1331698518","1331698511","1331698514","1331698505","1331698507"],"photo_ids_order":["1331698505","1331698507","1331698511","1331698514","1331698518","1331698521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3bf72cc4ca358bc7a5eaa29c507791e0.jpg","text":"TemporaryFile(/tmp/multipartBody213636301564694906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_44_45_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/26/e7986cbc3104e0fd6b811a6b7ce81143.jpg","text":"TemporaryFile(/tmp/multipartBody857501590282429758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_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/26/438806c9142b40d97d4e991ad3cb12d9.jpg","text":"TemporaryFile(/tmp/multipartBody8088745746769456867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_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/26/5fe420cc5b5547a371748ee9bc4b761f.jpg","text":"TemporaryFile(/tmp/multipartBody4431860797611686360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_44_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/26/c8035ad25be4890257e1701b4320f806.jpg","text":"TemporaryFile(/tmp/multipartBody1556627064321148791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_43_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/26/2c1fb01e158a07632da76aeb8587e7a2.jpg","text":"TemporaryFile(/tmp/multipartBody818982285901700081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902733482,"filename":"image_26012025_15_44_06_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698511","file1":"1331698507","file0":"1331698505","file4":"1331698518","file5":"1331698521","file3":"1331698514"},"map_files_photo_id_array":[{"photo_id":"1331698521","filename":"file5"},{"photo_id":"1331698511","filename":"file2"},{"photo_id":"1331698518","filename":"file4"},{"photo_id":"1331698507","filename":"file1"},{"photo_id":"1331698505","filename":"file0"},{"photo_id":"1331698514","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698521":["hashtag1","hashtag2"]},{"1331698518":["hashtag1","hashtag2"]},{"1331698511":["hashtag1","hashtag2"]},{"1331698514":["hashtag1","hashtag2"]},{"1331698505":["hashtag1","hashtag2"]},{"1331698507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698521, 1331698518, 1331698511, 1331698514, 1331698505, 1331698507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.525166511535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:45:32.738376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_55_10445.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_45_05_9334.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_15_10336.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_26_10461.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_35_9316.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_55_10445.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_45_05_9334.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_15_10336.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_26_10461.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_35_9316.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_45_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.5136959552764893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 15:45:42.694017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_55_10445.jpg', '/home/pi/Desktop/images/26012025/15/44/image_26012025_15_45_05_9334.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_15_10336.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_26_10461.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_35_9316.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_44_55_10445.jpg
/home/pi/Desktop/images/26012025/15/44/image_26012025_15_45_05_9334.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_15_10336.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_26_10461.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_35_9316.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_45_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":["1331698542","1331698538","1331698535","1331698540","1331698534","1331698545"],"photo_ids_order":["1331698534","1331698535","1331698538","1331698540","1331698542","1331698545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2260acfa9fbdf5263c0b464e0ef46859.jpg","text":"TemporaryFile(/tmp/multipartBody3616422139933301587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_45_35_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69fd6ee0af0040d51bfee82e1128b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4240537237252978637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_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/26/3393c63888081ab667fbef645e59232b.jpg","text":"TemporaryFile(/tmp/multipartBody4950900363879092004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_45_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/26/d3427864ed975c2d35922365d4412390.jpg","text":"TemporaryFile(/tmp/multipartBody2532750580089870042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_45_26_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/26/e561d44dc6a0024e72f815c2e6f538a7.jpg","text":"TemporaryFile(/tmp/multipartBody1810195542648681375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_44_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/26/db76a7883227bf68e1d33c5e0062d754.jpg","text":"TemporaryFile(/tmp/multipartBody6253336246134689541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902803612,"filename":"image_26012025_15_45_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698538","file1":"1331698535","file0":"1331698534","file4":"1331698542","file5":"1331698545","file3":"1331698540"},"map_files_photo_id_array":[{"photo_id":"1331698545","filename":"file5"},{"photo_id":"1331698538","filename":"file2"},{"photo_id":"1331698542","filename":"file4"},{"photo_id":"1331698535","filename":"file1"},{"photo_id":"1331698534","filename":"file0"},{"photo_id":"1331698540","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698542":["hashtag1","hashtag2"]},{"1331698538":["hashtag1","hashtag2"]},{"1331698535":["hashtag1","hashtag2"]},{"1331698540":["hashtag1","hashtag2"]},{"1331698534":["hashtag1","hashtag2"]},{"1331698545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698542, 1331698538, 1331698535, 1331698540, 1331698534, 1331698545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68592810630798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:46:33.055221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_56_10419.jpg', '/home/pi/Desktop/images/26012025/15/45/image_26012025_15_46_05_9327.jpg', '/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_15_10336.jpg', '/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_26_10410.jpg', '/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_35_9328.jpg', '/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_46_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_45_56_10419.jpg
/home/pi/Desktop/images/26012025/15/45/image_26012025_15_46_05_9327.jpg
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_15_10336.jpg
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_26_10410.jpg
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_35_9328.jpg
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_46_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":["1331698614","1331698623","1331698625","1331698619","1331698610","1331698607"],"photo_ids_order":["1331698607","1331698610","1331698614","1331698619","1331698623","1331698625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6393340dabaed9e005d9900d37562039.jpg","text":"TemporaryFile(/tmp/multipartBody6082899440797213400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_46_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/26/7e740d221e063d070a433c91b2aef702.jpg","text":"TemporaryFile(/tmp/multipartBody4098520009344843393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_46_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9e6631099b48ef0b8768575f019a497.jpg","text":"TemporaryFile(/tmp/multipartBody61186200522903994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_46_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/26/d84e40782a04c8b6aefa1e5ba15c2f47.jpg","text":"TemporaryFile(/tmp/multipartBody2635457752981575347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_46_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/26/1c247dbf393ee7a06616de596c28b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5655519185043015863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_46_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/26/998be7c209abc7c5dba76322a9bea60e.jpg","text":"TemporaryFile(/tmp/multipartBody4283457210997118061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902853990,"filename":"image_26012025_15_45_56_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331698614","file1":"1331698610","file0":"1331698607","file4":"1331698623","file5":"1331698625","file3":"1331698619"},"map_files_photo_id_array":[{"photo_id":"1331698625","filename":"file5"},{"photo_id":"1331698614","filename":"file2"},{"photo_id":"1331698623","filename":"file4"},{"photo_id":"1331698610","filename":"file1"},{"photo_id":"1331698607","filename":"file0"},{"photo_id":"1331698619","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331698614":["hashtag1","hashtag2"]},{"1331698623":["hashtag1","hashtag2"]},{"1331698625":["hashtag1","hashtag2"]},{"1331698619":["hashtag1","hashtag2"]},{"1331698610":["hashtag1","hashtag2"]},{"1331698607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331698614, 1331698623, 1331698625, 1331698619, 1331698610, 1331698607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64380097389221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:47:33.302921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_55_9354.jpg', '/home/pi/Desktop/images/26012025/15/46/image_26012025_15_47_05_10383.jpg', '/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_16_10426.jpg', '/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_25_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_46_55_9354.jpg
/home/pi/Desktop/images/26012025/15/46/image_26012025_15_47_05_10383.jpg
/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_16_10426.jpg
/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_25_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":["1331699189","1331698848","1331699254","1331699245"],"photo_ids_order":["1331698848","1331699189","1331699245","1331699254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a54ab2de1b278a886ba00b2275fc92d8.jpg","text":"TemporaryFile(/tmp/multipartBody7944853761230481601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902914193,"filename":"image_26012025_15_47_05_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d22962f7f012913156dab7e420d4488.jpg","text":"TemporaryFile(/tmp/multipartBody3774288053535023208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902914193,"filename":"image_26012025_15_46_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/26/0679b6251614cfcc672cab9e4bee2b45.jpg","text":"TemporaryFile(/tmp/multipartBody8265033969771679981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902914193,"filename":"image_26012025_15_47_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/26/1400670240c3221cad264286024de11e.jpg","text":"TemporaryFile(/tmp/multipartBody8848108541376698653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902914193,"filename":"image_26012025_15_47_16_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331699245","file1":"1331699189","file0":"1331698848","file3":"1331699254"},"map_files_photo_id_array":[{"photo_id":"1331699245","filename":"file2"},{"photo_id":"1331699189","filename":"file1"},{"photo_id":"1331698848","filename":"file0"},{"photo_id":"1331699254","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331699189":["hashtag1","hashtag2"]},{"1331698848":["hashtag1","hashtag2"]},{"1331699254":["hashtag1","hashtag2"]},{"1331699245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331699189, 1331698848, 1331699254, 1331699245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.37782645225525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:48:32.375356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_55_9402.jpg', '/home/pi/Desktop/images/26012025/15/47/image_26012025_15_48_06_10377.jpg', '/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_15_9320.jpg', '/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_25_10361.jpg', '/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_36_10405.jpg', '/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_45_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/47/image_26012025_15_47_55_9402.jpg
/home/pi/Desktop/images/26012025/15/47/image_26012025_15_48_06_10377.jpg
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_15_9320.jpg
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_25_10361.jpg
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_36_10405.jpg
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_45_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":["1331699294","1331699683","1331699548","1331699641","1331699469","1331699613"],"photo_ids_order":["1331699294","1331699469","1331699548","1331699613","1331699641","1331699683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8eeebc77dacf918eb9a00b4c0cf9214f.jpg","text":"TemporaryFile(/tmp/multipartBody7166371853781517968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_47_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/26/533cf6797604a27a34151a3346cb7244.jpg","text":"TemporaryFile(/tmp/multipartBody4499958526521304052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_48_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/26/bb7138815b8953d2028f5b1cec3b1445.jpg","text":"TemporaryFile(/tmp/multipartBody8482109915308633479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_48_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/26/f0772948fffc78814f96bf9c9d5d9e31.jpg","text":"TemporaryFile(/tmp/multipartBody143083405211900977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_48_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e3e3416c257634751cd92239566904e.jpg","text":"TemporaryFile(/tmp/multipartBody1645246947783764949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_48_06_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a81bb6078bd2c2118d7167e011677fa.jpg","text":"TemporaryFile(/tmp/multipartBody3413515467345359390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737902973280,"filename":"image_26012025_15_48_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331699548","file1":"1331699469","file0":"1331699294","file4":"1331699641","file5":"1331699683","file3":"1331699613"},"map_files_photo_id_array":[{"photo_id":"1331699683","filename":"file5"},{"photo_id":"1331699548","filename":"file2"},{"photo_id":"1331699641","filename":"file4"},{"photo_id":"1331699469","filename":"file1"},{"photo_id":"1331699294","filename":"file0"},{"photo_id":"1331699613","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331699294":["hashtag1","hashtag2"]},{"1331699683":["hashtag1","hashtag2"]},{"1331699548":["hashtag1","hashtag2"]},{"1331699641":["hashtag1","hashtag2"]},{"1331699469":["hashtag1","hashtag2"]},{"1331699613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331699294, 1331699683, 1331699548, 1331699641, 1331699469, 1331699613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97659158706665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:49:32.608051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_55_10363.jpg', '/home/pi/Desktop/images/26012025/15/48/image_26012025_15_49_06_10344.jpg', '/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_15_9320.jpg', '/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_26_10468.jpg', '/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_35_9374.jpg', '/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_48_55_10363.jpg
/home/pi/Desktop/images/26012025/15/48/image_26012025_15_49_06_10344.jpg
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_15_9320.jpg
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_26_10468.jpg
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_35_9374.jpg
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_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":["1331699807","1331699812","1331699809","1331699800","1331699803","1331699811"],"photo_ids_order":["1331699800","1331699803","1331699807","1331699809","1331699811","1331699812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8054e6378165b977d12e962f0665ad34.jpg","text":"TemporaryFile(/tmp/multipartBody2135555750648307301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_49_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/26/720082ccf5d59133641ec2d5a658c95f.jpg","text":"TemporaryFile(/tmp/multipartBody8354708684921280359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_49_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/26/8d32f29ce4362705a697886f01e8dd75.jpg","text":"TemporaryFile(/tmp/multipartBody3186107339495129676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_49_26_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/26/445879b5e39709053a5bf5e8dec9ba10.jpg","text":"TemporaryFile(/tmp/multipartBody7628083009408984619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_48_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/26/762629e2d6e60dd07b76fb56a4fe8c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6561448105174623028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_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/26/3610be512320306844eb9612c2f9d337.jpg","text":"TemporaryFile(/tmp/multipartBody3122218865299291623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903033515,"filename":"image_26012025_15_49_35_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331699807","file1":"1331699803","file0":"1331699800","file4":"1331699811","file5":"1331699812","file3":"1331699809"},"map_files_photo_id_array":[{"photo_id":"1331699812","filename":"file5"},{"photo_id":"1331699807","filename":"file2"},{"photo_id":"1331699811","filename":"file4"},{"photo_id":"1331699803","filename":"file1"},{"photo_id":"1331699800","filename":"file0"},{"photo_id":"1331699809","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331699807":["hashtag1","hashtag2"]},{"1331699812":["hashtag1","hashtag2"]},{"1331699809":["hashtag1","hashtag2"]},{"1331699800":["hashtag1","hashtag2"]},{"1331699803":["hashtag1","hashtag2"]},{"1331699811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331699807, 1331699812, 1331699809, 1331699800, 1331699803, 1331699811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38217830657959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:50:32.941477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_56_10509.jpg', '/home/pi/Desktop/images/26012025/15/49/image_26012025_15_50_05_9409.jpg', '/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_16_10430.jpg', '/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_25_9330.jpg', '/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_35_10339.jpg', '/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_46_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_49_56_10509.jpg
/home/pi/Desktop/images/26012025/15/49/image_26012025_15_50_05_9409.jpg
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_16_10430.jpg
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_25_9330.jpg
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_35_10339.jpg
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_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":["1331699843","1331699846","1331699857","1331699853","1331699856","1331699850"],"photo_ids_order":["1331699843","1331699846","1331699850","1331699853","1331699856","1331699857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b35d794d59db4816bab1d9d6a00399ca.jpg","text":"TemporaryFile(/tmp/multipartBody4332083520033797649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_49_56_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de12b12c4738555a4e772ded0ccdfe82.jpg","text":"TemporaryFile(/tmp/multipartBody4262477135665259100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_50_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/26/9deb146c42e821be4da01bfd7a45af3c.jpg","text":"TemporaryFile(/tmp/multipartBody7025870621306041012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_50_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/26/f22672689348aa4fc50da90e38046c64.jpg","text":"TemporaryFile(/tmp/multipartBody7487632032844732144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_50_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/26/614fbcbf20b57cffa114591654d5b40b.jpg","text":"TemporaryFile(/tmp/multipartBody6449132398690868988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_50_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/26/bb1383dc68390044f1ad2601ecded653.jpg","text":"TemporaryFile(/tmp/multipartBody6167903968604748644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903093862,"filename":"image_26012025_15_50_16_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331699850","file1":"1331699846","file0":"1331699843","file4":"1331699856","file5":"1331699857","file3":"1331699853"},"map_files_photo_id_array":[{"photo_id":"1331699857","filename":"file5"},{"photo_id":"1331699850","filename":"file2"},{"photo_id":"1331699856","filename":"file4"},{"photo_id":"1331699846","filename":"file1"},{"photo_id":"1331699843","filename":"file0"},{"photo_id":"1331699853","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331699843":["hashtag1","hashtag2"]},{"1331699846":["hashtag1","hashtag2"]},{"1331699857":["hashtag1","hashtag2"]},{"1331699853":["hashtag1","hashtag2"]},{"1331699856":["hashtag1","hashtag2"]},{"1331699850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331699843, 1331699846, 1331699857, 1331699853, 1331699856, 1331699850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01120901107788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:51:33.261218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_55_9330.jpg', '/home/pi/Desktop/images/26012025/15/50/image_26012025_15_51_05_10472.jpg', '/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_15_9448.jpg', '/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_25_10356.jpg', '/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_36_10334.jpg', '/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_45_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_50_55_9330.jpg
/home/pi/Desktop/images/26012025/15/50/image_26012025_15_51_05_10472.jpg
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_15_9448.jpg
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_25_10356.jpg
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_36_10334.jpg
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_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":["1331699887","1331699884","1331699886","1331699880","1331699874","1331699877"],"photo_ids_order":["1331699874","1331699877","1331699880","1331699884","1331699886","1331699887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7738c5d257f8c02614b02ee357def9c8.jpg","text":"TemporaryFile(/tmp/multipartBody524664060086740533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_51_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/26/42551148819cd72ebd6db59de4494704.jpg","text":"TemporaryFile(/tmp/multipartBody430487360826269491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_51_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/26/3a1ffd4325eb359955204e4bcf611611.jpg","text":"TemporaryFile(/tmp/multipartBody4116755148082052522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_51_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/26/39c26f0dcac208dc65ba2674d9e44d00.jpg","text":"TemporaryFile(/tmp/multipartBody6833390579039544411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_51_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/26/eaf055a650aafc4a80a04f63ea93c562.jpg","text":"TemporaryFile(/tmp/multipartBody6299173213363394096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_50_55_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d27e6c7d64ea834826955dfa0169a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody762006712559789423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903154186,"filename":"image_26012025_15_51_05_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331699880","file1":"1331699877","file0":"1331699874","file4":"1331699886","file5":"1331699887","file3":"1331699884"},"map_files_photo_id_array":[{"photo_id":"1331699887","filename":"file5"},{"photo_id":"1331699880","filename":"file2"},{"photo_id":"1331699886","filename":"file4"},{"photo_id":"1331699877","filename":"file1"},{"photo_id":"1331699874","filename":"file0"},{"photo_id":"1331699884","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331699887":["hashtag1","hashtag2"]},{"1331699884":["hashtag1","hashtag2"]},{"1331699886":["hashtag1","hashtag2"]},{"1331699880":["hashtag1","hashtag2"]},{"1331699874":["hashtag1","hashtag2"]},{"1331699877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331699887, 1331699884, 1331699886, 1331699880, 1331699874, 1331699877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85403275489807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:52:32.369598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_55_10343.jpg', '/home/pi/Desktop/images/26012025/15/51/image_26012025_15_52_06_10417.jpg', '/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_15_9322.jpg', '/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_25_10360.jpg', '/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_35_9398.jpg', '/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_51_55_10343.jpg
/home/pi/Desktop/images/26012025/15/51/image_26012025_15_52_06_10417.jpg
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_15_9322.jpg
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_25_10360.jpg
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_35_9398.jpg
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_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":["1331700026","1331700013","1331700022","1331700025","1331700009","1331700018"],"photo_ids_order":["1331700009","1331700013","1331700018","1331700022","1331700025","1331700026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d09971a5b206bb905d553e826a459008.jpg","text":"TemporaryFile(/tmp/multipartBody6883662671002343425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_52_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/26/cb3b204c376cd17089516749a6b28607.jpg","text":"TemporaryFile(/tmp/multipartBody8429406800276250784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_52_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/26/1d046e2c046fc52207a9d9da30ebba99.jpg","text":"TemporaryFile(/tmp/multipartBody4175458169423885367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_52_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15c7eba96e5e20c63b2b3ba547b544de.jpg","text":"TemporaryFile(/tmp/multipartBody5909318924953263302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_52_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3217b906c89580c28a7658bc5253beb.jpg","text":"TemporaryFile(/tmp/multipartBody4414984623130884481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_51_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ae34c05abd05656b00d8c412f3738c9.jpg","text":"TemporaryFile(/tmp/multipartBody4377766271824627919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903213280,"filename":"image_26012025_15_52_15_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331700018","file1":"1331700013","file0":"1331700009","file4":"1331700025","file5":"1331700026","file3":"1331700022"},"map_files_photo_id_array":[{"photo_id":"1331700026","filename":"file5"},{"photo_id":"1331700018","filename":"file2"},{"photo_id":"1331700025","filename":"file4"},{"photo_id":"1331700013","filename":"file1"},{"photo_id":"1331700009","filename":"file0"},{"photo_id":"1331700022","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331700026":["hashtag1","hashtag2"]},{"1331700013":["hashtag1","hashtag2"]},{"1331700022":["hashtag1","hashtag2"]},{"1331700025":["hashtag1","hashtag2"]},{"1331700009":["hashtag1","hashtag2"]},{"1331700018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331700026, 1331700013, 1331700022, 1331700025, 1331700009, 1331700018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32362198829651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:53:32.591949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_56_10477.jpg', '/home/pi/Desktop/images/26012025/15/52/image_26012025_15_53_05_9408.jpg', '/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_15_10336.jpg', '/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_26_10352.jpg', '/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_35_9331.jpg', '/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_45_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_52_56_10477.jpg
/home/pi/Desktop/images/26012025/15/52/image_26012025_15_53_05_9408.jpg
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_15_10336.jpg
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_26_10352.jpg
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_35_9331.jpg
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_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":["1331700131","1331700119","1331700130","1331700126","1331700128","1331700122"],"photo_ids_order":["1331700119","1331700122","1331700126","1331700128","1331700130","1331700131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a9d5fc3365d1390ca23df0937bf7f73d.jpg","text":"TemporaryFile(/tmp/multipartBody7958146269887550973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_53_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/26/3b55eed75e1b5786452da6c21af9be82.jpg","text":"TemporaryFile(/tmp/multipartBody656032323742273578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_52_56_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef14db7a8aaf863e6a889482e920b24e.jpg","text":"TemporaryFile(/tmp/multipartBody4340917525329167677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_53_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/26/06ec2e6fb527a523c15ed6151afe6796.jpg","text":"TemporaryFile(/tmp/multipartBody4876438654730338794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_53_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/26/ddfc091f0c4a5b49193bf066195b747c.jpg","text":"TemporaryFile(/tmp/multipartBody9031565733599174099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_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/26/9b8103f21e52088ea2b81a3e844d2839.jpg","text":"TemporaryFile(/tmp/multipartBody8560437362018528223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903273489,"filename":"image_26012025_15_53_05_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331700126","file1":"1331700122","file0":"1331700119","file4":"1331700130","file5":"1331700131","file3":"1331700128"},"map_files_photo_id_array":[{"photo_id":"1331700131","filename":"file5"},{"photo_id":"1331700126","filename":"file2"},{"photo_id":"1331700130","filename":"file4"},{"photo_id":"1331700122","filename":"file1"},{"photo_id":"1331700119","filename":"file0"},{"photo_id":"1331700128","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331700131":["hashtag1","hashtag2"]},{"1331700119":["hashtag1","hashtag2"]},{"1331700130":["hashtag1","hashtag2"]},{"1331700126":["hashtag1","hashtag2"]},{"1331700128":["hashtag1","hashtag2"]},{"1331700122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331700131, 1331700119, 1331700130, 1331700126, 1331700128, 1331700122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71832013130188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:54:32.765870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_55_9404.jpg', '/home/pi/Desktop/images/26012025/15/53/image_26012025_15_54_05_10401.jpg', '/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_16_10380.jpg', '/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_25_9349.jpg', '/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_35_10335.jpg', '/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_46_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_53_55_9404.jpg
/home/pi/Desktop/images/26012025/15/53/image_26012025_15_54_05_10401.jpg
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_16_10380.jpg
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_25_9349.jpg
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_35_10335.jpg
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_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":["1331700151","1331700154","1331700153","1331700146","1331700149","1331700143"],"photo_ids_order":["1331700143","1331700146","1331700149","1331700151","1331700153","1331700154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b95ded007cd060094f72d8ab4988543f.jpg","text":"TemporaryFile(/tmp/multipartBody246672879029438268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_54_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/26/193ce26fd452351a3ba5a5e0d0d0724c.jpg","text":"TemporaryFile(/tmp/multipartBody5308130036166933783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_54_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/26/91e392693d234ab31d9bb56a3c519f32.jpg","text":"TemporaryFile(/tmp/multipartBody38586302075470680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_54_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/26/0eafbd898d7040f3adc8a507d482cf4a.jpg","text":"TemporaryFile(/tmp/multipartBody1976540483794413524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_54_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/26/a5f981f1ea451686ca8ad17762292fcf.jpg","text":"TemporaryFile(/tmp/multipartBody3241007928219889514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_54_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6c1d65f41ab3d64ad6a542788b41a5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5305944565697204345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903333718,"filename":"image_26012025_15_53_55_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331700149","file1":"1331700146","file0":"1331700143","file4":"1331700153","file5":"1331700154","file3":"1331700151"},"map_files_photo_id_array":[{"photo_id":"1331700154","filename":"file5"},{"photo_id":"1331700149","filename":"file2"},{"photo_id":"1331700153","filename":"file4"},{"photo_id":"1331700146","filename":"file1"},{"photo_id":"1331700143","filename":"file0"},{"photo_id":"1331700151","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331700151":["hashtag1","hashtag2"]},{"1331700154":["hashtag1","hashtag2"]},{"1331700153":["hashtag1","hashtag2"]},{"1331700146":["hashtag1","hashtag2"]},{"1331700149":["hashtag1","hashtag2"]},{"1331700143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331700151, 1331700154, 1331700153, 1331700146, 1331700149, 1331700143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.545265436172485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:55:33.040477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_55_9341.jpg', '/home/pi/Desktop/images/26012025/15/54/image_26012025_15_55_05_10342.jpg', '/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_16_10321.jpg', '/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_25_9348.jpg', '/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_35_10403.jpg', '/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_46_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_54_55_9341.jpg
/home/pi/Desktop/images/26012025/15/54/image_26012025_15_55_05_10342.jpg
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_16_10321.jpg
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_25_9348.jpg
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_35_10403.jpg
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_46_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331700224","1331700218","1331700214","1331700223","1331700216","1331700221"],"photo_ids_order":["1331700214","1331700216","1331700218","1331700221","1331700223","1331700224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4cd19461ebbac6602867c726038f883.jpg","text":"TemporaryFile(/tmp/multipartBody4604570312872453535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_55_46_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/212dbdcae35b46a61f88c01de77a1f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3983309758817332104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_55_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/26/a0bf7eeae5de35d0752fa99c8dc383fa.jpg","text":"TemporaryFile(/tmp/multipartBody4334595070830230104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_54_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/26/8d19f32ca6ce30a649a347c059f31c38.jpg","text":"TemporaryFile(/tmp/multipartBody7368824879847926385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_55_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/26/eaebef8fbc56866e1216d616253fb65e.jpg","text":"TemporaryFile(/tmp/multipartBody1039649217144237705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_55_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/26/81c033a9e98cfb649e4ecaeff337fe14.jpg","text":"TemporaryFile(/tmp/multipartBody2400461154019819918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903393962,"filename":"image_26012025_15_55_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331700218","file1":"1331700216","file0":"1331700214","file4":"1331700223","file5":"1331700224","file3":"1331700221"},"map_files_photo_id_array":[{"photo_id":"1331700224","filename":"file5"},{"photo_id":"1331700218","filename":"file2"},{"photo_id":"1331700223","filename":"file4"},{"photo_id":"1331700216","filename":"file1"},{"photo_id":"1331700214","filename":"file0"},{"photo_id":"1331700221","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331700224":["hashtag1","hashtag2"]},{"1331700218":["hashtag1","hashtag2"]},{"1331700214":["hashtag1","hashtag2"]},{"1331700223":["hashtag1","hashtag2"]},{"1331700216":["hashtag1","hashtag2"]},{"1331700221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331700224, 1331700218, 1331700214, 1331700223, 1331700216, 1331700221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30964756011963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:56:32.233012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_55_9357.jpg', '/home/pi/Desktop/images/26012025/15/55/image_26012025_15_56_06_10484.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_15_9316.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_25_10371.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_36_10338.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_45_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_55_55_9357.jpg
/home/pi/Desktop/images/26012025/15/55/image_26012025_15_56_06_10484.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_15_9316.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_25_10371.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_36_10338.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_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":["1331700244","1331700247","1331700276","1331700251","1331700254","1331700257"],"photo_ids_order":["1331700244","1331700247","1331700251","1331700254","1331700257","1331700276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef9f0dc81e5505baf2bc5bed41eec3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7409381816630269563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_55_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53b4b82d4b9cb6c20cded4fa0fe59844.jpg","text":"TemporaryFile(/tmp/multipartBody4153586268441163483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_56_06_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/26/669671f7de545b927bf563e77913c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody5938851204176711299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_56_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/26/93d848b62df05f5a9ae62c324724484c.jpg","text":"TemporaryFile(/tmp/multipartBody1248693905618491117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_56_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3cb6ebaee09d6a0d7e9f1ef1c4eb6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6738178005671500801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_56_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/26/e5a0086a2ada2918cdc146f73bd63395.jpg","text":"TemporaryFile(/tmp/multipartBody663436998252347670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903453128,"filename":"image_26012025_15_56_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331700251","file1":"1331700247","file0":"1331700244","file4":"1331700257","file5":"1331700276","file3":"1331700254"},"map_files_photo_id_array":[{"photo_id":"1331700276","filename":"file5"},{"photo_id":"1331700251","filename":"file2"},{"photo_id":"1331700257","filename":"file4"},{"photo_id":"1331700247","filename":"file1"},{"photo_id":"1331700244","filename":"file0"},{"photo_id":"1331700254","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331700244":["hashtag1","hashtag2"]},{"1331700247":["hashtag1","hashtag2"]},{"1331700276":["hashtag1","hashtag2"]},{"1331700251":["hashtag1","hashtag2"]},{"1331700254":["hashtag1","hashtag2"]},{"1331700257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331700244, 1331700247, 1331700276, 1331700251, 1331700254, 1331700257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59429979324341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 15:57:32.430549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_55_10359.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_57_05_9430.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_15_10433.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_26_10468.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_55_10359.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_57_05_9430.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_15_10433.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_26_10468.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_46_10420.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-26 15:59:04.099266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_55_10359.jpg', '/home/pi/Desktop/images/26012025/15/56/image_26012025_15_57_05_9430.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_15_10433.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_26_10468.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_46_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_56_55_10359.jpg
/home/pi/Desktop/images/26012025/15/56/image_26012025_15_57_05_9430.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_15_10433.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_26_10468.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_46_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331701188","1331701056","1331701038","1331701220","1331701043"],"photo_ids_order":["1331701038","1331701043","1331701056","1331701188","1331701220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c61a2cadee24a202ec188d761345050.jpg","text":"TemporaryFile(/tmp/multipartBody3758672919496602668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903605107,"filename":"image_26012025_15_57_26_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/26/adf3cbbe6331e4a968fef2ab3047c183.jpg","text":"TemporaryFile(/tmp/multipartBody4181611969046839022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903605107,"filename":"image_26012025_15_57_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/26/f60bd810aec9b918a250bfe616dd532b.jpg","text":"TemporaryFile(/tmp/multipartBody779952242930979897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903605107,"filename":"image_26012025_15_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/26/c8e6b925ccb418423743635ac4fe3b3f.jpg","text":"TemporaryFile(/tmp/multipartBody5565666627764117712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903605107,"filename":"image_26012025_15_57_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/acdd1834fbb57df15d54417bb47272dd.jpg","text":"TemporaryFile(/tmp/multipartBody3810815152123458569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903605107,"filename":"image_26012025_15_57_05_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701056","file1":"1331701043","file0":"1331701038","file4":"1331701220","file3":"1331701188"},"map_files_photo_id_array":[{"photo_id":"1331701056","filename":"file2"},{"photo_id":"1331701220","filename":"file4"},{"photo_id":"1331701043","filename":"file1"},{"photo_id":"1331701038","filename":"file0"},{"photo_id":"1331701188","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701188":["hashtag1","hashtag2"]},{"1331701056":["hashtag1","hashtag2"]},{"1331701038":["hashtag1","hashtag2"]},{"1331701220":["hashtag1","hashtag2"]},{"1331701043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701188, 1331701056, 1331701038, 1331701220, 1331701043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 43.622220277786255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 15:59:52.879535
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/57/image_23012025_21_58_05_10366.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_14_9329.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_25_10367.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_35_10342.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_44_9319.jpg', '/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_55_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/57/image_23012025_21_58_05_10366.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_14_9329.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_25_10367.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_35_10342.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_44_9319.jpg
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_58_55_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":["1331701261","1331701258","1331701266","1331701254","1331701256","1331701271"],"photo_ids_order":["1331701254","1331701256","1331701258","1331701261","1331701266","1331701271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa1aa2d3a75d79017cf44b0dccfe69c9.jpg","text":"TemporaryFile(/tmp/multipartBody7989513211756300182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_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/26/052a1bd7b3ee940f98c5253b2d96324b.jpg","text":"TemporaryFile(/tmp/multipartBody5265186423110008265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_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/26/5bc615d2439ec3397bf86b08ed8365b0.jpg","text":"TemporaryFile(/tmp/multipartBody6236683914668855861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_44_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/26/d1cf38fa760834940fbbaf75d70a0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody4369377657354886286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7e494942f788f6468ee2374d37e6607.jpg","text":"TemporaryFile(/tmp/multipartBody2884252012012530988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_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/26/ca20730e7c7b696fc2cb0bc813672a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5928610411038817080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903655206,"filename":"image_23012025_21_58_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701258","file1":"1331701256","file0":"1331701254","file4":"1331701266","file5":"1331701271","file3":"1331701261"},"map_files_photo_id_array":[{"photo_id":"1331701271","filename":"file5"},{"photo_id":"1331701258","filename":"file2"},{"photo_id":"1331701266","filename":"file4"},{"photo_id":"1331701256","filename":"file1"},{"photo_id":"1331701254","filename":"file0"},{"photo_id":"1331701261","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331701261":["hashtag1","hashtag2"]},{"1331701258":["hashtag1","hashtag2"]},{"1331701266":["hashtag1","hashtag2"]},{"1331701254":["hashtag1","hashtag2"]},{"1331701256":["hashtag1","hashtag2"]},{"1331701271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331701261, 1331701258, 1331701266, 1331701254, 1331701256, 1331701271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50713086128235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:00:43.103844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_55_9466.jpg', '/home/pi/Desktop/images/26012025/15/57/image_26012025_15_58_05_10365.jpg', '/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_16_10348.jpg', '/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_25_9364.jpg', '/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_35_10360.jpg', '/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_45_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_57_55_9466.jpg
/home/pi/Desktop/images/26012025/15/57/image_26012025_15_58_05_10365.jpg
/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_16_10348.jpg
/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_25_9364.jpg
/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_35_10360.jpg
/home/pi/Desktop/images/26012025/15/58/image_26012025_15_58_45_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331701573","1331701575","1331701554","1331701507","1331701508","1331701570"],"photo_ids_order":["1331701507","1331701508","1331701554","1331701570","1331701573","1331701575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d4cda737cfdab38bb6a40434f25f2d4.jpg","text":"TemporaryFile(/tmp/multipartBody7976594766440855063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_58_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/26/5ef088233367f3d246ce201de1111cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8446261745030362746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_58_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a6027b6b9d14603873dbe5840d63698c.jpg","text":"TemporaryFile(/tmp/multipartBody1530594021748977648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_58_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96f6ea7f19f0a694255ee61e87b9854f.jpg","text":"TemporaryFile(/tmp/multipartBody6113918219474255241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_57_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/26/fccb761d705d1f4b7e1b117ba3b44eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4372715065110873448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_58_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/26/277ec31a12a070d043a2ac404ff155d4.jpg","text":"TemporaryFile(/tmp/multipartBody4465299150333540998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903704033,"filename":"image_26012025_15_58_25_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701554","file1":"1331701508","file0":"1331701507","file4":"1331701573","file5":"1331701575","file3":"1331701570"},"map_files_photo_id_array":[{"photo_id":"1331701575","filename":"file5"},{"photo_id":"1331701554","filename":"file2"},{"photo_id":"1331701573","filename":"file4"},{"photo_id":"1331701508","filename":"file1"},{"photo_id":"1331701507","filename":"file0"},{"photo_id":"1331701570","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701573":["hashtag1","hashtag2"]},{"1331701575":["hashtag1","hashtag2"]},{"1331701554":["hashtag1","hashtag2"]},{"1331701507":["hashtag1","hashtag2"]},{"1331701508":["hashtag1","hashtag2"]},{"1331701570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701573, 1331701575, 1331701554, 1331701507, 1331701508, 1331701570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24113917350769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:01:32.363566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_15_9348.jpg', '/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_25_10346.jpg', '/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_36_10432.jpg', '/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_15_10072.jpg', '/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_25_10366.jpg', '/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_36_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_15_9348.jpg
/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_25_10346.jpg
/home/pi/Desktop/images/26012025/15/59/image_26012025_15_59_36_10432.jpg
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_15_10072.jpg
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_25_10366.jpg
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_36_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":["1331701618","1331701593","1331701596","1331701584","1331701589","1331701610"],"photo_ids_order":["1331701584","1331701589","1331701593","1331701596","1331701610","1331701618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31aa1342bead65e60e6e96c952ec4b04.jpg","text":"TemporaryFile(/tmp/multipartBody2116609342905860917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_16_01_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/26/306096905f5314678da63da7a5950e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2876546881332055797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_15_59_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/26/33c409672d7ef0a110c304cfada8d94a.jpg","text":"TemporaryFile(/tmp/multipartBody8719587480026428278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_16_01_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d818a7b56d20a30917f0e466b00708e6.jpg","text":"TemporaryFile(/tmp/multipartBody7728324382665969177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_15_59_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/26/a5cd6f1221aab26af3e5ba00d8bf2aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8635177879333631119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_15_59_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ee9f6bd43e4be6a32763d037ec7ee22.jpg","text":"TemporaryFile(/tmp/multipartBody7754136013246732439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903753264,"filename":"image_26012025_16_01_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701593","file1":"1331701589","file0":"1331701584","file4":"1331701610","file5":"1331701618","file3":"1331701596"},"map_files_photo_id_array":[{"photo_id":"1331701618","filename":"file5"},{"photo_id":"1331701593","filename":"file2"},{"photo_id":"1331701610","filename":"file4"},{"photo_id":"1331701589","filename":"file1"},{"photo_id":"1331701584","filename":"file0"},{"photo_id":"1331701596","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701618":["hashtag1","hashtag2"]},{"1331701593":["hashtag1","hashtag2"]},{"1331701596":["hashtag1","hashtag2"]},{"1331701584":["hashtag1","hashtag2"]},{"1331701589":["hashtag1","hashtag2"]},{"1331701610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701618, 1331701593, 1331701596, 1331701584, 1331701589, 1331701610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8533194065094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:02:32.523943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_45_9352.jpg', '/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_56_10416.jpg', '/home/pi/Desktop/images/26012025/16/01/image_26012025_16_02_06_10340.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_15_9346.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_26_10357.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_35_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_45_9352.jpg
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_01_56_10416.jpg
/home/pi/Desktop/images/26012025/16/01/image_26012025_16_02_06_10340.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_15_9346.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_26_10357.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_35_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":["1331701672","1331701674","1331701677","1331701665","1331701670","1331701667"],"photo_ids_order":["1331701665","1331701667","1331701670","1331701672","1331701674","1331701677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef5a280639e3877e19ce678c86ca2fa0.jpg","text":"TemporaryFile(/tmp/multipartBody436749994668411953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_02_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/26/9627b9624fba2af0eb2c7c32a3e6d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody3545614240788184439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_02_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/26/d29863e3a376da9354f16c8b5f77370c.jpg","text":"TemporaryFile(/tmp/multipartBody4816514433019696481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_02_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/26/2fa623c8915618f8a7fa7889233d0b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2207922130465002595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_01_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/26/90eab5b0beaeb9afe140b941af4e08d8.jpg","text":"TemporaryFile(/tmp/multipartBody8770868315641538237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_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/26/b4afb5697e970235db657a9305640d8d.jpg","text":"TemporaryFile(/tmp/multipartBody5014175859968354062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903813437,"filename":"image_26012025_16_01_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701670","file1":"1331701667","file0":"1331701665","file4":"1331701674","file5":"1331701677","file3":"1331701672"},"map_files_photo_id_array":[{"photo_id":"1331701677","filename":"file5"},{"photo_id":"1331701670","filename":"file2"},{"photo_id":"1331701674","filename":"file4"},{"photo_id":"1331701667","filename":"file1"},{"photo_id":"1331701665","filename":"file0"},{"photo_id":"1331701672","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701672":["hashtag1","hashtag2"]},{"1331701674":["hashtag1","hashtag2"]},{"1331701677":["hashtag1","hashtag2"]},{"1331701665":["hashtag1","hashtag2"]},{"1331701670":["hashtag1","hashtag2"]},{"1331701667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701672, 1331701674, 1331701677, 1331701665, 1331701670, 1331701667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.74038004875183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:03:32.975028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_45_10370.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_56_10366.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_03_05_9352.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_15_10342.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_26_10365.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_35_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_45_10370.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_56_10366.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_03_05_9352.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_15_10342.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_26_10365.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_35_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.5298886299133301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:03:43.003980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_45_10370.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_56_10366.jpg', '/home/pi/Desktop/images/26012025/16/02/image_26012025_16_03_05_9352.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_15_10342.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_26_10365.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_35_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_45_10370.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_02_56_10366.jpg
/home/pi/Desktop/images/26012025/16/02/image_26012025_16_03_05_9352.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_15_10342.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_26_10365.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_35_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":["1331701702","1331701697","1331701691","1331701709","1331701693","1331701706"],"photo_ids_order":["1331701691","1331701693","1331701697","1331701702","1331701706","1331701709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82c8a6c7ca2389706fbe963f33c286b3.jpg","text":"TemporaryFile(/tmp/multipartBody8704901651127991657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_03_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/26/3013036929214ab284d4881d05ff7009.jpg","text":"TemporaryFile(/tmp/multipartBody3209416371185428603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_03_05_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bbec7d8d3ea5a5d79c03efc156fff08b.jpg","text":"TemporaryFile(/tmp/multipartBody2553005881695951951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_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/26/c092bcec6416b145bdf38066f56f1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody5606357490668340924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_03_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/26/9d0e7cd58054d53714118cebca98c880.jpg","text":"TemporaryFile(/tmp/multipartBody148323855626107183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_02_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/26/f3f6e70bf7607a293f2b4e093eaed706.jpg","text":"TemporaryFile(/tmp/multipartBody3805646080269259983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903883918,"filename":"image_26012025_16_03_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701697","file1":"1331701693","file0":"1331701691","file4":"1331701706","file5":"1331701709","file3":"1331701702"},"map_files_photo_id_array":[{"photo_id":"1331701709","filename":"file5"},{"photo_id":"1331701697","filename":"file2"},{"photo_id":"1331701706","filename":"file4"},{"photo_id":"1331701693","filename":"file1"},{"photo_id":"1331701691","filename":"file0"},{"photo_id":"1331701702","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701702":["hashtag1","hashtag2"]},{"1331701697":["hashtag1","hashtag2"]},{"1331701691":["hashtag1","hashtag2"]},{"1331701709":["hashtag1","hashtag2"]},{"1331701693":["hashtag1","hashtag2"]},{"1331701706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701702, 1331701697, 1331701691, 1331701709, 1331701693, 1331701706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02112030982971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:04:32.804901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_45_10341.jpg', '/home/pi/Desktop/images/26012025/16/03/image_26012025_16_04_05_9322.jpg', '/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_15_10346.jpg', '/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_26_10398.jpg', '/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_35_9353.jpg', '/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_46_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_03_45_10341.jpg
/home/pi/Desktop/images/26012025/16/03/image_26012025_16_04_05_9322.jpg
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_15_10346.jpg
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_26_10398.jpg
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_35_9353.jpg
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_46_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331701741","1331701773","1331701737","1331701775","1331701733","1331701721"],"photo_ids_order":["1331701721","1331701733","1331701737","1331701741","1331701773","1331701775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/764b7ab856b5a115f0a25399b5f8e044.jpg","text":"TemporaryFile(/tmp/multipartBody7560247002032915898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_04_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/26/d09af6cacc8e5a5b7f09fb2a3a2b6ef9.jpg","text":"TemporaryFile(/tmp/multipartBody429887631131984792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_04_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/26/b5918965e74725eb8215d28a3ace2189.jpg","text":"TemporaryFile(/tmp/multipartBody7612506217171912272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_04_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/26/f619fe4d464f0a61b6516797f0e8798d.jpg","text":"TemporaryFile(/tmp/multipartBody8522906477012499457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_04_46_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dece7c508862734b2431700c554e0d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3543341454006931147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_04_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f1b4e677f43d425dd89545e65e906121.jpg","text":"TemporaryFile(/tmp/multipartBody8232745532209781976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903933735,"filename":"image_26012025_16_03_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701737","file1":"1331701733","file0":"1331701721","file4":"1331701773","file5":"1331701775","file3":"1331701741"},"map_files_photo_id_array":[{"photo_id":"1331701775","filename":"file5"},{"photo_id":"1331701737","filename":"file2"},{"photo_id":"1331701773","filename":"file4"},{"photo_id":"1331701733","filename":"file1"},{"photo_id":"1331701721","filename":"file0"},{"photo_id":"1331701741","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701741":["hashtag1","hashtag2"]},{"1331701773":["hashtag1","hashtag2"]},{"1331701737":["hashtag1","hashtag2"]},{"1331701775":["hashtag1","hashtag2"]},{"1331701733":["hashtag1","hashtag2"]},{"1331701721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701741, 1331701773, 1331701737, 1331701775, 1331701733, 1331701721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.629406452178955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:05:33.025043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_55_9343.jpg', '/home/pi/Desktop/images/26012025/16/04/image_26012025_16_05_05_10354.jpg', '/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_16_10413.jpg', '/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_25_9322.jpg', '/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_35_10344.jpg', '/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_46_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_04_55_9343.jpg
/home/pi/Desktop/images/26012025/16/04/image_26012025_16_05_05_10354.jpg
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_16_10413.jpg
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_25_9322.jpg
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_35_10344.jpg
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_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":["1331701796","1331701800","1331701799","1331701793","1331701802","1331701805"],"photo_ids_order":["1331701793","1331701796","1331701799","1331701800","1331701802","1331701805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fab9605446280d4641e6cd7594dd2e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8584758862766076845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_05_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa0440c37a2965e2ace08804ca82c7de.jpg","text":"TemporaryFile(/tmp/multipartBody3122942592430034582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_05_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/26/4b59ac2a772c33d493acee139ce28040.jpg","text":"TemporaryFile(/tmp/multipartBody1432476448987025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_05_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/26/b711d2f75777918bc8a9e55b3d8f54e4.jpg","text":"TemporaryFile(/tmp/multipartBody1801285138950685332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_04_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d0d848e26d214827b6975732e8863760.jpg","text":"TemporaryFile(/tmp/multipartBody5356082471792788398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_05_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/26/76f73a5c977f9236fb4232d5e41998a8.jpg","text":"TemporaryFile(/tmp/multipartBody7056745326524064565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737903993947,"filename":"image_26012025_16_05_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701799","file1":"1331701796","file0":"1331701793","file4":"1331701802","file5":"1331701805","file3":"1331701800"},"map_files_photo_id_array":[{"photo_id":"1331701805","filename":"file5"},{"photo_id":"1331701799","filename":"file2"},{"photo_id":"1331701802","filename":"file4"},{"photo_id":"1331701796","filename":"file1"},{"photo_id":"1331701793","filename":"file0"},{"photo_id":"1331701800","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701796":["hashtag1","hashtag2"]},{"1331701800":["hashtag1","hashtag2"]},{"1331701799":["hashtag1","hashtag2"]},{"1331701793":["hashtag1","hashtag2"]},{"1331701802":["hashtag1","hashtag2"]},{"1331701805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701796, 1331701800, 1331701799, 1331701793, 1331701802, 1331701805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.811931133270264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:06:32.257596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_55_9324.jpg', '/home/pi/Desktop/images/26012025/16/05/image_26012025_16_06_05_10344.jpg', '/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_16_10380.jpg', '/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_25_9376.jpg', '/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_45_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_05_55_9324.jpg
/home/pi/Desktop/images/26012025/16/05/image_26012025_16_06_05_10344.jpg
/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_16_10380.jpg
/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_25_9376.jpg
/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331701815","1331701830","1331701827","1331701820","1331701823"],"photo_ids_order":["1331701815","1331701820","1331701823","1331701827","1331701830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af263fce79fe582f3a3dbbf768467391.jpg","text":"TemporaryFile(/tmp/multipartBody8204719368663507875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904053180,"filename":"image_26012025_16_05_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/339f2504c19950e03d2c21e460a99bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8920404234894226574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904053180,"filename":"image_26012025_16_06_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/26/5075fa691e31286154dfee09f651cfb0.jpg","text":"TemporaryFile(/tmp/multipartBody2548000197378542035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904053180,"filename":"image_26012025_16_06_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/26/45bea28047e1639deaea29da7b268bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8998360654299359843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904053180,"filename":"image_26012025_16_06_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/26/5e128f228f02f073cbaa99d3845e9deb.jpg","text":"TemporaryFile(/tmp/multipartBody3985440686325196174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904053180,"filename":"image_26012025_16_06_16_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701823","file1":"1331701820","file0":"1331701815","file4":"1331701830","file3":"1331701827"},"map_files_photo_id_array":[{"photo_id":"1331701823","filename":"file2"},{"photo_id":"1331701830","filename":"file4"},{"photo_id":"1331701820","filename":"file1"},{"photo_id":"1331701815","filename":"file0"},{"photo_id":"1331701827","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701815":["hashtag1","hashtag2"]},{"1331701830":["hashtag1","hashtag2"]},{"1331701827":["hashtag1","hashtag2"]},{"1331701820":["hashtag1","hashtag2"]},{"1331701823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701815, 1331701830, 1331701827, 1331701820, 1331701823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.330217123031616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:07:32.509312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_55_10346.jpg', '/home/pi/Desktop/images/26012025/16/06/image_26012025_16_07_06_10337.jpg', '/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_15_9327.jpg', '/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_25_10361.jpg', '/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_36_10420.jpg', '/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_45_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/06/image_26012025_16_06_55_10346.jpg
/home/pi/Desktop/images/26012025/16/06/image_26012025_16_07_06_10337.jpg
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_15_9327.jpg
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_25_10361.jpg
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_36_10420.jpg
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_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":["1331701878","1331701872","1331701880","1331701874","1331701877","1331701876"],"photo_ids_order":["1331701872","1331701874","1331701876","1331701877","1331701878","1331701880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8acb42a3cd82196f082f3b9eaa212e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1090357156917841254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_07_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/26/84800f60be36d4317252d5452e1986fe.jpg","text":"TemporaryFile(/tmp/multipartBody761163016576134949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_06_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/26/8c6e3365992c3b8686baf7fc23f390bc.jpg","text":"TemporaryFile(/tmp/multipartBody3094888131550481881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_07_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/26/22b09c65b40540c492f73b47a423de50.jpg","text":"TemporaryFile(/tmp/multipartBody2773636586095558565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_07_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3410e6564da2d5115235c2ebcefcb29f.jpg","text":"TemporaryFile(/tmp/multipartBody2123880341414030443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_07_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/26/a82f5ecf81940d54f5b6aea9a47ad53d.jpg","text":"TemporaryFile(/tmp/multipartBody5665432733982607273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904113451,"filename":"image_26012025_16_07_15_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701876","file1":"1331701874","file0":"1331701872","file4":"1331701878","file5":"1331701880","file3":"1331701877"},"map_files_photo_id_array":[{"photo_id":"1331701880","filename":"file5"},{"photo_id":"1331701876","filename":"file2"},{"photo_id":"1331701878","filename":"file4"},{"photo_id":"1331701874","filename":"file1"},{"photo_id":"1331701872","filename":"file0"},{"photo_id":"1331701877","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701878":["hashtag1","hashtag2"]},{"1331701872":["hashtag1","hashtag2"]},{"1331701880":["hashtag1","hashtag2"]},{"1331701874":["hashtag1","hashtag2"]},{"1331701877":["hashtag1","hashtag2"]},{"1331701876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701878, 1331701872, 1331701880, 1331701874, 1331701877, 1331701876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.2091269493103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:08:32.917602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_55_10350.jpg', '/home/pi/Desktop/images/26012025/16/07/image_26012025_16_08_06_10343.jpg', '/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_15_9321.jpg', '/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_36_10332.jpg', '/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_45_9441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_07_55_10350.jpg
/home/pi/Desktop/images/26012025/16/07/image_26012025_16_08_06_10343.jpg
/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_15_9321.jpg
/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_36_10332.jpg
/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_45_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331701920","1331701911","1331701907","1331701916","1331701904"],"photo_ids_order":["1331701904","1331701907","1331701911","1331701916","1331701920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90a7718a877b2cfca86cc7183a5208d5.jpg","text":"TemporaryFile(/tmp/multipartBody2895833676066106350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904173815,"filename":"image_26012025_16_08_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ca5e2d3f34d994b492be1affb4a0a91.jpg","text":"TemporaryFile(/tmp/multipartBody761318175900125188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904173815,"filename":"image_26012025_16_08_15_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7a07a8465a4716ff2e8a9eac0ca2424.jpg","text":"TemporaryFile(/tmp/multipartBody7627050537244003264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904173815,"filename":"image_26012025_16_08_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/26/59c6b68c512767f3e0acfdd66b4c8de6.jpg","text":"TemporaryFile(/tmp/multipartBody4458207461977344907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904173815,"filename":"image_26012025_16_08_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/81ea2ca51ecba6bc0863630a107c376f.jpg","text":"TemporaryFile(/tmp/multipartBody8876044205901686809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904173815,"filename":"image_26012025_16_07_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701911","file1":"1331701907","file0":"1331701904","file4":"1331701920","file3":"1331701916"},"map_files_photo_id_array":[{"photo_id":"1331701911","filename":"file2"},{"photo_id":"1331701920","filename":"file4"},{"photo_id":"1331701907","filename":"file1"},{"photo_id":"1331701904","filename":"file0"},{"photo_id":"1331701916","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701920":["hashtag1","hashtag2"]},{"1331701911":["hashtag1","hashtag2"]},{"1331701907":["hashtag1","hashtag2"]},{"1331701916":["hashtag1","hashtag2"]},{"1331701904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701920, 1331701911, 1331701907, 1331701916, 1331701904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.6279354095459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:09:33.169853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_56_10361.jpg', '/home/pi/Desktop/images/26012025/16/08/image_26012025_16_09_05_9383.jpg', '/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_15_10337.jpg', '/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_26_10430.jpg', '/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_35_9327.jpg', '/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_46_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/08/image_26012025_16_08_56_10361.jpg
/home/pi/Desktop/images/26012025/16/08/image_26012025_16_09_05_9383.jpg
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_15_10337.jpg
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_26_10430.jpg
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_35_9327.jpg
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_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":["1331701942","1331701945","1331701941","1331701944","1331701938","1331701943"],"photo_ids_order":["1331701938","1331701941","1331701942","1331701943","1331701944","1331701945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b395e308a938d7b552dea9d8cc44c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody970912483325236237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_09_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/26/29ffbaeff8af1af8f8fb2ae395feee09.jpg","text":"TemporaryFile(/tmp/multipartBody7550657152539530206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_09_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/26/571b620484cd039100506a365fca31e3.jpg","text":"TemporaryFile(/tmp/multipartBody4055420328824358705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_09_05_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/26/abd2c0f5b916e893d8a3e79dabec4500.jpg","text":"TemporaryFile(/tmp/multipartBody875091063641465326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_09_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/26/af5ac1565858a5695ac07fb525b0eb53.jpg","text":"TemporaryFile(/tmp/multipartBody5559587705593759952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_08_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/26/99c6339d8dd99bb3ad530252506aee79.jpg","text":"TemporaryFile(/tmp/multipartBody7050716149497690664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904234086,"filename":"image_26012025_16_09_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331701942","file1":"1331701941","file0":"1331701938","file4":"1331701944","file5":"1331701945","file3":"1331701943"},"map_files_photo_id_array":[{"photo_id":"1331701945","filename":"file5"},{"photo_id":"1331701942","filename":"file2"},{"photo_id":"1331701944","filename":"file4"},{"photo_id":"1331701941","filename":"file1"},{"photo_id":"1331701938","filename":"file0"},{"photo_id":"1331701943","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331701942":["hashtag1","hashtag2"]},{"1331701945":["hashtag1","hashtag2"]},{"1331701941":["hashtag1","hashtag2"]},{"1331701944":["hashtag1","hashtag2"]},{"1331701938":["hashtag1","hashtag2"]},{"1331701943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331701942, 1331701945, 1331701941, 1331701944, 1331701938, 1331701943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57071113586426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:10:32.372257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_55_9394.jpg', '/home/pi/Desktop/images/26012025/16/09/image_26012025_16_10_05_10342.jpg', '/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_16_10445.jpg', '/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_25_9353.jpg', '/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_35_10353.jpg', '/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_46_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_09_55_9394.jpg
/home/pi/Desktop/images/26012025/16/09/image_26012025_16_10_05_10342.jpg
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_16_10445.jpg
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_25_9353.jpg
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_35_10353.jpg
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_46_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331702022","1331701980","1331702033","1331702027","1331702035","1331702017"],"photo_ids_order":["1331701980","1331702017","1331702022","1331702027","1331702033","1331702035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/16814728b112b09dacae7a4826bcedc4.jpg","text":"TemporaryFile(/tmp/multipartBody2130733741404725609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_10_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/26/6adff9249660a8f050bfbc3a6c3e6542.jpg","text":"TemporaryFile(/tmp/multipartBody4662126456949121799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_09_55_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bcd218d79b0ef3e0cd0364736d82ba63.jpg","text":"TemporaryFile(/tmp/multipartBody2195540697849639588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_10_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/858fba4f346988194914b8aa34306cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2283511594299432885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_10_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/26/fe6f245e3eaca3bd787683c3f24d1315.jpg","text":"TemporaryFile(/tmp/multipartBody8833045078076084431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_10_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/26/47dcbaa272644246210f49f2900964ae.jpg","text":"TemporaryFile(/tmp/multipartBody8138422706762276920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904293308,"filename":"image_26012025_16_10_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702022","file1":"1331702017","file0":"1331701980","file4":"1331702033","file5":"1331702035","file3":"1331702027"},"map_files_photo_id_array":[{"photo_id":"1331702035","filename":"file5"},{"photo_id":"1331702022","filename":"file2"},{"photo_id":"1331702033","filename":"file4"},{"photo_id":"1331702017","filename":"file1"},{"photo_id":"1331701980","filename":"file0"},{"photo_id":"1331702027","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702022":["hashtag1","hashtag2"]},{"1331701980":["hashtag1","hashtag2"]},{"1331702033":["hashtag1","hashtag2"]},{"1331702027":["hashtag1","hashtag2"]},{"1331702035":["hashtag1","hashtag2"]},{"1331702017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702022, 1331701980, 1331702033, 1331702027, 1331702035, 1331702017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.303427934646606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:11:32.877076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_55_9336.jpg', '/home/pi/Desktop/images/26012025/16/10/image_26012025_16_11_06_10390.jpg', '/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_15_9325.jpg', '/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_25_10378.jpg', '/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_36_10417.jpg', '/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_45_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_10_55_9336.jpg
/home/pi/Desktop/images/26012025/16/10/image_26012025_16_11_06_10390.jpg
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_15_9325.jpg
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_25_10378.jpg
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_36_10417.jpg
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_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":["1331702052","1331702049","1331702040","1331702043","1331702051","1331702053"],"photo_ids_order":["1331702040","1331702043","1331702049","1331702051","1331702052","1331702053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af4cbcb37a523bf8c968bdc9f56a583e.jpg","text":"TemporaryFile(/tmp/multipartBody5873661022285404161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_11_36_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/26/6da4149c6245e3dfb9b45aa73e24e60f.jpg","text":"TemporaryFile(/tmp/multipartBody4945968893524501139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_11_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/26/13a681ee885a399757b3c5c5e699173a.jpg","text":"TemporaryFile(/tmp/multipartBody9005294663401387857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_10_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/26/34f4c46b8959ec759657b40181ecc5ff.jpg","text":"TemporaryFile(/tmp/multipartBody7978609454337176751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_11_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/26/73f7f32b82115e607bc61b3de7cd2725.jpg","text":"TemporaryFile(/tmp/multipartBody659361420097338074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_11_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/26/ea6342db53d0794ebd5b97e4f98d444f.jpg","text":"TemporaryFile(/tmp/multipartBody3539911206378311973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904353788,"filename":"image_26012025_16_11_45_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702049","file1":"1331702043","file0":"1331702040","file4":"1331702052","file5":"1331702053","file3":"1331702051"},"map_files_photo_id_array":[{"photo_id":"1331702053","filename":"file5"},{"photo_id":"1331702049","filename":"file2"},{"photo_id":"1331702052","filename":"file4"},{"photo_id":"1331702043","filename":"file1"},{"photo_id":"1331702040","filename":"file0"},{"photo_id":"1331702051","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702052":["hashtag1","hashtag2"]},{"1331702049":["hashtag1","hashtag2"]},{"1331702040":["hashtag1","hashtag2"]},{"1331702043":["hashtag1","hashtag2"]},{"1331702051":["hashtag1","hashtag2"]},{"1331702053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702052, 1331702049, 1331702040, 1331702043, 1331702051, 1331702053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.01419186592102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:12:33.083483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_55_10342.jpg', '/home/pi/Desktop/images/26012025/16/11/image_26012025_16_12_06_10386.jpg', '/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_15_9322.jpg', '/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_26_10472.jpg', '/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_35_9319.jpg', '/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_11_55_10342.jpg
/home/pi/Desktop/images/26012025/16/11/image_26012025_16_12_06_10386.jpg
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_15_9322.jpg
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_26_10472.jpg
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_35_9319.jpg
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_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":["1331702079","1331702072","1331702081","1331702060","1331702068","1331702077"],"photo_ids_order":["1331702060","1331702068","1331702072","1331702077","1331702079","1331702081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7de25731a18ae05594782ca295579105.jpg","text":"TemporaryFile(/tmp/multipartBody4837961864774501806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_12_35_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/26/ab331adf46968d2d2fb0f0c32aab1008.jpg","text":"TemporaryFile(/tmp/multipartBody2914277967525680642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_12_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/26/c593bf170ed732e554318de6669ea14e.jpg","text":"TemporaryFile(/tmp/multipartBody6087008612279990519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_12_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/26/9fba960a7be76d28f98f7ad2357b52b7.jpg","text":"TemporaryFile(/tmp/multipartBody4100248486317699759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_11_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/26/ff386d57bc8bcd94fad159be528bf223.jpg","text":"TemporaryFile(/tmp/multipartBody7204004313655684832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_12_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/614182ae8f218f4c727eae4464235b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4038406755932963621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904414009,"filename":"image_26012025_16_12_26_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702072","file1":"1331702068","file0":"1331702060","file4":"1331702079","file5":"1331702081","file3":"1331702077"},"map_files_photo_id_array":[{"photo_id":"1331702081","filename":"file5"},{"photo_id":"1331702072","filename":"file2"},{"photo_id":"1331702079","filename":"file4"},{"photo_id":"1331702068","filename":"file1"},{"photo_id":"1331702060","filename":"file0"},{"photo_id":"1331702077","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702079":["hashtag1","hashtag2"]},{"1331702072":["hashtag1","hashtag2"]},{"1331702081":["hashtag1","hashtag2"]},{"1331702060":["hashtag1","hashtag2"]},{"1331702068":["hashtag1","hashtag2"]},{"1331702077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702079, 1331702072, 1331702081, 1331702060, 1331702068, 1331702077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.270999908447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:13:32.377302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_56_10427.jpg', '/home/pi/Desktop/images/26012025/16/12/image_26012025_16_13_05_9340.jpg', '/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_15_10323.jpg', '/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_26_10422.jpg', '/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_35_9424.jpg', '/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_46_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_12_56_10427.jpg
/home/pi/Desktop/images/26012025/16/12/image_26012025_16_13_05_9340.jpg
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_15_10323.jpg
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_26_10422.jpg
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_35_9424.jpg
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331702131","1331702133","1331702136","1331702135","1331702138","1331702129"],"photo_ids_order":["1331702129","1331702131","1331702133","1331702135","1331702136","1331702138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7db99e6d1d3419c46c716ee3e7dfe42c.jpg","text":"TemporaryFile(/tmp/multipartBody8952330440356461747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_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/26/55120238ddfb0b709b13f8ebf2da1412.jpg","text":"TemporaryFile(/tmp/multipartBody2650313141115266421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_16_13_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/26/96af181f5ad6fa74f285ad05d7866674.jpg","text":"TemporaryFile(/tmp/multipartBody2523901885645063407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_16_13_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95768c400aed10054ceeef0b26139f6d.jpg","text":"TemporaryFile(/tmp/multipartBody2064782710808551524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_16_13_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/26/ce728d4f6cb0d5dfe8eaf28b1c343f0f.jpg","text":"TemporaryFile(/tmp/multipartBody3810025370004264286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_16_13_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/26/de3b319236ba1b44acc6461f817a99ae.jpg","text":"TemporaryFile(/tmp/multipartBody7180767474736084759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904473292,"filename":"image_26012025_16_12_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702133","file1":"1331702131","file0":"1331702129","file4":"1331702136","file5":"1331702138","file3":"1331702135"},"map_files_photo_id_array":[{"photo_id":"1331702138","filename":"file5"},{"photo_id":"1331702133","filename":"file2"},{"photo_id":"1331702136","filename":"file4"},{"photo_id":"1331702131","filename":"file1"},{"photo_id":"1331702129","filename":"file0"},{"photo_id":"1331702135","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702131":["hashtag1","hashtag2"]},{"1331702133":["hashtag1","hashtag2"]},{"1331702136":["hashtag1","hashtag2"]},{"1331702135":["hashtag1","hashtag2"]},{"1331702138":["hashtag1","hashtag2"]},{"1331702129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702131, 1331702133, 1331702136, 1331702135, 1331702138, 1331702129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.31696963310242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:14:32.598255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_55_9339.jpg', '/home/pi/Desktop/images/26012025/16/13/image_26012025_16_14_05_10355.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_16_10454.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_25_9355.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_35_10349.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_46_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_13_55_9339.jpg
/home/pi/Desktop/images/26012025/16/13/image_26012025_16_14_05_10355.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_16_10454.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_25_9355.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_35_10349.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_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":["1331702169","1331702151","1331702171","1331702159","1331702164","1331702155"],"photo_ids_order":["1331702151","1331702155","1331702159","1331702164","1331702169","1331702171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/630982694dfc2c3590cfed9e79fe6ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5081718149166677817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_14_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/26/ffccf4178dca719146762c9e489fd910.jpg","text":"TemporaryFile(/tmp/multipartBody3226601394098021728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_13_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/26/f682243e8dee634cb13e9ec48af32da7.jpg","text":"TemporaryFile(/tmp/multipartBody5295961312990467484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_14_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/26/3c4a35cf9ed04bd6e42f002f90c6d51a.jpg","text":"TemporaryFile(/tmp/multipartBody7984551016786458836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_14_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/26/4d830ed998311c0ea0c8f0cab85eb2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8053398661576658676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_14_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/26/4d25c4e6ba9d0dd098e741445564dca2.jpg","text":"TemporaryFile(/tmp/multipartBody3853447199243810086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904533507,"filename":"image_26012025_16_14_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702159","file1":"1331702155","file0":"1331702151","file4":"1331702169","file5":"1331702171","file3":"1331702164"},"map_files_photo_id_array":[{"photo_id":"1331702171","filename":"file5"},{"photo_id":"1331702159","filename":"file2"},{"photo_id":"1331702169","filename":"file4"},{"photo_id":"1331702155","filename":"file1"},{"photo_id":"1331702151","filename":"file0"},{"photo_id":"1331702164","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702169":["hashtag1","hashtag2"]},{"1331702151":["hashtag1","hashtag2"]},{"1331702171":["hashtag1","hashtag2"]},{"1331702159":["hashtag1","hashtag2"]},{"1331702164":["hashtag1","hashtag2"]},{"1331702155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702169, 1331702151, 1331702171, 1331702159, 1331702164, 1331702155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.19547963142395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:15:32.941000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_55_9349.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_15_06_10379.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_16_10344.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_25_9327.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_36_10402.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_55_9349.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_15_06_10379.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_16_10344.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_25_9327.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_36_10402.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_45_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.5196027755737305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:15:43.002151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_55_9349.jpg', '/home/pi/Desktop/images/26012025/16/14/image_26012025_16_15_06_10379.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_16_10344.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_25_9327.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_36_10402.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_45_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_14_55_9349.jpg
/home/pi/Desktop/images/26012025/16/14/image_26012025_16_15_06_10379.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_16_10344.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_25_9327.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_36_10402.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_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":["1331702193","1331702192","1331702186","1331702189","1331702182","1331702191"],"photo_ids_order":["1331702182","1331702186","1331702189","1331702191","1331702192","1331702193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7c16cc1fb3afe3f30b2618250b9ea57.jpg","text":"TemporaryFile(/tmp/multipartBody992916597236484737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_15_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/26/de31a4818c32c1b1a7559f37e84f610b.jpg","text":"TemporaryFile(/tmp/multipartBody357317278389731891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_15_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/26/802d8af6af30c3e61fd3bcab188dc925.jpg","text":"TemporaryFile(/tmp/multipartBody6027571064647011678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_15_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3129a48cb22b79aeb5b6cac8e9b9a16d.jpg","text":"TemporaryFile(/tmp/multipartBody8840152232638283252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_15_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/26/ee7540897b57cba1a71d38fb5cb77015.jpg","text":"TemporaryFile(/tmp/multipartBody8306399781147750865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_14_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/26/f0e8a1805f8a9a93abf770b13cfa44ef.jpg","text":"TemporaryFile(/tmp/multipartBody8990061425283832745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904603937,"filename":"image_26012025_16_15_25_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702189","file1":"1331702186","file0":"1331702182","file4":"1331702192","file5":"1331702193","file3":"1331702191"},"map_files_photo_id_array":[{"photo_id":"1331702193","filename":"file5"},{"photo_id":"1331702189","filename":"file2"},{"photo_id":"1331702192","filename":"file4"},{"photo_id":"1331702186","filename":"file1"},{"photo_id":"1331702182","filename":"file0"},{"photo_id":"1331702191","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702193":["hashtag1","hashtag2"]},{"1331702192":["hashtag1","hashtag2"]},{"1331702186":["hashtag1","hashtag2"]},{"1331702189":["hashtag1","hashtag2"]},{"1331702182":["hashtag1","hashtag2"]},{"1331702191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702193, 1331702192, 1331702186, 1331702189, 1331702182, 1331702191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30017423629761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:16:33.158382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_55_10358.jpg', '/home/pi/Desktop/images/26012025/16/15/image_26012025_16_16_06_10411.jpg', '/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_15_9321.jpg', '/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_25_10354.jpg', '/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_36_10369.jpg', '/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_45_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_15_55_10358.jpg
/home/pi/Desktop/images/26012025/16/15/image_26012025_16_16_06_10411.jpg
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_15_9321.jpg
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_25_10354.jpg
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_36_10369.jpg
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_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":["1331702205","1331702255","1331702254","1331702227","1331702236","1331702200"],"photo_ids_order":["1331702200","1331702205","1331702227","1331702236","1331702254","1331702255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1b770227cb73c6c2bb39155a16c6d4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3590624972447841308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_16_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/26/32a34c982cf557beb62ba4d82b805fa0.jpg","text":"TemporaryFile(/tmp/multipartBody3869947418738404796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_16_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/26/559771361381e9ed063e4442f9083acd.jpg","text":"TemporaryFile(/tmp/multipartBody1517364269957194923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_16_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/26/294d3248799c76a61b95f8e96f5d6a80.jpg","text":"TemporaryFile(/tmp/multipartBody2566637550306441715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_16_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/26/e1f1554e15e9f70da96f9a065211d032.jpg","text":"TemporaryFile(/tmp/multipartBody952181950113755508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_16_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/26/f0f72f40e7e86161487ef220f168e02f.jpg","text":"TemporaryFile(/tmp/multipartBody785453028803494967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904654099,"filename":"image_26012025_16_15_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702227","file1":"1331702205","file0":"1331702200","file4":"1331702254","file5":"1331702255","file3":"1331702236"},"map_files_photo_id_array":[{"photo_id":"1331702255","filename":"file5"},{"photo_id":"1331702227","filename":"file2"},{"photo_id":"1331702254","filename":"file4"},{"photo_id":"1331702205","filename":"file1"},{"photo_id":"1331702200","filename":"file0"},{"photo_id":"1331702236","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702205":["hashtag1","hashtag2"]},{"1331702255":["hashtag1","hashtag2"]},{"1331702254":["hashtag1","hashtag2"]},{"1331702227":["hashtag1","hashtag2"]},{"1331702236":["hashtag1","hashtag2"]},{"1331702200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702205, 1331702255, 1331702254, 1331702227, 1331702236, 1331702200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57739877700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:17:32.386923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_56_10411.jpg', '/home/pi/Desktop/images/26012025/16/16/image_26012025_16_17_05_9356.jpg', '/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_15_10370.jpg', '/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_26_10360.jpg', '/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_35_9322.jpg', '/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_16_56_10411.jpg
/home/pi/Desktop/images/26012025/16/16/image_26012025_16_17_05_9356.jpg
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_15_10370.jpg
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_26_10360.jpg
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_35_9322.jpg
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_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":["1331702401","1331702397","1331702319","1331702399","1331702402","1331702392"],"photo_ids_order":["1331702319","1331702392","1331702397","1331702399","1331702401","1331702402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41845656da28067eedd9da5a8425c305.jpg","text":"TemporaryFile(/tmp/multipartBody1025978986263411066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_17_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/13f97ed7241c935ba366ab0c9659eda0.jpg","text":"TemporaryFile(/tmp/multipartBody2668341778744203074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_17_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/26/52bb923736d826db8f684edff2845200.jpg","text":"TemporaryFile(/tmp/multipartBody8828806874660606221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_16_56_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/26/70c493733d06301c010282ddbe926fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8839873426889978700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_17_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/26/8713f527bbfc688810b1b1c06fa47d45.jpg","text":"TemporaryFile(/tmp/multipartBody1574730260367093230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_17_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/26/aaa02d26fc6051c8af16cd03da4b8255.jpg","text":"TemporaryFile(/tmp/multipartBody1502805806019014945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904713314,"filename":"image_26012025_16_17_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702397","file1":"1331702392","file0":"1331702319","file4":"1331702401","file5":"1331702402","file3":"1331702399"},"map_files_photo_id_array":[{"photo_id":"1331702402","filename":"file5"},{"photo_id":"1331702397","filename":"file2"},{"photo_id":"1331702401","filename":"file4"},{"photo_id":"1331702392","filename":"file1"},{"photo_id":"1331702319","filename":"file0"},{"photo_id":"1331702399","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702401":["hashtag1","hashtag2"]},{"1331702397":["hashtag1","hashtag2"]},{"1331702319":["hashtag1","hashtag2"]},{"1331702399":["hashtag1","hashtag2"]},{"1331702402":["hashtag1","hashtag2"]},{"1331702392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702401, 1331702397, 1331702319, 1331702399, 1331702402, 1331702392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45944666862488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:18:32.549112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_56_10368.jpg', '/home/pi/Desktop/images/26012025/16/17/image_26012025_16_18_05_9331.jpg', '/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_15_10333.jpg', '/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_26_10357.jpg', '/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_35_9325.jpg', '/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_45_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_17_56_10368.jpg
/home/pi/Desktop/images/26012025/16/17/image_26012025_16_18_05_9331.jpg
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_15_10333.jpg
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_26_10357.jpg
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_35_9325.jpg
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_45_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331702559","1331702550","1331702546","1331702554","1331702557","1331702542"],"photo_ids_order":["1331702542","1331702546","1331702550","1331702554","1331702557","1331702559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e82a42abd53789e5619298543a5c6de.jpg","text":"TemporaryFile(/tmp/multipartBody8706132495268726355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_18_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef15e5831e1132a8d775ee995fd034ca.jpg","text":"TemporaryFile(/tmp/multipartBody8572617261566622339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_18_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7af33cd967cefc452d3c309d83b05ca1.jpg","text":"TemporaryFile(/tmp/multipartBody1405288652320312846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_18_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/26/4d012556e902fdb8608757ef338cbcf1.jpg","text":"TemporaryFile(/tmp/multipartBody3921717636740408252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_18_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/26/e7a6332112d32f21fc00f208cc1ec676.jpg","text":"TemporaryFile(/tmp/multipartBody8033075272531073655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_18_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/26/404915460cc16543eb667593e9e7f43d.jpg","text":"TemporaryFile(/tmp/multipartBody1280492954321640786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904773455,"filename":"image_26012025_16_17_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702550","file1":"1331702546","file0":"1331702542","file4":"1331702557","file5":"1331702559","file3":"1331702554"},"map_files_photo_id_array":[{"photo_id":"1331702559","filename":"file5"},{"photo_id":"1331702550","filename":"file2"},{"photo_id":"1331702557","filename":"file4"},{"photo_id":"1331702546","filename":"file1"},{"photo_id":"1331702542","filename":"file0"},{"photo_id":"1331702554","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702559":["hashtag1","hashtag2"]},{"1331702550":["hashtag1","hashtag2"]},{"1331702546":["hashtag1","hashtag2"]},{"1331702554":["hashtag1","hashtag2"]},{"1331702557":["hashtag1","hashtag2"]},{"1331702542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702559, 1331702550, 1331702546, 1331702554, 1331702557, 1331702542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32984805107117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:19:32.787290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_56_10431.jpg', '/home/pi/Desktop/images/26012025/16/18/image_26012025_16_19_05_9329.jpg', '/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_16_10484.jpg', '/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_25_9351.jpg', '/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_35_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_18_56_10431.jpg
/home/pi/Desktop/images/26012025/16/18/image_26012025_16_19_05_9329.jpg
/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_16_10484.jpg
/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_25_9351.jpg
/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_35_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331702713","1331702628","1331702627","1331702600","1331702596"],"photo_ids_order":["1331702596","1331702600","1331702627","1331702628","1331702713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5164d7aa4417f333e3b85e3ed7fc701.jpg","text":"TemporaryFile(/tmp/multipartBody1516300274286202742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904833683,"filename":"image_26012025_16_19_35_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bdbebc317a88854c5b3819f011e8e0bc.jpg","text":"TemporaryFile(/tmp/multipartBody3027728861228822598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904833683,"filename":"image_26012025_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/26/5c77da52e9caeead7863162a2dc930c0.jpg","text":"TemporaryFile(/tmp/multipartBody4837486932735001163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904833683,"filename":"image_26012025_16_19_16_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a27717b186ee1781a41e274f812aae5d.jpg","text":"TemporaryFile(/tmp/multipartBody6080016329036354195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904833683,"filename":"image_26012025_16_19_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/26/16a8a342037e4afc08a506c55ab37acd.jpg","text":"TemporaryFile(/tmp/multipartBody7075515071274458333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904833683,"filename":"image_26012025_16_18_56_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331702627","file1":"1331702600","file0":"1331702596","file4":"1331702713","file3":"1331702628"},"map_files_photo_id_array":[{"photo_id":"1331702627","filename":"file2"},{"photo_id":"1331702713","filename":"file4"},{"photo_id":"1331702600","filename":"file1"},{"photo_id":"1331702596","filename":"file0"},{"photo_id":"1331702628","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331702713":["hashtag1","hashtag2"]},{"1331702628":["hashtag1","hashtag2"]},{"1331702627":["hashtag1","hashtag2"]},{"1331702600":["hashtag1","hashtag2"]},{"1331702596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331702713, 1331702628, 1331702627, 1331702600, 1331702596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.23947620391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:20:32.242747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_55_9340.jpg', '/home/pi/Desktop/images/26012025/16/19/image_26012025_16_20_06_10507.jpg', '/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_15_9400.jpg', '/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_25_10350.jpg', '/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_36_10391.jpg', '/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_45_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/19/image_26012025_16_19_55_9340.jpg
/home/pi/Desktop/images/26012025/16/19/image_26012025_16_20_06_10507.jpg
/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_15_9400.jpg
/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_25_10350.jpg
/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_36_10391.jpg
/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_45_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331703821","1331703818","1331703844","1331703847","1331703826","1331703754"],"photo_ids_order":["1331703754","1331703818","1331703821","1331703826","1331703844","1331703847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f92cf21772d409cb375d9deec68c3c5d.jpg","text":"TemporaryFile(/tmp/multipartBody9174737150025021458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_20_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f8c2dfca56b924f84772f8de025869e.jpg","text":"TemporaryFile(/tmp/multipartBody2645910880010031203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_20_06_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/26/8a161b1b63caba4a3de0eebbb0a145dc.jpg","text":"TemporaryFile(/tmp/multipartBody8991121440180448290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_20_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/26/c13f484e6242ad42472005426c7e83e6.jpg","text":"TemporaryFile(/tmp/multipartBody7648440186583509495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_20_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/26/d935d206b84e4f289ee52dd27a6211eb.jpg","text":"TemporaryFile(/tmp/multipartBody6972861447981092799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_20_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/26/80d42322157ee1e1cf535a94d1831de5.jpg","text":"TemporaryFile(/tmp/multipartBody507078738766712328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904893147,"filename":"image_26012025_16_19_55_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331703821","file1":"1331703818","file0":"1331703754","file4":"1331703844","file5":"1331703847","file3":"1331703826"},"map_files_photo_id_array":[{"photo_id":"1331703847","filename":"file5"},{"photo_id":"1331703821","filename":"file2"},{"photo_id":"1331703844","filename":"file4"},{"photo_id":"1331703818","filename":"file1"},{"photo_id":"1331703754","filename":"file0"},{"photo_id":"1331703826","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331703821":["hashtag1","hashtag2"]},{"1331703818":["hashtag1","hashtag2"]},{"1331703844":["hashtag1","hashtag2"]},{"1331703847":["hashtag1","hashtag2"]},{"1331703826":["hashtag1","hashtag2"]},{"1331703754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331703821, 1331703818, 1331703844, 1331703847, 1331703826, 1331703754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12325644493103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:21:32.366192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_56_10419.jpg', '/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_26_10356.jpg', '/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_35_9347.jpg', '/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/20/image_26012025_16_20_56_10419.jpg
/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_26_10356.jpg
/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_35_9347.jpg
/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_45_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":["1331704261","1331704318","1331704158","1331704239"],"photo_ids_order":["1331704158","1331704239","1331704261","1331704318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e1b0ae2fd7af9dab65e375e508ede17.jpg","text":"TemporaryFile(/tmp/multipartBody961664587038437850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904953255,"filename":"image_26012025_16_21_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/26/68f61992a3cc6314e4f8050bcf632e22.jpg","text":"TemporaryFile(/tmp/multipartBody8272326974455313146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904953255,"filename":"image_26012025_16_21_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/26/73803cb9022e0c519cacca420dbe0594.jpg","text":"TemporaryFile(/tmp/multipartBody5627933833924729548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904953255,"filename":"image_26012025_16_20_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/26/76ef9d72e2a9f2bc720b48e80827de21.jpg","text":"TemporaryFile(/tmp/multipartBody1408828925287920198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737904953255,"filename":"image_26012025_16_21_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704261","file1":"1331704239","file0":"1331704158","file3":"1331704318"},"map_files_photo_id_array":[{"photo_id":"1331704261","filename":"file2"},{"photo_id":"1331704239","filename":"file1"},{"photo_id":"1331704158","filename":"file0"},{"photo_id":"1331704318","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704261":["hashtag1","hashtag2"]},{"1331704318":["hashtag1","hashtag2"]},{"1331704158":["hashtag1","hashtag2"]},{"1331704239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704261, 1331704318, 1331704158, 1331704239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.322447061538696 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-26 16:22:32.615554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_56_10365.jpg', '/home/pi/Desktop/images/26012025/16/21/image_26012025_16_22_05_9428.jpg', '/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_15_10336.jpg', '/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_26_10456.jpg', '/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_35_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/21/image_26012025_16_21_56_10365.jpg
/home/pi/Desktop/images/26012025/16/21/image_26012025_16_22_05_9428.jpg
/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_15_10336.jpg
/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_26_10456.jpg
/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_35_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331704448","1331704406","1331704444","1331704414","1331704411"],"photo_ids_order":["1331704406","1331704411","1331704414","1331704444","1331704448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ef7feb0155d4996fd45d5784ceb39d0.jpg","text":"TemporaryFile(/tmp/multipartBody5677302321189738753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905013514,"filename":"image_26012025_16_22_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c769efb3c4d72ccb573d7a75a46c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody866912600725791272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905013514,"filename":"image_26012025_16_21_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/26/7fe6a31574cc9fc9477cd3ea31186faf.jpg","text":"TemporaryFile(/tmp/multipartBody7533160223801598365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905013514,"filename":"image_26012025_16_22_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/afa188e1b55a1bf806522cb2487b6f22.jpg","text":"TemporaryFile(/tmp/multipartBody4641253820274918336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905013514,"filename":"image_26012025_16_22_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/26/a83a2885f44132b43237d11030d98fdf.jpg","text":"TemporaryFile(/tmp/multipartBody726414429073714711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905013514,"filename":"image_26012025_16_22_05_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704414","file1":"1331704411","file0":"1331704406","file4":"1331704448","file3":"1331704444"},"map_files_photo_id_array":[{"photo_id":"1331704414","filename":"file2"},{"photo_id":"1331704448","filename":"file4"},{"photo_id":"1331704411","filename":"file1"},{"photo_id":"1331704406","filename":"file0"},{"photo_id":"1331704444","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704448":["hashtag1","hashtag2"]},{"1331704406":["hashtag1","hashtag2"]},{"1331704444":["hashtag1","hashtag2"]},{"1331704414":["hashtag1","hashtag2"]},{"1331704411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704448, 1331704406, 1331704444, 1331704414, 1331704411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.58401942253113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:23:32.897117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_46_10373.jpg', '/home/pi/Desktop/images/26012025/16/22/image_26012025_16_23_05_10336.jpg', '/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_25_9346.jpg', '/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_35_10329.jpg', '/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_46_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/22/image_26012025_16_22_46_10373.jpg
/home/pi/Desktop/images/26012025/16/22/image_26012025_16_23_05_10336.jpg
/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_25_9346.jpg
/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_35_10329.jpg
/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_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":["1331704466","1331704462","1331704468","1331704491","1331704464"],"photo_ids_order":["1331704462","1331704464","1331704466","1331704468","1331704491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e00224ce78b4a54ee66aaaf127b3606.jpg","text":"TemporaryFile(/tmp/multipartBody7534744014543502433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905073814,"filename":"image_26012025_16_23_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0dc52a61d3c77b352014dbda65ffc5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3718547990653461821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905073814,"filename":"image_26012025_16_22_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/26/820d975d2d61e1bc6baf331913b37418.jpg","text":"TemporaryFile(/tmp/multipartBody8829658585244327161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905073814,"filename":"image_26012025_16_23_35_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/623cd58f92fb381f4fb724ea970d487e.jpg","text":"TemporaryFile(/tmp/multipartBody6785346921453077913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905073814,"filename":"image_26012025_16_23_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/26/4709b958a8165c90a5c2727ae4303dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4669495319240840455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905073814,"filename":"image_26012025_16_23_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704466","file1":"1331704464","file0":"1331704462","file4":"1331704491","file3":"1331704468"},"map_files_photo_id_array":[{"photo_id":"1331704466","filename":"file2"},{"photo_id":"1331704491","filename":"file4"},{"photo_id":"1331704464","filename":"file1"},{"photo_id":"1331704462","filename":"file0"},{"photo_id":"1331704468","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704466":["hashtag1","hashtag2"]},{"1331704462":["hashtag1","hashtag2"]},{"1331704468":["hashtag1","hashtag2"]},{"1331704491":["hashtag1","hashtag2"]},{"1331704464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704466, 1331704462, 1331704468, 1331704491, 1331704464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.45246744155884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:24:33.149344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_55_9345.jpg', '/home/pi/Desktop/images/26012025/16/23/image_26012025_16_24_06_10408.jpg', '/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_15_9380.jpg', '/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_25_10352.jpg', '/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_36_10419.jpg', '/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_45_9330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/23/image_26012025_16_23_55_9345.jpg
/home/pi/Desktop/images/26012025/16/23/image_26012025_16_24_06_10408.jpg
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_15_9380.jpg
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_25_10352.jpg
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_36_10419.jpg
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_45_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331704531","1331704540","1331704534","1331704528","1331704537","1331704542"],"photo_ids_order":["1331704528","1331704531","1331704534","1331704537","1331704540","1331704542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bd4b3c35ecbe8ebb2d071c1d21df3b45.jpg","text":"TemporaryFile(/tmp/multipartBody2483437753190246605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_24_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d36e188b1376358de14ec11eb792cd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1704183351594758135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_24_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c95ea9437a80fa16a79711193b73e29.jpg","text":"TemporaryFile(/tmp/multipartBody3850469739192305832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_24_15_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/06e44df03ade8e1fcd8a1703de5b753c.jpg","text":"TemporaryFile(/tmp/multipartBody273277417160163021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_23_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/26/0fb71e5387bf521a04c709a7ab11bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody4398801010665635155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_24_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/26/6d3b47d3f4242caa950faf181e22c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody8881104548190607051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905134071,"filename":"image_26012025_16_24_45_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704534","file1":"1331704531","file0":"1331704528","file4":"1331704540","file5":"1331704542","file3":"1331704537"},"map_files_photo_id_array":[{"photo_id":"1331704542","filename":"file5"},{"photo_id":"1331704534","filename":"file2"},{"photo_id":"1331704540","filename":"file4"},{"photo_id":"1331704531","filename":"file1"},{"photo_id":"1331704528","filename":"file0"},{"photo_id":"1331704537","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704531":["hashtag1","hashtag2"]},{"1331704540":["hashtag1","hashtag2"]},{"1331704534":["hashtag1","hashtag2"]},{"1331704528":["hashtag1","hashtag2"]},{"1331704537":["hashtag1","hashtag2"]},{"1331704542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704531, 1331704540, 1331704534, 1331704528, 1331704537, 1331704542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.839083433151245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:25:32.386578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_55_10362.jpg', '/home/pi/Desktop/images/26012025/16/24/image_26012025_16_25_06_10436.jpg', '/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_15_9353.jpg', '/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_26_10481.jpg', '/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_24_55_10362.jpg
/home/pi/Desktop/images/26012025/16/24/image_26012025_16_25_06_10436.jpg
/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_15_9353.jpg
/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_26_10481.jpg
/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_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":["1331704574","1331704568","1331704607","1331704573","1331704563"],"photo_ids_order":["1331704563","1331704568","1331704573","1331704574","1331704607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/67d113722a9b463a1a7e9fa86602ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody2867744789117444424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905193291,"filename":"image_26012025_16_25_26_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8441919998490a8759e5942921616ae9.jpg","text":"TemporaryFile(/tmp/multipartBody224029989124981035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905193291,"filename":"image_26012025_16_25_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/26/d1ec6de9ac59dde82e9e4b4cdcdc0a78.jpg","text":"TemporaryFile(/tmp/multipartBody6728459177167703490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905193291,"filename":"image_26012025_16_25_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e87f6e0cf17a07c3003778bfd38d733.jpg","text":"TemporaryFile(/tmp/multipartBody4112132412107063004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905193291,"filename":"image_26012025_16_25_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/26/049cf73cade102b2ee22626928319427.jpg","text":"TemporaryFile(/tmp/multipartBody5345360804547824127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905193291,"filename":"image_26012025_16_24_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704573","file1":"1331704568","file0":"1331704563","file4":"1331704607","file3":"1331704574"},"map_files_photo_id_array":[{"photo_id":"1331704573","filename":"file2"},{"photo_id":"1331704607","filename":"file4"},{"photo_id":"1331704568","filename":"file1"},{"photo_id":"1331704563","filename":"file0"},{"photo_id":"1331704574","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704574":["hashtag1","hashtag2"]},{"1331704568":["hashtag1","hashtag2"]},{"1331704607":["hashtag1","hashtag2"]},{"1331704573":["hashtag1","hashtag2"]},{"1331704563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704574, 1331704568, 1331704607, 1331704573, 1331704563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.3907995223999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:26:32.568842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_56_10393.jpg', '/home/pi/Desktop/images/26012025/16/25/image_26012025_16_26_05_9322.jpg', '/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_15_10329.jpg', '/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_26_10436.jpg', '/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_35_9316.jpg', '/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_46_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/25/image_26012025_16_25_56_10393.jpg
/home/pi/Desktop/images/26012025/16/25/image_26012025_16_26_05_9322.jpg
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_15_10329.jpg
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_26_10436.jpg
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_35_9316.jpg
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_46_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":["1331704812","1331704739","1331704882","1331705130","1331705124","1331705127"],"photo_ids_order":["1331704739","1331704812","1331704882","1331705124","1331705127","1331705130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a592b38b4790ba0929515eecfcbec60a.jpg","text":"TemporaryFile(/tmp/multipartBody721964523401786835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_26_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d159a099ff5c09440e9fff44f0aad338.jpg","text":"TemporaryFile(/tmp/multipartBody8445729867529365952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_25_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f58db5fa513d13cc09a0fba7e96fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody2468857663353807192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_26_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/26/9f2572b5ab43bb3496e5cc4909e86ba5.jpg","text":"TemporaryFile(/tmp/multipartBody104780707882444985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_26_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/26/35f0dfb30b458a41ee7a4c2dd699c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3012835281011895759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_26_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8bbfe8aae15fc706b1867b349b6def6e.jpg","text":"TemporaryFile(/tmp/multipartBody105118606917517949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905253484,"filename":"image_26012025_16_26_35_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331704882","file1":"1331704812","file0":"1331704739","file4":"1331705127","file5":"1331705130","file3":"1331705124"},"map_files_photo_id_array":[{"photo_id":"1331705130","filename":"file5"},{"photo_id":"1331704882","filename":"file2"},{"photo_id":"1331705127","filename":"file4"},{"photo_id":"1331704812","filename":"file1"},{"photo_id":"1331704739","filename":"file0"},{"photo_id":"1331705124","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331704812":["hashtag1","hashtag2"]},{"1331704739":["hashtag1","hashtag2"]},{"1331704882":["hashtag1","hashtag2"]},{"1331705130":["hashtag1","hashtag2"]},{"1331705124":["hashtag1","hashtag2"]},{"1331705127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331704812, 1331704739, 1331704882, 1331705130, 1331705124, 1331705127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.17653822898865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:27:33.011043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_55_9362.jpg', '/home/pi/Desktop/images/26012025/16/26/image_26012025_16_27_05_10424.jpg', '/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_16_10466.jpg', '/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_25_9364.jpg', '/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_36_10398.jpg', '/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_45_9386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_26_55_9362.jpg
/home/pi/Desktop/images/26012025/16/26/image_26012025_16_27_05_10424.jpg
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_16_10466.jpg
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_25_9364.jpg
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_36_10398.jpg
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_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":["1331705300","1331705377","1331705536","1331705608","1331705571","1331705331"],"photo_ids_order":["1331705300","1331705331","1331705377","1331705536","1331705571","1331705608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0388a7e1284b743fad1b80f804c37b49.jpg","text":"TemporaryFile(/tmp/multipartBody711714270228580780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_26_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e80bec1fcb29841eff31030efcc42666.jpg","text":"TemporaryFile(/tmp/multipartBody6274230254918034693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_27_16_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0061be06bd75a97951f23f2aa6c9abe1.jpg","text":"TemporaryFile(/tmp/multipartBody5042171119084740643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_27_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/26/ba5d94af82c57160a11bcfac2929e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3684248184695284732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_27_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/26/e8ce3221eeec638392733e95e46999c4.jpg","text":"TemporaryFile(/tmp/multipartBody1651904475941146784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_27_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/26/c70e903da125f3b41e9794b4c9651605.jpg","text":"TemporaryFile(/tmp/multipartBody4087490982862776881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905313934,"filename":"image_26012025_16_27_05_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331705377","file1":"1331705331","file0":"1331705300","file4":"1331705571","file5":"1331705608","file3":"1331705536"},"map_files_photo_id_array":[{"photo_id":"1331705608","filename":"file5"},{"photo_id":"1331705377","filename":"file2"},{"photo_id":"1331705571","filename":"file4"},{"photo_id":"1331705331","filename":"file1"},{"photo_id":"1331705300","filename":"file0"},{"photo_id":"1331705536","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331705300":["hashtag1","hashtag2"]},{"1331705377":["hashtag1","hashtag2"]},{"1331705536":["hashtag1","hashtag2"]},{"1331705608":["hashtag1","hashtag2"]},{"1331705571":["hashtag1","hashtag2"]},{"1331705331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331705300, 1331705377, 1331705536, 1331705608, 1331705571, 1331705331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.06352114677429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:28:32.204137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_55_10363.jpg', '/home/pi/Desktop/images/26012025/16/27/image_26012025_16_28_06_10349.jpg', '/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_15_9316.jpg', '/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_25_10438.jpg', '/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_36_10338.jpg', '/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_27_55_10363.jpg
/home/pi/Desktop/images/26012025/16/27/image_26012025_16_28_06_10349.jpg
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_15_9316.jpg
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_25_10438.jpg
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_36_10338.jpg
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_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":["1331705995","1331706073","1331705950","1331705947","1331705932","1331705940"],"photo_ids_order":["1331705932","1331705940","1331705947","1331705950","1331705995","1331706073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/20ae7d4d82bfd1a2142bad23208dc4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2715178899770451597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_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/26/51d2e94288288cab6dcdafeaeafd22df.jpg","text":"TemporaryFile(/tmp/multipartBody2458403243445173562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_28_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/26/89ebe2491f0ca0e1420791ef07c9db9a.jpg","text":"TemporaryFile(/tmp/multipartBody2550388275191349110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_28_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/26/9ddc6fb25a09d8ef179184a09fb749b7.jpg","text":"TemporaryFile(/tmp/multipartBody828341210443807485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_28_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bac54f246271aae94b14c93b74bf72e7.jpg","text":"TemporaryFile(/tmp/multipartBody7434610729367739905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_27_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45820892121aaae1136c4dfdf8eeab76.jpg","text":"TemporaryFile(/tmp/multipartBody4296274050184376995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905373110,"filename":"image_26012025_16_28_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331705947","file1":"1331705940","file0":"1331705932","file4":"1331705995","file5":"1331706073","file3":"1331705950"},"map_files_photo_id_array":[{"photo_id":"1331706073","filename":"file5"},{"photo_id":"1331705947","filename":"file2"},{"photo_id":"1331705995","filename":"file4"},{"photo_id":"1331705940","filename":"file1"},{"photo_id":"1331705932","filename":"file0"},{"photo_id":"1331705950","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331705995":["hashtag1","hashtag2"]},{"1331706073":["hashtag1","hashtag2"]},{"1331705950":["hashtag1","hashtag2"]},{"1331705947":["hashtag1","hashtag2"]},{"1331705932":["hashtag1","hashtag2"]},{"1331705940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331705995, 1331706073, 1331705950, 1331705947, 1331705932, 1331705940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32557201385498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:29:32.371033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_56_10417.jpg', '/home/pi/Desktop/images/26012025/16/28/image_26012025_16_29_06_10332.jpg', '/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_15_9373.jpg', '/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_26_10357.jpg', '/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_35_9414.jpg', '/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_46_10486.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_28_56_10417.jpg
/home/pi/Desktop/images/26012025/16/28/image_26012025_16_29_06_10332.jpg
/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_15_9373.jpg
/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_26_10357.jpg
/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_35_9414.jpg
/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_46_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":["1331706218","1331706196","1331706192","1331706216","1331706194","1331706197"],"photo_ids_order":["1331706192","1331706194","1331706196","1331706197","1331706216","1331706218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbffff29f04ebae8fe7cc9eaf380cd8f.jpg","text":"TemporaryFile(/tmp/multipartBody2412018597490665667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_29_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/26/5c860e492e26ae3c72c61d9141e52aa4.jpg","text":"TemporaryFile(/tmp/multipartBody775509933407917826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_29_15_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/94b83e35162cfdb33fa554c9f06b17af.jpg","text":"TemporaryFile(/tmp/multipartBody1266618587627299137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_28_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/26/42534e27b25d79a4fe17cc6774481b3e.jpg","text":"TemporaryFile(/tmp/multipartBody1396704549820115270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_29_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/26/9e4b7cfb00d0dbede98d2252335cd1e3.jpg","text":"TemporaryFile(/tmp/multipartBody570356273490105684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_29_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/26/709ab0211a6ea05ccba8746eca17fe9c.jpg","text":"TemporaryFile(/tmp/multipartBody5556214961316859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905433307,"filename":"image_26012025_16_29_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331706196","file1":"1331706194","file0":"1331706192","file4":"1331706216","file5":"1331706218","file3":"1331706197"},"map_files_photo_id_array":[{"photo_id":"1331706218","filename":"file5"},{"photo_id":"1331706196","filename":"file2"},{"photo_id":"1331706216","filename":"file4"},{"photo_id":"1331706194","filename":"file1"},{"photo_id":"1331706192","filename":"file0"},{"photo_id":"1331706197","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331706218":["hashtag1","hashtag2"]},{"1331706196":["hashtag1","hashtag2"]},{"1331706192":["hashtag1","hashtag2"]},{"1331706216":["hashtag1","hashtag2"]},{"1331706194":["hashtag1","hashtag2"]},{"1331706197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331706218, 1331706196, 1331706192, 1331706216, 1331706194, 1331706197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.13592314720154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:30:32.556872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_56_10386.jpg', '/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_16_10345.jpg', '/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_25_9346.jpg', '/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_35_10337.jpg', '/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_46_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/29/image_26012025_16_29_56_10386.jpg
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_16_10345.jpg
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_25_9346.jpg
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_35_10337.jpg
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_46_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331706255","1331706258","1331706239","1331706248","1331706236"],"photo_ids_order":["1331706236","1331706239","1331706248","1331706255","1331706258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e43825d9dcd72617947b19f61cf08776.jpg","text":"TemporaryFile(/tmp/multipartBody6126193315758220433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905493476,"filename":"image_26012025_16_30_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/26/d5017b3f1d71f0431b46fbe70a30fa67.jpg","text":"TemporaryFile(/tmp/multipartBody4558854956640449504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905493476,"filename":"image_26012025_16_30_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/26/c1b68fecee27f6d5c20d76a7d3169c85.jpg","text":"TemporaryFile(/tmp/multipartBody83337061990934594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905493476,"filename":"image_26012025_16_30_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22b29b45cbfa0708a97cd328e844cdf3.jpg","text":"TemporaryFile(/tmp/multipartBody1363605089685115022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905493476,"filename":"image_26012025_16_30_25_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ac972d9a6c27c32228949a413c9a301.jpg","text":"TemporaryFile(/tmp/multipartBody7712345267638435923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905493476,"filename":"image_26012025_16_29_56_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331706248","file1":"1331706239","file0":"1331706236","file4":"1331706258","file3":"1331706255"},"map_files_photo_id_array":[{"photo_id":"1331706248","filename":"file2"},{"photo_id":"1331706258","filename":"file4"},{"photo_id":"1331706239","filename":"file1"},{"photo_id":"1331706236","filename":"file0"},{"photo_id":"1331706255","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331706255":["hashtag1","hashtag2"]},{"1331706258":["hashtag1","hashtag2"]},{"1331706239":["hashtag1","hashtag2"]},{"1331706248":["hashtag1","hashtag2"]},{"1331706236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331706255, 1331706258, 1331706239, 1331706248, 1331706236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.5593638420105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:31:32.925820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_55_9342.jpg', '/home/pi/Desktop/images/26012025/16/30/image_26012025_16_31_05_10364.jpg', '/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_16_10422.jpg', '/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_25_9344.jpg', '/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_36_10388.jpg', '/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_30_55_9342.jpg
/home/pi/Desktop/images/26012025/16/30/image_26012025_16_31_05_10364.jpg
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_16_10422.jpg
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_25_9344.jpg
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_36_10388.jpg
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_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":["1331706302","1331706305","1331706321","1331706315","1331706300","1331706296"],"photo_ids_order":["1331706296","1331706300","1331706302","1331706305","1331706315","1331706321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f90d2287668f7a48a7e79e2abc7daae8.jpg","text":"TemporaryFile(/tmp/multipartBody6374312271966822674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_31_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/26/2d4f27c26f6eb4453684d54567095e11.jpg","text":"TemporaryFile(/tmp/multipartBody2967647355903531472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_31_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/26/9268420245596e2c80583481a311ba45.jpg","text":"TemporaryFile(/tmp/multipartBody2317449664501481175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_31_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/26/5d61e4180551af5df7b919fbcace7acf.jpg","text":"TemporaryFile(/tmp/multipartBody5166446244977230740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_31_36_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6a8fca1a3b3c536f61a6c8a17209c16a.jpg","text":"TemporaryFile(/tmp/multipartBody3747486371966700480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_31_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/26/ef70a31235ba8bc72604bb66c89ce0d4.jpg","text":"TemporaryFile(/tmp/multipartBody9149090940202208956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905553848,"filename":"image_26012025_16_30_55_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331706302","file1":"1331706300","file0":"1331706296","file4":"1331706315","file5":"1331706321","file3":"1331706305"},"map_files_photo_id_array":[{"photo_id":"1331706321","filename":"file5"},{"photo_id":"1331706302","filename":"file2"},{"photo_id":"1331706315","filename":"file4"},{"photo_id":"1331706300","filename":"file1"},{"photo_id":"1331706296","filename":"file0"},{"photo_id":"1331706305","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331706302":["hashtag1","hashtag2"]},{"1331706305":["hashtag1","hashtag2"]},{"1331706321":["hashtag1","hashtag2"]},{"1331706315":["hashtag1","hashtag2"]},{"1331706300":["hashtag1","hashtag2"]},{"1331706296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331706302, 1331706305, 1331706321, 1331706315, 1331706300, 1331706296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29111623764038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:32:33.111366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_55_10365.jpg', '/home/pi/Desktop/images/26012025/16/31/image_26012025_16_32_06_10434.jpg', '/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_15_9344.jpg', '/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_26_10406.jpg', '/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_36_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_31_55_10365.jpg
/home/pi/Desktop/images/26012025/16/31/image_26012025_16_32_06_10434.jpg
/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_15_9344.jpg
/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_26_10406.jpg
/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_36_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":["1331706520","1331706516","1331706530","1331706524","1331706527"],"photo_ids_order":["1331706516","1331706520","1331706524","1331706527","1331706530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9000682b0ea6e1fa46e6cb6923ea9539.jpg","text":"TemporaryFile(/tmp/multipartBody3808281216880870874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905614024,"filename":"image_26012025_16_32_06_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a32fa6a388a046653bf25841b6cd0d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2238289357321225096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905614024,"filename":"image_26012025_16_31_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f8fa15a3238dc9d8bd6d7f86d78fc27.jpg","text":"TemporaryFile(/tmp/multipartBody2383591989170537613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905614024,"filename":"image_26012025_16_32_36_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae31fdf750e42a8ce601391308a55078.jpg","text":"TemporaryFile(/tmp/multipartBody2600320321287542635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905614024,"filename":"image_26012025_16_32_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/26/9cd4908014387e3647765c93212b9d33.jpg","text":"TemporaryFile(/tmp/multipartBody8284697032347513511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905614024,"filename":"image_26012025_16_32_26_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331706524","file1":"1331706520","file0":"1331706516","file4":"1331706530","file3":"1331706527"},"map_files_photo_id_array":[{"photo_id":"1331706524","filename":"file2"},{"photo_id":"1331706530","filename":"file4"},{"photo_id":"1331706520","filename":"file1"},{"photo_id":"1331706516","filename":"file0"},{"photo_id":"1331706527","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331706520":["hashtag1","hashtag2"]},{"1331706516":["hashtag1","hashtag2"]},{"1331706530":["hashtag1","hashtag2"]},{"1331706524":["hashtag1","hashtag2"]},{"1331706527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331706520, 1331706516, 1331706530, 1331706524, 1331706527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.82658934593201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:33:33.431799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_45_9354.jpg', '/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_15_10352.jpg', '/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_26_10447.jpg', '/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_35_9345.jpg', '/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_46_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/32/image_26012025_16_32_45_9354.jpg
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_15_10352.jpg
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_26_10447.jpg
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_35_9345.jpg
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_46_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":["1331706547","1331706544","1331706546","1331706542","1331706545"],"photo_ids_order":["1331706542","1331706544","1331706545","1331706546","1331706547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/796f8671f871d8b0e1deaabcaef90764.jpg","text":"TemporaryFile(/tmp/multipartBody4244859487721295607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905674352,"filename":"image_26012025_16_33_46_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/26/3049a8de2189795998b1790387e7e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2406207929268278657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905674352,"filename":"image_26012025_16_33_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/26/2bcd409d7cfa858d10fd65a9d7546ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2533537852230183113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905674352,"filename":"image_26012025_16_33_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/26/7fb6b866e645025ff2fd3830e0b1ccca.jpg","text":"TemporaryFile(/tmp/multipartBody3194460519975544102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905674352,"filename":"image_26012025_16_32_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/26/65875cf7c7a2da5f51ed2ad6f2701d9e.jpg","text":"TemporaryFile(/tmp/multipartBody9167845319335686791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905674352,"filename":"image_26012025_16_33_26_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331706545","file1":"1331706544","file0":"1331706542","file4":"1331706547","file3":"1331706546"},"map_files_photo_id_array":[{"photo_id":"1331706545","filename":"file2"},{"photo_id":"1331706547","filename":"file4"},{"photo_id":"1331706544","filename":"file1"},{"photo_id":"1331706542","filename":"file0"},{"photo_id":"1331706546","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331706547":["hashtag1","hashtag2"]},{"1331706544":["hashtag1","hashtag2"]},{"1331706546":["hashtag1","hashtag2"]},{"1331706542":["hashtag1","hashtag2"]},{"1331706545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331706547, 1331706544, 1331706546, 1331706542, 1331706545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.76079869270325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:34:32.745550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_55_9440.jpg', '/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_25_9351.jpg', '/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_45_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_55_9440.jpg
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_25_9351.jpg
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_45_9420.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4814884662628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:34:42.722880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_55_9440.jpg', '/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_25_9351.jpg', '/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_45_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/33/image_26012025_16_33_55_9440.jpg
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_25_9351.jpg
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_45_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":["1331707408","1331707405","1331707401"],"photo_ids_order":["1331707401","1331707405","1331707408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32638f8599a87eec5d8371359cf8a793.jpg","text":"TemporaryFile(/tmp/multipartBody6926326225072796676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905743587,"filename":"image_26012025_16_34_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/26/d66d6d0db6230d16adfe0a2d3e5b2a66.jpg","text":"TemporaryFile(/tmp/multipartBody6475810338659774792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905743587,"filename":"image_26012025_16_34_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/26/e4f19d06811ce244e6f2d1169741a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5932978203267950681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905743587,"filename":"image_26012025_16_33_55_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331707408","file1":"1331707405","file0":"1331707401"},"map_files_photo_id_array":[{"photo_id":"1331707408","filename":"file2"},{"photo_id":"1331707405","filename":"file1"},{"photo_id":"1331707401","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331707408":["hashtag1","hashtag2"]},{"1331707405":["hashtag1","hashtag2"]},{"1331707401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331707408, 1331707405, 1331707401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.664578437805176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:35:33.066992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_55_10350.jpg', '/home/pi/Desktop/images/26012025/16/34/image_26012025_16_35_06_10337.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_15_9344.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_26_10461.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_36_10325.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_45_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_34_55_10350.jpg
/home/pi/Desktop/images/26012025/16/34/image_26012025_16_35_06_10337.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_15_9344.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_26_10461.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_36_10325.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_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":["1331707423","1331707801","1331707425","1331707419","1331707799","1331707576"],"photo_ids_order":["1331707419","1331707423","1331707425","1331707576","1331707799","1331707801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d02b898596cf385a83a301b22ad8c07.jpg","text":"TemporaryFile(/tmp/multipartBody1056160516175029425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_35_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bc098b956ec297b4204c61e7ca4d9451.jpg","text":"TemporaryFile(/tmp/multipartBody6805424756998804281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_35_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/26/8c0deb189ee7045be7ebbcf4acd95ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4555313921755409863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_35_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/26/d58081723d7c0e81b858daa0ebbfc34a.jpg","text":"TemporaryFile(/tmp/multipartBody1748917847553655181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_34_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/26/da2b2bcddbbd31d1e143dad469a5f92a.jpg","text":"TemporaryFile(/tmp/multipartBody1939428165985437160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_35_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/525cf56336072f7f14e35e4645911e76.jpg","text":"TemporaryFile(/tmp/multipartBody1296708912768565130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905793988,"filename":"image_26012025_16_35_26_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331707425","file1":"1331707423","file0":"1331707419","file4":"1331707799","file5":"1331707801","file3":"1331707576"},"map_files_photo_id_array":[{"photo_id":"1331707801","filename":"file5"},{"photo_id":"1331707425","filename":"file2"},{"photo_id":"1331707799","filename":"file4"},{"photo_id":"1331707423","filename":"file1"},{"photo_id":"1331707419","filename":"file0"},{"photo_id":"1331707576","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331707423":["hashtag1","hashtag2"]},{"1331707801":["hashtag1","hashtag2"]},{"1331707425":["hashtag1","hashtag2"]},{"1331707419":["hashtag1","hashtag2"]},{"1331707799":["hashtag1","hashtag2"]},{"1331707576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331707423, 1331707801, 1331707425, 1331707419, 1331707799, 1331707576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09096884727478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:36:32.291776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_56_10430.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_36_05_9363.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_15_10354.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_26_10422.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_35_9348.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_56_10430.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_36_05_9363.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_15_10354.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_26_10422.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_35_9348.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_46_10408.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5363242626190186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:36:42.294464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_56_10430.jpg', '/home/pi/Desktop/images/26012025/16/35/image_26012025_16_36_05_9363.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_15_10354.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_26_10422.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_35_9348.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_46_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_35_56_10430.jpg
/home/pi/Desktop/images/26012025/16/35/image_26012025_16_36_05_9363.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_15_10354.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_26_10422.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_35_9348.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_46_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":["1331707936","1331707921","1331707939","1331707930","1331707926","1331707934"],"photo_ids_order":["1331707921","1331707926","1331707930","1331707934","1331707936","1331707939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f3efbb0635d1b392b011a74106bcc869.jpg","text":"TemporaryFile(/tmp/multipartBody7243008812218724695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_36_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/26/8bbdb15e4474ee09c4365d3ca84567df.jpg","text":"TemporaryFile(/tmp/multipartBody2796033940676625093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_35_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/26/4957e00478760ea116740d44e263bf66.jpg","text":"TemporaryFile(/tmp/multipartBody1576326896154213710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_36_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd6baeac922988f17d390a25127d2dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6698356820607956439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_36_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2663472fa625a6c5e1e960d8602e4d57.jpg","text":"TemporaryFile(/tmp/multipartBody867929392383533851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_36_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/26/bd4d87a3a1ee48ff33e5466903ecc1e0.jpg","text":"TemporaryFile(/tmp/multipartBody6973862515924179187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905863224,"filename":"image_26012025_16_36_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331707930","file1":"1331707926","file0":"1331707921","file4":"1331707936","file5":"1331707939","file3":"1331707934"},"map_files_photo_id_array":[{"photo_id":"1331707939","filename":"file5"},{"photo_id":"1331707930","filename":"file2"},{"photo_id":"1331707936","filename":"file4"},{"photo_id":"1331707926","filename":"file1"},{"photo_id":"1331707921","filename":"file0"},{"photo_id":"1331707934","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331707936":["hashtag1","hashtag2"]},{"1331707921":["hashtag1","hashtag2"]},{"1331707939":["hashtag1","hashtag2"]},{"1331707930":["hashtag1","hashtag2"]},{"1331707926":["hashtag1","hashtag2"]},{"1331707934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331707936, 1331707921, 1331707939, 1331707930, 1331707926, 1331707934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4551260471344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:37:32.527010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_55_9344.jpg', '/home/pi/Desktop/images/26012025/16/36/image_26012025_16_37_05_10395.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_16_10362.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_25_9363.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_35_10318.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_46_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_36_55_9344.jpg
/home/pi/Desktop/images/26012025/16/36/image_26012025_16_37_05_10395.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_16_10362.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_25_9363.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_35_10318.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_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":["1331708073","1331708043","1331708001","1331708045","1331707999","1331708023"],"photo_ids_order":["1331707999","1331708001","1331708023","1331708043","1331708045","1331708073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/040a997368d2d2103f8c8d3a73347a42.jpg","text":"TemporaryFile(/tmp/multipartBody8739130776795486880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_37_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/26/9285bcf2c906d2a2e84c93c3fbf7e64b.jpg","text":"TemporaryFile(/tmp/multipartBody9109819809535283041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_37_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/26/6b1c3ee82f3ac8c2a5ee58ce9700ea3d.jpg","text":"TemporaryFile(/tmp/multipartBody8025104969542264786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_37_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/26/aeb459075d162797fe41a521dec9df42.jpg","text":"TemporaryFile(/tmp/multipartBody38174962740046167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_37_35_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae9f0a493fe6bfcbba349be2d2ca7ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8933242242244913342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_36_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/26/ddc812d3b33b48887dc39c4772bf765e.jpg","text":"TemporaryFile(/tmp/multipartBody7117715933422217456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905913487,"filename":"image_26012025_16_37_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708023","file1":"1331708001","file0":"1331707999","file4":"1331708045","file5":"1331708073","file3":"1331708043"},"map_files_photo_id_array":[{"photo_id":"1331708073","filename":"file5"},{"photo_id":"1331708023","filename":"file2"},{"photo_id":"1331708045","filename":"file4"},{"photo_id":"1331708001","filename":"file1"},{"photo_id":"1331707999","filename":"file0"},{"photo_id":"1331708043","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708073":["hashtag1","hashtag2"]},{"1331708043":["hashtag1","hashtag2"]},{"1331708001":["hashtag1","hashtag2"]},{"1331708045":["hashtag1","hashtag2"]},{"1331707999":["hashtag1","hashtag2"]},{"1331708023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708073, 1331708043, 1331708001, 1331708045, 1331707999, 1331708023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92791247367859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:38:32.716282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_55_9342.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_38_05_10377.jpg', '/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_25_9385.jpg', '/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_36_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_55_9342.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_38_05_10377.jpg
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_25_9385.jpg
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_36_10411.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.502612829208374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:38:42.731947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_55_9342.jpg', '/home/pi/Desktop/images/26012025/16/37/image_26012025_16_38_05_10377.jpg', '/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_25_9385.jpg', '/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_36_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_37_55_9342.jpg
/home/pi/Desktop/images/26012025/16/37/image_26012025_16_38_05_10377.jpg
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_25_9385.jpg
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_36_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331708135","1331708144","1331708132","1331708200"],"photo_ids_order":["1331708132","1331708135","1331708144","1331708200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3da921ff3c8e70d85db138289aa17b20.jpg","text":"TemporaryFile(/tmp/multipartBody3766144970325991161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905983621,"filename":"image_26012025_16_38_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/26/3e748ba6f4508a3a90f022a373ca89c1.jpg","text":"TemporaryFile(/tmp/multipartBody749293452480830382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905983621,"filename":"image_26012025_16_38_25_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/26/afe18465df0c18e7d0679816ab590f51.jpg","text":"TemporaryFile(/tmp/multipartBody6354294069169221387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905983621,"filename":"image_26012025_16_37_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/26/9220a519c85ebd23610d62d97ecb7d22.jpg","text":"TemporaryFile(/tmp/multipartBody2973858088683785314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737905983621,"filename":"image_26012025_16_38_36_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708144","file1":"1331708135","file0":"1331708132","file3":"1331708200"},"map_files_photo_id_array":[{"photo_id":"1331708144","filename":"file2"},{"photo_id":"1331708135","filename":"file1"},{"photo_id":"1331708132","filename":"file0"},{"photo_id":"1331708200","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708135":["hashtag1","hashtag2"]},{"1331708144":["hashtag1","hashtag2"]},{"1331708132":["hashtag1","hashtag2"]},{"1331708200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708135, 1331708144, 1331708132, 1331708200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.8049476146698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:39:33.057539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_55_9355.jpg', '/home/pi/Desktop/images/26012025/16/38/image_26012025_16_39_06_10343.jpg', '/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_15_9345.jpg', '/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_25_10428.jpg', '/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_38_55_9355.jpg
/home/pi/Desktop/images/26012025/16/38/image_26012025_16_39_06_10343.jpg
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_15_9345.jpg
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_25_10428.jpg
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_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":["1331708232","1331708229","1331708234","1331708224","1331708227"],"photo_ids_order":["1331708224","1331708227","1331708229","1331708232","1331708234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b71db25f11485b48cdf0aadf7e5451d4.jpg","text":"TemporaryFile(/tmp/multipartBody592742649527517642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906033968,"filename":"image_26012025_16_39_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/26/3e3254768bf6253ee168fa5feef1fe60.jpg","text":"TemporaryFile(/tmp/multipartBody7857596872985545297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906033968,"filename":"image_26012025_16_39_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/26/7a1dfcf965b4207e72ed302da6088073.jpg","text":"TemporaryFile(/tmp/multipartBody5613170453156855894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906033968,"filename":"image_26012025_16_39_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/26/d50ebe289ea1045f8878c23cea47d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody5167896615536620088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906033968,"filename":"image_26012025_16_38_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/26/945dc8dfdf0e25684a0d19c16c5f7018.jpg","text":"TemporaryFile(/tmp/multipartBody1388031832673268202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906033968,"filename":"image_26012025_16_39_06_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708229","file1":"1331708227","file0":"1331708224","file4":"1331708234","file3":"1331708232"},"map_files_photo_id_array":[{"photo_id":"1331708229","filename":"file2"},{"photo_id":"1331708234","filename":"file4"},{"photo_id":"1331708227","filename":"file1"},{"photo_id":"1331708224","filename":"file0"},{"photo_id":"1331708232","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708232":["hashtag1","hashtag2"]},{"1331708229":["hashtag1","hashtag2"]},{"1331708234":["hashtag1","hashtag2"]},{"1331708224":["hashtag1","hashtag2"]},{"1331708227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708232, 1331708229, 1331708234, 1331708224, 1331708227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.22807478904724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:40:32.245272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_55_10347.jpg', '/home/pi/Desktop/images/26012025/16/39/image_26012025_16_40_06_10342.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_15_9343.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_26_10427.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_36_10321.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_55_10347.jpg
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_40_06_10342.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_15_9343.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_26_10427.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_36_10321.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_45_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.5173704624176025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:40:42.273082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_55_10347.jpg', '/home/pi/Desktop/images/26012025/16/39/image_26012025_16_40_06_10342.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_15_9343.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_26_10427.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_36_10321.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_45_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_39_55_10347.jpg
/home/pi/Desktop/images/26012025/16/39/image_26012025_16_40_06_10342.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_15_9343.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_26_10427.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_36_10321.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_45_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":["1331708310","1331708304","1331708300","1331708312","1331708296","1331708308"],"photo_ids_order":["1331708296","1331708300","1331708304","1331708308","1331708310","1331708312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b6acf5e7c887011dd62eba49640e6d46.jpg","text":"TemporaryFile(/tmp/multipartBody5856557758934256641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_40_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f47566515586396ff9fb06a43cec2cad.jpg","text":"TemporaryFile(/tmp/multipartBody7581809206408102806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_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/26/0c51d426b9af7a2e6c8825449a1f70b6.jpg","text":"TemporaryFile(/tmp/multipartBody4654407866306599083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_40_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/26/92f15ba1efc7f4a7555cbb7fb180cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody4306901993960433491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_40_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/26/19cc177142a054a13b290c24390b6671.jpg","text":"TemporaryFile(/tmp/multipartBody2630700392117476456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_39_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/26/151297cfd7faf03846844ada7208b786.jpg","text":"TemporaryFile(/tmp/multipartBody902496658199182374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906103204,"filename":"image_26012025_16_40_26_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708304","file1":"1331708300","file0":"1331708296","file4":"1331708310","file5":"1331708312","file3":"1331708308"},"map_files_photo_id_array":[{"photo_id":"1331708312","filename":"file5"},{"photo_id":"1331708304","filename":"file2"},{"photo_id":"1331708310","filename":"file4"},{"photo_id":"1331708300","filename":"file1"},{"photo_id":"1331708296","filename":"file0"},{"photo_id":"1331708308","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708310":["hashtag1","hashtag2"]},{"1331708304":["hashtag1","hashtag2"]},{"1331708300":["hashtag1","hashtag2"]},{"1331708312":["hashtag1","hashtag2"]},{"1331708296":["hashtag1","hashtag2"]},{"1331708308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708310, 1331708304, 1331708300, 1331708312, 1331708296, 1331708308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35225558280945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:41:32.560764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_56_10449.jpg', '/home/pi/Desktop/images/26012025/16/40/image_26012025_16_41_05_9336.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_15_10438.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_26_10352.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_35_9342.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_46_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_40_56_10449.jpg
/home/pi/Desktop/images/26012025/16/40/image_26012025_16_41_05_9336.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_15_10438.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_26_10352.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_35_9342.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_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":["1331708333","1331708327","1331708321","1331708330","1331708324","1331708332"],"photo_ids_order":["1331708321","1331708324","1331708327","1331708330","1331708332","1331708333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b5708d2df87a641cbf9183d7013ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody7382588643015645761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_41_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/26/ccbea8d85a95eedc156b9062b7890566.jpg","text":"TemporaryFile(/tmp/multipartBody14717130809771013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_41_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/26/09e20d4411ff5518f01e2060de383860.jpg","text":"TemporaryFile(/tmp/multipartBody1665463671468908103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_40_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff705e5d3c6b3d1b98cb0442bd8b8744.jpg","text":"TemporaryFile(/tmp/multipartBody7590555534496572142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_41_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/26/2f3ec4c2062fef39865ecb43a25fa4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3891752511058741497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_41_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/26/dfb9ff9d31c7584db26c5d529bb1cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody7890298174962459546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906153485,"filename":"image_26012025_16_41_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708327","file1":"1331708324","file0":"1331708321","file4":"1331708332","file5":"1331708333","file3":"1331708330"},"map_files_photo_id_array":[{"photo_id":"1331708333","filename":"file5"},{"photo_id":"1331708327","filename":"file2"},{"photo_id":"1331708332","filename":"file4"},{"photo_id":"1331708324","filename":"file1"},{"photo_id":"1331708321","filename":"file0"},{"photo_id":"1331708330","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708333":["hashtag1","hashtag2"]},{"1331708327":["hashtag1","hashtag2"]},{"1331708321":["hashtag1","hashtag2"]},{"1331708330":["hashtag1","hashtag2"]},{"1331708324":["hashtag1","hashtag2"]},{"1331708332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708333, 1331708327, 1331708321, 1331708330, 1331708324, 1331708332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07511281967163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:42:32.673535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_56_10362.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_42_05_9321.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_16_10365.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_25_9357.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_46_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_56_10362.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_42_05_9321.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_16_10365.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_25_9357.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_46_10450.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.49951648712158203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:42:42.790301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_56_10362.jpg', '/home/pi/Desktop/images/26012025/16/41/image_26012025_16_42_05_9321.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_16_10365.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_25_9357.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_46_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_41_56_10362.jpg
/home/pi/Desktop/images/26012025/16/41/image_26012025_16_42_05_9321.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_16_10365.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_25_9357.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_46_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331708379","1331708376","1331708381","1331708372","1331708369"],"photo_ids_order":["1331708369","1331708372","1331708376","1331708379","1331708381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5fcc694c5f3e3861fc9d05567e5eb2bd.jpg","text":"TemporaryFile(/tmp/multipartBody4045053284776927322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906223703,"filename":"image_26012025_16_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/26/5fb6f7215d4a846443b7d93136f66b6f.jpg","text":"TemporaryFile(/tmp/multipartBody353357515937573262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906223703,"filename":"image_26012025_16_42_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e43858eba79687c0ea03de4ce17da06.jpg","text":"TemporaryFile(/tmp/multipartBody3260505404569081419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906223703,"filename":"image_26012025_16_42_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c4a7862ce28338aa145367896104f50.jpg","text":"TemporaryFile(/tmp/multipartBody6959994430009417919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906223703,"filename":"image_26012025_16_42_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/26/75e344ecae07d80aaefa430242488b57.jpg","text":"TemporaryFile(/tmp/multipartBody6996797024036174982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906223703,"filename":"image_26012025_16_41_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708376","file1":"1331708372","file0":"1331708369","file4":"1331708381","file3":"1331708379"},"map_files_photo_id_array":[{"photo_id":"1331708376","filename":"file2"},{"photo_id":"1331708381","filename":"file4"},{"photo_id":"1331708372","filename":"file1"},{"photo_id":"1331708369","filename":"file0"},{"photo_id":"1331708379","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708379":["hashtag1","hashtag2"]},{"1331708376":["hashtag1","hashtag2"]},{"1331708381":["hashtag1","hashtag2"]},{"1331708372":["hashtag1","hashtag2"]},{"1331708369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708379, 1331708376, 1331708381, 1331708372, 1331708369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.24676966667175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:43:32.909013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_55_9350.jpg', '/home/pi/Desktop/images/26012025/16/42/image_26012025_16_43_06_10533.jpg', '/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_15_9406.jpg', '/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_25_10347.jpg', '/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_36_10420.jpg', '/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_45_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_42_55_9350.jpg
/home/pi/Desktop/images/26012025/16/42/image_26012025_16_43_06_10533.jpg
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_15_9406.jpg
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_25_10347.jpg
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_36_10420.jpg
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_45_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":["1331708445","1331708438","1331708432","1331708435","1331708440","1331708443"],"photo_ids_order":["1331708432","1331708435","1331708438","1331708440","1331708443","1331708445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1f88f7374fc83b5e158200719be5fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody7335905112620217258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_43_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/26/e58ac14712f038c7e6260cd35fdcf686.jpg","text":"TemporaryFile(/tmp/multipartBody6992257902493215430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_43_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/26/cdab3a6c2a170826ef5ffb966faf30a0.jpg","text":"TemporaryFile(/tmp/multipartBody3857683803138864485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_42_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/26/77bcdaf0b5db5998cddef84737ad87a4.jpg","text":"TemporaryFile(/tmp/multipartBody9178061954973010668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_43_06_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/26/ec6547594f82d4df362b6d1309ca3238.jpg","text":"TemporaryFile(/tmp/multipartBody5755991113150187702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_43_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/26/990b399c36ced082c15447930275a54e.jpg","text":"TemporaryFile(/tmp/multipartBody5918394968955299049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906273839,"filename":"image_26012025_16_43_36_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708438","file1":"1331708435","file0":"1331708432","file4":"1331708443","file5":"1331708445","file3":"1331708440"},"map_files_photo_id_array":[{"photo_id":"1331708445","filename":"file5"},{"photo_id":"1331708438","filename":"file2"},{"photo_id":"1331708443","filename":"file4"},{"photo_id":"1331708435","filename":"file1"},{"photo_id":"1331708432","filename":"file0"},{"photo_id":"1331708440","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708445":["hashtag1","hashtag2"]},{"1331708438":["hashtag1","hashtag2"]},{"1331708432":["hashtag1","hashtag2"]},{"1331708435":["hashtag1","hashtag2"]},{"1331708440":["hashtag1","hashtag2"]},{"1331708443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708445, 1331708438, 1331708432, 1331708435, 1331708440, 1331708443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.72999310493469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:44:33.151056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_56_10449.jpg', '/home/pi/Desktop/images/26012025/16/43/image_26012025_16_44_06_10345.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_15_9343.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_26_10354.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_35_9330.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_45_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_43_56_10449.jpg
/home/pi/Desktop/images/26012025/16/43/image_26012025_16_44_06_10345.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_15_9343.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_26_10354.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_35_9330.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_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":["1331708478","1331708477","1331708456","1331708473","1331708467","1331708461"],"photo_ids_order":["1331708456","1331708461","1331708467","1331708473","1331708477","1331708478"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2c649b547d5cbd26ea37e80217bf31d.jpg","text":"TemporaryFile(/tmp/multipartBody4653978381682563099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_44_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/26/2cf9720c8e349b8f348daf5f8e0bd4eb.jpg","text":"TemporaryFile(/tmp/multipartBody4395617416470290568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_44_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/26/bb9ff2437c9260b929a95fec7d8801e1.jpg","text":"TemporaryFile(/tmp/multipartBody2573215750264229473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_43_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8b9fa297315a34ebfe94bef09efe7867.jpg","text":"TemporaryFile(/tmp/multipartBody8755321179012873128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_44_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/26/9caf897b1d93a242f210d9b6b326ac15.jpg","text":"TemporaryFile(/tmp/multipartBody52062397044348725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_44_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/26/33e2e813cdb3d0249d716410f6efd35a.jpg","text":"TemporaryFile(/tmp/multipartBody1023199552736974907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906334073,"filename":"image_26012025_16_44_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708467","file1":"1331708461","file0":"1331708456","file4":"1331708477","file5":"1331708478","file3":"1331708473"},"map_files_photo_id_array":[{"photo_id":"1331708478","filename":"file5"},{"photo_id":"1331708467","filename":"file2"},{"photo_id":"1331708477","filename":"file4"},{"photo_id":"1331708461","filename":"file1"},{"photo_id":"1331708456","filename":"file0"},{"photo_id":"1331708473","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708478":["hashtag1","hashtag2"]},{"1331708477":["hashtag1","hashtag2"]},{"1331708456":["hashtag1","hashtag2"]},{"1331708473":["hashtag1","hashtag2"]},{"1331708467":["hashtag1","hashtag2"]},{"1331708461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708478, 1331708477, 1331708456, 1331708473, 1331708467, 1331708461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51024389266968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:45:32.396375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_56_10462.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_45_05_9323.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_15_10355.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_26_10345.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_35_9323.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_56_10462.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_45_05_9323.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_15_10355.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_26_10345.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_35_9323.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_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.5210175514221191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 16:45:42.362157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_56_10462.jpg', '/home/pi/Desktop/images/26012025/16/44/image_26012025_16_45_05_9323.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_15_10355.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_26_10345.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_35_9323.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_44_56_10462.jpg
/home/pi/Desktop/images/26012025/16/44/image_26012025_16_45_05_9323.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_15_10355.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_26_10345.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_35_9323.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_45_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":["1331708499","1331708498","1331708491","1331708494","1331708488","1331708497"],"photo_ids_order":["1331708488","1331708491","1331708494","1331708497","1331708498","1331708499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f70e0f090f6c8213de6cda6de9271f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2084152528914303744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_45_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/26/bc499af2d01860aadc312a58788b8171.jpg","text":"TemporaryFile(/tmp/multipartBody5264333078064637397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_45_35_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6f95b21fd592dd8a8d4da506c27fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody1236763948056251823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_45_05_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/26/c2d7267ffcb3b3d44d2d135087a68de4.jpg","text":"TemporaryFile(/tmp/multipartBody3283644021186097471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_45_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/26/844ec8728325b64b8da1f4478385a633.jpg","text":"TemporaryFile(/tmp/multipartBody6543277987409799687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_44_56_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e116938f948e3317445c311087aaa999.jpg","text":"TemporaryFile(/tmp/multipartBody3569398148215683828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906403292,"filename":"image_26012025_16_45_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708494","file1":"1331708491","file0":"1331708488","file4":"1331708498","file5":"1331708499","file3":"1331708497"},"map_files_photo_id_array":[{"photo_id":"1331708499","filename":"file5"},{"photo_id":"1331708494","filename":"file2"},{"photo_id":"1331708498","filename":"file4"},{"photo_id":"1331708491","filename":"file1"},{"photo_id":"1331708488","filename":"file0"},{"photo_id":"1331708497","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708499":["hashtag1","hashtag2"]},{"1331708498":["hashtag1","hashtag2"]},{"1331708491":["hashtag1","hashtag2"]},{"1331708494":["hashtag1","hashtag2"]},{"1331708488":["hashtag1","hashtag2"]},{"1331708497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708499, 1331708498, 1331708491, 1331708494, 1331708488, 1331708497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45007944107056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:46:32.750518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_56_10340.jpg', '/home/pi/Desktop/images/26012025/16/45/image_26012025_16_46_05_9338.jpg', '/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_16_10400.jpg', '/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_26_10366.jpg', '/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_35_9322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_45_56_10340.jpg
/home/pi/Desktop/images/26012025/16/45/image_26012025_16_46_05_9338.jpg
/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_16_10400.jpg
/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_26_10366.jpg
/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_35_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331708556","1331708567","1331708525","1331708560","1331708521"],"photo_ids_order":["1331708521","1331708525","1331708556","1331708560","1331708567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35f1d94189b844a7f8d76e02d6a6d279.jpg","text":"TemporaryFile(/tmp/multipartBody6053685303416980731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906453685,"filename":"image_26012025_16_46_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/932628c2d2a1d33b54dbe9ccd0675d29.jpg","text":"TemporaryFile(/tmp/multipartBody382491191770237924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906453685,"filename":"image_26012025_16_46_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b0943d3440332b7f0fbab786fd13f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7471808802683106444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906453685,"filename":"image_26012025_16_46_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/26/4d72ed28f6de73e3295994fbcd732a45.jpg","text":"TemporaryFile(/tmp/multipartBody1396725464345615888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906453685,"filename":"image_26012025_16_46_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/26/93bfb1dbd387c289c1e0c9724be28c00.jpg","text":"TemporaryFile(/tmp/multipartBody8082474696762517689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906453685,"filename":"image_26012025_16_45_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708556","file1":"1331708525","file0":"1331708521","file4":"1331708567","file3":"1331708560"},"map_files_photo_id_array":[{"photo_id":"1331708556","filename":"file2"},{"photo_id":"1331708567","filename":"file4"},{"photo_id":"1331708525","filename":"file1"},{"photo_id":"1331708521","filename":"file0"},{"photo_id":"1331708560","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708556":["hashtag1","hashtag2"]},{"1331708567":["hashtag1","hashtag2"]},{"1331708525":["hashtag1","hashtag2"]},{"1331708560":["hashtag1","hashtag2"]},{"1331708521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708556, 1331708567, 1331708525, 1331708560, 1331708521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.46053504943848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:47:32.898404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_46_10376.jpg', '/home/pi/Desktop/images/26012025/16/46/image_26012025_16_47_05_10334.jpg', '/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_16_10345.jpg', '/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_25_9347.jpg', '/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_36_10518.jpg', '/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_45_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/46/image_26012025_16_46_46_10376.jpg
/home/pi/Desktop/images/26012025/16/46/image_26012025_16_47_05_10334.jpg
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_16_10345.jpg
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_25_9347.jpg
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_36_10518.jpg
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_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":["1331708583","1331708577","1331708586","1331708574","1331708585","1331708580"],"photo_ids_order":["1331708574","1331708577","1331708580","1331708583","1331708585","1331708586"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb9c2fc7bad51d5fcf99f1a52acb887d.jpg","text":"TemporaryFile(/tmp/multipartBody2473820842697836331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_47_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efe5a27218b81259ce7ac32c19ce4868.jpg","text":"TemporaryFile(/tmp/multipartBody2646854402364844120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_47_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/26/87e12125d73d4ca2899ab2ba683c6c38.jpg","text":"TemporaryFile(/tmp/multipartBody3659460741780889565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_47_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/26/55e31bff4f36c1caa765e4e7a8ef3ce0.jpg","text":"TemporaryFile(/tmp/multipartBody4307351651387957130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_46_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/26/e254c108b414ce86efa870b28ff8757a.jpg","text":"TemporaryFile(/tmp/multipartBody4093844368535237518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_47_36_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/26/bb1dbd4ae4958c1ea39c1e7aa6555c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6354784556933782162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906513842,"filename":"image_26012025_16_47_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708580","file1":"1331708577","file0":"1331708574","file4":"1331708585","file5":"1331708586","file3":"1331708583"},"map_files_photo_id_array":[{"photo_id":"1331708586","filename":"file5"},{"photo_id":"1331708580","filename":"file2"},{"photo_id":"1331708585","filename":"file4"},{"photo_id":"1331708577","filename":"file1"},{"photo_id":"1331708574","filename":"file0"},{"photo_id":"1331708583","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708583":["hashtag1","hashtag2"]},{"1331708577":["hashtag1","hashtag2"]},{"1331708586":["hashtag1","hashtag2"]},{"1331708574":["hashtag1","hashtag2"]},{"1331708585":["hashtag1","hashtag2"]},{"1331708580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708583, 1331708577, 1331708586, 1331708574, 1331708585, 1331708580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.601969718933105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:48:33.056067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_55_10355.jpg', '/home/pi/Desktop/images/26012025/16/47/image_26012025_16_48_06_10464.jpg', '/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_15_9338.jpg', '/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_25_10375.jpg', '/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_36_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_47_55_10355.jpg
/home/pi/Desktop/images/26012025/16/47/image_26012025_16_48_06_10464.jpg
/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_15_9338.jpg
/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_25_10375.jpg
/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_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":["1331708607","1331708601","1331708597","1331708593","1331708611"],"photo_ids_order":["1331708593","1331708597","1331708601","1331708607","1331708611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6533952117c3ab070df54c0381d07fc7.jpg","text":"TemporaryFile(/tmp/multipartBody573448834339167207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906573965,"filename":"image_26012025_16_48_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/26/9d0bab98f26240a51196a07b1e5eff0b.jpg","text":"TemporaryFile(/tmp/multipartBody1546581445847085985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906573965,"filename":"image_26012025_16_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/26/294b530d25835d585138248c373de78c.jpg","text":"TemporaryFile(/tmp/multipartBody1337634821186719103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906573965,"filename":"image_26012025_16_48_06_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87087dd5e1608990f68104ddbab5ff19.jpg","text":"TemporaryFile(/tmp/multipartBody4727951907357757021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906573965,"filename":"image_26012025_16_47_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/26/67a6685e9b7efd43a5a46b3ca84e631f.jpg","text":"TemporaryFile(/tmp/multipartBody1824877615091739364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906573965,"filename":"image_26012025_16_48_36_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708601","file1":"1331708597","file0":"1331708593","file4":"1331708611","file3":"1331708607"},"map_files_photo_id_array":[{"photo_id":"1331708601","filename":"file2"},{"photo_id":"1331708611","filename":"file4"},{"photo_id":"1331708597","filename":"file1"},{"photo_id":"1331708593","filename":"file0"},{"photo_id":"1331708607","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708607":["hashtag1","hashtag2"]},{"1331708601":["hashtag1","hashtag2"]},{"1331708597":["hashtag1","hashtag2"]},{"1331708593":["hashtag1","hashtag2"]},{"1331708611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708607, 1331708601, 1331708597, 1331708593, 1331708611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.85327172279358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:49:32.345561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_45_9374.jpg', '/home/pi/Desktop/images/26012025/16/48/image_26012025_16_49_06_10329.jpg', '/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_15_9450.jpg', '/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_26_10344.jpg', '/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_35_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/48/image_26012025_16_48_45_9374.jpg
/home/pi/Desktop/images/26012025/16/48/image_26012025_16_49_06_10329.jpg
/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_15_9450.jpg
/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_26_10344.jpg
/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_35_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331708636","1331708630","1331708633","1331708677","1331708656"],"photo_ids_order":["1331708630","1331708633","1331708636","1331708656","1331708677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e72bec7595e48be4f8d9f7c3f3730ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2616823622361143679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906633239,"filename":"image_26012025_16_49_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/26/47468f519f195389287064a0d5f88bbd.jpg","text":"TemporaryFile(/tmp/multipartBody129050855666620396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906633239,"filename":"image_26012025_16_48_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/26/4b1ed8eab44e32fb7f99ed810c3a4e23.jpg","text":"TemporaryFile(/tmp/multipartBody9081310762095022939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906633239,"filename":"image_26012025_16_49_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/26/77964ff47409143cd3d72f222f978e93.jpg","text":"TemporaryFile(/tmp/multipartBody1066428692969569452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906633239,"filename":"image_26012025_16_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/26/675f297ace3216a20e48b5c3e850735b.jpg","text":"TemporaryFile(/tmp/multipartBody6917619418430338822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906633239,"filename":"image_26012025_16_49_26_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331708636","file1":"1331708633","file0":"1331708630","file4":"1331708677","file3":"1331708656"},"map_files_photo_id_array":[{"photo_id":"1331708636","filename":"file2"},{"photo_id":"1331708677","filename":"file4"},{"photo_id":"1331708633","filename":"file1"},{"photo_id":"1331708630","filename":"file0"},{"photo_id":"1331708656","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331708636":["hashtag1","hashtag2"]},{"1331708630":["hashtag1","hashtag2"]},{"1331708633":["hashtag1","hashtag2"]},{"1331708677":["hashtag1","hashtag2"]},{"1331708656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331708636, 1331708630, 1331708633, 1331708677, 1331708656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.53152012825012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:50:32.741890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_56_10432.jpg', '/home/pi/Desktop/images/26012025/16/49/image_26012025_16_50_05_9341.jpg', '/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_16_10409.jpg', '/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_25_9362.jpg', '/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_35_10331.jpg', '/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_46_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/49/image_26012025_16_49_56_10432.jpg
/home/pi/Desktop/images/26012025/16/49/image_26012025_16_50_05_9341.jpg
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_16_10409.jpg
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_25_9362.jpg
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_35_10331.jpg
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_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":["1331709938","1331709929","1331709923","1331709280","1331709934","1331709642"],"photo_ids_order":["1331709280","1331709642","1331709923","1331709929","1331709934","1331709938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/649573a30380d2a79a99e41364029bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7689398379532156623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_50_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/26/c85484b741247fff06b33ec95e0adc82.jpg","text":"TemporaryFile(/tmp/multipartBody1583509937195113776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_50_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/26/c8c46d4262c5132aa05f24bb78729dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4091217344589068166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_50_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/26/3d55dbdb3cfa7b9b8066bfbcc832de55.jpg","text":"TemporaryFile(/tmp/multipartBody9122394910099652483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_49_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/26/7a2cd70186344abd814cb1c48a73c100.jpg","text":"TemporaryFile(/tmp/multipartBody4641867078441791397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_50_35_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4666617b79aa80bbea64dd8988311e5.jpg","text":"TemporaryFile(/tmp/multipartBody1739068245413535708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906693688,"filename":"image_26012025_16_50_05_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331709923","file1":"1331709642","file0":"1331709280","file4":"1331709934","file5":"1331709938","file3":"1331709929"},"map_files_photo_id_array":[{"photo_id":"1331709938","filename":"file5"},{"photo_id":"1331709923","filename":"file2"},{"photo_id":"1331709934","filename":"file4"},{"photo_id":"1331709642","filename":"file1"},{"photo_id":"1331709280","filename":"file0"},{"photo_id":"1331709929","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331709938":["hashtag1","hashtag2"]},{"1331709929":["hashtag1","hashtag2"]},{"1331709923":["hashtag1","hashtag2"]},{"1331709280":["hashtag1","hashtag2"]},{"1331709934":["hashtag1","hashtag2"]},{"1331709642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331709938, 1331709929, 1331709923, 1331709280, 1331709934, 1331709642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40759563446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:51:32.817367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_55_9346.jpg', '/home/pi/Desktop/images/26012025/16/50/image_26012025_16_51_05_10334.jpg', '/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_16_10403.jpg', '/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_25_9357.jpg', '/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_35_10405.jpg', '/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_46_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_50_55_9346.jpg
/home/pi/Desktop/images/26012025/16/50/image_26012025_16_51_05_10334.jpg
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_16_10403.jpg
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_25_9357.jpg
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_35_10405.jpg
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_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":["1331710299","1331710212","1331710298","1331709944","1331709952","1331709948"],"photo_ids_order":["1331709944","1331709948","1331709952","1331710212","1331710298","1331710299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b269489fcfb6c6390e7affeecb44739b.jpg","text":"TemporaryFile(/tmp/multipartBody2894875086520436599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_51_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/26/283c53bfd1ba2436a0640c27c90c64bc.jpg","text":"TemporaryFile(/tmp/multipartBody5863906155863778521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_51_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/26/57447bb2a6c011852ffef5bdd99a7de1.jpg","text":"TemporaryFile(/tmp/multipartBody1092810847490078295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_51_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d1405b0753e975244372d7cbebec90f.jpg","text":"TemporaryFile(/tmp/multipartBody8781410184123235643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_50_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/26/6b501c10e9fbcf63a70578619b7269e3.jpg","text":"TemporaryFile(/tmp/multipartBody2641418746784791183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_51_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59ca2efed827779fa43b8bbf4639265b.jpg","text":"TemporaryFile(/tmp/multipartBody33782831113381119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906753765,"filename":"image_26012025_16_51_05_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331709952","file1":"1331709948","file0":"1331709944","file4":"1331710298","file5":"1331710299","file3":"1331710212"},"map_files_photo_id_array":[{"photo_id":"1331710299","filename":"file5"},{"photo_id":"1331709952","filename":"file2"},{"photo_id":"1331710298","filename":"file4"},{"photo_id":"1331709948","filename":"file1"},{"photo_id":"1331709944","filename":"file0"},{"photo_id":"1331710212","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331710299":["hashtag1","hashtag2"]},{"1331710212":["hashtag1","hashtag2"]},{"1331710298":["hashtag1","hashtag2"]},{"1331709944":["hashtag1","hashtag2"]},{"1331709952":["hashtag1","hashtag2"]},{"1331709948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331710299, 1331710212, 1331710298, 1331709944, 1331709952, 1331709948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.942389726638794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:52:33.105239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_55_9345.jpg', '/home/pi/Desktop/images/26012025/16/51/image_26012025_16_52_06_10404.jpg', '/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_15_9343.jpg', '/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_36_10395.jpg', '/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_45_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_51_55_9345.jpg
/home/pi/Desktop/images/26012025/16/51/image_26012025_16_52_06_10404.jpg
/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_15_9343.jpg
/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_36_10395.jpg
/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_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":["1331711270","1331711311","1331711314","1331711317","1331711274"],"photo_ids_order":["1331711270","1331711274","1331711311","1331711314","1331711317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03a8dfb5f37712d7efce33b9867cd909.jpg","text":"TemporaryFile(/tmp/multipartBody3769342620336866648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906814014,"filename":"image_26012025_16_51_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/26/c29995771520d9d22fca0d5fcefcf8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2117793105756277704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906814014,"filename":"image_26012025_16_52_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/26/22e3d991981b04e0eb6452a592c649c9.jpg","text":"TemporaryFile(/tmp/multipartBody2426956900002336150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906814014,"filename":"image_26012025_16_52_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/26/4753a49b84c58dfcd2caa85c60013592.jpg","text":"TemporaryFile(/tmp/multipartBody309652502518891085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906814014,"filename":"image_26012025_16_52_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/26/7cdf00accad97700ea3699d6c8d0117b.jpg","text":"TemporaryFile(/tmp/multipartBody3345929526469750351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906814014,"filename":"image_26012025_16_52_06_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331711311","file1":"1331711274","file0":"1331711270","file4":"1331711317","file3":"1331711314"},"map_files_photo_id_array":[{"photo_id":"1331711311","filename":"file2"},{"photo_id":"1331711317","filename":"file4"},{"photo_id":"1331711274","filename":"file1"},{"photo_id":"1331711270","filename":"file0"},{"photo_id":"1331711314","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331711270":["hashtag1","hashtag2"]},{"1331711311":["hashtag1","hashtag2"]},{"1331711314":["hashtag1","hashtag2"]},{"1331711317":["hashtag1","hashtag2"]},{"1331711274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331711270, 1331711311, 1331711314, 1331711317, 1331711274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.356916427612305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:53:32.263940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_55_10343.jpg', '/home/pi/Desktop/images/26012025/16/52/image_26012025_16_53_06_10340.jpg', '/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_15_9344.jpg', '/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_26_10430.jpg', '/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_36_10344.jpg', '/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_45_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/52/image_26012025_16_52_55_10343.jpg
/home/pi/Desktop/images/26012025/16/52/image_26012025_16_53_06_10340.jpg
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_15_9344.jpg
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_26_10430.jpg
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_36_10344.jpg
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_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":["1331711655","1331711607","1331711604","1331711651","1331711648","1331711653"],"photo_ids_order":["1331711604","1331711607","1331711648","1331711651","1331711653","1331711655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efd0f922ad2f0f18d7e48c40d3bac889.jpg","text":"TemporaryFile(/tmp/multipartBody8421253903904895838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_53_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/26/963b39ed995ea92e99f97f678455ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody8681046541114148125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_53_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/26/902fa0bef84923c0abd6baa03b5defb1.jpg","text":"TemporaryFile(/tmp/multipartBody5022335211347471808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_52_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/26/79642b5a4e4366c73f914fb7690e2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4892054944625197175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_53_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/26/561dd667af58e3954915d62ca5cd69d7.jpg","text":"TemporaryFile(/tmp/multipartBody7904231762073281728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_53_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/26/43787d587e6f933b4b8ce9726756aae1.jpg","text":"TemporaryFile(/tmp/multipartBody2391176079504227911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906873179,"filename":"image_26012025_16_53_36_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331711648","file1":"1331711607","file0":"1331711604","file4":"1331711653","file5":"1331711655","file3":"1331711651"},"map_files_photo_id_array":[{"photo_id":"1331711655","filename":"file5"},{"photo_id":"1331711648","filename":"file2"},{"photo_id":"1331711653","filename":"file4"},{"photo_id":"1331711607","filename":"file1"},{"photo_id":"1331711604","filename":"file0"},{"photo_id":"1331711651","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331711655":["hashtag1","hashtag2"]},{"1331711607":["hashtag1","hashtag2"]},{"1331711604":["hashtag1","hashtag2"]},{"1331711651":["hashtag1","hashtag2"]},{"1331711648":["hashtag1","hashtag2"]},{"1331711653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331711655, 1331711607, 1331711604, 1331711651, 1331711648, 1331711653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.213968992233276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:54:32.491204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_56_10465.jpg', '/home/pi/Desktop/images/26012025/16/53/image_26012025_16_54_05_9458.jpg', '/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_16_10482.jpg', '/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_25_9362.jpg', '/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_46_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_53_56_10465.jpg
/home/pi/Desktop/images/26012025/16/53/image_26012025_16_54_05_9458.jpg
/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_16_10482.jpg
/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_25_9362.jpg
/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_46_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331711808","1331711802","1331711804","1331711806","1331711799"],"photo_ids_order":["1331711799","1331711802","1331711804","1331711806","1331711808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29724cd9bafb778d4e4aa8e13b5c5f3e.jpg","text":"TemporaryFile(/tmp/multipartBody2462549612240926287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906933386,"filename":"image_26012025_16_54_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5bded80f4de74140b9ddda62dd095110.jpg","text":"TemporaryFile(/tmp/multipartBody732585177063013242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906933386,"filename":"image_26012025_16_54_05_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/525c9e0ba434715d964cdda4171610b8.jpg","text":"TemporaryFile(/tmp/multipartBody6845689929438740251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906933386,"filename":"image_26012025_16_54_16_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/26/a124792930363872fea7f70d1000d20d.jpg","text":"TemporaryFile(/tmp/multipartBody5352713201538650454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906933386,"filename":"image_26012025_16_54_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/26/98bf6fb67b040e30b8539683ea14ea53.jpg","text":"TemporaryFile(/tmp/multipartBody8183320762580615042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906933386,"filename":"image_26012025_16_53_56_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331711804","file1":"1331711802","file0":"1331711799","file4":"1331711808","file3":"1331711806"},"map_files_photo_id_array":[{"photo_id":"1331711804","filename":"file2"},{"photo_id":"1331711808","filename":"file4"},{"photo_id":"1331711802","filename":"file1"},{"photo_id":"1331711799","filename":"file0"},{"photo_id":"1331711806","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331711808":["hashtag1","hashtag2"]},{"1331711802":["hashtag1","hashtag2"]},{"1331711804":["hashtag1","hashtag2"]},{"1331711806":["hashtag1","hashtag2"]},{"1331711799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331711808, 1331711802, 1331711804, 1331711806, 1331711799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.906707525253296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:55:32.689512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_55_9339.jpg', '/home/pi/Desktop/images/26012025/16/54/image_26012025_16_55_06_10435.jpg', '/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_16_10335.jpg', '/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_25_9343.jpg', '/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_36_10413.jpg', '/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/54/image_26012025_16_54_55_9339.jpg
/home/pi/Desktop/images/26012025/16/54/image_26012025_16_55_06_10435.jpg
/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_16_10335.jpg
/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_25_9343.jpg
/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_36_10413.jpg
/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_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":["1331711882","1331711876","1331711843","1331711881","1331711878","1331711845"],"photo_ids_order":["1331711843","1331711845","1331711876","1331711878","1331711881","1331711882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9190c05e45b5856d5b612f37b493d325.jpg","text":"TemporaryFile(/tmp/multipartBody586706513336505391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_55_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/26/ab69c53f481e212854e5adda34378b94.jpg","text":"TemporaryFile(/tmp/multipartBody7128405252887873390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_55_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/26/48de7c1a647a9ed5705997e477f2412f.jpg","text":"TemporaryFile(/tmp/multipartBody7516300465375296446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_54_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/26/ac6990b6b4f8ecbb6ddeaa976a34c203.jpg","text":"TemporaryFile(/tmp/multipartBody973696477622552063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_55_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7739aa98f86ff04ba51d1943fc713f08.jpg","text":"TemporaryFile(/tmp/multipartBody3269772884976289778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_55_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/26/0494fc6384e505e6b6b5217a8aa7fefd.jpg","text":"TemporaryFile(/tmp/multipartBody6440573904388732529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737906993607,"filename":"image_26012025_16_55_06_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331711876","file1":"1331711845","file0":"1331711843","file4":"1331711881","file5":"1331711882","file3":"1331711878"},"map_files_photo_id_array":[{"photo_id":"1331711882","filename":"file5"},{"photo_id":"1331711876","filename":"file2"},{"photo_id":"1331711881","filename":"file4"},{"photo_id":"1331711845","filename":"file1"},{"photo_id":"1331711843","filename":"file0"},{"photo_id":"1331711878","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331711882":["hashtag1","hashtag2"]},{"1331711876":["hashtag1","hashtag2"]},{"1331711843":["hashtag1","hashtag2"]},{"1331711881":["hashtag1","hashtag2"]},{"1331711878":["hashtag1","hashtag2"]},{"1331711845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331711882, 1331711876, 1331711843, 1331711881, 1331711878, 1331711845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0878803730011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:56:32.857485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_55_10352.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_15_9343.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_25_10343.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_36_10337.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/55/image_26012025_16_55_55_10352.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_15_9343.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_25_10343.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_36_10337.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_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":["1331711912","1331711900","1331711908","1331711902","1331711905"],"photo_ids_order":["1331711900","1331711902","1331711905","1331711908","1331711912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b7d4be3f89c2c37e7a8ad637dfbc3f1.jpg","text":"TemporaryFile(/tmp/multipartBody24374443851274419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907053748,"filename":"image_26012025_16_56_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/26/77861a252bd7f435e32c5c022174e6ba.jpg","text":"TemporaryFile(/tmp/multipartBody2073880507112234256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907053748,"filename":"image_26012025_16_55_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/26/43b9946e18eb84aa7edeccf4db3a68fe.jpg","text":"TemporaryFile(/tmp/multipartBody8326033941119451105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907053748,"filename":"image_26012025_16_56_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/09fe2043b1636f3c32d085dafeb391ab.jpg","text":"TemporaryFile(/tmp/multipartBody3235287579646106002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907053748,"filename":"image_26012025_16_56_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/26/2cbc5a1d6ce48081af7eff148373d462.jpg","text":"TemporaryFile(/tmp/multipartBody199553255680758277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907053748,"filename":"image_26012025_16_56_25_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331711905","file1":"1331711902","file0":"1331711900","file4":"1331711912","file3":"1331711908"},"map_files_photo_id_array":[{"photo_id":"1331711905","filename":"file2"},{"photo_id":"1331711912","filename":"file4"},{"photo_id":"1331711902","filename":"file1"},{"photo_id":"1331711900","filename":"file0"},{"photo_id":"1331711908","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331711912":["hashtag1","hashtag2"]},{"1331711900":["hashtag1","hashtag2"]},{"1331711908":["hashtag1","hashtag2"]},{"1331711902":["hashtag1","hashtag2"]},{"1331711905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331711912, 1331711900, 1331711908, 1331711902, 1331711905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.673644065856934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:57:33.188271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.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-26 16:59:03.448893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_56_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.7837388515472412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 16:59:32.728112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg', '/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.jpg', '/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_56_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_56_56_10449.jpg
/home/pi/Desktop/images/26012025/16/56/image_26012025_16_57_05_9447.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_26_10409.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_35_9331.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_45_10343.jpg
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_57_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331712494","1331712490","1331712495","1331712480","1331712483","1331712486"],"photo_ids_order":["1331712480","1331712483","1331712486","1331712490","1331712494","1331712495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a1b99e3a58ac59577df4f82f5c58eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2032927228540487037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_57_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/26/18e90bc47fb65aa17fb5b5f309f963a9.jpg","text":"TemporaryFile(/tmp/multipartBody2731848014938941557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_57_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/26/83718287ba1eff2e8956e91eac6e7de8.jpg","text":"TemporaryFile(/tmp/multipartBody8336863730417745744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_57_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/26/5d2b20ad18f3ac16f5947f4b183a7a92.jpg","text":"TemporaryFile(/tmp/multipartBody1293106802911163943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_56_56_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e81f7a319469a9524e847429c1580da.jpg","text":"TemporaryFile(/tmp/multipartBody9029128579728362862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_57_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/26/c43ee92ac11bdeda138d37e889119c51.jpg","text":"TemporaryFile(/tmp/multipartBody1048007089026395194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907233642,"filename":"image_26012025_16_57_26_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331712486","file1":"1331712483","file0":"1331712480","file4":"1331712494","file5":"1331712495","file3":"1331712490"},"map_files_photo_id_array":[{"photo_id":"1331712495","filename":"file5"},{"photo_id":"1331712486","filename":"file2"},{"photo_id":"1331712494","filename":"file4"},{"photo_id":"1331712483","filename":"file1"},{"photo_id":"1331712480","filename":"file0"},{"photo_id":"1331712490","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331712494":["hashtag1","hashtag2"]},{"1331712490":["hashtag1","hashtag2"]},{"1331712495":["hashtag1","hashtag2"]},{"1331712480":["hashtag1","hashtag2"]},{"1331712483":["hashtag1","hashtag2"]},{"1331712486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331712494, 1331712490, 1331712495, 1331712480, 1331712483, 1331712486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.864269733428955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:00:33.000196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/57/image_26012025_16_58_05_9322.jpg', '/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_15_10399.jpg', '/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_26_10363.jpg', '/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_35_9339.jpg', '/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_46_10451.jpg', '/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_55_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/57/image_26012025_16_58_05_9322.jpg
/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_15_10399.jpg
/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_26_10363.jpg
/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_35_9339.jpg
/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_46_10451.jpg
/home/pi/Desktop/images/26012025/16/58/image_26012025_16_58_55_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":["1331712521","1331712524","1331712533","1331712517","1331712531","1331712528"],"photo_ids_order":["1331712517","1331712521","1331712524","1331712528","1331712531","1331712533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e5e13f47761cfd3b617a0132e5b42c1.jpg","text":"TemporaryFile(/tmp/multipartBody7482130587587384578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_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/26/b362af306c77ad94e3e34be79fee32a6.jpg","text":"TemporaryFile(/tmp/multipartBody8003143451817342178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_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/26/a5e8ab91af02a61cd4dffe06c66eff4e.jpg","text":"TemporaryFile(/tmp/multipartBody4632111561905854384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_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/26/a40e02f904ce8a9c05d164eaf7f91359.jpg","text":"TemporaryFile(/tmp/multipartBody411825509253612107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a123c207a093eaee66af0f7f443a34d3.jpg","text":"TemporaryFile(/tmp/multipartBody9002916504216340812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5c25079708a79c3df8e4d64cd4f4089.jpg","text":"TemporaryFile(/tmp/multipartBody1203698245621236387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907293917,"filename":"image_26012025_16_58_35_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331712524","file1":"1331712521","file0":"1331712517","file4":"1331712531","file5":"1331712533","file3":"1331712528"},"map_files_photo_id_array":[{"photo_id":"1331712533","filename":"file5"},{"photo_id":"1331712524","filename":"file2"},{"photo_id":"1331712531","filename":"file4"},{"photo_id":"1331712521","filename":"file1"},{"photo_id":"1331712517","filename":"file0"},{"photo_id":"1331712528","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331712521":["hashtag1","hashtag2"]},{"1331712524":["hashtag1","hashtag2"]},{"1331712533":["hashtag1","hashtag2"]},{"1331712517":["hashtag1","hashtag2"]},{"1331712531":["hashtag1","hashtag2"]},{"1331712528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331712521, 1331712524, 1331712533, 1331712517, 1331712531, 1331712528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32154154777527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:01:32.228494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_16_10351.jpg', '/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_25_9358.jpg', '/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_35_10352.jpg', '/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_46_10357.jpg', '/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_55_9331.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_15_10074.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_16_10351.jpg
/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_25_9358.jpg
/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_35_10352.jpg
/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_46_10357.jpg
/home/pi/Desktop/images/26012025/16/59/image_26012025_16_59_55_9331.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_15_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331712827","1331712824","1331712823","1331712820","1331712822","1331712825"],"photo_ids_order":["1331712820","1331712822","1331712823","1331712824","1331712825","1331712827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59e9fd6ef5e063533a09e0ca29f7ac8c.jpg","text":"TemporaryFile(/tmp/multipartBody3259849482042811850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_17_01_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e8bdd7fa081c46cbec3f0cf3fcc5c81.jpg","text":"TemporaryFile(/tmp/multipartBody1548433007114174737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_16_59_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/26/afed565d52ed646589b79c9309129326.jpg","text":"TemporaryFile(/tmp/multipartBody3239373156177867538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_16_59_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/26/7b4c0d434d14124fbf457411f0972ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6267790409134766862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_16_59_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/26/fcd2e5ed7ebb71d2f4e180a4a171ac38.jpg","text":"TemporaryFile(/tmp/multipartBody5084274427067923894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_16_59_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3bf0372678089e2089e9aae8de580b99.jpg","text":"TemporaryFile(/tmp/multipartBody299042434181415557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907353146,"filename":"image_26012025_16_59_55_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331712823","file1":"1331712822","file0":"1331712820","file4":"1331712825","file5":"1331712827","file3":"1331712824"},"map_files_photo_id_array":[{"photo_id":"1331712827","filename":"file5"},{"photo_id":"1331712823","filename":"file2"},{"photo_id":"1331712825","filename":"file4"},{"photo_id":"1331712822","filename":"file1"},{"photo_id":"1331712820","filename":"file0"},{"photo_id":"1331712824","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331712827":["hashtag1","hashtag2"]},{"1331712824":["hashtag1","hashtag2"]},{"1331712823":["hashtag1","hashtag2"]},{"1331712820":["hashtag1","hashtag2"]},{"1331712822":["hashtag1","hashtag2"]},{"1331712825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331712827, 1331712824, 1331712823, 1331712820, 1331712822, 1331712825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55906844139099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:02:32.515805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_35_10394.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_45_9344.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_55_10385.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_02_06_10375.jpg', '/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_15_9338.jpg', '/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_25_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_35_10394.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_45_9344.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_55_10385.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_02_06_10375.jpg
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_15_9338.jpg
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_25_10438.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5103530883789062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:02:42.550265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_35_10394.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_45_9344.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_55_10385.jpg', '/home/pi/Desktop/images/26012025/17/01/image_26012025_17_02_06_10375.jpg', '/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_15_9338.jpg', '/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_25_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_35_10394.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_45_9344.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_01_55_10385.jpg
/home/pi/Desktop/images/26012025/17/01/image_26012025_17_02_06_10375.jpg
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_15_9338.jpg
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_25_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331712872","1331712866","1331712860","1331712874","1331712870","1331712873"],"photo_ids_order":["1331712860","1331712866","1331712870","1331712872","1331712873","1331712874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f28897cc388fa17ff6900d14808dbdbc.jpg","text":"TemporaryFile(/tmp/multipartBody7237971634445609443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_02_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/26/fc4693cd33abbdf9574def96dc408a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6665383304226218990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_01_45_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a060a07067d6765fed27bd891b6bf58.jpg","text":"TemporaryFile(/tmp/multipartBody7519912673407781079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_01_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/26/1e36d1697b9259ad23f2d6bd8404cee3.jpg","text":"TemporaryFile(/tmp/multipartBody3999820417259038599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_02_25_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3a9397bd9ea8da81bdbf07d630a2908.jpg","text":"TemporaryFile(/tmp/multipartBody5886029504121078838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_01_55_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c4f2b8c92884ffc2b2015b922150497.jpg","text":"TemporaryFile(/tmp/multipartBody6864786613735142016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907423475,"filename":"image_26012025_17_02_15_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331712870","file1":"1331712866","file0":"1331712860","file4":"1331712873","file5":"1331712874","file3":"1331712872"},"map_files_photo_id_array":[{"photo_id":"1331712874","filename":"file5"},{"photo_id":"1331712870","filename":"file2"},{"photo_id":"1331712873","filename":"file4"},{"photo_id":"1331712866","filename":"file1"},{"photo_id":"1331712860","filename":"file0"},{"photo_id":"1331712872","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331712872":["hashtag1","hashtag2"]},{"1331712866":["hashtag1","hashtag2"]},{"1331712860":["hashtag1","hashtag2"]},{"1331712874":["hashtag1","hashtag2"]},{"1331712870":["hashtag1","hashtag2"]},{"1331712873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331712872, 1331712866, 1331712860, 1331712874, 1331712870, 1331712873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99387001991272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:03:32.715369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_35_9344.jpg', '/home/pi/Desktop/images/26012025/17/02/image_26012025_17_03_05_9346.jpg', '/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_35_9322.jpg', '/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_02_35_9344.jpg
/home/pi/Desktop/images/26012025/17/02/image_26012025_17_03_05_9346.jpg
/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_35_9322.jpg
/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_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":["1331712884","1331712880","1331712891","1331713140"],"photo_ids_order":["1331712880","1331712884","1331712891","1331713140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d9939302f863c11158623ddf5a3f56a.jpg","text":"TemporaryFile(/tmp/multipartBody2076091125020059340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907473593,"filename":"image_26012025_17_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/26/78c23fe98488790f50afe3c06715ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody673967221869539060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907473593,"filename":"image_26012025_17_02_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/26/78f15ca94b1b8c0abc5a11dd61b018b6.jpg","text":"TemporaryFile(/tmp/multipartBody8672404944163090143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907473593,"filename":"image_26012025_17_03_35_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87fb88ae95a3549ebc69b6721194e5be.jpg","text":"TemporaryFile(/tmp/multipartBody3662198123537921507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907473593,"filename":"image_26012025_17_03_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331712891","file1":"1331712884","file0":"1331712880","file3":"1331713140"},"map_files_photo_id_array":[{"photo_id":"1331712891","filename":"file2"},{"photo_id":"1331712884","filename":"file1"},{"photo_id":"1331712880","filename":"file0"},{"photo_id":"1331713140","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331712884":["hashtag1","hashtag2"]},{"1331712880":["hashtag1","hashtag2"]},{"1331712891":["hashtag1","hashtag2"]},{"1331713140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331712884, 1331712880, 1331712891, 1331713140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.830520153045654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:04:32.994287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_56_10458.jpg', '/home/pi/Desktop/images/26012025/17/03/image_26012025_17_04_05_9362.jpg', '/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_15_10343.jpg', '/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_25_9430.jpg', '/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_35_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/03/image_26012025_17_03_56_10458.jpg
/home/pi/Desktop/images/26012025/17/03/image_26012025_17_04_05_9362.jpg
/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_15_10343.jpg
/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_25_9430.jpg
/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_35_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331713811","1331713795","1331713797","1331713860","1331713862"],"photo_ids_order":["1331713795","1331713797","1331713811","1331713860","1331713862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34a902af6986b1f8924f772db0354ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6971258696539310852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907533897,"filename":"image_26012025_17_04_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/26/d36321b966fa6d338c96033574c36122.jpg","text":"TemporaryFile(/tmp/multipartBody9138512144786187580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907533897,"filename":"image_26012025_17_03_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/26/9865979043efa9c152ffb64065cc48df.jpg","text":"TemporaryFile(/tmp/multipartBody51973702214097715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907533897,"filename":"image_26012025_17_04_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/26/3f6ecaa1171b85cd3baad7d667582f98.jpg","text":"TemporaryFile(/tmp/multipartBody8390989382890931681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907533897,"filename":"image_26012025_17_04_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/26/862f841a14b1871b67d223638a02b635.jpg","text":"TemporaryFile(/tmp/multipartBody6138225095798034631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907533897,"filename":"image_26012025_17_04_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331713811","file1":"1331713797","file0":"1331713795","file4":"1331713862","file3":"1331713860"},"map_files_photo_id_array":[{"photo_id":"1331713811","filename":"file2"},{"photo_id":"1331713862","filename":"file4"},{"photo_id":"1331713797","filename":"file1"},{"photo_id":"1331713795","filename":"file0"},{"photo_id":"1331713860","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331713811":["hashtag1","hashtag2"]},{"1331713795":["hashtag1","hashtag2"]},{"1331713797":["hashtag1","hashtag2"]},{"1331713860":["hashtag1","hashtag2"]},{"1331713862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331713811, 1331713795, 1331713797, 1331713860, 1331713862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.40201425552368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:05:32.169370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_46_10415.jpg', '/home/pi/Desktop/images/26012025/17/04/image_26012025_17_05_05_10356.jpg', '/home/pi/Desktop/images/26012025/17/05/image_26012025_17_05_25_9434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/04/image_26012025_17_04_46_10415.jpg
/home/pi/Desktop/images/26012025/17/04/image_26012025_17_05_05_10356.jpg
/home/pi/Desktop/images/26012025/17/05/image_26012025_17_05_25_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":["1331714281","1331714331","1331714285"],"photo_ids_order":["1331714281","1331714285","1331714331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00f8bb6f44b320cdc50f3741e63db633.jpg","text":"TemporaryFile(/tmp/multipartBody1354665013138983352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907593038,"filename":"image_26012025_17_04_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/26/703b7178472284097cc90d1cfc2799d9.jpg","text":"TemporaryFile(/tmp/multipartBody4300670325892385374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907593038,"filename":"image_26012025_17_05_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5eff614b6bb22b2fdd7b3a37e25fef3c.jpg","text":"TemporaryFile(/tmp/multipartBody2256013169610063263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907593038,"filename":"image_26012025_17_05_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714331","file1":"1331714285","file0":"1331714281"},"map_files_photo_id_array":[{"photo_id":"1331714331","filename":"file2"},{"photo_id":"1331714285","filename":"file1"},{"photo_id":"1331714281","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714281":["hashtag1","hashtag2"]},{"1331714331":["hashtag1","hashtag2"]},{"1331714285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714281, 1331714331, 1331714285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.239704370498657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:06:03.013429
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/58/image_23012025_21_59_05_10462.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_15_9321.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_25_10462.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_45_10362.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_26_10373.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_37_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_59_05_10462.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_15_9321.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_25_10462.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_45_10362.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_26_10373.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_37_10336.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2152988910675049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:06:32.404443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/05/image_26012025_17_05_55_10360.jpg', '/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_15_9348.jpg', '/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_25_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/05/image_26012025_17_05_55_10360.jpg
/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_15_9348.jpg
/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_25_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331714380","1331714383","1331714375"],"photo_ids_order":["1331714375","1331714380","1331714383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41a32f71e1673bae70709889b052728c.jpg","text":"TemporaryFile(/tmp/multipartBody516111231320115885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907653279,"filename":"image_26012025_17_06_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/26/4aecb873d925d6b5281fb4876bb5d1d9.jpg","text":"TemporaryFile(/tmp/multipartBody300876007916340683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907653279,"filename":"image_26012025_17_06_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/26/3adb8a6a8e65b683006d0aac4572f3af.jpg","text":"TemporaryFile(/tmp/multipartBody7417448562190543095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907653279,"filename":"image_26012025_17_05_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714383","file1":"1331714380","file0":"1331714375"},"map_files_photo_id_array":[{"photo_id":"1331714383","filename":"file2"},{"photo_id":"1331714380","filename":"file1"},{"photo_id":"1331714375","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714380":["hashtag1","hashtag2"]},{"1331714383":["hashtag1","hashtag2"]},{"1331714375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714380, 1331714383, 1331714375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.058820486068726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:07:04.303912
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/21/58/image_23012025_21_59_05_10462.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_15_9321.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_25_10462.jpg', '/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_45_10362.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_26_10373.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_37_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/21/58/image_23012025_21_59_05_10462.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_15_9321.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_25_10462.jpg
/home/pi/Desktop/images/23012025/21/59/image_23012025_21_59_45_10362.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_26_10373.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_37_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":["1331714440","1331714434","1331714437","1331714401","1331714415","1331714429"],"photo_ids_order":["1331714401","1331714415","1331714429","1331714434","1331714437","1331714440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4cc5ef2ad710c35792fa176be136ae57.jpg","text":"TemporaryFile(/tmp/multipartBody5844398678024206935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_22_00_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2154e944bcd4e1fd1924e273d0a569c.jpg","text":"TemporaryFile(/tmp/multipartBody9150093994250454407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_21_59_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/26/088c6da990d31cde418d97313a4d24fa.jpg","text":"TemporaryFile(/tmp/multipartBody3030541665579630163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_22_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/26/acc1effcf62b2f8e360bc3d628a5fcd6.jpg","text":"TemporaryFile(/tmp/multipartBody5937030085650266618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_21_59_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/26/f15b8106ab5d18767482b01e5546c8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7696625653563533874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_21_59_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/26/bc158150d112008264d45e50c8ae2c05.jpg","text":"TemporaryFile(/tmp/multipartBody7784358729989738893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907686291,"filename":"image_23012025_21_59_25_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714429","file1":"1331714415","file0":"1331714401","file4":"1331714437","file5":"1331714440","file3":"1331714434"},"map_files_photo_id_array":[{"photo_id":"1331714440","filename":"file5"},{"photo_id":"1331714429","filename":"file2"},{"photo_id":"1331714437","filename":"file4"},{"photo_id":"1331714415","filename":"file1"},{"photo_id":"1331714401","filename":"file0"},{"photo_id":"1331714434","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331714440":["hashtag1","hashtag2"]},{"1331714434":["hashtag1","hashtag2"]},{"1331714437":["hashtag1","hashtag2"]},{"1331714401":["hashtag1","hashtag2"]},{"1331714415":["hashtag1","hashtag2"]},{"1331714429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331714440, 1331714434, 1331714437, 1331714401, 1331714415, 1331714429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38476252555847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 17:07:52.654938
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_46_9372.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_56_10456.jpg', '/home/pi/Desktop/images/23012025/22/00/image_23012025_22_01_07_10331.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_16_9337.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_26_10368.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_37_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_46_9372.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_00_56_10456.jpg
/home/pi/Desktop/images/23012025/22/00/image_23012025_22_01_07_10331.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_16_9337.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_26_10368.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_37_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":["1331714455","1331714458","1331714448","1331714450","1331714453","1331714447"],"photo_ids_order":["1331714447","1331714448","1331714450","1331714453","1331714455","1331714458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/78095b7ac611de0830bdc77419468921.jpg","text":"TemporaryFile(/tmp/multipartBody8313143029301364166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_01_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91dac99928192a1cb989e20a9e6d8430.jpg","text":"TemporaryFile(/tmp/multipartBody7996391123900354613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_01_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/26/379a2337d5f0e1710a23993fb53acfae.jpg","text":"TemporaryFile(/tmp/multipartBody277730381293121846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_00_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/26/dc02e5b325ef3140b062a5296f59708d.jpg","text":"TemporaryFile(/tmp/multipartBody6251309440454759505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_01_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/26/4997c7f3ddd4e35c93bdb8f1d6c08f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7283748418641054449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_01_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d043ab29a7e89b9d494878e76333c673.jpg","text":"TemporaryFile(/tmp/multipartBody2963285328476379452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907734997,"filename":"image_23012025_22_00_46_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714450","file1":"1331714448","file0":"1331714447","file4":"1331714455","file5":"1331714458","file3":"1331714453"},"map_files_photo_id_array":[{"photo_id":"1331714458","filename":"file5"},{"photo_id":"1331714450","filename":"file2"},{"photo_id":"1331714455","filename":"file4"},{"photo_id":"1331714448","filename":"file1"},{"photo_id":"1331714447","filename":"file0"},{"photo_id":"1331714453","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331714455":["hashtag1","hashtag2"]},{"1331714458":["hashtag1","hashtag2"]},{"1331714448":["hashtag1","hashtag2"]},{"1331714450":["hashtag1","hashtag2"]},{"1331714453":["hashtag1","hashtag2"]},{"1331714447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331714455, 1331714458, 1331714448, 1331714450, 1331714453, 1331714447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35741972923279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:08:42.864171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_35_9409.jpg', '/home/pi/Desktop/images/26012025/17/07/image_26012025_17_07_15_10346.jpg', '/home/pi/Desktop/images/26012025/17/07/image_26012025_17_07_56_10381.jpg', '/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_15_10357.jpg', '/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_26_10352.jpg', '/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_35_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/06/image_26012025_17_06_35_9409.jpg
/home/pi/Desktop/images/26012025/17/07/image_26012025_17_07_15_10346.jpg
/home/pi/Desktop/images/26012025/17/07/image_26012025_17_07_56_10381.jpg
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_15_10357.jpg
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_26_10352.jpg
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_35_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":["1331714481","1331714487","1331714475","1331714483","1331714471","1331714485"],"photo_ids_order":["1331714471","1331714475","1331714481","1331714483","1331714485","1331714487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb3a50659f22e2791c92df05d428f1ed.jpg","text":"TemporaryFile(/tmp/multipartBody6776822913677902318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_07_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/26/ac9459f0eb71f965bfb8e520b292d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody1258315416176390958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_08_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/26/d90f0aa0457bf89b7b06ffdeba684988.jpg","text":"TemporaryFile(/tmp/multipartBody2321388199057086135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_07_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/26/882b5ee52c86ae9ecc0b171c92d0d86d.jpg","text":"TemporaryFile(/tmp/multipartBody9046515931634995104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_08_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/26/3802e9b00f08c4309a156f2b33780a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2462043918898329928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_06_35_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/26/9d8f7576527a37e8f9e8d6004f8e8558.jpg","text":"TemporaryFile(/tmp/multipartBody3893947261137047352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907783779,"filename":"image_26012025_17_08_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714481","file1":"1331714475","file0":"1331714471","file4":"1331714485","file5":"1331714487","file3":"1331714483"},"map_files_photo_id_array":[{"photo_id":"1331714487","filename":"file5"},{"photo_id":"1331714481","filename":"file2"},{"photo_id":"1331714485","filename":"file4"},{"photo_id":"1331714475","filename":"file1"},{"photo_id":"1331714471","filename":"file0"},{"photo_id":"1331714483","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714481":["hashtag1","hashtag2"]},{"1331714487":["hashtag1","hashtag2"]},{"1331714475":["hashtag1","hashtag2"]},{"1331714483":["hashtag1","hashtag2"]},{"1331714471":["hashtag1","hashtag2"]},{"1331714485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714481, 1331714487, 1331714475, 1331714483, 1331714471, 1331714485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.868730783462524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:09:32.148412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_45_10367.jpg', '/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_56_10322.jpg', '/home/pi/Desktop/images/26012025/17/08/image_26012025_17_09_05_9318.jpg', '/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_35_9356.jpg', '/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_45_10367.jpg
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_08_56_10322.jpg
/home/pi/Desktop/images/26012025/17/08/image_26012025_17_09_05_9318.jpg
/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_35_9356.jpg
/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_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":["1331714494","1331714503","1331714500","1331714498","1331714491"],"photo_ids_order":["1331714491","1331714494","1331714498","1331714500","1331714503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e17c2c35686f58ad735ef504e35979a.jpg","text":"TemporaryFile(/tmp/multipartBody7064638459336973657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907833067,"filename":"image_26012025_17_08_56_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4beef954a5ed546b6a40b090c268e940.jpg","text":"TemporaryFile(/tmp/multipartBody437941887554029249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907833067,"filename":"image_26012025_17_09_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/26/4735c228bf7de95436f150c8189abdec.jpg","text":"TemporaryFile(/tmp/multipartBody356914565257337401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907833067,"filename":"image_26012025_17_09_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/26/1c4d9703602021748989a90030b9086d.jpg","text":"TemporaryFile(/tmp/multipartBody1240057772800578599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907833067,"filename":"image_26012025_17_09_05_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/26/1e0c322d24e60224c42ee9732de11419.jpg","text":"TemporaryFile(/tmp/multipartBody8935708474895504273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907833067,"filename":"image_26012025_17_08_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714498","file1":"1331714494","file0":"1331714491","file4":"1331714503","file3":"1331714500"},"map_files_photo_id_array":[{"photo_id":"1331714498","filename":"file2"},{"photo_id":"1331714503","filename":"file4"},{"photo_id":"1331714494","filename":"file1"},{"photo_id":"1331714491","filename":"file0"},{"photo_id":"1331714500","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714494":["hashtag1","hashtag2"]},{"1331714503":["hashtag1","hashtag2"]},{"1331714500":["hashtag1","hashtag2"]},{"1331714498":["hashtag1","hashtag2"]},{"1331714491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714494, 1331714503, 1331714500, 1331714498, 1331714491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.51677060127258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:10:32.440573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_55_9379.jpg', '/home/pi/Desktop/images/26012025/17/09/image_26012025_17_10_05_10344.jpg', '/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_15_10335.jpg', '/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_25_9353.jpg', '/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_35_10320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/09/image_26012025_17_09_55_9379.jpg
/home/pi/Desktop/images/26012025/17/09/image_26012025_17_10_05_10344.jpg
/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_15_10335.jpg
/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_25_9353.jpg
/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_35_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331714569","1331714557","1331714565","1331714561","1331714552"],"photo_ids_order":["1331714552","1331714557","1331714561","1331714565","1331714569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59cb05ce637448976431b593a32de199.jpg","text":"TemporaryFile(/tmp/multipartBody844758970642386745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907893338,"filename":"image_26012025_17_10_35_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0243f4b44c09b2aa8acdf20b60e61b23.jpg","text":"TemporaryFile(/tmp/multipartBody494589963160426716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907893338,"filename":"image_26012025_17_10_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/26/1451255ba7e6d98d645ff83923694cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1356348729096282564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907893338,"filename":"image_26012025_17_10_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/26/5f12b911b553e0f4d243ab5575875204.jpg","text":"TemporaryFile(/tmp/multipartBody4172631722586346489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907893338,"filename":"image_26012025_17_10_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/26/3aa5fb6dfc1c84437d84b9ebd7f28ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1030701256886191979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907893338,"filename":"image_26012025_17_09_55_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714561","file1":"1331714557","file0":"1331714552","file4":"1331714569","file3":"1331714565"},"map_files_photo_id_array":[{"photo_id":"1331714561","filename":"file2"},{"photo_id":"1331714569","filename":"file4"},{"photo_id":"1331714557","filename":"file1"},{"photo_id":"1331714552","filename":"file0"},{"photo_id":"1331714565","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714569":["hashtag1","hashtag2"]},{"1331714557":["hashtag1","hashtag2"]},{"1331714565":["hashtag1","hashtag2"]},{"1331714561":["hashtag1","hashtag2"]},{"1331714552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714569, 1331714557, 1331714565, 1331714561, 1331714552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.54710936546326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:11:32.692496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_46_10402.jpg', '/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_15_9451.jpg', '/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_25_10351.jpg', '/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_35_10336.jpg', '/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_45_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/10/image_26012025_17_10_46_10402.jpg
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_15_9451.jpg
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_25_10351.jpg
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_35_10336.jpg
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_45_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":["1331714595","1331714589","1331714583","1331714592","1331714579"],"photo_ids_order":["1331714579","1331714583","1331714589","1331714592","1331714595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6bed68ec26d64c0f904763821349a8f1.jpg","text":"TemporaryFile(/tmp/multipartBody7466181738077738470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907953588,"filename":"image_26012025_17_11_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/26/38bbf72eb7d7e1c5ad221bfcd5ac27eb.jpg","text":"TemporaryFile(/tmp/multipartBody8703072983465395215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907953588,"filename":"image_26012025_17_11_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/26/96257c84ea3ec300aa1c263137de4d48.jpg","text":"TemporaryFile(/tmp/multipartBody4740315398301663067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907953588,"filename":"image_26012025_17_11_15_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5dd9f8f241f3af6ba360eb2e8a60a358.jpg","text":"TemporaryFile(/tmp/multipartBody3278257079594185431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907953588,"filename":"image_26012025_17_11_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/26/4f90ee3cc917d5b79d4de1c0f250de86.jpg","text":"TemporaryFile(/tmp/multipartBody3651727149354410410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737907953588,"filename":"image_26012025_17_10_46_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714589","file1":"1331714583","file0":"1331714579","file4":"1331714595","file3":"1331714592"},"map_files_photo_id_array":[{"photo_id":"1331714589","filename":"file2"},{"photo_id":"1331714595","filename":"file4"},{"photo_id":"1331714583","filename":"file1"},{"photo_id":"1331714579","filename":"file0"},{"photo_id":"1331714592","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714595":["hashtag1","hashtag2"]},{"1331714589":["hashtag1","hashtag2"]},{"1331714583":["hashtag1","hashtag2"]},{"1331714592":["hashtag1","hashtag2"]},{"1331714579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714595, 1331714589, 1331714583, 1331714592, 1331714579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.510907888412476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:12:32.788651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_55_10364.jpg', '/home/pi/Desktop/images/26012025/17/11/image_26012025_17_12_06_10426.jpg', '/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_15_9356.jpg', '/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_35_9424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_11_55_10364.jpg
/home/pi/Desktop/images/26012025/17/11/image_26012025_17_12_06_10426.jpg
/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_15_9356.jpg
/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_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":["1331714649","1331714660","1331714654","1331714642"],"photo_ids_order":["1331714642","1331714649","1331714654","1331714660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0c1064ece16ecc87dfa09d9afd1bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody2127749003106241640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908013686,"filename":"image_26012025_17_12_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/26/42eef0288aa4cbcadb7cb28978d27dc9.jpg","text":"TemporaryFile(/tmp/multipartBody1702075913020088735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908013686,"filename":"image_26012025_17_12_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58c3089c1f253168a94e6585f565c1fe.jpg","text":"TemporaryFile(/tmp/multipartBody689647827541105987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908013686,"filename":"image_26012025_17_12_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/26/c542bd2a5df0c039becc95363239d662.jpg","text":"TemporaryFile(/tmp/multipartBody4871546764288005682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908013686,"filename":"image_26012025_17_11_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714654","file1":"1331714649","file0":"1331714642","file3":"1331714660"},"map_files_photo_id_array":[{"photo_id":"1331714654","filename":"file2"},{"photo_id":"1331714649","filename":"file1"},{"photo_id":"1331714642","filename":"file0"},{"photo_id":"1331714660","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714649":["hashtag1","hashtag2"]},{"1331714660":["hashtag1","hashtag2"]},{"1331714654":["hashtag1","hashtag2"]},{"1331714642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714649, 1331714660, 1331714654, 1331714642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.930785417556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:13:32.981200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_55_10358.jpg', '/home/pi/Desktop/images/26012025/17/12/image_26012025_17_13_05_9330.jpg', '/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_26_10510.jpg', '/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_35_9315.jpg', '/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_45_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/12/image_26012025_17_12_55_10358.jpg
/home/pi/Desktop/images/26012025/17/12/image_26012025_17_13_05_9330.jpg
/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_26_10510.jpg
/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_35_9315.jpg
/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_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":["1331714824","1331714853","1331714856","1331714847","1331714780"],"photo_ids_order":["1331714780","1331714824","1331714847","1331714853","1331714856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b0ea6893c1c55c2f02d16d6905440937.jpg","text":"TemporaryFile(/tmp/multipartBody4371945145280817207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908073881,"filename":"image_26012025_17_13_05_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05fa7f14e1fac9832b5cae9add48e4e6.jpg","text":"TemporaryFile(/tmp/multipartBody6836349960898782216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908073881,"filename":"image_26012025_17_13_35_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83a1ebb3987274861d48b532c36ece94.jpg","text":"TemporaryFile(/tmp/multipartBody7136504882696393161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908073881,"filename":"image_26012025_17_13_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/26/aaf4f5076e14f660832ae53691f4a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8938949800399226367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908073881,"filename":"image_26012025_17_13_26_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/26/1dc5cb2bea1f507226dc8f52e7a588c9.jpg","text":"TemporaryFile(/tmp/multipartBody868532880334407975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908073881,"filename":"image_26012025_17_12_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714847","file1":"1331714824","file0":"1331714780","file4":"1331714856","file3":"1331714853"},"map_files_photo_id_array":[{"photo_id":"1331714847","filename":"file2"},{"photo_id":"1331714856","filename":"file4"},{"photo_id":"1331714824","filename":"file1"},{"photo_id":"1331714780","filename":"file0"},{"photo_id":"1331714853","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714824":["hashtag1","hashtag2"]},{"1331714853":["hashtag1","hashtag2"]},{"1331714856":["hashtag1","hashtag2"]},{"1331714847":["hashtag1","hashtag2"]},{"1331714780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714824, 1331714853, 1331714856, 1331714847, 1331714780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.014092206954956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:14:32.142355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_56_10360.jpg', '/home/pi/Desktop/images/26012025/17/13/image_26012025_17_14_05_9320.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_15_10344.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_25_9455.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_35_10355.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_46_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/13/image_26012025_17_13_56_10360.jpg
/home/pi/Desktop/images/26012025/17/13/image_26012025_17_14_05_9320.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_15_10344.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_25_9455.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_35_10355.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_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":["1331714932","1331714920","1331714934","1331714916","1331714930","1331714924"],"photo_ids_order":["1331714916","1331714920","1331714924","1331714930","1331714932","1331714934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/383e89c310cc69c498a4d7a4b3e38397.jpg","text":"TemporaryFile(/tmp/multipartBody8985841427766149238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_14_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/26/c2160ade4b60a2f9677827f54e33eca1.jpg","text":"TemporaryFile(/tmp/multipartBody5750126106467915725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_14_05_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d48f819ceaa811d88444c9a2bf33a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5291384232780285646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_14_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/26/8085f193cbe49189f52d652f964bc860.jpg","text":"TemporaryFile(/tmp/multipartBody6337049991774618807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_13_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/26/b1293f4eb14a1282bc9ef770896294d0.jpg","text":"TemporaryFile(/tmp/multipartBody565784872724002476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_14_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/09a7cb123fbe93d2d1401340d4d15f12.jpg","text":"TemporaryFile(/tmp/multipartBody7308378103367578095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908133064,"filename":"image_26012025_17_14_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714924","file1":"1331714920","file0":"1331714916","file4":"1331714932","file5":"1331714934","file3":"1331714930"},"map_files_photo_id_array":[{"photo_id":"1331714934","filename":"file5"},{"photo_id":"1331714924","filename":"file2"},{"photo_id":"1331714932","filename":"file4"},{"photo_id":"1331714920","filename":"file1"},{"photo_id":"1331714916","filename":"file0"},{"photo_id":"1331714930","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714932":["hashtag1","hashtag2"]},{"1331714920":["hashtag1","hashtag2"]},{"1331714934":["hashtag1","hashtag2"]},{"1331714916":["hashtag1","hashtag2"]},{"1331714930":["hashtag1","hashtag2"]},{"1331714924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714932, 1331714920, 1331714934, 1331714916, 1331714930, 1331714924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34443140029907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:15:32.457519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_55_9359.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_15_05_10343.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_15_9450.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_25_10370.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_35_10349.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_45_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_55_9359.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_15_05_10343.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_15_9450.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_25_10370.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_35_10349.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_45_9453.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5406711101531982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:15:42.409148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_55_9359.jpg', '/home/pi/Desktop/images/26012025/17/14/image_26012025_17_15_05_10343.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_15_9450.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_25_10370.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_35_10349.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_45_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_14_55_9359.jpg
/home/pi/Desktop/images/26012025/17/14/image_26012025_17_15_05_10343.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_15_9450.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_25_10370.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_35_10349.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_45_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331714950","1331714970","1331714958","1331714978","1331714954","1331714980"],"photo_ids_order":["1331714950","1331714954","1331714958","1331714970","1331714978","1331714980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ca5bca9860432ed28c2058b04049c11.jpg","text":"TemporaryFile(/tmp/multipartBody5200284642742684406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_14_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/26/88aaae323f742cdfe2a5bdb81102f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5873909693129919783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_15_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/26/a0c2259a1c07e91dfce921156cb967a0.jpg","text":"TemporaryFile(/tmp/multipartBody45449914828300754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_15_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/26/37f4f8d6bac0142cad57ddf0a6497772.jpg","text":"TemporaryFile(/tmp/multipartBody3617150332137574645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_15_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2158f7831a7aad074af8a1b10b7b4324.jpg","text":"TemporaryFile(/tmp/multipartBody2776415458258699478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_15_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/26/4f4fa7b8dab934e83434d0d68ebe4a53.jpg","text":"TemporaryFile(/tmp/multipartBody2858249732113252735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908203336,"filename":"image_26012025_17_15_45_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331714958","file1":"1331714954","file0":"1331714950","file4":"1331714978","file5":"1331714980","file3":"1331714970"},"map_files_photo_id_array":[{"photo_id":"1331714980","filename":"file5"},{"photo_id":"1331714958","filename":"file2"},{"photo_id":"1331714978","filename":"file4"},{"photo_id":"1331714954","filename":"file1"},{"photo_id":"1331714950","filename":"file0"},{"photo_id":"1331714970","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331714950":["hashtag1","hashtag2"]},{"1331714970":["hashtag1","hashtag2"]},{"1331714958":["hashtag1","hashtag2"]},{"1331714978":["hashtag1","hashtag2"]},{"1331714954":["hashtag1","hashtag2"]},{"1331714980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331714950, 1331714970, 1331714958, 1331714978, 1331714954, 1331714980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68217706680298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:16:32.623528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_55_10367.jpg', '/home/pi/Desktop/images/26012025/17/15/image_26012025_17_16_06_10384.jpg', '/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_15_9320.jpg', '/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_35_9413.jpg', '/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_45_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_15_55_10367.jpg
/home/pi/Desktop/images/26012025/17/15/image_26012025_17_16_06_10384.jpg
/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_15_9320.jpg
/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_35_9413.jpg
/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_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":["1331715025","1331715028","1331715015","1331715020","1331715011"],"photo_ids_order":["1331715011","1331715015","1331715020","1331715025","1331715028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3f638f4e13330eff7b5d1706197ea52f.jpg","text":"TemporaryFile(/tmp/multipartBody7291163144527622241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908253529,"filename":"image_26012025_17_16_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/775b4983df1b4bc93ed3f05f3925d2fd.jpg","text":"TemporaryFile(/tmp/multipartBody7261063030489355270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908253529,"filename":"image_26012025_17_16_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/26/9b73d99e713e236e481d030e587fe9e3.jpg","text":"TemporaryFile(/tmp/multipartBody2653276860676905896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908253529,"filename":"image_26012025_17_16_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/26/78b587018a10ffe284b237c4dfec28cf.jpg","text":"TemporaryFile(/tmp/multipartBody3854995652665702757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908253529,"filename":"image_26012025_17_16_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/26/79454d95943a8b489c0f6ed497d80aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6014984470633271044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908253529,"filename":"image_26012025_17_15_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331715020","file1":"1331715015","file0":"1331715011","file4":"1331715028","file3":"1331715025"},"map_files_photo_id_array":[{"photo_id":"1331715020","filename":"file2"},{"photo_id":"1331715028","filename":"file4"},{"photo_id":"1331715015","filename":"file1"},{"photo_id":"1331715011","filename":"file0"},{"photo_id":"1331715025","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331715025":["hashtag1","hashtag2"]},{"1331715028":["hashtag1","hashtag2"]},{"1331715015":["hashtag1","hashtag2"]},{"1331715020":["hashtag1","hashtag2"]},{"1331715011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331715025, 1331715028, 1331715015, 1331715020, 1331715011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.55836510658264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:17:32.902521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_55_10361.jpg', '/home/pi/Desktop/images/26012025/17/16/image_26012025_17_17_05_9350.jpg', '/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_15_10346.jpg', '/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_26_10479.jpg', '/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_35_9312.jpg', '/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_45_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/16/image_26012025_17_16_55_10361.jpg
/home/pi/Desktop/images/26012025/17/16/image_26012025_17_17_05_9350.jpg
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_15_10346.jpg
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_26_10479.jpg
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_35_9312.jpg
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_45_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331715628","1331715115","1331715624","1331715627","1331715620","1331715431"],"photo_ids_order":["1331715115","1331715431","1331715620","1331715624","1331715627","1331715628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6dc13ef1896a71c4f998f4a0243eff7.jpg","text":"TemporaryFile(/tmp/multipartBody4791264445481361682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_17_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/54263bd8aaee4e8795c59f6f6f6ec699.jpg","text":"TemporaryFile(/tmp/multipartBody4675522491512235128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_16_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/26/9e0cc7cd3838044b3e787e8d97be8fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2570594772978122133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_17_26_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/26/7b67e312edd2e9a6720c3bbe3f25065d.jpg","text":"TemporaryFile(/tmp/multipartBody8961733842722466048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_17_35_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/26/356da963d501e3aed6477c64a0c4615f.jpg","text":"TemporaryFile(/tmp/multipartBody6602048402834522085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_17_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/26/fc66ac75f60eb186bc415a2c3ba21672.jpg","text":"TemporaryFile(/tmp/multipartBody1822083137602330550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908313826,"filename":"image_26012025_17_17_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331715620","file1":"1331715431","file0":"1331715115","file4":"1331715627","file5":"1331715628","file3":"1331715624"},"map_files_photo_id_array":[{"photo_id":"1331715628","filename":"file5"},{"photo_id":"1331715620","filename":"file2"},{"photo_id":"1331715627","filename":"file4"},{"photo_id":"1331715431","filename":"file1"},{"photo_id":"1331715115","filename":"file0"},{"photo_id":"1331715624","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331715628":["hashtag1","hashtag2"]},{"1331715115":["hashtag1","hashtag2"]},{"1331715624":["hashtag1","hashtag2"]},{"1331715627":["hashtag1","hashtag2"]},{"1331715620":["hashtag1","hashtag2"]},{"1331715431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331715628, 1331715115, 1331715624, 1331715627, 1331715620, 1331715431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44941234588623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:18:33.056991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_55_9403.jpg', '/home/pi/Desktop/images/26012025/17/17/image_26012025_17_18_05_10364.jpg', '/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_15_10405.jpg', '/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_25_9458.jpg', '/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_35_10339.jpg', '/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_45_9455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_17_55_9403.jpg
/home/pi/Desktop/images/26012025/17/17/image_26012025_17_18_05_10364.jpg
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_15_10405.jpg
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_25_9458.jpg
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_35_10339.jpg
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_45_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":["1331715904","1331715951","1331715948","1331715995","1331715641","1331716015"],"photo_ids_order":["1331715641","1331715904","1331715948","1331715951","1331715995","1331716015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd4ddc3703b65b6fb867a1a22ab3b1ed.jpg","text":"TemporaryFile(/tmp/multipartBody87084520646100777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_18_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/26/c38680f8ee73af518cb73cb5c9c6f522.jpg","text":"TemporaryFile(/tmp/multipartBody5128444081813839575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_18_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/26/b50ae104de199786d29da606639c506f.jpg","text":"TemporaryFile(/tmp/multipartBody7962320313616770643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_18_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/26/eee71bca019b33ca4a6d2e33d27f1f94.jpg","text":"TemporaryFile(/tmp/multipartBody2284016116405978684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_18_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/26/8629f2628c30aba1332f591c74991d92.jpg","text":"TemporaryFile(/tmp/multipartBody7081570877799782323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_17_55_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93b94129a18147efd469bbc5670d3ce7.jpg","text":"TemporaryFile(/tmp/multipartBody4769420923257000619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908373990,"filename":"image_26012025_17_18_45_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331715948","file1":"1331715904","file0":"1331715641","file4":"1331715995","file5":"1331716015","file3":"1331715951"},"map_files_photo_id_array":[{"photo_id":"1331716015","filename":"file5"},{"photo_id":"1331715948","filename":"file2"},{"photo_id":"1331715995","filename":"file4"},{"photo_id":"1331715904","filename":"file1"},{"photo_id":"1331715641","filename":"file0"},{"photo_id":"1331715951","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331715904":["hashtag1","hashtag2"]},{"1331715951":["hashtag1","hashtag2"]},{"1331715948":["hashtag1","hashtag2"]},{"1331715995":["hashtag1","hashtag2"]},{"1331715641":["hashtag1","hashtag2"]},{"1331716015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331715904, 1331715951, 1331715948, 1331715995, 1331715641, 1331716015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56522822380066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:19:32.280983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_55_10357.jpg', '/home/pi/Desktop/images/26012025/17/18/image_26012025_17_19_06_10453.jpg', '/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_15_9330.jpg', '/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_25_10374.jpg', '/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_36_10325.jpg', '/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_18_55_10357.jpg
/home/pi/Desktop/images/26012025/17/18/image_26012025_17_19_06_10453.jpg
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_15_9330.jpg
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_25_10374.jpg
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_36_10325.jpg
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_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":["1331716065","1331716026","1331716038","1331716034","1331716042","1331716030"],"photo_ids_order":["1331716026","1331716030","1331716034","1331716038","1331716042","1331716065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/50768fddaad9d130fe2370d840407110.jpg","text":"TemporaryFile(/tmp/multipartBody4009170081816819617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_19_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/26/8231db5edfe4818785012b83bcdc0e54.jpg","text":"TemporaryFile(/tmp/multipartBody374871085454813886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_18_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/26/6293a0647527b291b2e483a9805f6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3129894185284293683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_19_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/26/3ea6edb574769511a40d059d8f24f24d.jpg","text":"TemporaryFile(/tmp/multipartBody3816109886694122724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_19_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/26/be6b8350b20813855c05665352dc6b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1313129256420229301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_19_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/276846e378a87bb9c7961ab6b999c294.jpg","text":"TemporaryFile(/tmp/multipartBody3856748514192240017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908433207,"filename":"image_26012025_17_19_06_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716034","file1":"1331716030","file0":"1331716026","file4":"1331716042","file5":"1331716065","file3":"1331716038"},"map_files_photo_id_array":[{"photo_id":"1331716065","filename":"file5"},{"photo_id":"1331716034","filename":"file2"},{"photo_id":"1331716042","filename":"file4"},{"photo_id":"1331716030","filename":"file1"},{"photo_id":"1331716026","filename":"file0"},{"photo_id":"1331716038","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716065":["hashtag1","hashtag2"]},{"1331716026":["hashtag1","hashtag2"]},{"1331716038":["hashtag1","hashtag2"]},{"1331716034":["hashtag1","hashtag2"]},{"1331716042":["hashtag1","hashtag2"]},{"1331716030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716065, 1331716026, 1331716038, 1331716034, 1331716042, 1331716030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26065635681152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:20:32.487670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_55_10462.jpg', '/home/pi/Desktop/images/26012025/17/19/image_26012025_17_20_05_9328.jpg', '/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_15_10420.jpg', '/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_26_10468.jpg', '/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_35_9312.jpg', '/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_45_10381.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_19_55_10462.jpg
/home/pi/Desktop/images/26012025/17/19/image_26012025_17_20_05_9328.jpg
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_15_10420.jpg
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_26_10468.jpg
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_35_9312.jpg
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_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":["1331716077","1331716086","1331716082","1331716072","1331716092","1331716089"],"photo_ids_order":["1331716072","1331716077","1331716082","1331716086","1331716089","1331716092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c37e64053cb888631cae009839a43d63.jpg","text":"TemporaryFile(/tmp/multipartBody554468399826553902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_20_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/26/ca824e18fb7eecfcb87a006e65912445.jpg","text":"TemporaryFile(/tmp/multipartBody3830029561573952888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_20_26_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/26/b3fceecf687e3c0d4e8dcf560bed3eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6154452530576731524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_20_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/26/d22f43e9aca40c8968d6f919b9ad4dfb.jpg","text":"TemporaryFile(/tmp/multipartBody391765435874077289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_19_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/26/5f61a9943cfd13750a1a3a2df9ed8fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5483081313873120904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_20_45_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/399e0a8f5504dfeede185e5b4200b3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4429614433255584120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908493415,"filename":"image_26012025_17_20_35_9312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716082","file1":"1331716077","file0":"1331716072","file4":"1331716089","file5":"1331716092","file3":"1331716086"},"map_files_photo_id_array":[{"photo_id":"1331716092","filename":"file5"},{"photo_id":"1331716082","filename":"file2"},{"photo_id":"1331716089","filename":"file4"},{"photo_id":"1331716077","filename":"file1"},{"photo_id":"1331716072","filename":"file0"},{"photo_id":"1331716086","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716077":["hashtag1","hashtag2"]},{"1331716086":["hashtag1","hashtag2"]},{"1331716082":["hashtag1","hashtag2"]},{"1331716072":["hashtag1","hashtag2"]},{"1331716092":["hashtag1","hashtag2"]},{"1331716089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716077, 1331716086, 1331716082, 1331716072, 1331716092, 1331716089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72249507904053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:21:32.810251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_55_9419.jpg', '/home/pi/Desktop/images/26012025/17/20/image_26012025_17_21_05_10410.jpg', '/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_16_10439.jpg', '/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_25_9423.jpg', '/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_35_10358.jpg', '/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_20_55_9419.jpg
/home/pi/Desktop/images/26012025/17/20/image_26012025_17_21_05_10410.jpg
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_16_10439.jpg
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_25_9423.jpg
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_35_10358.jpg
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_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":["1331716108","1331716107","1331716110","1331716104","1331716106","1331716105"],"photo_ids_order":["1331716104","1331716105","1331716106","1331716107","1331716108","1331716110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d90bd13cdf05a2ef1510cb92d8b35c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3660328584237103105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_21_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/26/fb9de8320cf354527e668ae7adc3133c.jpg","text":"TemporaryFile(/tmp/multipartBody8711540148649086212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_21_25_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd6be0a71576a3e3ecb32db63eba2fa6.jpg","text":"TemporaryFile(/tmp/multipartBody3857917637715627134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_21_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/26/21408382258431816a071c36034620e7.jpg","text":"TemporaryFile(/tmp/multipartBody8950548871972370452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_20_55_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7431fb53fe24d7e835574d97a255ed2.jpg","text":"TemporaryFile(/tmp/multipartBody503794260103454278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_21_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3f21045be4835cc70c3b6d9b61b7e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3957311187788230227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908553719,"filename":"image_26012025_17_21_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716106","file1":"1331716105","file0":"1331716104","file4":"1331716108","file5":"1331716110","file3":"1331716107"},"map_files_photo_id_array":[{"photo_id":"1331716110","filename":"file5"},{"photo_id":"1331716106","filename":"file2"},{"photo_id":"1331716108","filename":"file4"},{"photo_id":"1331716105","filename":"file1"},{"photo_id":"1331716104","filename":"file0"},{"photo_id":"1331716107","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716108":["hashtag1","hashtag2"]},{"1331716107":["hashtag1","hashtag2"]},{"1331716110":["hashtag1","hashtag2"]},{"1331716104":["hashtag1","hashtag2"]},{"1331716106":["hashtag1","hashtag2"]},{"1331716105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716108, 1331716107, 1331716110, 1331716104, 1331716106, 1331716105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.81424927711487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:22:32.844889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_55_10362.jpg', '/home/pi/Desktop/images/26012025/17/21/image_26012025_17_22_05_10425.jpg', '/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_15_9350.jpg', '/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_25_10350.jpg', '/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_36_10429.jpg', '/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_45_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_21_55_10362.jpg
/home/pi/Desktop/images/26012025/17/21/image_26012025_17_22_05_10425.jpg
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_15_9350.jpg
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_25_10350.jpg
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_36_10429.jpg
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_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":["1331716212","1331716215","1331716203","1331716217","1331716208","1331716174"],"photo_ids_order":["1331716174","1331716203","1331716208","1331716212","1331716215","1331716217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87c592daa3a69081c0208ddfb7e54a23.jpg","text":"TemporaryFile(/tmp/multipartBody2364295494186124214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_22_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/26/cc07ea3a72f14d4a92d77301d775fe50.jpg","text":"TemporaryFile(/tmp/multipartBody9156976293944330164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_22_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/26/3c9d6c447286c683ce7ca8dcf29becd0.jpg","text":"TemporaryFile(/tmp/multipartBody4395415346404461717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_22_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/418faf4fcdc8ffbb4f8f80bf7b647e64.jpg","text":"TemporaryFile(/tmp/multipartBody6768198534759510187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_22_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/26/bf065f1552bbbc9f1fc71e511d281a17.jpg","text":"TemporaryFile(/tmp/multipartBody4438485697832591974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_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/26/270d989712afaf6667d047a9aad59111.jpg","text":"TemporaryFile(/tmp/multipartBody2131812101226396966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908613781,"filename":"image_26012025_17_21_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716208","file1":"1331716203","file0":"1331716174","file4":"1331716215","file5":"1331716217","file3":"1331716212"},"map_files_photo_id_array":[{"photo_id":"1331716217","filename":"file5"},{"photo_id":"1331716208","filename":"file2"},{"photo_id":"1331716215","filename":"file4"},{"photo_id":"1331716203","filename":"file1"},{"photo_id":"1331716174","filename":"file0"},{"photo_id":"1331716212","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716212":["hashtag1","hashtag2"]},{"1331716215":["hashtag1","hashtag2"]},{"1331716203":["hashtag1","hashtag2"]},{"1331716217":["hashtag1","hashtag2"]},{"1331716208":["hashtag1","hashtag2"]},{"1331716174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716212, 1331716215, 1331716203, 1331716217, 1331716208, 1331716174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6811728477478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:23:33.157614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_55_10392.jpg', '/home/pi/Desktop/images/26012025/17/22/image_26012025_17_23_05_9351.jpg', '/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_15_10365.jpg', '/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_26_10414.jpg', '/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_35_9440.jpg', '/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_45_10403.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_22_55_10392.jpg
/home/pi/Desktop/images/26012025/17/22/image_26012025_17_23_05_9351.jpg
/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_15_10365.jpg
/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_26_10414.jpg
/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_35_9440.jpg
/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_45_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":["1331716230","1331716233","1331716232","1331716234","1331716228","1331716237"],"photo_ids_order":["1331716228","1331716230","1331716232","1331716233","1331716234","1331716237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e37e0b9beb663b0bb6813171c75360d.jpg","text":"TemporaryFile(/tmp/multipartBody580743399026012938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_23_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/26/7b19d47819bde990eb6c6bd9259740ba.jpg","text":"TemporaryFile(/tmp/multipartBody5105748000065794997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_23_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c41b152327a8cf7a7535641e00271ab.jpg","text":"TemporaryFile(/tmp/multipartBody3815221871224010269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_23_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4658f36c06a4adf589a364a8e2d69e94.jpg","text":"TemporaryFile(/tmp/multipartBody2712839322038992761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_23_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/26/25c4d1501ae44adcd24cbb9eb4695e62.jpg","text":"TemporaryFile(/tmp/multipartBody8603396061548132661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_22_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/26/dd4a5b9d3b7788245fbaf1f687c348fe.jpg","text":"TemporaryFile(/tmp/multipartBody7970150855468030218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908674073,"filename":"image_26012025_17_23_45_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716232","file1":"1331716230","file0":"1331716228","file4":"1331716234","file5":"1331716237","file3":"1331716233"},"map_files_photo_id_array":[{"photo_id":"1331716237","filename":"file5"},{"photo_id":"1331716232","filename":"file2"},{"photo_id":"1331716234","filename":"file4"},{"photo_id":"1331716230","filename":"file1"},{"photo_id":"1331716228","filename":"file0"},{"photo_id":"1331716233","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716230":["hashtag1","hashtag2"]},{"1331716233":["hashtag1","hashtag2"]},{"1331716232":["hashtag1","hashtag2"]},{"1331716234":["hashtag1","hashtag2"]},{"1331716228":["hashtag1","hashtag2"]},{"1331716237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716230, 1331716233, 1331716232, 1331716234, 1331716228, 1331716237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20335507392883 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:24:32.298106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_55_9430.jpg', '/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_25_9361.jpg', '/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_35_10358.jpg', '/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_46_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/23/image_26012025_17_23_55_9430.jpg
/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_25_9361.jpg
/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_35_10358.jpg
/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_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":["1331716260","1331716264","1331716252","1331716255"],"photo_ids_order":["1331716252","1331716255","1331716260","1331716264"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b6a314393dbd070a500c92b85c3c82b1.jpg","text":"TemporaryFile(/tmp/multipartBody1473269206460728722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908733186,"filename":"image_26012025_17_24_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/26/205d7f3b95463704da25d9e0608fe7e5.jpg","text":"TemporaryFile(/tmp/multipartBody4320607682588489413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908733186,"filename":"image_26012025_17_24_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/26/2db13133ce7d2534ac287c035f7a1d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8040699713636176283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908733186,"filename":"image_26012025_17_23_55_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/26/2a56239b2f097565dfeba8079f3b9d85.jpg","text":"TemporaryFile(/tmp/multipartBody170642588469830860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908733186,"filename":"image_26012025_17_24_25_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716260","file1":"1331716255","file0":"1331716252","file3":"1331716264"},"map_files_photo_id_array":[{"photo_id":"1331716260","filename":"file2"},{"photo_id":"1331716255","filename":"file1"},{"photo_id":"1331716252","filename":"file0"},{"photo_id":"1331716264","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716260":["hashtag1","hashtag2"]},{"1331716264":["hashtag1","hashtag2"]},{"1331716252":["hashtag1","hashtag2"]},{"1331716255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716260, 1331716264, 1331716252, 1331716255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.53766965866089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:25:32.596117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_55_9334.jpg', '/home/pi/Desktop/images/26012025/17/24/image_26012025_17_25_05_10360.jpg', '/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_15_9342.jpg', '/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_25_10354.jpg', '/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_35_10333.jpg', '/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_45_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/24/image_26012025_17_24_55_9334.jpg
/home/pi/Desktop/images/26012025/17/24/image_26012025_17_25_05_10360.jpg
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_15_9342.jpg
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_25_10354.jpg
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_35_10333.jpg
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_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":["1331716461","1331716463","1331716316","1331716462","1331716465","1331716414"],"photo_ids_order":["1331716316","1331716414","1331716461","1331716462","1331716463","1331716465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2a699ecef82ed67bbb0eb6854712df5.jpg","text":"TemporaryFile(/tmp/multipartBody5805252284576940516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_25_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/26/87cb1f285e68f8595e09017b79315714.jpg","text":"TemporaryFile(/tmp/multipartBody4638895463429342188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_25_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8108f074cb6a0945fb823682d15bf0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5153420280412769433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_24_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/26/ed7c0a8b003601a767de3da684cb0e76.jpg","text":"TemporaryFile(/tmp/multipartBody8364668815129554720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_25_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/26/87ae5e6441e7438edfbff6ff57bfb15a.jpg","text":"TemporaryFile(/tmp/multipartBody5073479992826034760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_25_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/26/b3688648ae64c1632d475a981e131837.jpg","text":"TemporaryFile(/tmp/multipartBody3166229509437322938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908793522,"filename":"image_26012025_17_25_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716461","file1":"1331716414","file0":"1331716316","file4":"1331716463","file5":"1331716465","file3":"1331716462"},"map_files_photo_id_array":[{"photo_id":"1331716465","filename":"file5"},{"photo_id":"1331716461","filename":"file2"},{"photo_id":"1331716463","filename":"file4"},{"photo_id":"1331716414","filename":"file1"},{"photo_id":"1331716316","filename":"file0"},{"photo_id":"1331716462","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716461":["hashtag1","hashtag2"]},{"1331716463":["hashtag1","hashtag2"]},{"1331716316":["hashtag1","hashtag2"]},{"1331716462":["hashtag1","hashtag2"]},{"1331716465":["hashtag1","hashtag2"]},{"1331716414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716461, 1331716463, 1331716316, 1331716462, 1331716465, 1331716414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.78789925575256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:26:32.864748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_55_10353.jpg', '/home/pi/Desktop/images/26012025/17/25/image_26012025_17_26_05_10351.jpg', '/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_15_9406.jpg', '/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_25_10363.jpg', '/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_35_9512.jpg', '/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_45_10417.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_25_55_10353.jpg
/home/pi/Desktop/images/26012025/17/25/image_26012025_17_26_05_10351.jpg
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_15_9406.jpg
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_25_10363.jpg
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_35_9512.jpg
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_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":["1331716545","1331716496","1331716499","1331716490","1331716486","1331716483"],"photo_ids_order":["1331716483","1331716486","1331716490","1331716496","1331716499","1331716545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33b9a3e5fa8597f0ebf671749701aa3b.jpg","text":"TemporaryFile(/tmp/multipartBody3579174029218803356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_26_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/26/b0922a304a5cb4afc4f59e0a3ba4d2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3553029397248847734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_26_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/26/1cde914e8fbccf67f0d3a32c8df54cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7236189355642958049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_26_35_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9d2c7d6da3eddd3737ef18825a41ebd1.jpg","text":"TemporaryFile(/tmp/multipartBody3039286102191118819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_26_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/26/452f0020c5410871e0d53a7a6cd0b91d.jpg","text":"TemporaryFile(/tmp/multipartBody3471596592406488981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_26_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/26/791c2944e84cf4ab9d6681cbc721fd36.jpg","text":"TemporaryFile(/tmp/multipartBody2913658666420218149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908854042,"filename":"image_26012025_17_25_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716490","file1":"1331716486","file0":"1331716483","file4":"1331716499","file5":"1331716545","file3":"1331716496"},"map_files_photo_id_array":[{"photo_id":"1331716545","filename":"file5"},{"photo_id":"1331716490","filename":"file2"},{"photo_id":"1331716499","filename":"file4"},{"photo_id":"1331716486","filename":"file1"},{"photo_id":"1331716483","filename":"file0"},{"photo_id":"1331716496","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716545":["hashtag1","hashtag2"]},{"1331716496":["hashtag1","hashtag2"]},{"1331716499":["hashtag1","hashtag2"]},{"1331716490":["hashtag1","hashtag2"]},{"1331716486":["hashtag1","hashtag2"]},{"1331716483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716545, 1331716496, 1331716499, 1331716490, 1331716486, 1331716483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47463631629944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:27:33.010017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_56_10430.jpg', '/home/pi/Desktop/images/26012025/17/26/image_26012025_17_27_05_9325.jpg', '/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_15_10335.jpg', '/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_26_10391.jpg', '/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_35_9326.jpg', '/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_26_56_10430.jpg
/home/pi/Desktop/images/26012025/17/26/image_26012025_17_27_05_9325.jpg
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_15_10335.jpg
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_26_10391.jpg
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_35_9326.jpg
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_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":["1331716560","1331716574","1331716571","1331716597","1331716600","1331716599"],"photo_ids_order":["1331716560","1331716571","1331716574","1331716597","1331716599","1331716600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de7b98858cf07b895643c4818469c93d.jpg","text":"TemporaryFile(/tmp/multipartBody2135735581098900768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_26_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/26/384aa2d4fb243426527a499d24a13f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7482525158291079676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_27_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/26/6409144ca48dce1c5b35300173e9226c.jpg","text":"TemporaryFile(/tmp/multipartBody8789582683120169775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_27_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/26/4e66aca5727f4d5f6f6d6497a165081c.jpg","text":"TemporaryFile(/tmp/multipartBody2958370736414805002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_27_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/26/9d1fb9f877e3c5ccf9a213b2e91f46f0.jpg","text":"TemporaryFile(/tmp/multipartBody3844395174829057639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_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/26/330c95874d07f5a178789232ce1040a6.jpg","text":"TemporaryFile(/tmp/multipartBody5918385561208285824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908913938,"filename":"image_26012025_17_27_35_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716574","file1":"1331716571","file0":"1331716560","file4":"1331716599","file5":"1331716600","file3":"1331716597"},"map_files_photo_id_array":[{"photo_id":"1331716600","filename":"file5"},{"photo_id":"1331716574","filename":"file2"},{"photo_id":"1331716599","filename":"file4"},{"photo_id":"1331716571","filename":"file1"},{"photo_id":"1331716560","filename":"file0"},{"photo_id":"1331716597","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716560":["hashtag1","hashtag2"]},{"1331716574":["hashtag1","hashtag2"]},{"1331716571":["hashtag1","hashtag2"]},{"1331716597":["hashtag1","hashtag2"]},{"1331716600":["hashtag1","hashtag2"]},{"1331716599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716560, 1331716574, 1331716571, 1331716597, 1331716600, 1331716599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.52777910232544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:28:32.151444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_56_10361.jpg', '/home/pi/Desktop/images/26012025/17/27/image_26012025_17_28_05_9324.jpg', '/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_15_10349.jpg', '/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_26_10332.jpg', '/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_35_9328.jpg', '/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_45_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_27_56_10361.jpg
/home/pi/Desktop/images/26012025/17/27/image_26012025_17_28_05_9324.jpg
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_15_10349.jpg
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_26_10332.jpg
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_35_9328.jpg
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_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":["1331716632","1331716641","1331716646","1331716649","1331716636","1331716651"],"photo_ids_order":["1331716632","1331716636","1331716641","1331716646","1331716649","1331716651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d5a4ab5a517d91d8f8a0320dbb0ea09.jpg","text":"TemporaryFile(/tmp/multipartBody1832101662014281428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_27_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/26/aeb9b06907b38e369a8d8085b7c1e5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7803315217926025798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_28_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/26/46b772b1f90bef356965e24eff8fac2d.jpg","text":"TemporaryFile(/tmp/multipartBody766910285734127190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_28_26_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/26/f29b466e01889e2db48e1c8e16e3eb6e.jpg","text":"TemporaryFile(/tmp/multipartBody951932999089129380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_28_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e9e8e3c86ddb5cffaa740f922326a32.jpg","text":"TemporaryFile(/tmp/multipartBody2925961755839294583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_28_05_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a264b7176258c41c2ea4c71bb8241b8.jpg","text":"TemporaryFile(/tmp/multipartBody8169742489266119320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737908973103,"filename":"image_26012025_17_28_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716641","file1":"1331716636","file0":"1331716632","file4":"1331716649","file5":"1331716651","file3":"1331716646"},"map_files_photo_id_array":[{"photo_id":"1331716651","filename":"file5"},{"photo_id":"1331716641","filename":"file2"},{"photo_id":"1331716649","filename":"file4"},{"photo_id":"1331716636","filename":"file1"},{"photo_id":"1331716632","filename":"file0"},{"photo_id":"1331716646","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716632":["hashtag1","hashtag2"]},{"1331716641":["hashtag1","hashtag2"]},{"1331716646":["hashtag1","hashtag2"]},{"1331716649":["hashtag1","hashtag2"]},{"1331716636":["hashtag1","hashtag2"]},{"1331716651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716632, 1331716641, 1331716646, 1331716649, 1331716636, 1331716651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.01748085021973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:29:32.452456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_55_9390.jpg', '/home/pi/Desktop/images/26012025/17/28/image_26012025_17_29_05_10329.jpg', '/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_15_10352.jpg', '/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_25_9414.jpg', '/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_35_10363.jpg', '/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_46_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_28_55_9390.jpg
/home/pi/Desktop/images/26012025/17/28/image_26012025_17_29_05_10329.jpg
/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_15_10352.jpg
/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_25_9414.jpg
/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_35_10363.jpg
/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_46_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716791","1331716790","1331716781","1331716783","1331716786","1331716788"],"photo_ids_order":["1331716781","1331716783","1331716786","1331716788","1331716790","1331716791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3686caac594756c65d1126316bdaeaf5.jpg","text":"TemporaryFile(/tmp/multipartBody6113975137659671432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_29_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/994610ddf82fb02c6094220dcffb08fa.jpg","text":"TemporaryFile(/tmp/multipartBody8929562358849916264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_29_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/26/1742d99b2064fc981287e5d713138316.jpg","text":"TemporaryFile(/tmp/multipartBody1053222515059705465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_28_55_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/26/0370be58c8af753dd923d440dba5bb64.jpg","text":"TemporaryFile(/tmp/multipartBody2066675883464930404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_29_05_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/26/00b2322f147a6f840d44278782bdbfe3.jpg","text":"TemporaryFile(/tmp/multipartBody2030643757209745105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_29_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/26/ea5416ca541350c9efc2a7312fd65fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4248548928095595379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909033379,"filename":"image_26012025_17_29_25_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716786","file1":"1331716783","file0":"1331716781","file4":"1331716790","file5":"1331716791","file3":"1331716788"},"map_files_photo_id_array":[{"photo_id":"1331716791","filename":"file5"},{"photo_id":"1331716786","filename":"file2"},{"photo_id":"1331716790","filename":"file4"},{"photo_id":"1331716783","filename":"file1"},{"photo_id":"1331716781","filename":"file0"},{"photo_id":"1331716788","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716791":["hashtag1","hashtag2"]},{"1331716790":["hashtag1","hashtag2"]},{"1331716781":["hashtag1","hashtag2"]},{"1331716783":["hashtag1","hashtag2"]},{"1331716786":["hashtag1","hashtag2"]},{"1331716788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716791, 1331716790, 1331716781, 1331716783, 1331716786, 1331716788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40424418449402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:30:32.674722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_55_9374.jpg', '/home/pi/Desktop/images/26012025/17/30/image_26012025_17_30_15_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/29/image_26012025_17_29_55_9374.jpg
/home/pi/Desktop/images/26012025/17/30/image_26012025_17_30_15_9348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716816","1331716813"],"photo_ids_order":["1331716813","1331716816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad46ba1851af54084d36456bdebebb11.jpg","text":"TemporaryFile(/tmp/multipartBody4077066999103906508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909093514,"filename":"image_26012025_17_30_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/26/49aeae8435114461879cd69ecd13ae17.jpg","text":"TemporaryFile(/tmp/multipartBody1711753439116067717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909093514,"filename":"image_26012025_17_29_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331716816","file0":"1331716813"},"map_files_photo_id_array":[{"photo_id":"1331716816","filename":"file1"},{"photo_id":"1331716813","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716816":["hashtag1","hashtag2"]},{"1331716813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716816, 1331716813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.46444582939148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 17:30:52.590622
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_46_9374.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_56_10358.jpg', '/home/pi/Desktop/images/23012025/22/01/image_23012025_22_02_06_9333.jpg', '/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_36_9488.jpg', '/home/pi/Desktop/images/23012025/22/02/image_23012025_22_03_06_9382.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_16_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_46_9374.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_01_56_10358.jpg
/home/pi/Desktop/images/23012025/22/01/image_23012025_22_02_06_9333.jpg
/home/pi/Desktop/images/23012025/22/02/image_23012025_22_02_36_9488.jpg
/home/pi/Desktop/images/23012025/22/02/image_23012025_22_03_06_9382.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_16_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716824","1331716827","1331716838","1331716834","1331716831","1331716825"],"photo_ids_order":["1331716824","1331716825","1331716827","1331716831","1331716834","1331716838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2049c080fb053e08c7755a625851eae1.jpg","text":"TemporaryFile(/tmp/multipartBody9062519991493096429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_01_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ee912b1d287ae259ddbdc9f3208dd7e.jpg","text":"TemporaryFile(/tmp/multipartBody1167455271640093272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_02_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05ac27d4d1b8516e2c5c51440d54c1f5.jpg","text":"TemporaryFile(/tmp/multipartBody9426463088085128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_03_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/26/698357e91645702a6303db39d27bcbc1.jpg","text":"TemporaryFile(/tmp/multipartBody4489973564065116592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_03_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26d35ff9788cf4bf28b97c3799a52a73.jpg","text":"TemporaryFile(/tmp/multipartBody3456895998829053275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_02_36_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45e3d0c83b8f8482b8728128806c7917.jpg","text":"TemporaryFile(/tmp/multipartBody2620019871099807203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909114934,"filename":"image_23012025_22_01_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716827","file1":"1331716825","file0":"1331716824","file4":"1331716834","file5":"1331716838","file3":"1331716831"},"map_files_photo_id_array":[{"photo_id":"1331716838","filename":"file5"},{"photo_id":"1331716827","filename":"file2"},{"photo_id":"1331716834","filename":"file4"},{"photo_id":"1331716825","filename":"file1"},{"photo_id":"1331716824","filename":"file0"},{"photo_id":"1331716831","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331716824":["hashtag1","hashtag2"]},{"1331716827":["hashtag1","hashtag2"]},{"1331716838":["hashtag1","hashtag2"]},{"1331716834":["hashtag1","hashtag2"]},{"1331716831":["hashtag1","hashtag2"]},{"1331716825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331716824, 1331716827, 1331716838, 1331716834, 1331716831, 1331716825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.7793242931366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:31:42.829303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/30/image_26012025_17_30_45_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/30/image_26012025_17_30_45_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716845"],"photo_id":"1331716845","photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1723e63761907167e7b1c8c6329e0e0.jpg","text":"TemporaryFile(/tmp/multipartBody2808087103363436145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909163647,"filename":"image_26012025_17_30_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1331716845"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1331716845"}],"hashtags":[],"portfolio_id":"19928419","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.025768995285034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:32:03.422932
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_26_9615.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_37_10416.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_46_9348.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_56_10447.jpg', '/home/pi/Desktop/images/23012025/22/03/image_23012025_22_04_07_10336.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_16_9433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_26_9615.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_37_10416.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_46_9348.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_03_56_10447.jpg
/home/pi/Desktop/images/23012025/22/03/image_23012025_22_04_07_10336.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_16_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716892","1331716880","1331716883","1331716887","1331716896","1331716875"],"photo_ids_order":["1331716875","1331716880","1331716883","1331716887","1331716892","1331716896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2749d60b9417ed272d037a5f2ace72ee.jpg","text":"TemporaryFile(/tmp/multipartBody1122273406663272149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_04_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/26/608313761008738d24a9268a236386fc.jpg","text":"TemporaryFile(/tmp/multipartBody8073861304813950435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_03_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e6926183f38020e5f4add0b76fbf77d4.jpg","text":"TemporaryFile(/tmp/multipartBody4154224141016339425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_03_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/26/4f500f7f9d29893b58556544d7815b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6358387196069862940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_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/26/9fa011255a03bab1c549806b8de9861a.jpg","text":"TemporaryFile(/tmp/multipartBody4173591420542042819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_04_16_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/26/b5bc9b0cc5742c599b971bf1f65f3142.jpg","text":"TemporaryFile(/tmp/multipartBody734471913373781324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909187055,"filename":"image_23012025_22_03_26_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716883","file1":"1331716880","file0":"1331716875","file4":"1331716892","file5":"1331716896","file3":"1331716887"},"map_files_photo_id_array":[{"photo_id":"1331716896","filename":"file5"},{"photo_id":"1331716883","filename":"file2"},{"photo_id":"1331716892","filename":"file4"},{"photo_id":"1331716880","filename":"file1"},{"photo_id":"1331716875","filename":"file0"},{"photo_id":"1331716887","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331716892":["hashtag1","hashtag2"]},{"1331716880":["hashtag1","hashtag2"]},{"1331716883":["hashtag1","hashtag2"]},{"1331716887":["hashtag1","hashtag2"]},{"1331716896":["hashtag1","hashtag2"]},{"1331716875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331716892, 1331716880, 1331716883, 1331716887, 1331716896, 1331716875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65341639518738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 17:32:52.718366
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_26_10375.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_36_9489.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_46_10362.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_05_06_9345.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_16_10328.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_27_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_26_10375.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_36_9489.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_46_10362.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_05_06_9345.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_16_10328.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_27_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.9270262718200684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:33:04.737535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/30/image_26012025_17_31_06_10421.jpg', '/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_35_10397.jpg', '/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_45_9825.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/30/image_26012025_17_31_06_10421.jpg
/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_35_10397.jpg
/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_45_9825.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331716923","1331716972","1331716951"],"photo_ids_order":["1331716923","1331716951","1331716972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf60a4a987ce34c62c56a167227496ef.jpg","text":"TemporaryFile(/tmp/multipartBody2970288541559842957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909245698,"filename":"image_26012025_17_31_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/26/c8721b7d96acaaa80218a721fdaa045d.jpg","text":"TemporaryFile(/tmp/multipartBody5757957964135270531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909245698,"filename":"image_26012025_17_32_45_9825.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6227848438f3f067a7ba8b9a79eadee4.jpg","text":"TemporaryFile(/tmp/multipartBody5986818251549068523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909245698,"filename":"image_26012025_17_32_35_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331716972","file1":"1331716951","file0":"1331716923"},"map_files_photo_id_array":[{"photo_id":"1331716972","filename":"file2"},{"photo_id":"1331716951","filename":"file1"},{"photo_id":"1331716923","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331716923":["hashtag1","hashtag2"]},{"1331716972":["hashtag1","hashtag2"]},{"1331716951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331716923, 1331716972, 1331716951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.849093914031982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:33:32.969603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_55_10359.jpg', '/home/pi/Desktop/images/26012025/17/32/image_26012025_17_33_06_10337.jpg', '/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_15_9338.jpg', '/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_35_9337.jpg', '/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_45_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/32/image_26012025_17_32_55_10359.jpg
/home/pi/Desktop/images/26012025/17/32/image_26012025_17_33_06_10337.jpg
/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_15_9338.jpg
/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_35_9337.jpg
/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_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":["1331717820","1331717837","1331717815","1331717823","1331717817"],"photo_ids_order":["1331717815","1331717817","1331717820","1331717823","1331717837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf78b3cf953d646120115490f3c2022c.jpg","text":"TemporaryFile(/tmp/multipartBody7436702419968508254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909273865,"filename":"image_26012025_17_33_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/26/499aad4703a033fb0b68fa122bcd7b19.jpg","text":"TemporaryFile(/tmp/multipartBody4570752335404381213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909273865,"filename":"image_26012025_17_33_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/26/b553aebc2225c24d5b48224f935c34b3.jpg","text":"TemporaryFile(/tmp/multipartBody2253204876010314626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909273865,"filename":"image_26012025_17_32_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/26/c63584efbfed69d560000c682d1c2e44.jpg","text":"TemporaryFile(/tmp/multipartBody2032144633850233737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909273865,"filename":"image_26012025_17_33_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/26/3fff2c8f147a92d48896797df1a559ee.jpg","text":"TemporaryFile(/tmp/multipartBody3434289124418686586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909273865,"filename":"image_26012025_17_33_06_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331717820","file1":"1331717817","file0":"1331717815","file4":"1331717837","file3":"1331717823"},"map_files_photo_id_array":[{"photo_id":"1331717820","filename":"file2"},{"photo_id":"1331717837","filename":"file4"},{"photo_id":"1331717817","filename":"file1"},{"photo_id":"1331717815","filename":"file0"},{"photo_id":"1331717823","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331717820":["hashtag1","hashtag2"]},{"1331717837":["hashtag1","hashtag2"]},{"1331717815":["hashtag1","hashtag2"]},{"1331717823":["hashtag1","hashtag2"]},{"1331717817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331717820, 1331717837, 1331717815, 1331717823, 1331717817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.85310745239258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:34:33.125553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_55_10357.jpg', '/home/pi/Desktop/images/26012025/17/33/image_26012025_17_34_05_9407.jpg', '/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_15_10333.jpg', '/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_25_9486.jpg', '/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_35_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/33/image_26012025_17_33_55_10357.jpg
/home/pi/Desktop/images/26012025/17/33/image_26012025_17_34_05_9407.jpg
/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_15_10333.jpg
/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_25_9486.jpg
/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_35_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331718242","1331718190","1331718302","1331718238","1331718306"],"photo_ids_order":["1331718190","1331718238","1331718242","1331718302","1331718306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c012962e0daba088ce6ece7f1a7d145f.jpg","text":"TemporaryFile(/tmp/multipartBody5316823764060588394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909334036,"filename":"image_26012025_17_34_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/26/b2251c0759876396716347aa77e25652.jpg","text":"TemporaryFile(/tmp/multipartBody142886694925552524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909334036,"filename":"image_26012025_17_33_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/26/4212b2263bd3559840a4e7f30a19d91e.jpg","text":"TemporaryFile(/tmp/multipartBody7090791564624953094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909334036,"filename":"image_26012025_17_34_25_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/26/b1b55ab888c1820efb23d655f638b60e.jpg","text":"TemporaryFile(/tmp/multipartBody8483049869735835074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909334036,"filename":"image_26012025_17_34_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1897a11d229825ff229d03690139e0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5068919399147316564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909334036,"filename":"image_26012025_17_34_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718242","file1":"1331718238","file0":"1331718190","file4":"1331718306","file3":"1331718302"},"map_files_photo_id_array":[{"photo_id":"1331718242","filename":"file2"},{"photo_id":"1331718306","filename":"file4"},{"photo_id":"1331718238","filename":"file1"},{"photo_id":"1331718190","filename":"file0"},{"photo_id":"1331718302","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718242":["hashtag1","hashtag2"]},{"1331718190":["hashtag1","hashtag2"]},{"1331718302":["hashtag1","hashtag2"]},{"1331718238":["hashtag1","hashtag2"]},{"1331718306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718242, 1331718190, 1331718302, 1331718238, 1331718306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.37834405899048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:35:32.298243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_55_9451.jpg', '/home/pi/Desktop/images/26012025/17/34/image_26012025_17_35_05_10355.jpg', '/home/pi/Desktop/images/26012025/17/35/image_26012025_17_35_25_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/34/image_26012025_17_34_55_9451.jpg
/home/pi/Desktop/images/26012025/17/34/image_26012025_17_35_05_10355.jpg
/home/pi/Desktop/images/26012025/17/35/image_26012025_17_35_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":["1331718311","1331718314","1331718324"],"photo_ids_order":["1331718311","1331718314","1331718324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7320e66606bf8143742a1154d27b2870.jpg","text":"TemporaryFile(/tmp/multipartBody5598365672790363250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909393162,"filename":"image_26012025_17_34_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/26/79a193e7dd9b8932745aeaaf6d711c09.jpg","text":"TemporaryFile(/tmp/multipartBody8636871960877247576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909393162,"filename":"image_26012025_17_35_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/26/7e7d4a40ba9ba2367675cd829cd5f291.jpg","text":"TemporaryFile(/tmp/multipartBody7751119139190496479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909393162,"filename":"image_26012025_17_35_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718324","file1":"1331718314","file0":"1331718311"},"map_files_photo_id_array":[{"photo_id":"1331718324","filename":"file2"},{"photo_id":"1331718314","filename":"file1"},{"photo_id":"1331718311","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718311":["hashtag1","hashtag2"]},{"1331718314":["hashtag1","hashtag2"]},{"1331718324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718311, 1331718314, 1331718324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.685346364974976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:36:03.338788
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_26_10375.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_36_9489.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_46_10362.jpg', '/home/pi/Desktop/images/23012025/22/04/image_23012025_22_05_06_9345.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_16_10328.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_27_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_26_10375.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_36_9489.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_04_46_10362.jpg
/home/pi/Desktop/images/23012025/22/04/image_23012025_22_05_06_9345.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_16_10328.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_27_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":["1331718347","1331718350","1331718344","1331718343","1331718342","1331718345"],"photo_ids_order":["1331718342","1331718343","1331718344","1331718345","1331718347","1331718350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/12546f354b60f5d1966cf2913731c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5963020720005211333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_05_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/26/5f926c7e9fa0200ba628c18f73be56b4.jpg","text":"TemporaryFile(/tmp/multipartBody5562041381054368975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_05_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/26/82cc03d33db78093581b7b35ae83ca49.jpg","text":"TemporaryFile(/tmp/multipartBody7990991253986974173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_04_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/26/e64a35ece7205b8a71c3d3a90d98e09a.jpg","text":"TemporaryFile(/tmp/multipartBody1912409408032183619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_04_36_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/26/49757ec5d3c02baaff7a6454633d19d2.jpg","text":"TemporaryFile(/tmp/multipartBody7284017105939215929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_04_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/26/7d017b219d2d30221ddb26dc2ca76361.jpg","text":"TemporaryFile(/tmp/multipartBody88033382707637086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909424843,"filename":"image_23012025_22_05_06_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718344","file1":"1331718343","file0":"1331718342","file4":"1331718347","file5":"1331718350","file3":"1331718345"},"map_files_photo_id_array":[{"photo_id":"1331718350","filename":"file5"},{"photo_id":"1331718344","filename":"file2"},{"photo_id":"1331718347","filename":"file4"},{"photo_id":"1331718343","filename":"file1"},{"photo_id":"1331718342","filename":"file0"},{"photo_id":"1331718345","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331718347":["hashtag1","hashtag2"]},{"1331718350":["hashtag1","hashtag2"]},{"1331718344":["hashtag1","hashtag2"]},{"1331718343":["hashtag1","hashtag2"]},{"1331718342":["hashtag1","hashtag2"]},{"1331718345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331718347, 1331718350, 1331718344, 1331718343, 1331718342, 1331718345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79400157928467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 17:36:52.583142
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_36_9381.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_46_10349.jpg', '/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_56_9345.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_26_9355.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_36_10454.jpg', '/home/pi/Desktop/images/23012025/22/06/image_23012025_22_07_06_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_36_9381.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_46_10349.jpg
/home/pi/Desktop/images/23012025/22/05/image_23012025_22_05_56_9345.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_26_9355.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_06_36_10454.jpg
/home/pi/Desktop/images/23012025/22/06/image_23012025_22_07_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331718455","1331718428","1331718407","1331718391","1331718418","1331718471"],"photo_ids_order":["1331718391","1331718407","1331718418","1331718428","1331718455","1331718471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de6ebada130bb5a45c778eaac18ad02f.jpg","text":"TemporaryFile(/tmp/multipartBody1477079132507723767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_06_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/26/8157d9a5fbfbce4f9b334c496d5ded23.jpg","text":"TemporaryFile(/tmp/multipartBody8405989000418197601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_06_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19106f91b197c2cbe817b6821ec15504.jpg","text":"TemporaryFile(/tmp/multipartBody1513090733035127139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_05_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/26/f25661f0ca3c959c50fe5f791bf6fdfb.jpg","text":"TemporaryFile(/tmp/multipartBody2137403813334042466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_05_36_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/26/9f1fd69e2efceed8c3166c00659cb861.jpg","text":"TemporaryFile(/tmp/multipartBody1691687266509265443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_05_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/26/bbba0c31b84c1dbaf29ac39dbfe320fb.jpg","text":"TemporaryFile(/tmp/multipartBody1821887667653821073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909474917,"filename":"image_23012025_22_07_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718418","file1":"1331718407","file0":"1331718391","file4":"1331718455","file5":"1331718471","file3":"1331718428"},"map_files_photo_id_array":[{"photo_id":"1331718471","filename":"file5"},{"photo_id":"1331718418","filename":"file2"},{"photo_id":"1331718455","filename":"file4"},{"photo_id":"1331718407","filename":"file1"},{"photo_id":"1331718391","filename":"file0"},{"photo_id":"1331718428","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331718455":["hashtag1","hashtag2"]},{"1331718428":["hashtag1","hashtag2"]},{"1331718407":["hashtag1","hashtag2"]},{"1331718391":["hashtag1","hashtag2"]},{"1331718418":["hashtag1","hashtag2"]},{"1331718471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331718455, 1331718428, 1331718407, 1331718391, 1331718418, 1331718471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46476411819458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:37:42.871051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/35/image_26012025_17_35_35_10352.jpg', '/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_25_10357.jpg', '/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_36_10414.jpg', '/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_45_9419.jpg', '/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_35_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/35/image_26012025_17_35_35_10352.jpg
/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_25_10357.jpg
/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_36_10414.jpg
/home/pi/Desktop/images/26012025/17/36/image_26012025_17_36_45_9419.jpg
/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_35_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":["1331718512","1331718532","1331718520","1331718517","1331718606"],"photo_ids_order":["1331718512","1331718517","1331718520","1331718532","1331718606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/421635fdde2156bc5b8f79a2f3bf4bd4.jpg","text":"TemporaryFile(/tmp/multipartBody3988096078157173850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909523779,"filename":"image_26012025_17_35_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/26/6ff01158bc22a66189d44cd46aa9dd60.jpg","text":"TemporaryFile(/tmp/multipartBody4049948619793349679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909523779,"filename":"image_26012025_17_36_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/26/73b8d14bec23a9bf21b5778f2a2e86f7.jpg","text":"TemporaryFile(/tmp/multipartBody6059144550356415625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909523779,"filename":"image_26012025_17_36_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/26/9f571686bd51203457d0f5630733ad3e.jpg","text":"TemporaryFile(/tmp/multipartBody3405254936379538261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909523779,"filename":"image_26012025_17_36_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/26/b82458dd6c7d43da99ec366aa0cbb355.jpg","text":"TemporaryFile(/tmp/multipartBody8534871897149327339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909523779,"filename":"image_26012025_17_37_35_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718520","file1":"1331718517","file0":"1331718512","file4":"1331718606","file3":"1331718532"},"map_files_photo_id_array":[{"photo_id":"1331718520","filename":"file2"},{"photo_id":"1331718606","filename":"file4"},{"photo_id":"1331718517","filename":"file1"},{"photo_id":"1331718512","filename":"file0"},{"photo_id":"1331718532","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718512":["hashtag1","hashtag2"]},{"1331718532":["hashtag1","hashtag2"]},{"1331718520":["hashtag1","hashtag2"]},{"1331718517":["hashtag1","hashtag2"]},{"1331718606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718512, 1331718532, 1331718520, 1331718517, 1331718606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.91750502586365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:38:33.084375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_56_10445.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_26_10363.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_35_9336.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_56_10445.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_26_10363.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_35_9336.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_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: 0.4938983917236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:38:42.952389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_56_10445.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_26_10363.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_35_9336.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/37/image_26012025_17_37_56_10445.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_26_10363.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_35_9336.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_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":["1331718632","1331718629","1331718631","1331718624"],"photo_ids_order":["1331718624","1331718629","1331718631","1331718632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1965721ef91a633263a3ec280b288641.jpg","text":"TemporaryFile(/tmp/multipartBody537342359196606330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909583832,"filename":"image_26012025_17_38_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/26/6ce7d373eaec02689d353c9782ee807f.jpg","text":"TemporaryFile(/tmp/multipartBody5247011483264423047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909583832,"filename":"image_26012025_17_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/26/5d43653be152a23410fdf56a9318c57d.jpg","text":"TemporaryFile(/tmp/multipartBody4280273603696759643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909583832,"filename":"image_26012025_17_38_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/26/a0bd637d0e7591f7514fbfe7d594781f.jpg","text":"TemporaryFile(/tmp/multipartBody7625617860257383962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909583832,"filename":"image_26012025_17_37_56_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718631","file1":"1331718629","file0":"1331718624","file3":"1331718632"},"map_files_photo_id_array":[{"photo_id":"1331718631","filename":"file2"},{"photo_id":"1331718629","filename":"file1"},{"photo_id":"1331718624","filename":"file0"},{"photo_id":"1331718632","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718632":["hashtag1","hashtag2"]},{"1331718629":["hashtag1","hashtag2"]},{"1331718631":["hashtag1","hashtag2"]},{"1331718624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718632, 1331718629, 1331718631, 1331718624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.253023386001587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:39:32.269575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_55_9409.jpg', '/home/pi/Desktop/images/26012025/17/38/image_26012025_17_39_05_10356.jpg', '/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_15_10333.jpg', '/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_25_9342.jpg', '/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_35_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_38_55_9409.jpg
/home/pi/Desktop/images/26012025/17/38/image_26012025_17_39_05_10356.jpg
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_15_10333.jpg
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_25_9342.jpg
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331718661","1331718658","1331718651","1331718654","1331718648"],"photo_ids_order":["1331718648","1331718651","1331718654","1331718658","1331718661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42255bf797cc1b679922131f43e2068f.jpg","text":"TemporaryFile(/tmp/multipartBody7883034755843094060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909633166,"filename":"image_26012025_17_39_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/26/b2a20db2b6fbab77efdff4be1e8189ae.jpg","text":"TemporaryFile(/tmp/multipartBody8420552991643614281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909633166,"filename":"image_26012025_17_39_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/26/cbbb25f865b40141946c3baa1b55d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody1664209185937345026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909633166,"filename":"image_26012025_17_39_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/26/c79c842c34e4a7cfbf7a52b9f9801517.jpg","text":"TemporaryFile(/tmp/multipartBody2916967925769260182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909633166,"filename":"image_26012025_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/26/7dfb95d53551088b0794e00ae5acb5df.jpg","text":"TemporaryFile(/tmp/multipartBody6803907487303524336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909633166,"filename":"image_26012025_17_38_55_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718654","file1":"1331718651","file0":"1331718648","file4":"1331718661","file3":"1331718658"},"map_files_photo_id_array":[{"photo_id":"1331718654","filename":"file2"},{"photo_id":"1331718661","filename":"file4"},{"photo_id":"1331718651","filename":"file1"},{"photo_id":"1331718648","filename":"file0"},{"photo_id":"1331718658","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718661":["hashtag1","hashtag2"]},{"1331718658":["hashtag1","hashtag2"]},{"1331718651":["hashtag1","hashtag2"]},{"1331718654":["hashtag1","hashtag2"]},{"1331718648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718661, 1331718658, 1331718651, 1331718654, 1331718648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.71548795700073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:40:32.536325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_46_10421.jpg', '/home/pi/Desktop/images/26012025/17/39/image_26012025_17_40_05_10358.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_16_10353.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_25_9338.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_46_10421.jpg
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_40_05_10358.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_16_10353.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_25_9338.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_46_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4994947910308838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:40:42.417444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_46_10421.jpg', '/home/pi/Desktop/images/26012025/17/39/image_26012025_17_40_05_10358.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_16_10353.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_25_9338.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_46_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_39_46_10421.jpg
/home/pi/Desktop/images/26012025/17/39/image_26012025_17_40_05_10358.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_16_10353.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_25_9338.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_46_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331718758","1331718754","1331718759","1331718720","1331718761"],"photo_ids_order":["1331718720","1331718754","1331718758","1331718759","1331718761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fdaa5988c3ce321b22c5b0ada6758581.jpg","text":"TemporaryFile(/tmp/multipartBody5776913986126970979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909703354,"filename":"image_26012025_17_40_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/26/65293150d808ec01b6edb077b6b5415a.jpg","text":"TemporaryFile(/tmp/multipartBody8868001283430660019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909703354,"filename":"image_26012025_17_40_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/26/3195cf5db4f9bd1a042c84d31a5407b8.jpg","text":"TemporaryFile(/tmp/multipartBody5671586836158663838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909703354,"filename":"image_26012025_17_40_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/26/105b33059343fdbf07211357d48f1c39.jpg","text":"TemporaryFile(/tmp/multipartBody3960814420006552781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909703354,"filename":"image_26012025_17_39_46_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/26/cef5c13b5ef71de2fc07b27860101736.jpg","text":"TemporaryFile(/tmp/multipartBody3401838146596769578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909703354,"filename":"image_26012025_17_40_46_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718758","file1":"1331718754","file0":"1331718720","file4":"1331718761","file3":"1331718759"},"map_files_photo_id_array":[{"photo_id":"1331718758","filename":"file2"},{"photo_id":"1331718761","filename":"file4"},{"photo_id":"1331718754","filename":"file1"},{"photo_id":"1331718720","filename":"file0"},{"photo_id":"1331718759","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718758":["hashtag1","hashtag2"]},{"1331718754":["hashtag1","hashtag2"]},{"1331718759":["hashtag1","hashtag2"]},{"1331718720":["hashtag1","hashtag2"]},{"1331718761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718758, 1331718754, 1331718759, 1331718720, 1331718761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.06363081932068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:41:32.728017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_55_9352.jpg', '/home/pi/Desktop/images/26012025/17/40/image_26012025_17_41_05_10429.jpg', '/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_15_9333.jpg', '/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_25_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_40_55_9352.jpg
/home/pi/Desktop/images/26012025/17/40/image_26012025_17_41_05_10429.jpg
/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_15_9333.jpg
/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_25_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":["1331718779","1331718775","1331718778","1331718771"],"photo_ids_order":["1331718771","1331718775","1331718778","1331718779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/678dbf7f9664c701e1dad36246d8669b.jpg","text":"TemporaryFile(/tmp/multipartBody7908886378101912459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909753605,"filename":"image_26012025_17_41_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f7d7824a66664057eba55177c427ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2934733788080398902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909753605,"filename":"image_26012025_17_41_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/26/e163c118781561484879005200f694cc.jpg","text":"TemporaryFile(/tmp/multipartBody7849727254552319762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909753605,"filename":"image_26012025_17_41_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/26/c17dda106cdefd4c5e3d44a8354ed8ff.jpg","text":"TemporaryFile(/tmp/multipartBody8826685121944793203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909753605,"filename":"image_26012025_17_40_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718778","file1":"1331718775","file0":"1331718771","file3":"1331718779"},"map_files_photo_id_array":[{"photo_id":"1331718778","filename":"file2"},{"photo_id":"1331718775","filename":"file1"},{"photo_id":"1331718771","filename":"file0"},{"photo_id":"1331718779","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331718779":["hashtag1","hashtag2"]},{"1331718775":["hashtag1","hashtag2"]},{"1331718778":["hashtag1","hashtag2"]},{"1331718771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331718779, 1331718775, 1331718778, 1331718771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.23316717147827 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-26 17:42:32.880252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_45_9365.jpg', '/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_15_10360.jpg', '/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_25_10373.jpg', '/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_35_9338.jpg', '/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/41/image_26012025_17_41_45_9365.jpg
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_15_10360.jpg
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_25_10373.jpg
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_35_9338.jpg
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_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":["1331719267","1331719080","1331718963","1331718867","1331718887"],"photo_ids_order":["1331718867","1331718887","1331718963","1331719080","1331719267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37b232c026f804e9cda988f9683c5eee.jpg","text":"TemporaryFile(/tmp/multipartBody1014860789419658258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909813786,"filename":"image_26012025_17_42_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/26/ab53e3d25a26768b19f7fff0c5c6d3e7.jpg","text":"TemporaryFile(/tmp/multipartBody822341961090142154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909813786,"filename":"image_26012025_17_42_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/26/3a0e6e3d1e0a380b22195b23dbdaa480.jpg","text":"TemporaryFile(/tmp/multipartBody5256099101217511067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909813786,"filename":"image_26012025_17_42_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/26/5d9a3e13fcb8f613d7fab6776f7202c5.jpg","text":"TemporaryFile(/tmp/multipartBody1626070950607648449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909813786,"filename":"image_26012025_17_41_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/26/01cccc507ecc68f0a82f39af61700fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6891202727740993161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909813786,"filename":"image_26012025_17_42_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331718963","file1":"1331718887","file0":"1331718867","file4":"1331719267","file3":"1331719080"},"map_files_photo_id_array":[{"photo_id":"1331718963","filename":"file2"},{"photo_id":"1331719267","filename":"file4"},{"photo_id":"1331718887","filename":"file1"},{"photo_id":"1331718867","filename":"file0"},{"photo_id":"1331719080","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331719267":["hashtag1","hashtag2"]},{"1331719080":["hashtag1","hashtag2"]},{"1331718963":["hashtag1","hashtag2"]},{"1331718867":["hashtag1","hashtag2"]},{"1331718887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331719267, 1331719080, 1331718963, 1331718867, 1331718887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.26736569404602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:43:33.194508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_56_10438.jpg', '/home/pi/Desktop/images/26012025/17/42/image_26012025_17_43_05_9339.jpg', '/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_26_10365.jpg', '/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_42_56_10438.jpg
/home/pi/Desktop/images/26012025/17/42/image_26012025_17_43_05_9339.jpg
/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_26_10365.jpg
/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_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":["1331719585","1331719587","1331719533","1331719440"],"photo_ids_order":["1331719440","1331719533","1331719585","1331719587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/37416d6416b227cbcab233c377c88a18.jpg","text":"TemporaryFile(/tmp/multipartBody4729423177118826476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909874077,"filename":"image_26012025_17_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/26/35d68dbd3874cf825a88f8c90dc751d0.jpg","text":"TemporaryFile(/tmp/multipartBody1121942749940937877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909874077,"filename":"image_26012025_17_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/26/9fad0f45cabbb7a3fe7f91986c625b16.jpg","text":"TemporaryFile(/tmp/multipartBody4815168612952238051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909874077,"filename":"image_26012025_17_43_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/26/5694855517c481759eabbea0c30af061.jpg","text":"TemporaryFile(/tmp/multipartBody1987992541416245062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909874077,"filename":"image_26012025_17_42_56_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331719585","file1":"1331719533","file0":"1331719440","file3":"1331719587"},"map_files_photo_id_array":[{"photo_id":"1331719585","filename":"file2"},{"photo_id":"1331719533","filename":"file1"},{"photo_id":"1331719440","filename":"file0"},{"photo_id":"1331719587","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331719585":["hashtag1","hashtag2"]},{"1331719587":["hashtag1","hashtag2"]},{"1331719533":["hashtag1","hashtag2"]},{"1331719440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331719585, 1331719587, 1331719533, 1331719440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.341580152511597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:44:32.288607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_56_10377.jpg', '/home/pi/Desktop/images/26012025/17/43/image_26012025_17_44_05_9341.jpg', '/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_15_10350.jpg', '/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_25_9350.jpg', '/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_35_10344.jpg', '/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_45_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/43/image_26012025_17_43_56_10377.jpg
/home/pi/Desktop/images/26012025/17/43/image_26012025_17_44_05_9341.jpg
/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_15_10350.jpg
/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_25_9350.jpg
/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_35_10344.jpg
/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_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":["1331719693","1331719695","1331719689","1331719683","1331719686","1331719691"],"photo_ids_order":["1331719683","1331719686","1331719689","1331719691","1331719693","1331719695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/438772c3904340665b9857197c1f8293.jpg","text":"TemporaryFile(/tmp/multipartBody5968206848298523166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_44_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/26/9c0cf2ade91b932f8ad0bcc2f92813c5.jpg","text":"TemporaryFile(/tmp/multipartBody5313824776195547094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_44_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/26/3d2cd0b79dddb1e9d2a553b2137e5c20.jpg","text":"TemporaryFile(/tmp/multipartBody8799264758297443677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_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/26/01094c43da93576300798dba956fa244.jpg","text":"TemporaryFile(/tmp/multipartBody2915901976087847533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_43_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3156bd38d29fc4bc744d4d9877b06d49.jpg","text":"TemporaryFile(/tmp/multipartBody5332873161729601512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_44_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/26/29d0346310aedb0e1d80373bc922426b.jpg","text":"TemporaryFile(/tmp/multipartBody3378250141821661396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909933195,"filename":"image_26012025_17_44_25_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331719689","file1":"1331719686","file0":"1331719683","file4":"1331719693","file5":"1331719695","file3":"1331719691"},"map_files_photo_id_array":[{"photo_id":"1331719695","filename":"file5"},{"photo_id":"1331719689","filename":"file2"},{"photo_id":"1331719693","filename":"file4"},{"photo_id":"1331719686","filename":"file1"},{"photo_id":"1331719683","filename":"file0"},{"photo_id":"1331719691","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331719693":["hashtag1","hashtag2"]},{"1331719695":["hashtag1","hashtag2"]},{"1331719689":["hashtag1","hashtag2"]},{"1331719683":["hashtag1","hashtag2"]},{"1331719686":["hashtag1","hashtag2"]},{"1331719691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331719693, 1331719695, 1331719689, 1331719683, 1331719686, 1331719691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.4953179359436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:45:32.623007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_55_9414.jpg', '/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_16_10404.jpg', '/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_25_9340.jpg', '/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_35_10336.jpg', '/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_45_9431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/44/image_26012025_17_44_55_9414.jpg
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_16_10404.jpg
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_25_9340.jpg
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_35_10336.jpg
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_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":["1331719727","1331719712","1331719723","1331719716","1331719721"],"photo_ids_order":["1331719712","1331719716","1331719721","1331719723","1331719727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae4a9e551fd70f923738b3091b66cb8f.jpg","text":"TemporaryFile(/tmp/multipartBody7083557000823871170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909993520,"filename":"image_26012025_17_45_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/26/61f29d37cb6268a7dbf8f626d8ae80ea.jpg","text":"TemporaryFile(/tmp/multipartBody8757390107994587742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909993520,"filename":"image_26012025_17_44_55_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c1f85830152d46c29bd339182c20a839.jpg","text":"TemporaryFile(/tmp/multipartBody6581603647814068237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909993520,"filename":"image_26012025_17_45_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/26/6f219c3c52aa9971979f06d77b1c90b4.jpg","text":"TemporaryFile(/tmp/multipartBody6285409132004141927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909993520,"filename":"image_26012025_17_45_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/26/ddfebd957c9c8343e8d77564c5400d00.jpg","text":"TemporaryFile(/tmp/multipartBody8141164534184385374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737909993520,"filename":"image_26012025_17_45_25_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331719721","file1":"1331719716","file0":"1331719712","file4":"1331719727","file3":"1331719723"},"map_files_photo_id_array":[{"photo_id":"1331719721","filename":"file2"},{"photo_id":"1331719727","filename":"file4"},{"photo_id":"1331719716","filename":"file1"},{"photo_id":"1331719712","filename":"file0"},{"photo_id":"1331719723","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331719727":["hashtag1","hashtag2"]},{"1331719712":["hashtag1","hashtag2"]},{"1331719723":["hashtag1","hashtag2"]},{"1331719716":["hashtag1","hashtag2"]},{"1331719721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331719727, 1331719712, 1331719723, 1331719716, 1331719721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.52470374107361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:46:32.796968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_55_10410.jpg', '/home/pi/Desktop/images/26012025/17/45/image_26012025_17_46_05_10345.jpg', '/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_15_9386.jpg', '/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_25_10353.jpg', '/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_36_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_45_55_10410.jpg
/home/pi/Desktop/images/26012025/17/45/image_26012025_17_46_05_10345.jpg
/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_15_9386.jpg
/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_25_10353.jpg
/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_36_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":["1331719882","1331720045","1331719762","1331719749","1331719757"],"photo_ids_order":["1331719749","1331719757","1331719762","1331719882","1331720045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/289db49084388d8e133cd790c18727b1.jpg","text":"TemporaryFile(/tmp/multipartBody4333263528077847682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910053712,"filename":"image_26012025_17_46_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/26/e6c0c033e55f4d4a53e2511e3c8e30e1.jpg","text":"TemporaryFile(/tmp/multipartBody7843245528515792095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910053712,"filename":"image_26012025_17_46_36_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0c23d4dbf36b63daa94e41a46c914b72.jpg","text":"TemporaryFile(/tmp/multipartBody586881743284455667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910053712,"filename":"image_26012025_17_46_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9d008f7fed8973b35c6b7eaee1772ba.jpg","text":"TemporaryFile(/tmp/multipartBody4301429284735234646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910053712,"filename":"image_26012025_17_45_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/26/5a65366950edec899cc9e9b7837cc2fc.jpg","text":"TemporaryFile(/tmp/multipartBody6884203936352566595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910053712,"filename":"image_26012025_17_46_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331719762","file1":"1331719757","file0":"1331719749","file4":"1331720045","file3":"1331719882"},"map_files_photo_id_array":[{"photo_id":"1331719762","filename":"file2"},{"photo_id":"1331720045","filename":"file4"},{"photo_id":"1331719757","filename":"file1"},{"photo_id":"1331719749","filename":"file0"},{"photo_id":"1331719882","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331719882":["hashtag1","hashtag2"]},{"1331720045":["hashtag1","hashtag2"]},{"1331719762":["hashtag1","hashtag2"]},{"1331719749":["hashtag1","hashtag2"]},{"1331719757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331719882, 1331720045, 1331719762, 1331719749, 1331719757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.93291091918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:47:32.943386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_45_9368.jpg', '/home/pi/Desktop/images/26012025/17/46/image_26012025_17_47_05_9437.jpg', '/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_15_10396.jpg', '/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_35_9342.jpg', '/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_45_10469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/46/image_26012025_17_46_45_9368.jpg
/home/pi/Desktop/images/26012025/17/46/image_26012025_17_47_05_9437.jpg
/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_15_10396.jpg
/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_35_9342.jpg
/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_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":["1331720339","1331720336","1331720482","1331720490","1331720331"],"photo_ids_order":["1331720331","1331720336","1331720339","1331720482","1331720490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe08bea5785de580cde02452ab1ee260.jpg","text":"TemporaryFile(/tmp/multipartBody4810767291234268262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910113838,"filename":"image_26012025_17_47_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/26/c785c623783fde90fafcd42eb2b867e9.jpg","text":"TemporaryFile(/tmp/multipartBody2541409240533810395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910113838,"filename":"image_26012025_17_47_05_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/476fea9475ee4668ac14eb9837dfe74f.jpg","text":"TemporaryFile(/tmp/multipartBody8390090365061042017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910113838,"filename":"image_26012025_17_47_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/26/b82595bfdcb26c5b40feeb9cce695348.jpg","text":"TemporaryFile(/tmp/multipartBody8905927324529861632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910113838,"filename":"image_26012025_17_47_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/26/58f6f94760434e3b755498f756b99c31.jpg","text":"TemporaryFile(/tmp/multipartBody5294179049885516338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910113838,"filename":"image_26012025_17_46_45_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331720339","file1":"1331720336","file0":"1331720331","file4":"1331720490","file3":"1331720482"},"map_files_photo_id_array":[{"photo_id":"1331720339","filename":"file2"},{"photo_id":"1331720490","filename":"file4"},{"photo_id":"1331720336","filename":"file1"},{"photo_id":"1331720331","filename":"file0"},{"photo_id":"1331720482","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331720339":["hashtag1","hashtag2"]},{"1331720336":["hashtag1","hashtag2"]},{"1331720482":["hashtag1","hashtag2"]},{"1331720490":["hashtag1","hashtag2"]},{"1331720331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331720339, 1331720336, 1331720482, 1331720490, 1331720331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.24253869056702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:48:32.148841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_55_9339.jpg', '/home/pi/Desktop/images/26012025/17/47/image_26012025_17_48_05_10352.jpg', '/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_15_10351.jpg', '/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_35_10379.jpg', '/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_46_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/47/image_26012025_17_47_55_9339.jpg
/home/pi/Desktop/images/26012025/17/47/image_26012025_17_48_05_10352.jpg
/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_15_10351.jpg
/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_35_10379.jpg
/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_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":["1331720549","1331720552","1331720546","1331720556","1331720544"],"photo_ids_order":["1331720544","1331720546","1331720549","1331720552","1331720556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5cf30659d935de82b317cb3b606f0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4733860746158630487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910173048,"filename":"image_26012025_17_48_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/26/7dae024270ec99f006f2330634f29401.jpg","text":"TemporaryFile(/tmp/multipartBody5349827388172573111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910173048,"filename":"image_26012025_17_48_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/26/289e4489017d0afafb496dd14fe9db5e.jpg","text":"TemporaryFile(/tmp/multipartBody6925807459203645105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910173048,"filename":"image_26012025_17_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/26/f9e00f47b0ee2de1dcaefae255d18a33.jpg","text":"TemporaryFile(/tmp/multipartBody7976655887570826402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910173048,"filename":"image_26012025_17_48_46_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6f5ccc05b9d5b70c0e5bded103d30d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3279190614747827788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910173048,"filename":"image_26012025_17_47_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331720549","file1":"1331720546","file0":"1331720544","file4":"1331720556","file3":"1331720552"},"map_files_photo_id_array":[{"photo_id":"1331720549","filename":"file2"},{"photo_id":"1331720556","filename":"file4"},{"photo_id":"1331720546","filename":"file1"},{"photo_id":"1331720544","filename":"file0"},{"photo_id":"1331720552","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331720549":["hashtag1","hashtag2"]},{"1331720552":["hashtag1","hashtag2"]},{"1331720546":["hashtag1","hashtag2"]},{"1331720556":["hashtag1","hashtag2"]},{"1331720544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331720549, 1331720552, 1331720546, 1331720556, 1331720544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.18411350250244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:49:32.490410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_55_9361.jpg', '/home/pi/Desktop/images/26012025/17/48/image_26012025_17_49_05_10360.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_16_10357.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_25_9347.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_35_10052.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/48/image_26012025_17_48_55_9361.jpg
/home/pi/Desktop/images/26012025/17/48/image_26012025_17_49_05_10360.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_16_10357.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_25_9347.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_35_10052.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_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":["1331720918","1331720906","1331720593","1331720916","1331720739","1331720619"],"photo_ids_order":["1331720593","1331720619","1331720739","1331720906","1331720916","1331720918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/74986b670fc3073f258445f8956c3b35.jpg","text":"TemporaryFile(/tmp/multipartBody5530719730887965274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_49_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/26/102a15cbf531a65a9d80065012a70962.jpg","text":"TemporaryFile(/tmp/multipartBody7798139910336919286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_49_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/19e93c108a04973693bef5c01881ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody1573294185910952869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_48_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/26/d129db93e18072a6fd86614f20f5c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody7947150971247786850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_49_35_10052.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29b8140bcb179bf3e5313f66e3d91ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3720524523240535107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_49_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/26/7c9f05a4f5e1c614d09398e2259e772e.jpg","text":"TemporaryFile(/tmp/multipartBody533728028467554471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910233402,"filename":"image_26012025_17_49_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331720739","file1":"1331720619","file0":"1331720593","file4":"1331720916","file5":"1331720918","file3":"1331720906"},"map_files_photo_id_array":[{"photo_id":"1331720918","filename":"file5"},{"photo_id":"1331720739","filename":"file2"},{"photo_id":"1331720916","filename":"file4"},{"photo_id":"1331720619","filename":"file1"},{"photo_id":"1331720593","filename":"file0"},{"photo_id":"1331720906","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331720918":["hashtag1","hashtag2"]},{"1331720906":["hashtag1","hashtag2"]},{"1331720593":["hashtag1","hashtag2"]},{"1331720916":["hashtag1","hashtag2"]},{"1331720739":["hashtag1","hashtag2"]},{"1331720619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331720918, 1331720906, 1331720593, 1331720916, 1331720739, 1331720619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68495297431946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:50:32.686038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_55_9473.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_50_05_10407.jpg', '/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_16_10350.jpg', '/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_25_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_55_9473.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_50_05_10407.jpg
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_16_10350.jpg
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_25_9365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48357224464416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:50:42.687495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_55_9473.jpg', '/home/pi/Desktop/images/26012025/17/49/image_26012025_17_50_05_10407.jpg', '/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_16_10350.jpg', '/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_25_9365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_49_55_9473.jpg
/home/pi/Desktop/images/26012025/17/49/image_26012025_17_50_05_10407.jpg
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_16_10350.jpg
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_25_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":["1331721101","1331721103","1331721096","1331721099"],"photo_ids_order":["1331721096","1331721099","1331721101","1331721103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5f04c42c982f6e2c98818f0ea49ffe54.jpg","text":"TemporaryFile(/tmp/multipartBody5400180112928074534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910303562,"filename":"image_26012025_17_50_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/26/5c821a3b907d3a42a115706ec1854999.jpg","text":"TemporaryFile(/tmp/multipartBody1672043007843350677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910303562,"filename":"image_26012025_17_50_25_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e06145a452e7a857d0a7024246c379bc.jpg","text":"TemporaryFile(/tmp/multipartBody8839941111492708935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910303562,"filename":"image_26012025_17_49_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/26/3c059dcb13391d520059f657f9a81194.jpg","text":"TemporaryFile(/tmp/multipartBody6883767195799541663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910303562,"filename":"image_26012025_17_50_05_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721101","file1":"1331721099","file0":"1331721096","file3":"1331721103"},"map_files_photo_id_array":[{"photo_id":"1331721101","filename":"file2"},{"photo_id":"1331721099","filename":"file1"},{"photo_id":"1331721096","filename":"file0"},{"photo_id":"1331721103","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721101":["hashtag1","hashtag2"]},{"1331721103":["hashtag1","hashtag2"]},{"1331721096":["hashtag1","hashtag2"]},{"1331721099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721101, 1331721103, 1331721096, 1331721099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.557254791259766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:51:32.872092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_35_10332.jpg', '/home/pi/Desktop/images/26012025/17/50/image_26012025_17_51_06_10413.jpg', '/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_15_9330.jpg', '/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_25_10369.jpg', '/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_36_10352.jpg', '/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_45_9363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_50_35_10332.jpg
/home/pi/Desktop/images/26012025/17/50/image_26012025_17_51_06_10413.jpg
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_15_9330.jpg
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_25_10369.jpg
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_36_10352.jpg
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_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":["1331721136","1331721132","1331721141","1331721129","1331721138","1331721143"],"photo_ids_order":["1331721129","1331721132","1331721136","1331721138","1331721141","1331721143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4b217f4cc23276993327fcfa9ab57bb.jpg","text":"TemporaryFile(/tmp/multipartBody513546255381112897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_51_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/26/38666cc71884f0a246d8c5089ea14d91.jpg","text":"TemporaryFile(/tmp/multipartBody1417059141698905156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_51_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/26/2935ffd9e97859f969eb0957392ef941.jpg","text":"TemporaryFile(/tmp/multipartBody8046952139379441595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_51_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b91e41a5cefe36a87828c92d0c12187.jpg","text":"TemporaryFile(/tmp/multipartBody8293066698688323731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_50_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/26/de2aa3a94f86ed34e9320eea5e344d33.jpg","text":"TemporaryFile(/tmp/multipartBody5962147956773868228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_51_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/26/34938e2bbb40e149840b24cd195f205b.jpg","text":"TemporaryFile(/tmp/multipartBody6319556231203867784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910353780,"filename":"image_26012025_17_51_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721136","file1":"1331721132","file0":"1331721129","file4":"1331721141","file5":"1331721143","file3":"1331721138"},"map_files_photo_id_array":[{"photo_id":"1331721143","filename":"file5"},{"photo_id":"1331721136","filename":"file2"},{"photo_id":"1331721141","filename":"file4"},{"photo_id":"1331721132","filename":"file1"},{"photo_id":"1331721129","filename":"file0"},{"photo_id":"1331721138","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721136":["hashtag1","hashtag2"]},{"1331721132":["hashtag1","hashtag2"]},{"1331721141":["hashtag1","hashtag2"]},{"1331721129":["hashtag1","hashtag2"]},{"1331721138":["hashtag1","hashtag2"]},{"1331721143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721136, 1331721132, 1331721141, 1331721129, 1331721138, 1331721143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82607340812683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:52:33.095971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_55_10356.jpg', '/home/pi/Desktop/images/26012025/17/51/image_26012025_17_52_05_9455.jpg', '/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_15_10350.jpg', '/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_25_10353.jpg', '/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_51_55_10356.jpg
/home/pi/Desktop/images/26012025/17/51/image_26012025_17_52_05_9455.jpg
/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_15_10350.jpg
/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_25_10353.jpg
/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_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":["1331721171","1331721207","1331721201","1331721204","1331721197"],"photo_ids_order":["1331721171","1331721197","1331721201","1331721204","1331721207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f05f7c4a2ad16c3c00c0f13d2128af4.jpg","text":"TemporaryFile(/tmp/multipartBody1703613211518479340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910414003,"filename":"image_26012025_17_51_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/26/6989e82d7bf2fddd72f9c34250ffb502.jpg","text":"TemporaryFile(/tmp/multipartBody2765702645561266183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910414003,"filename":"image_26012025_17_52_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/26/88d47481b17d05482066ca78de5fc31e.jpg","text":"TemporaryFile(/tmp/multipartBody1277732551163696391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910414003,"filename":"image_26012025_17_52_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/26/5fd7632de7ffd43131804af332cdf62a.jpg","text":"TemporaryFile(/tmp/multipartBody6253755233093680082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910414003,"filename":"image_26012025_17_52_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/26/be9f1b82f037dabd1854dca95a4348b9.jpg","text":"TemporaryFile(/tmp/multipartBody1252816130881549742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910414003,"filename":"image_26012025_17_52_05_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721201","file1":"1331721197","file0":"1331721171","file4":"1331721207","file3":"1331721204"},"map_files_photo_id_array":[{"photo_id":"1331721201","filename":"file2"},{"photo_id":"1331721207","filename":"file4"},{"photo_id":"1331721197","filename":"file1"},{"photo_id":"1331721171","filename":"file0"},{"photo_id":"1331721204","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721171":["hashtag1","hashtag2"]},{"1331721207":["hashtag1","hashtag2"]},{"1331721201":["hashtag1","hashtag2"]},{"1331721204":["hashtag1","hashtag2"]},{"1331721197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721171, 1331721207, 1331721201, 1331721204, 1331721197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 44.311142444610596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:53:32.380746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_56_10454.jpg', '/home/pi/Desktop/images/26012025/17/52/image_26012025_17_53_05_9332.jpg', '/home/pi/Desktop/images/26012025/17/53/image_26012025_17_53_26_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/52/image_26012025_17_52_56_10454.jpg
/home/pi/Desktop/images/26012025/17/52/image_26012025_17_53_05_9332.jpg
/home/pi/Desktop/images/26012025/17/53/image_26012025_17_53_26_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":["1331721220","1331721226","1331721230"],"photo_ids_order":["1331721220","1331721226","1331721230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1136dc82e2b206780c10cad9c02ffa8.jpg","text":"TemporaryFile(/tmp/multipartBody8796210691824692344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910473315,"filename":"image_26012025_17_52_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/26/6dc2f1dd2b00bd370ae9ffa1ab536825.jpg","text":"TemporaryFile(/tmp/multipartBody4914145965234774965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910473315,"filename":"image_26012025_17_53_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/26/5c53dc204d6bdc61eb3b5d31dd3e5142.jpg","text":"TemporaryFile(/tmp/multipartBody2643568022372108274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910473315,"filename":"image_26012025_17_53_26_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721230","file1":"1331721226","file0":"1331721220"},"map_files_photo_id_array":[{"photo_id":"1331721230","filename":"file2"},{"photo_id":"1331721226","filename":"file1"},{"photo_id":"1331721220","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721220":["hashtag1","hashtag2"]},{"1331721226":["hashtag1","hashtag2"]},{"1331721230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721220, 1331721226, 1331721230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.560831546783447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:54:03.277251
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_16_9346.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_26_10386.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_56_10466.jpg', '/home/pi/Desktop/images/23012025/22/07/image_23012025_22_08_07_10349.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_16_9363.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_26_10453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_16_9346.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_26_10386.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_07_56_10466.jpg
/home/pi/Desktop/images/23012025/22/07/image_23012025_22_08_07_10349.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_16_9363.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_26_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":["1331721241","1331721238","1331721252","1331721246","1331721234","1331721257"],"photo_ids_order":["1331721234","1331721238","1331721241","1331721246","1331721252","1331721257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b1c5eb4c9de7e5dd05f43e144f42962.jpg","text":"TemporaryFile(/tmp/multipartBody490955995693277525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_07_56_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d2e42f2f364bf9dcca296b15c28a13a.jpg","text":"TemporaryFile(/tmp/multipartBody2648494326906139739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_07_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/26/651eb4302601a04a819f0423df5efa23.jpg","text":"TemporaryFile(/tmp/multipartBody6160017789658926175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_08_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/26/a0ef418bb38444e4b34bcfb01592601e.jpg","text":"TemporaryFile(/tmp/multipartBody7460459990791942306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_08_07_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4342e67357c9a7c77e69ede9d26c6df9.jpg","text":"TemporaryFile(/tmp/multipartBody8862571262866733215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_07_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/26/c49013956c017409eca9e8fb5e0f25ad.jpg","text":"TemporaryFile(/tmp/multipartBody6316184329156382303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910504897,"filename":"image_23012025_22_08_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721241","file1":"1331721238","file0":"1331721234","file4":"1331721252","file5":"1331721257","file3":"1331721246"},"map_files_photo_id_array":[{"photo_id":"1331721257","filename":"file5"},{"photo_id":"1331721241","filename":"file2"},{"photo_id":"1331721252","filename":"file4"},{"photo_id":"1331721238","filename":"file1"},{"photo_id":"1331721234","filename":"file0"},{"photo_id":"1331721246","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331721241":["hashtag1","hashtag2"]},{"1331721238":["hashtag1","hashtag2"]},{"1331721252":["hashtag1","hashtag2"]},{"1331721246":["hashtag1","hashtag2"]},{"1331721234":["hashtag1","hashtag2"]},{"1331721257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331721241, 1331721238, 1331721252, 1331721246, 1331721234, 1331721257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.832549810409546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 17:54:52.687412
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_36_9321.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_46_10352.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_57_10363.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_09_06_9336.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_16_10365.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_27_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_36_9321.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_46_10352.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_57_10363.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_09_06_9336.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_16_10365.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_27_10385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9579510688781738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:55:04.773136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/53/image_26012025_17_53_45_10377.jpg', '/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_15_10347.jpg', '/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_25_9480.jpg', '/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_35_10356.jpg', '/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_45_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/53/image_26012025_17_53_45_10377.jpg
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_15_10347.jpg
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_25_9480.jpg
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_35_10356.jpg
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_45_9409.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331721308","1331721282","1331721276","1331721291","1331721312"],"photo_ids_order":["1331721276","1331721282","1331721291","1331721308","1331721312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/272ef798b7c8d6f7da12c2e4ce169323.jpg","text":"TemporaryFile(/tmp/multipartBody2393879421927317012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910565890,"filename":"image_26012025_17_54_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/26/5db0d175f595161359c077afc63cbe32.jpg","text":"TemporaryFile(/tmp/multipartBody2608233209558199115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910565890,"filename":"image_26012025_17_54_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/26/d2318ecd2c583d3bdd2a086ef8ea8afd.jpg","text":"TemporaryFile(/tmp/multipartBody374086928255702307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910565890,"filename":"image_26012025_17_53_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/26/462317cdc0aaff7eb1cfebe75fb9c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody613213429119515203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910565890,"filename":"image_26012025_17_54_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ed8d8026098d2078b6aea14fd41a9ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4417973978884250019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910565890,"filename":"image_26012025_17_54_45_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721291","file1":"1331721282","file0":"1331721276","file4":"1331721312","file3":"1331721308"},"map_files_photo_id_array":[{"photo_id":"1331721291","filename":"file2"},{"photo_id":"1331721312","filename":"file4"},{"photo_id":"1331721282","filename":"file1"},{"photo_id":"1331721276","filename":"file0"},{"photo_id":"1331721308","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721308":["hashtag1","hashtag2"]},{"1331721282":["hashtag1","hashtag2"]},{"1331721276":["hashtag1","hashtag2"]},{"1331721291":["hashtag1","hashtag2"]},{"1331721312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721308, 1331721282, 1331721276, 1331721291, 1331721312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.30309844017029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:55:42.968724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_55_10362.jpg', '/home/pi/Desktop/images/26012025/17/54/image_26012025_17_55_05_10348.jpg', '/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_25_10359.jpg', '/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_36_10447.jpg', '/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_54_55_10362.jpg
/home/pi/Desktop/images/26012025/17/54/image_26012025_17_55_05_10348.jpg
/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_25_10359.jpg
/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_36_10447.jpg
/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_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":["1331721375","1331721368","1331721353","1331721356","1331721350"],"photo_ids_order":["1331721350","1331721353","1331721356","1331721368","1331721375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c457dea8b41475a9531e0864a073a9f.jpg","text":"TemporaryFile(/tmp/multipartBody1177976502808472800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910603861,"filename":"image_26012025_17_55_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/26/3c203bf43288053c8977927299eaa204.jpg","text":"TemporaryFile(/tmp/multipartBody2539933715943958337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910603861,"filename":"image_26012025_17_55_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/26/fc33678c3ec0d37057abc8cfa817463d.jpg","text":"TemporaryFile(/tmp/multipartBody6775561579872735156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910603861,"filename":"image_26012025_17_55_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/26/21f02d86430a53f7880f31d03b54bb73.jpg","text":"TemporaryFile(/tmp/multipartBody1463475776036708685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910603861,"filename":"image_26012025_17_55_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/26/596855512cd0fc7a9277d602a99d542b.jpg","text":"TemporaryFile(/tmp/multipartBody3859469442842853983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910603861,"filename":"image_26012025_17_54_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721356","file1":"1331721353","file0":"1331721350","file4":"1331721375","file3":"1331721368"},"map_files_photo_id_array":[{"photo_id":"1331721356","filename":"file2"},{"photo_id":"1331721375","filename":"file4"},{"photo_id":"1331721353","filename":"file1"},{"photo_id":"1331721350","filename":"file0"},{"photo_id":"1331721368","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721375":["hashtag1","hashtag2"]},{"1331721368":["hashtag1","hashtag2"]},{"1331721353":["hashtag1","hashtag2"]},{"1331721356":["hashtag1","hashtag2"]},{"1331721350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721375, 1331721368, 1331721353, 1331721356, 1331721350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.12509298324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:56:32.282349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_56_10519.jpg', '/home/pi/Desktop/images/26012025/17/55/image_26012025_17_56_05_9338.jpg', '/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_15_10376.jpg', '/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_26_10368.jpg', '/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_35_9344.jpg', '/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_45_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/55/image_26012025_17_55_56_10519.jpg
/home/pi/Desktop/images/26012025/17/55/image_26012025_17_56_05_9338.jpg
/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_15_10376.jpg
/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_26_10368.jpg
/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_35_9344.jpg
/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_45_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331721393","1331721406","1331721399","1331721390","1331721408","1331721446"],"photo_ids_order":["1331721390","1331721393","1331721399","1331721406","1331721408","1331721446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70dfa797b8f3fba0d1c1a81fb61260fb.jpg","text":"TemporaryFile(/tmp/multipartBody7965237160514480022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_56_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/26/6d36a78d2e5c1bd298e295fd12becc26.jpg","text":"TemporaryFile(/tmp/multipartBody954987471481678318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_56_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77e35b3ffb395920fdc04fc3df83cb60.jpg","text":"TemporaryFile(/tmp/multipartBody4352281604825392512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_56_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/26/b91e48bd8ec85f1e33ab1f972464c649.jpg","text":"TemporaryFile(/tmp/multipartBody4523799242666642599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_55_56_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe6e433eefd80667b451b7f5ad27bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody7125843169769874135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_56_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/26/9d80462a80e836648de49a0dd1ff495e.jpg","text":"TemporaryFile(/tmp/multipartBody1308439549674123524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910653197,"filename":"image_26012025_17_56_45_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721399","file1":"1331721393","file0":"1331721390","file4":"1331721408","file5":"1331721446","file3":"1331721406"},"map_files_photo_id_array":[{"photo_id":"1331721446","filename":"file5"},{"photo_id":"1331721399","filename":"file2"},{"photo_id":"1331721408","filename":"file4"},{"photo_id":"1331721393","filename":"file1"},{"photo_id":"1331721390","filename":"file0"},{"photo_id":"1331721406","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721393":["hashtag1","hashtag2"]},{"1331721406":["hashtag1","hashtag2"]},{"1331721399":["hashtag1","hashtag2"]},{"1331721390":["hashtag1","hashtag2"]},{"1331721408":["hashtag1","hashtag2"]},{"1331721446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721393, 1331721406, 1331721399, 1331721390, 1331721408, 1331721446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7712824344635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 17:57:32.665916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_56_10363.jpg', '/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_15_10350.jpg', '/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_25_9450.jpg', '/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_35_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/56/image_26012025_17_56_56_10363.jpg
/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_15_10350.jpg
/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_25_9450.jpg
/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_35_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331721463","1331721465","1331721467","1331721461"],"photo_ids_order":["1331721461","1331721463","1331721465","1331721467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1a6e7e228f5f1cd7a32b0d1e8f555f1.jpg","text":"TemporaryFile(/tmp/multipartBody3556730888340929405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910713541,"filename":"image_26012025_17_57_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/26/5650e15d979379d286880c59ccdec4bf.jpg","text":"TemporaryFile(/tmp/multipartBody6238616039386143920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910713541,"filename":"image_26012025_17_57_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/26/895ef18e7aa2dbfe33eddfc468941e96.jpg","text":"TemporaryFile(/tmp/multipartBody2787094769606992519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910713541,"filename":"image_26012025_17_57_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/26/3d421bc3d0c44005ce5e33c68964ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody8807538527420437270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910713541,"filename":"image_26012025_17_56_56_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331721465","file1":"1331721463","file0":"1331721461","file3":"1331721467"},"map_files_photo_id_array":[{"photo_id":"1331721465","filename":"file2"},{"photo_id":"1331721463","filename":"file1"},{"photo_id":"1331721461","filename":"file0"},{"photo_id":"1331721467","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331721463":["hashtag1","hashtag2"]},{"1331721465":["hashtag1","hashtag2"]},{"1331721467":["hashtag1","hashtag2"]},{"1331721461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331721463, 1331721465, 1331721467, 1331721461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.796989679336548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:59:03.468685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_55_9330.jpg', '/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_15_9403.jpg', '/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_25_10463.jpg', '/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_36_10385.jpg', '/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/57/image_26012025_17_57_55_9330.jpg
/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_15_9403.jpg
/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_25_10463.jpg
/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_36_10385.jpg
/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_45_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722120","1331722086","1331722124","1331722127","1331722063"],"photo_ids_order":["1331722063","1331722086","1331722120","1331722124","1331722127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5aa71f69162813e2c012e8bfa53d6510.jpg","text":"TemporaryFile(/tmp/multipartBody2227087400301066653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910804479,"filename":"image_26012025_17_58_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d4190a2a665fb8fe051d5affb32bdb7e.jpg","text":"TemporaryFile(/tmp/multipartBody3722055285959895041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910804479,"filename":"image_26012025_17_58_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/26/aad41405d9b0d16f3e0d37143dfa1b0d.jpg","text":"TemporaryFile(/tmp/multipartBody295896847006096574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910804479,"filename":"image_26012025_17_58_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/26/a08835121daeddc4bb2cfd4ab262bd53.jpg","text":"TemporaryFile(/tmp/multipartBody5842877102465860764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910804479,"filename":"image_26012025_17_58_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/26/f44a5d76623a07d61d578554822c88cb.jpg","text":"TemporaryFile(/tmp/multipartBody7288589034872494520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910804479,"filename":"image_26012025_17_57_55_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722120","file1":"1331722086","file0":"1331722063","file4":"1331722127","file3":"1331722124"},"map_files_photo_id_array":[{"photo_id":"1331722120","filename":"file2"},{"photo_id":"1331722127","filename":"file4"},{"photo_id":"1331722086","filename":"file1"},{"photo_id":"1331722063","filename":"file0"},{"photo_id":"1331722124","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722120":["hashtag1","hashtag2"]},{"1331722086":["hashtag1","hashtag2"]},{"1331722124":["hashtag1","hashtag2"]},{"1331722127":["hashtag1","hashtag2"]},{"1331722063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722120, 1331722086, 1331722124, 1331722127, 1331722063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.80837869644165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 17:59:42.289116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_55_10362.jpg', '/home/pi/Desktop/images/26012025/17/59/image_26012025_17_59_35_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/58/image_26012025_17_58_55_10362.jpg
/home/pi/Desktop/images/26012025/17/59/image_26012025_17_59_35_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722138","1331722134"],"photo_ids_order":["1331722134","1331722138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/31fdac6820310534cb1c70d9bd2a7472.jpg","text":"TemporaryFile(/tmp/multipartBody1085903122309138733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910843137,"filename":"image_26012025_17_59_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/26/dfbac433a5451debfefbccdbda8900f4.jpg","text":"TemporaryFile(/tmp/multipartBody9190779904184900168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910843137,"filename":"image_26012025_17_58_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331722138","file0":"1331722134"},"map_files_photo_id_array":[{"photo_id":"1331722138","filename":"file1"},{"photo_id":"1331722134","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722138":["hashtag1","hashtag2"]},{"1331722134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722138, 1331722134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.201019287109375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:00:03.202957
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_36_9321.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_46_10352.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_57_10363.jpg', '/home/pi/Desktop/images/23012025/22/08/image_23012025_22_09_06_9336.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_16_10365.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_27_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_36_9321.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_46_10352.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_08_57_10363.jpg
/home/pi/Desktop/images/23012025/22/08/image_23012025_22_09_06_9336.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_16_10365.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_27_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":["1331722171","1331722165","1331722168","1331722147","1331722181","1331722175"],"photo_ids_order":["1331722147","1331722165","1331722168","1331722171","1331722175","1331722181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b81060a84e8a853db13e54120d1fba27.jpg","text":"TemporaryFile(/tmp/multipartBody7380303232359580833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_09_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/94e74583d6bebefb8c13aea73641ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody9144570051224890058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_08_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/26/d57d30316f96555b43167c0531bb2d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8378255661579716672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_08_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a0d9506dd197279411e30a10aa4a94eb.jpg","text":"TemporaryFile(/tmp/multipartBody5930536474909831829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_08_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d9c592df61a66895944d0886d63aefc.jpg","text":"TemporaryFile(/tmp/multipartBody4620046932010693652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_09_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/26/15a120437152ae3bc50dc1ed8983e483.jpg","text":"TemporaryFile(/tmp/multipartBody7379648096710579290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910864769,"filename":"image_23012025_22_09_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722168","file1":"1331722165","file0":"1331722147","file4":"1331722175","file5":"1331722181","file3":"1331722171"},"map_files_photo_id_array":[{"photo_id":"1331722181","filename":"file5"},{"photo_id":"1331722168","filename":"file2"},{"photo_id":"1331722175","filename":"file4"},{"photo_id":"1331722165","filename":"file1"},{"photo_id":"1331722147","filename":"file0"},{"photo_id":"1331722171","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331722171":["hashtag1","hashtag2"]},{"1331722165":["hashtag1","hashtag2"]},{"1331722168":["hashtag1","hashtag2"]},{"1331722147":["hashtag1","hashtag2"]},{"1331722181":["hashtag1","hashtag2"]},{"1331722175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331722171, 1331722165, 1331722168, 1331722147, 1331722181, 1331722175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.91485667228699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:01:03.904889
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_36_9393.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_46_10340.jpg', '/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_57_10362.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_16_10366.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_36_10338.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_47_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_36_9393.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_46_10340.jpg
/home/pi/Desktop/images/23012025/22/09/image_23012025_22_09_57_10362.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_16_10366.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_36_10338.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_47_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722278","1331722286","1331722289","1331722274","1331722282","1331722276"],"photo_ids_order":["1331722274","1331722276","1331722278","1331722282","1331722286","1331722289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f25184cbd6e24410bac43230e555b96d.jpg","text":"TemporaryFile(/tmp/multipartBody4177579125294733259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_09_57_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96da13f9bbd1d3ba7b28f46a6fa32d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7346272411923074104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_10_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/26/56f3a97eb879a869313adefe4990271b.jpg","text":"TemporaryFile(/tmp/multipartBody3320651264049706568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_10_47_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/26/e1c2c95e4d5a60df1bd30ac80ce76525.jpg","text":"TemporaryFile(/tmp/multipartBody241822824848000474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_09_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/26/1cf2842d178bb0ce64dc5ceaefe501ea.jpg","text":"TemporaryFile(/tmp/multipartBody6085366180839594530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_10_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/26/782d595ea1e02257d68f6e9a3ff17088.jpg","text":"TemporaryFile(/tmp/multipartBody2308112943961182490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910925994,"filename":"image_23012025_22_09_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722278","file1":"1331722276","file0":"1331722274","file4":"1331722286","file5":"1331722289","file3":"1331722282"},"map_files_photo_id_array":[{"photo_id":"1331722289","filename":"file5"},{"photo_id":"1331722278","filename":"file2"},{"photo_id":"1331722286","filename":"file4"},{"photo_id":"1331722276","filename":"file1"},{"photo_id":"1331722274","filename":"file0"},{"photo_id":"1331722282","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331722278":["hashtag1","hashtag2"]},{"1331722286":["hashtag1","hashtag2"]},{"1331722289":["hashtag1","hashtag2"]},{"1331722274":["hashtag1","hashtag2"]},{"1331722282":["hashtag1","hashtag2"]},{"1331722276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331722278, 1331722286, 1331722289, 1331722274, 1331722282, 1331722276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87463450431824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 18:01:52.719653
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_56_9466.jpg', '/home/pi/Desktop/images/23012025/22/10/image_23012025_22_11_06_10351.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_17_10342.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_26_9348.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_36_10342.jpg', '/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_46_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_10_56_9466.jpg
/home/pi/Desktop/images/23012025/22/10/image_23012025_22_11_06_10351.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_17_10342.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_26_9348.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_36_10342.jpg
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_46_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":["1331722309","1331722305","1331722302","1331722313","1331722301","1331722307"],"photo_ids_order":["1331722301","1331722302","1331722305","1331722307","1331722309","1331722313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b0f02cb4a2e384e2045bc5ebc9174f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3057184459931025984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_11_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/26/63f8729c2675f9c39643d4ce242f8242.jpg","text":"TemporaryFile(/tmp/multipartBody5414071634876960854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_11_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/26/7b485f5776a9487c958974f87cef0504.jpg","text":"TemporaryFile(/tmp/multipartBody7337842473134234653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_11_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2b7ac7d8873a6eb21f6c47115fa03d2.jpg","text":"TemporaryFile(/tmp/multipartBody3898306274339728713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_11_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/26/075c3952480721d1c8430d9aee1912b9.jpg","text":"TemporaryFile(/tmp/multipartBody3417969205534905464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_10_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3c7db84094e957802b438821a3fcbae.jpg","text":"TemporaryFile(/tmp/multipartBody9138133238251069468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737910975051,"filename":"image_23012025_22_11_26_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722305","file1":"1331722302","file0":"1331722301","file4":"1331722309","file5":"1331722313","file3":"1331722307"},"map_files_photo_id_array":[{"photo_id":"1331722313","filename":"file5"},{"photo_id":"1331722305","filename":"file2"},{"photo_id":"1331722309","filename":"file4"},{"photo_id":"1331722302","filename":"file1"},{"photo_id":"1331722301","filename":"file0"},{"photo_id":"1331722307","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331722309":["hashtag1","hashtag2"]},{"1331722305":["hashtag1","hashtag2"]},{"1331722302":["hashtag1","hashtag2"]},{"1331722313":["hashtag1","hashtag2"]},{"1331722301":["hashtag1","hashtag2"]},{"1331722307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331722309, 1331722305, 1331722302, 1331722313, 1331722301, 1331722307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.035693645477295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:02:43.009879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/17/59/image_26012025_17_59_55_10353.jpg', '/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_15_10073.jpg', '/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_25_10371.jpg', '/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_45_9411.jpg', '/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_55_10369.jpg', '/home/pi/Desktop/images/26012025/18/01/image_26012025_18_02_05_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/17/59/image_26012025_17_59_55_10353.jpg
/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_15_10073.jpg
/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_25_10371.jpg
/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_45_9411.jpg
/home/pi/Desktop/images/26012025/18/01/image_26012025_18_01_55_10369.jpg
/home/pi/Desktop/images/26012025/18/01/image_26012025_18_02_05_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722321","1331722318","1331722326","1331722320","1331722334","1331722319"],"photo_ids_order":["1331722318","1331722319","1331722320","1331722321","1331722326","1331722334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/388e9b8b5d713bbbfb9ed69af2a06178.jpg","text":"TemporaryFile(/tmp/multipartBody9159235574522018748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_18_01_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/26/071211351d167767bb2acef967bbac9c.jpg","text":"TemporaryFile(/tmp/multipartBody5576925895094741074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_17_59_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/26/61f029c5967f8e48adb1bf13b42a754d.jpg","text":"TemporaryFile(/tmp/multipartBody3574546730851512399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_18_01_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d5077a78319e1c64ba2dd7485cf7388.jpg","text":"TemporaryFile(/tmp/multipartBody461420353189777271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_18_01_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/26/1f410a9125ade35b2c242581b3fbb5a6.jpg","text":"TemporaryFile(/tmp/multipartBody5677876314442292753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_18_02_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/26/1bd33f5a6a2d7556935654c8aa4a5eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1639358598464360839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911023947,"filename":"image_26012025_18_01_15_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722320","file1":"1331722319","file0":"1331722318","file4":"1331722326","file5":"1331722334","file3":"1331722321"},"map_files_photo_id_array":[{"photo_id":"1331722334","filename":"file5"},{"photo_id":"1331722320","filename":"file2"},{"photo_id":"1331722326","filename":"file4"},{"photo_id":"1331722319","filename":"file1"},{"photo_id":"1331722318","filename":"file0"},{"photo_id":"1331722321","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722321":["hashtag1","hashtag2"]},{"1331722318":["hashtag1","hashtag2"]},{"1331722326":["hashtag1","hashtag2"]},{"1331722320":["hashtag1","hashtag2"]},{"1331722334":["hashtag1","hashtag2"]},{"1331722319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722321, 1331722318, 1331722326, 1331722320, 1331722334, 1331722319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.135053873062134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:03:32.247407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_15_10474.jpg', '/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_25_10359.jpg', '/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_35_9413.jpg', '/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_45_10333.jpg', '/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_55_9475.jpg', '/home/pi/Desktop/images/26012025/18/02/image_26012025_18_03_05_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_15_10474.jpg
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_25_10359.jpg
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_35_9413.jpg
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_45_10333.jpg
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_02_55_9475.jpg
/home/pi/Desktop/images/26012025/18/02/image_26012025_18_03_05_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722345","1331722353","1331722362","1331722356","1331722349","1331722360"],"photo_ids_order":["1331722345","1331722349","1331722353","1331722356","1331722360","1331722362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d02ea390cbb0dd39227d767a429409cc.jpg","text":"TemporaryFile(/tmp/multipartBody1721551182242894647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_02_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/26/71878219d4e2ecde6a09569bf082874e.jpg","text":"TemporaryFile(/tmp/multipartBody6750608466817151578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_02_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71640a321cf4dce703a591a1d0b1b220.jpg","text":"TemporaryFile(/tmp/multipartBody8254798240685982006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_03_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/951df5f2a0a373f7ea49f8975979ea76.jpg","text":"TemporaryFile(/tmp/multipartBody171903238200725684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_02_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/435ba2fe90ea390f49a78bca80698fea.jpg","text":"TemporaryFile(/tmp/multipartBody2953673153371308396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_02_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/26/1d62683fdf4c5e4afd074ee8632eb83f.jpg","text":"TemporaryFile(/tmp/multipartBody5825355509309739224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911073190,"filename":"image_26012025_18_02_55_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722353","file1":"1331722349","file0":"1331722345","file4":"1331722360","file5":"1331722362","file3":"1331722356"},"map_files_photo_id_array":[{"photo_id":"1331722362","filename":"file5"},{"photo_id":"1331722353","filename":"file2"},{"photo_id":"1331722360","filename":"file4"},{"photo_id":"1331722349","filename":"file1"},{"photo_id":"1331722345","filename":"file0"},{"photo_id":"1331722356","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722345":["hashtag1","hashtag2"]},{"1331722353":["hashtag1","hashtag2"]},{"1331722362":["hashtag1","hashtag2"]},{"1331722356":["hashtag1","hashtag2"]},{"1331722349":["hashtag1","hashtag2"]},{"1331722360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722345, 1331722353, 1331722362, 1331722356, 1331722349, 1331722360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11884617805481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:04:32.391825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_15_10357.jpg', '/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_25_9465.jpg', '/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_35_10369.jpg', '/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_45_9411.jpg', '/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_55_10362.jpg', '/home/pi/Desktop/images/26012025/18/03/image_26012025_18_04_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_15_10357.jpg
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_25_9465.jpg
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_35_10369.jpg
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_45_9411.jpg
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_03_55_10362.jpg
/home/pi/Desktop/images/26012025/18/03/image_26012025_18_04_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722383","1331722371","1331722376","1331722379","1331722373","1331722381"],"photo_ids_order":["1331722371","1331722373","1331722376","1331722379","1331722381","1331722383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c72587f54d6d42c447a3a1e26e58278.jpg","text":"TemporaryFile(/tmp/multipartBody4710410311636981914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_04_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da60eeed6252213c6bd5a77d77846ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2487071394658020359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_03_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/26/fc31ae8922dffcccc8ab39cbc8abf484.jpg","text":"TemporaryFile(/tmp/multipartBody7685876947619017408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_03_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/26/da62c4b9d59c60f8e6ac1afb9a6de0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8841550085891727964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_03_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/26/11f5319dab6b4187271bd96a7ec1f120.jpg","text":"TemporaryFile(/tmp/multipartBody4933354588556321326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_03_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b0860f1c92a779c175d0f988cb7ffda3.jpg","text":"TemporaryFile(/tmp/multipartBody6693100678757451540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911133310,"filename":"image_26012025_18_03_55_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722376","file1":"1331722373","file0":"1331722371","file4":"1331722381","file5":"1331722383","file3":"1331722379"},"map_files_photo_id_array":[{"photo_id":"1331722383","filename":"file5"},{"photo_id":"1331722376","filename":"file2"},{"photo_id":"1331722381","filename":"file4"},{"photo_id":"1331722373","filename":"file1"},{"photo_id":"1331722371","filename":"file0"},{"photo_id":"1331722379","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722383":["hashtag1","hashtag2"]},{"1331722371":["hashtag1","hashtag2"]},{"1331722376":["hashtag1","hashtag2"]},{"1331722379":["hashtag1","hashtag2"]},{"1331722373":["hashtag1","hashtag2"]},{"1331722381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722383, 1331722371, 1331722376, 1331722379, 1331722373, 1331722381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.305991888046265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:05:32.620473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_15_9337.jpg', '/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_25_10346.jpg', '/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_35_10432.jpg', '/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_55_10359.jpg', '/home/pi/Desktop/images/26012025/18/04/image_26012025_18_05_05_9440.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_15_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_15_9337.jpg
/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_25_10346.jpg
/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_35_10432.jpg
/home/pi/Desktop/images/26012025/18/04/image_26012025_18_04_55_10359.jpg
/home/pi/Desktop/images/26012025/18/04/image_26012025_18_05_05_9440.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331722402","1331722416","1331722550","1331722532","1331722399","1331722396"],"photo_ids_order":["1331722396","1331722399","1331722402","1331722416","1331722532","1331722550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26b856de11b3639ec842a6ab24eb04a3.jpg","text":"TemporaryFile(/tmp/multipartBody2804875048653320663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_04_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/26/79df6ec093c6655b730348e209ae9884.jpg","text":"TemporaryFile(/tmp/multipartBody6459904626890196034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_04_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/26/0aaf08097045fd8cf23e3665802fc3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7605452788312890211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_05_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/26/3e5c9fc60c1f016c5ccfcf87eebd8356.jpg","text":"TemporaryFile(/tmp/multipartBody8190790329307730371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_05_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/26/ec96aaac4adcac4c855e409d52d6fa34.jpg","text":"TemporaryFile(/tmp/multipartBody2316432456082346672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_04_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/26/d4c84c6dbfd200d4818ac5f1eff50e93.jpg","text":"TemporaryFile(/tmp/multipartBody8923073521016051453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911193537,"filename":"image_26012025_18_04_15_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722402","file1":"1331722399","file0":"1331722396","file4":"1331722532","file5":"1331722550","file3":"1331722416"},"map_files_photo_id_array":[{"photo_id":"1331722550","filename":"file5"},{"photo_id":"1331722402","filename":"file2"},{"photo_id":"1331722532","filename":"file4"},{"photo_id":"1331722399","filename":"file1"},{"photo_id":"1331722396","filename":"file0"},{"photo_id":"1331722416","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722402":["hashtag1","hashtag2"]},{"1331722416":["hashtag1","hashtag2"]},{"1331722550":["hashtag1","hashtag2"]},{"1331722532":["hashtag1","hashtag2"]},{"1331722399":["hashtag1","hashtag2"]},{"1331722396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722402, 1331722416, 1331722550, 1331722532, 1331722399, 1331722396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9730441570282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:06:32.794656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_25_10354.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_35_9340.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_45_10435.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_55_9461.jpg', '/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_15_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_25_10354.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_35_9340.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_45_10435.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_55_9461.jpg
/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_15_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.5576977729797363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:06:42.875656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_25_10354.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_35_9340.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_45_10435.jpg', '/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_55_9461.jpg', '/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_15_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_25_10354.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_35_9340.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_45_10435.jpg
/home/pi/Desktop/images/26012025/18/05/image_26012025_18_05_55_9461.jpg
/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_15_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":["1331722732","1331722689","1331722730","1331722733","1331722750"],"photo_ids_order":["1331722689","1331722730","1331722732","1331722733","1331722750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/21a012abaa308406fb3e75889337fbee.jpg","text":"TemporaryFile(/tmp/multipartBody8004134404038649679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911263789,"filename":"image_26012025_18_05_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/26/e6895e92851b573b2ad72545be4f6397.jpg","text":"TemporaryFile(/tmp/multipartBody810692005760473900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911263789,"filename":"image_26012025_18_05_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/26/1bbfa42f2a11001dbf1d8dbe85b0686c.jpg","text":"TemporaryFile(/tmp/multipartBody8563140652369051244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911263789,"filename":"image_26012025_18_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/26/fd652c6a3e15e25e4b3a1a4c26cefc81.jpg","text":"TemporaryFile(/tmp/multipartBody2961028938268440160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911263789,"filename":"image_26012025_18_05_55_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/26/44c0bdae79aecb61b64513d35bd19cff.jpg","text":"TemporaryFile(/tmp/multipartBody1119833282431373652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911263789,"filename":"image_26012025_18_06_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722732","file1":"1331722730","file0":"1331722689","file4":"1331722750","file3":"1331722733"},"map_files_photo_id_array":[{"photo_id":"1331722732","filename":"file2"},{"photo_id":"1331722750","filename":"file4"},{"photo_id":"1331722730","filename":"file1"},{"photo_id":"1331722689","filename":"file0"},{"photo_id":"1331722733","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722732":["hashtag1","hashtag2"]},{"1331722689":["hashtag1","hashtag2"]},{"1331722730":["hashtag1","hashtag2"]},{"1331722733":["hashtag1","hashtag2"]},{"1331722750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722732, 1331722689, 1331722730, 1331722733, 1331722750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.65890669822693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:07:33.129567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_25_9392.jpg', '/home/pi/Desktop/images/26012025/18/06/image_26012025_18_07_05_10443.jpg', '/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_15_9470.jpg', '/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_35_10359.jpg', '/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_45_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/06/image_26012025_18_06_25_9392.jpg
/home/pi/Desktop/images/26012025/18/06/image_26012025_18_07_05_10443.jpg
/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_15_9470.jpg
/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_35_10359.jpg
/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_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":["1331722822","1331722815","1331722818","1331722829","1331722826"],"photo_ids_order":["1331722815","1331722818","1331722822","1331722826","1331722829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b82d791d1183e78364a254b18e133527.jpg","text":"TemporaryFile(/tmp/multipartBody1216719504301215371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911314068,"filename":"image_26012025_18_07_15_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ae48ed445495900c792f227e587c4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6689748027187676316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911314068,"filename":"image_26012025_18_06_25_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/88c8c0f7c647d2a97dede29da7fed25c.jpg","text":"TemporaryFile(/tmp/multipartBody81972060447087301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911314068,"filename":"image_26012025_18_07_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/26/db2b0ef329c348bab77ef813dbce8619.jpg","text":"TemporaryFile(/tmp/multipartBody433998231354407114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911314068,"filename":"image_26012025_18_07_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/26/c3710d372f537a0fa36d0100b9ec6d34.jpg","text":"TemporaryFile(/tmp/multipartBody1517546091278008580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911314068,"filename":"image_26012025_18_07_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722822","file1":"1331722818","file0":"1331722815","file4":"1331722829","file3":"1331722826"},"map_files_photo_id_array":[{"photo_id":"1331722822","filename":"file2"},{"photo_id":"1331722829","filename":"file4"},{"photo_id":"1331722818","filename":"file1"},{"photo_id":"1331722815","filename":"file0"},{"photo_id":"1331722826","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722822":["hashtag1","hashtag2"]},{"1331722815":["hashtag1","hashtag2"]},{"1331722818":["hashtag1","hashtag2"]},{"1331722829":["hashtag1","hashtag2"]},{"1331722826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722822, 1331722815, 1331722818, 1331722829, 1331722826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.58362603187561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:08:32.150845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_55_10370.jpg', '/home/pi/Desktop/images/26012025/18/07/image_26012025_18_08_05_10370.jpg', '/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_15_9336.jpg', '/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_25_10412.jpg', '/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_35_9382.jpg', '/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_45_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/07/image_26012025_18_07_55_10370.jpg
/home/pi/Desktop/images/26012025/18/07/image_26012025_18_08_05_10370.jpg
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_15_9336.jpg
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_25_10412.jpg
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_35_9382.jpg
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_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":["1331722936","1331722926","1331722929","1331722934","1331722937","1331722931"],"photo_ids_order":["1331722926","1331722929","1331722931","1331722934","1331722936","1331722937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ff02c6e6d15e07576a6763419e51e72.jpg","text":"TemporaryFile(/tmp/multipartBody7343802390617301921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_08_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/26/ac90e7d24bb2e0a29f1b883e274bce0d.jpg","text":"TemporaryFile(/tmp/multipartBody3721379017410746410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_07_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/26/601ebe98bfa23253d56bce4329fd9bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1241563960741741434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_08_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/26/bc927e7735fda9ebffa13ce9752b812c.jpg","text":"TemporaryFile(/tmp/multipartBody4737005183365361430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_08_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/26/c75ffa7ef92e2f353fe98b134a04db41.jpg","text":"TemporaryFile(/tmp/multipartBody6842951872029699222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_08_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/26/e8f29a064333f14bbe2f1d218560d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody1972688531121978609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911373073,"filename":"image_26012025_18_08_15_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722931","file1":"1331722929","file0":"1331722926","file4":"1331722936","file5":"1331722937","file3":"1331722934"},"map_files_photo_id_array":[{"photo_id":"1331722937","filename":"file5"},{"photo_id":"1331722931","filename":"file2"},{"photo_id":"1331722936","filename":"file4"},{"photo_id":"1331722929","filename":"file1"},{"photo_id":"1331722926","filename":"file0"},{"photo_id":"1331722934","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722936":["hashtag1","hashtag2"]},{"1331722926":["hashtag1","hashtag2"]},{"1331722929":["hashtag1","hashtag2"]},{"1331722934":["hashtag1","hashtag2"]},{"1331722937":["hashtag1","hashtag2"]},{"1331722931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722936, 1331722926, 1331722929, 1331722934, 1331722937, 1331722931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52881717681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:09:32.491231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_55_10390.jpg', '/home/pi/Desktop/images/26012025/18/08/image_26012025_18_09_05_9380.jpg', '/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_15_10335.jpg', '/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_25_10356.jpg', '/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_35_9430.jpg', '/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_45_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_08_55_10390.jpg
/home/pi/Desktop/images/26012025/18/08/image_26012025_18_09_05_9380.jpg
/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_15_10335.jpg
/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_25_10356.jpg
/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_35_9430.jpg
/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_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":["1331722960","1331722962","1331722965","1331722964","1331722955","1331722958"],"photo_ids_order":["1331722955","1331722958","1331722960","1331722962","1331722964","1331722965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/302a01d30391508a63d4602e2bd86179.jpg","text":"TemporaryFile(/tmp/multipartBody6607657253257441182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_09_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/26/4dc18eff9e0960639c821a788f94dc49.jpg","text":"TemporaryFile(/tmp/multipartBody1148318127192729991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_09_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/26/8b2638457765c6880d5d15930c3c5008.jpg","text":"TemporaryFile(/tmp/multipartBody6084585895493181076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_09_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/26/53d53362eea3681990deb0179a2c8a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6723764590554408964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_09_35_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95d7c2a1e5f0237b4369614097588ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1173100270503558893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_08_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/26/a383d4cd6b2a72483e50525a3837c37f.jpg","text":"TemporaryFile(/tmp/multipartBody1851181824970631919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911433458,"filename":"image_26012025_18_09_05_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722960","file1":"1331722958","file0":"1331722955","file4":"1331722964","file5":"1331722965","file3":"1331722962"},"map_files_photo_id_array":[{"photo_id":"1331722965","filename":"file5"},{"photo_id":"1331722960","filename":"file2"},{"photo_id":"1331722964","filename":"file4"},{"photo_id":"1331722958","filename":"file1"},{"photo_id":"1331722955","filename":"file0"},{"photo_id":"1331722962","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722960":["hashtag1","hashtag2"]},{"1331722962":["hashtag1","hashtag2"]},{"1331722965":["hashtag1","hashtag2"]},{"1331722964":["hashtag1","hashtag2"]},{"1331722955":["hashtag1","hashtag2"]},{"1331722958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722960, 1331722962, 1331722965, 1331722964, 1331722955, 1331722958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02403402328491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:10:32.685383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_55_9427.jpg', '/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_15_10348.jpg', '/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_25_9434.jpg', '/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_35_10355.jpg', '/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_45_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/09/image_26012025_18_09_55_9427.jpg
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_15_10348.jpg
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_25_9434.jpg
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_35_10355.jpg
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_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":["1331722989","1331722997","1331722993","1331722981","1331722984"],"photo_ids_order":["1331722981","1331722984","1331722989","1331722993","1331722997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/88826524fb3bba74c3d68d95bd0ec6c9.jpg","text":"TemporaryFile(/tmp/multipartBody3619715196016369980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911493589,"filename":"image_26012025_18_10_25_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/afaf64324e78c76efa547ffa4db597a5.jpg","text":"TemporaryFile(/tmp/multipartBody321645958280492212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911493589,"filename":"image_26012025_18_10_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/26/ac01bb78bd094b0a063d0b844f227385.jpg","text":"TemporaryFile(/tmp/multipartBody7211916046739048954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911493589,"filename":"image_26012025_18_10_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/26/e39f8aacb6f7f3f1277954dea9d80abb.jpg","text":"TemporaryFile(/tmp/multipartBody5368250062979154026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911493589,"filename":"image_26012025_18_09_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/26/34a7c92881547ca075da71b3cf50d65c.jpg","text":"TemporaryFile(/tmp/multipartBody691114320341602630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911493589,"filename":"image_26012025_18_10_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331722989","file1":"1331722984","file0":"1331722981","file4":"1331722997","file3":"1331722993"},"map_files_photo_id_array":[{"photo_id":"1331722989","filename":"file2"},{"photo_id":"1331722997","filename":"file4"},{"photo_id":"1331722984","filename":"file1"},{"photo_id":"1331722981","filename":"file0"},{"photo_id":"1331722993","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331722989":["hashtag1","hashtag2"]},{"1331722997":["hashtag1","hashtag2"]},{"1331722993":["hashtag1","hashtag2"]},{"1331722981":["hashtag1","hashtag2"]},{"1331722984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331722989, 1331722997, 1331722993, 1331722981, 1331722984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.521111726760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:11:32.897442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_55_10365.jpg', '/home/pi/Desktop/images/26012025/18/10/image_26012025_18_11_05_10408.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_15_9353.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_25_10363.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_35_10351.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_45_9366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_10_55_10365.jpg
/home/pi/Desktop/images/26012025/18/10/image_26012025_18_11_05_10408.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_15_9353.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_25_10363.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_35_10351.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_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":["1331723023","1331723017","1331723022","1331723025","1331723027","1331723030"],"photo_ids_order":["1331723017","1331723022","1331723023","1331723025","1331723027","1331723030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad1197e503184562486368488dc8a615.jpg","text":"TemporaryFile(/tmp/multipartBody8153308220526291709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_11_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/26/3fbccec55ed26d061e4d1acd70cd227c.jpg","text":"TemporaryFile(/tmp/multipartBody6398550797290530871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_10_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2600ab332ac72e8cedd57fecbd1e7c84.jpg","text":"TemporaryFile(/tmp/multipartBody6116210317538860180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_11_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/26/b54ebdda4259eceec4ce340ff549c339.jpg","text":"TemporaryFile(/tmp/multipartBody4907107614701103153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_11_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/26/0fadeea3ff6c1397c306c98e79082cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8937754866515662739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_11_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/26/570b23f7a7ef642010f661d30ebe8ef6.jpg","text":"TemporaryFile(/tmp/multipartBody8774908623687693915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911553835,"filename":"image_26012025_18_11_45_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723023","file1":"1331723022","file0":"1331723017","file4":"1331723027","file5":"1331723030","file3":"1331723025"},"map_files_photo_id_array":[{"photo_id":"1331723030","filename":"file5"},{"photo_id":"1331723023","filename":"file2"},{"photo_id":"1331723027","filename":"file4"},{"photo_id":"1331723022","filename":"file1"},{"photo_id":"1331723017","filename":"file0"},{"photo_id":"1331723025","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723023":["hashtag1","hashtag2"]},{"1331723017":["hashtag1","hashtag2"]},{"1331723022":["hashtag1","hashtag2"]},{"1331723025":["hashtag1","hashtag2"]},{"1331723027":["hashtag1","hashtag2"]},{"1331723030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723023, 1331723017, 1331723022, 1331723025, 1331723027, 1331723030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.35747146606445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:12:33.183284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_55_10370.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_12_05_9436.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_15_10424.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_25_10349.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_35_9433.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_55_10370.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_12_05_9436.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_15_10424.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_25_10349.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_35_9433.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_45_10341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5331494808197021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:12:43.089252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_55_10370.jpg', '/home/pi/Desktop/images/26012025/18/11/image_26012025_18_12_05_9436.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_15_10424.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_25_10349.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_35_9433.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_45_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_11_55_10370.jpg
/home/pi/Desktop/images/26012025/18/11/image_26012025_18_12_05_9436.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_15_10424.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_25_10349.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_35_9433.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_45_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":["1331723073","1331723076","1331723058","1331723081","1331723078","1331723069"],"photo_ids_order":["1331723058","1331723069","1331723073","1331723076","1331723078","1331723081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c7cdc48c374fa7cb34617993957a698.jpg","text":"TemporaryFile(/tmp/multipartBody4761274257569786440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_12_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/26/c697f6c99398044d5e6543db9b19135d.jpg","text":"TemporaryFile(/tmp/multipartBody7063516794179913055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_12_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0c40107642c5579903ee3a74e36c992.jpg","text":"TemporaryFile(/tmp/multipartBody3509675111443583059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_11_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/26/cccaef479683e104dbfbe4a62a45b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3472848830866899654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_12_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7433fcde176042c882c74daaf1dd836.jpg","text":"TemporaryFile(/tmp/multipartBody2078924266831983354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_12_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/26/8dd9908635cdcfffa4ab84d10feefd73.jpg","text":"TemporaryFile(/tmp/multipartBody2451620293133728173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911624004,"filename":"image_26012025_18_12_05_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723073","file1":"1331723069","file0":"1331723058","file4":"1331723078","file5":"1331723081","file3":"1331723076"},"map_files_photo_id_array":[{"photo_id":"1331723081","filename":"file5"},{"photo_id":"1331723073","filename":"file2"},{"photo_id":"1331723078","filename":"file4"},{"photo_id":"1331723069","filename":"file1"},{"photo_id":"1331723058","filename":"file0"},{"photo_id":"1331723076","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723073":["hashtag1","hashtag2"]},{"1331723076":["hashtag1","hashtag2"]},{"1331723058":["hashtag1","hashtag2"]},{"1331723081":["hashtag1","hashtag2"]},{"1331723078":["hashtag1","hashtag2"]},{"1331723069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723073, 1331723076, 1331723058, 1331723081, 1331723078, 1331723069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.873485803604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:13:32.360034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_55_9502.jpg', '/home/pi/Desktop/images/26012025/18/12/image_26012025_18_13_05_10368.jpg', '/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_15_10350.jpg', '/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_25_9352.jpg', '/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_35_10347.jpg', '/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_12_55_9502.jpg
/home/pi/Desktop/images/26012025/18/12/image_26012025_18_13_05_10368.jpg
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_15_10350.jpg
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_25_9352.jpg
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_35_10347.jpg
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_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":["1331723140","1331723136","1331723144","1331723132","1331723129","1331723143"],"photo_ids_order":["1331723129","1331723132","1331723136","1331723140","1331723143","1331723144"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f8baad130b1da37856bbb5656c48fff3.jpg","text":"TemporaryFile(/tmp/multipartBody4980231165666917875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_13_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/26/7b27552a83e47d524a2c7a76eda53df6.jpg","text":"TemporaryFile(/tmp/multipartBody6492092627800904096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_13_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/26/43cd4bb8992888d39edf65531283f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1122833511527004452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_13_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/26/d29d51a8fd76510ab8f926a52404467d.jpg","text":"TemporaryFile(/tmp/multipartBody7281928765047659861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_13_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/26/aebe1abdc0b22fa8a3eb537892f9928e.jpg","text":"TemporaryFile(/tmp/multipartBody7592529364032047469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_12_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/26/8b7a23bdd1fd0438d738d466832fe5f7.jpg","text":"TemporaryFile(/tmp/multipartBody4741356260630051174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911673273,"filename":"image_26012025_18_13_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723136","file1":"1331723132","file0":"1331723129","file4":"1331723143","file5":"1331723144","file3":"1331723140"},"map_files_photo_id_array":[{"photo_id":"1331723144","filename":"file5"},{"photo_id":"1331723136","filename":"file2"},{"photo_id":"1331723143","filename":"file4"},{"photo_id":"1331723132","filename":"file1"},{"photo_id":"1331723129","filename":"file0"},{"photo_id":"1331723140","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723140":["hashtag1","hashtag2"]},{"1331723136":["hashtag1","hashtag2"]},{"1331723144":["hashtag1","hashtag2"]},{"1331723132":["hashtag1","hashtag2"]},{"1331723129":["hashtag1","hashtag2"]},{"1331723143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723140, 1331723136, 1331723144, 1331723132, 1331723129, 1331723143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.716344356536865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:14:32.546894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_55_9427.jpg', '/home/pi/Desktop/images/26012025/18/13/image_26012025_18_14_05_10347.jpg', '/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_15_9453.jpg', '/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_25_10349.jpg', '/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_35_10338.jpg', '/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_45_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_13_55_9427.jpg
/home/pi/Desktop/images/26012025/18/13/image_26012025_18_14_05_10347.jpg
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_15_9453.jpg
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_25_10349.jpg
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_35_10338.jpg
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_45_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331723211","1331723162","1331723165","1331723159","1331723168","1331723213"],"photo_ids_order":["1331723159","1331723162","1331723165","1331723168","1331723211","1331723213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23d9497afc368f4da04b8d11cfe6b1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5578208965329131483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_14_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/26/8cd3894fd2dac155a268f1d6c0bc9777.jpg","text":"TemporaryFile(/tmp/multipartBody8257717634282483680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_14_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/26/9e20ea0ce607810329a927881721b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody2919637309851196146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_14_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0640833457497ecc778f7a05d760a0f1.jpg","text":"TemporaryFile(/tmp/multipartBody1441097915559365083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_13_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/26/6fe47b2489b317e4508585755da5b7b4.jpg","text":"TemporaryFile(/tmp/multipartBody732428020860629263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_14_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d1b0d59d05ca57ec033b229ada871fd.jpg","text":"TemporaryFile(/tmp/multipartBody4980782121687500336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911733470,"filename":"image_26012025_18_14_45_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723165","file1":"1331723162","file0":"1331723159","file4":"1331723211","file5":"1331723213","file3":"1331723168"},"map_files_photo_id_array":[{"photo_id":"1331723213","filename":"file5"},{"photo_id":"1331723165","filename":"file2"},{"photo_id":"1331723211","filename":"file4"},{"photo_id":"1331723162","filename":"file1"},{"photo_id":"1331723159","filename":"file0"},{"photo_id":"1331723168","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723211":["hashtag1","hashtag2"]},{"1331723162":["hashtag1","hashtag2"]},{"1331723165":["hashtag1","hashtag2"]},{"1331723159":["hashtag1","hashtag2"]},{"1331723168":["hashtag1","hashtag2"]},{"1331723213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723211, 1331723162, 1331723165, 1331723159, 1331723168, 1331723213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.9213490486145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:15:32.920358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_55_10416.jpg', '/home/pi/Desktop/images/26012025/18/14/image_26012025_18_15_05_10356.jpg', '/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_15_9376.jpg', '/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_25_10420.jpg', '/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_35_9343.jpg', '/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_45_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_14_55_10416.jpg
/home/pi/Desktop/images/26012025/18/14/image_26012025_18_15_05_10356.jpg
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_15_9376.jpg
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_25_10420.jpg
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_35_9343.jpg
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_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":["1331723694","1331723823","1331723861","1331723855","1331723816","1331723705"],"photo_ids_order":["1331723694","1331723705","1331723816","1331723823","1331723855","1331723861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a55b91f81974e847ee69f370a022539.jpg","text":"TemporaryFile(/tmp/multipartBody8938418859642935793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_14_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4cb44caf44840b3e11e5e86c3d2def1.jpg","text":"TemporaryFile(/tmp/multipartBody867807282006191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_15_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/26/df4cbad5e5f76761aeae6b03cb7c326c.jpg","text":"TemporaryFile(/tmp/multipartBody4470964744132731229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_15_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/26/c744dd168a99c03da32d856eaed2ce01.jpg","text":"TemporaryFile(/tmp/multipartBody6527842181393549868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_15_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/26/fa0207ed392b28fa78a9c2653a1b2524.jpg","text":"TemporaryFile(/tmp/multipartBody2627578207676927938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_15_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/26/005da85f4df5d0575b4c97e55afa3509.jpg","text":"TemporaryFile(/tmp/multipartBody1390185074395353349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911793873,"filename":"image_26012025_18_15_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723816","file1":"1331723705","file0":"1331723694","file4":"1331723855","file5":"1331723861","file3":"1331723823"},"map_files_photo_id_array":[{"photo_id":"1331723861","filename":"file5"},{"photo_id":"1331723816","filename":"file2"},{"photo_id":"1331723855","filename":"file4"},{"photo_id":"1331723705","filename":"file1"},{"photo_id":"1331723694","filename":"file0"},{"photo_id":"1331723823","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723694":["hashtag1","hashtag2"]},{"1331723823":["hashtag1","hashtag2"]},{"1331723861":["hashtag1","hashtag2"]},{"1331723855":["hashtag1","hashtag2"]},{"1331723816":["hashtag1","hashtag2"]},{"1331723705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723694, 1331723823, 1331723861, 1331723855, 1331723816, 1331723705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55580234527588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:16:32.996427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_55_10339.jpg', '/home/pi/Desktop/images/26012025/18/15/image_26012025_18_16_05_9353.jpg', '/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_15_10343.jpg', '/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_35_9331.jpg', '/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_45_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_15_55_10339.jpg
/home/pi/Desktop/images/26012025/18/15/image_26012025_18_16_05_9353.jpg
/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_15_10343.jpg
/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_35_9331.jpg
/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_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":["1331723871","1331723876","1331723867","1331723896","1331723884"],"photo_ids_order":["1331723867","1331723871","1331723876","1331723884","1331723896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b30f6f7a0c5e49d358181f85da514b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6637532378973850239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911853912,"filename":"image_26012025_18_16_05_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/451e2cfcaa6f3ec2a63689ff8f8ca73e.jpg","text":"TemporaryFile(/tmp/multipartBody6296983912284072345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911853912,"filename":"image_26012025_18_16_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/26/50cf74bd903e4fcf14e596a2bd2b554c.jpg","text":"TemporaryFile(/tmp/multipartBody5637477479922687010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911853912,"filename":"image_26012025_18_15_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/26/a37d8e89a395aa5f0ac80d57e816510e.jpg","text":"TemporaryFile(/tmp/multipartBody1877541191769769079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911853912,"filename":"image_26012025_18_16_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/26/d56b5f2d09e4fe92eaf7b8e490f22bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4723151435349792250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911853912,"filename":"image_26012025_18_16_35_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723876","file1":"1331723871","file0":"1331723867","file4":"1331723896","file3":"1331723884"},"map_files_photo_id_array":[{"photo_id":"1331723876","filename":"file2"},{"photo_id":"1331723896","filename":"file4"},{"photo_id":"1331723871","filename":"file1"},{"photo_id":"1331723867","filename":"file0"},{"photo_id":"1331723884","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723871":["hashtag1","hashtag2"]},{"1331723876":["hashtag1","hashtag2"]},{"1331723867":["hashtag1","hashtag2"]},{"1331723896":["hashtag1","hashtag2"]},{"1331723884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723871, 1331723876, 1331723867, 1331723896, 1331723884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.37766909599304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:17:32.169052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_55_9509.jpg', '/home/pi/Desktop/images/26012025/18/16/image_26012025_18_17_05_10447.jpg', '/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_15_10347.jpg', '/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_25_9361.jpg', '/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_35_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/16/image_26012025_18_16_55_9509.jpg
/home/pi/Desktop/images/26012025/18/16/image_26012025_18_17_05_10447.jpg
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_15_10347.jpg
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_25_9361.jpg
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_35_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331723929","1331723934","1331723937","1331723925","1331723921"],"photo_ids_order":["1331723921","1331723925","1331723929","1331723934","1331723937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a516f5d95dcddb18f223a4ddc246869e.jpg","text":"TemporaryFile(/tmp/multipartBody8345328756474517200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911913077,"filename":"image_26012025_18_17_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/26/881867e325e69ac1108a54e5cd208ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8724746486140601964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911913077,"filename":"image_26012025_18_17_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/26/b0c21b9aa1679188be4fc3dfed2cb409.jpg","text":"TemporaryFile(/tmp/multipartBody1367826255698756696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911913077,"filename":"image_26012025_18_17_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/26/2219f418181bdd90f383714a796ce774.jpg","text":"TemporaryFile(/tmp/multipartBody1907761026826252112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911913077,"filename":"image_26012025_18_17_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/26/dd806740ba12cb7ec3673d263fbdf7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2798134600230183440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911913077,"filename":"image_26012025_18_16_55_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331723929","file1":"1331723925","file0":"1331723921","file4":"1331723937","file3":"1331723934"},"map_files_photo_id_array":[{"photo_id":"1331723929","filename":"file2"},{"photo_id":"1331723937","filename":"file4"},{"photo_id":"1331723925","filename":"file1"},{"photo_id":"1331723921","filename":"file0"},{"photo_id":"1331723934","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331723929":["hashtag1","hashtag2"]},{"1331723934":["hashtag1","hashtag2"]},{"1331723937":["hashtag1","hashtag2"]},{"1331723925":["hashtag1","hashtag2"]},{"1331723921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331723929, 1331723934, 1331723937, 1331723925, 1331723921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.498229026794434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:18:32.345560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_55_10369.jpg', '/home/pi/Desktop/images/26012025/18/17/image_26012025_18_18_05_10378.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_15_9351.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_25_10347.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_35_9516.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_55_10369.jpg
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_18_05_10378.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_15_9351.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_25_10347.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_35_9516.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_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.5544342994689941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:18:42.412043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_55_10369.jpg', '/home/pi/Desktop/images/26012025/18/17/image_26012025_18_18_05_10378.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_15_9351.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_25_10347.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_35_9516.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_17_55_10369.jpg
/home/pi/Desktop/images/26012025/18/17/image_26012025_18_18_05_10378.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_15_9351.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_25_10347.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_35_9516.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_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":["1331724860","1331724653","1331724853","1331724847","1331724856","1331724850"],"photo_ids_order":["1331724653","1331724847","1331724850","1331724853","1331724856","1331724860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb87ce29decfefd5ba96b582a9361459.jpg","text":"TemporaryFile(/tmp/multipartBody8533598918848446480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_18_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/26/60fada1c6a125e477af92ff37a6a1f94.jpg","text":"TemporaryFile(/tmp/multipartBody7764445396737754898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_17_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c63156314b6fdd9f197db701fb5bac28.jpg","text":"TemporaryFile(/tmp/multipartBody242779988716830708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_18_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/26/1e5562bffcb2eb91e2e0ffe948919a34.jpg","text":"TemporaryFile(/tmp/multipartBody3480027745637698916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_18_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/26/3ab658c21121c58c1b4343d499b40232.jpg","text":"TemporaryFile(/tmp/multipartBody1679282773680474191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_18_35_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/26/c033d15de8fa4f5ad9a8a300012f957d.jpg","text":"TemporaryFile(/tmp/multipartBody7007724551211721546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737911983338,"filename":"image_26012025_18_18_15_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331724850","file1":"1331724847","file0":"1331724653","file4":"1331724856","file5":"1331724860","file3":"1331724853"},"map_files_photo_id_array":[{"photo_id":"1331724860","filename":"file5"},{"photo_id":"1331724850","filename":"file2"},{"photo_id":"1331724856","filename":"file4"},{"photo_id":"1331724847","filename":"file1"},{"photo_id":"1331724653","filename":"file0"},{"photo_id":"1331724853","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331724860":["hashtag1","hashtag2"]},{"1331724653":["hashtag1","hashtag2"]},{"1331724853":["hashtag1","hashtag2"]},{"1331724847":["hashtag1","hashtag2"]},{"1331724856":["hashtag1","hashtag2"]},{"1331724850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331724860, 1331724653, 1331724853, 1331724847, 1331724856, 1331724850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30510377883911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:19:32.600723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_55_10351.jpg', '/home/pi/Desktop/images/26012025/18/18/image_26012025_18_19_05_9498.jpg', '/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_15_10364.jpg', '/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_25_10342.jpg', '/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_35_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_18_55_10351.jpg
/home/pi/Desktop/images/26012025/18/18/image_26012025_18_19_05_9498.jpg
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_15_10364.jpg
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_25_10342.jpg
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_35_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331724873","1331725850","1331725969","1331725095","1331725440"],"photo_ids_order":["1331724873","1331725095","1331725440","1331725850","1331725969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e52b799f2f32c8c3bffaa79a58dcacdb.jpg","text":"TemporaryFile(/tmp/multipartBody1514503938424155210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912033503,"filename":"image_26012025_18_18_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/26/a573b8a0e2f1ff83cf9a010e8a522981.jpg","text":"TemporaryFile(/tmp/multipartBody1338821892646158931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912033503,"filename":"image_26012025_18_19_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/26/d154bf74372784e58f573112482d3313.jpg","text":"TemporaryFile(/tmp/multipartBody16302048015619109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912033503,"filename":"image_26012025_18_19_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/26/066e59329d62aa1acdda9aafaa82d11a.jpg","text":"TemporaryFile(/tmp/multipartBody2932821857680626173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912033503,"filename":"image_26012025_18_19_05_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/26/cd9f4b90d9cab4f29aa312dc03d29491.jpg","text":"TemporaryFile(/tmp/multipartBody1895887411442152697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912033503,"filename":"image_26012025_18_19_15_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331725440","file1":"1331725095","file0":"1331724873","file4":"1331725969","file3":"1331725850"},"map_files_photo_id_array":[{"photo_id":"1331725440","filename":"file2"},{"photo_id":"1331725969","filename":"file4"},{"photo_id":"1331725095","filename":"file1"},{"photo_id":"1331724873","filename":"file0"},{"photo_id":"1331725850","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331724873":["hashtag1","hashtag2"]},{"1331725850":["hashtag1","hashtag2"]},{"1331725969":["hashtag1","hashtag2"]},{"1331725095":["hashtag1","hashtag2"]},{"1331725440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331724873, 1331725850, 1331725969, 1331725095, 1331725440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.81922459602356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:20:32.838971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_55_9354.jpg', '/home/pi/Desktop/images/26012025/18/19/image_26012025_18_20_05_10373.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_25_9471.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_35_10360.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_45_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_55_9354.jpg
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_20_05_10373.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_25_9471.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_35_10360.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_45_9407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5443117618560791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:20:42.752198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_55_9354.jpg', '/home/pi/Desktop/images/26012025/18/19/image_26012025_18_20_05_10373.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_25_9471.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_35_10360.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_45_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_19_55_9354.jpg
/home/pi/Desktop/images/26012025/18/19/image_26012025_18_20_05_10373.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_25_9471.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_35_10360.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_45_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":["1331726971","1331726600","1331727078","1331726820","1331726619"],"photo_ids_order":["1331726600","1331726619","1331726820","1331726971","1331727078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/016b6be3e660c590253cc4a144cfeafa.jpg","text":"TemporaryFile(/tmp/multipartBody872399183621480596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912103656,"filename":"image_26012025_18_20_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/26/cb3d131567af0b83c646601c6d33bf03.jpg","text":"TemporaryFile(/tmp/multipartBody6520171319343905058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912103656,"filename":"image_26012025_18_19_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/26/639db6f640d8c4c517cad114b91df6fe.jpg","text":"TemporaryFile(/tmp/multipartBody6985856179184193386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912103656,"filename":"image_26012025_18_20_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/26/1bf8b1533d0c5833e033399ad0c07ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7617992779095651022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912103656,"filename":"image_26012025_18_20_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/26/0c36e1624e4f30df510035569b0ddd63.jpg","text":"TemporaryFile(/tmp/multipartBody2684704469093167972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912103656,"filename":"image_26012025_18_20_05_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331726820","file1":"1331726619","file0":"1331726600","file4":"1331727078","file3":"1331726971"},"map_files_photo_id_array":[{"photo_id":"1331726820","filename":"file2"},{"photo_id":"1331727078","filename":"file4"},{"photo_id":"1331726619","filename":"file1"},{"photo_id":"1331726600","filename":"file0"},{"photo_id":"1331726971","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331726971":["hashtag1","hashtag2"]},{"1331726600":["hashtag1","hashtag2"]},{"1331727078":["hashtag1","hashtag2"]},{"1331726820":["hashtag1","hashtag2"]},{"1331726619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331726971, 1331726600, 1331727078, 1331726820, 1331726619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.19197964668274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:21:33.018613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_55_10462.jpg', '/home/pi/Desktop/images/26012025/18/20/image_26012025_18_21_05_10351.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_15_9447.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_25_10350.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_35_9411.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_45_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_20_55_10462.jpg
/home/pi/Desktop/images/26012025/18/20/image_26012025_18_21_05_10351.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_15_9447.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_25_10350.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_35_9411.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_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":["1331728033","1331727853","1331727969","1331728032","1331728034","1331728031"],"photo_ids_order":["1331727853","1331727969","1331728031","1331728032","1331728033","1331728034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7cc1c74dd99b50c18ccec4bed66cd7d3.jpg","text":"TemporaryFile(/tmp/multipartBody386300899105447918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_21_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa0a13816e6e87c1f4215a083c463662.jpg","text":"TemporaryFile(/tmp/multipartBody5012675391453136205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_20_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/26/8bd996fea32f7c853efaff330b20e015.jpg","text":"TemporaryFile(/tmp/multipartBody4251929845956090620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_21_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/26/fea3b39a849e75f1267c74a6de40a964.jpg","text":"TemporaryFile(/tmp/multipartBody7673316166452453922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_21_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/26/f5acededa35cff237c40113426f11d22.jpg","text":"TemporaryFile(/tmp/multipartBody6475234230840194892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_21_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/26/6aa74567cfa497183c781c52a8bb93f3.jpg","text":"TemporaryFile(/tmp/multipartBody5466128847973267363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912153936,"filename":"image_26012025_18_21_15_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331728031","file1":"1331727969","file0":"1331727853","file4":"1331728033","file5":"1331728034","file3":"1331728032"},"map_files_photo_id_array":[{"photo_id":"1331728034","filename":"file5"},{"photo_id":"1331728031","filename":"file2"},{"photo_id":"1331728033","filename":"file4"},{"photo_id":"1331727969","filename":"file1"},{"photo_id":"1331727853","filename":"file0"},{"photo_id":"1331728032","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331728033":["hashtag1","hashtag2"]},{"1331727853":["hashtag1","hashtag2"]},{"1331727969":["hashtag1","hashtag2"]},{"1331728032":["hashtag1","hashtag2"]},{"1331728034":["hashtag1","hashtag2"]},{"1331728031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331728033, 1331727853, 1331727969, 1331728032, 1331728034, 1331728031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15728306770325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:22:32.851663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_55_10363.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_22_05_9343.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_15_10350.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_24_9510.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_55_10363.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_22_05_9343.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_15_10350.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_24_9510.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_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.5769684314727783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:22:42.253411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_55_10363.jpg', '/home/pi/Desktop/images/26012025/18/21/image_26012025_18_22_05_9343.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_15_10350.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_24_9510.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_45_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_21_55_10363.jpg
/home/pi/Desktop/images/26012025/18/21/image_26012025_18_22_05_9343.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_15_10350.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_24_9510.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_45_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":["1331728069","1331728141","1331728074","1331728261","1331728063"],"photo_ids_order":["1331728063","1331728069","1331728074","1331728141","1331728261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc29f3a9a72e5eb6dc8c4d24aff5fc56.jpg","text":"TemporaryFile(/tmp/multipartBody6167165097847272620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912223157,"filename":"image_26012025_18_22_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/26/36b2f3b1f59bf820d96ebf9f2511ad29.jpg","text":"TemporaryFile(/tmp/multipartBody948958333082185751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912223157,"filename":"image_26012025_18_22_24_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/26/36d5b7af0f60ebb60b8d3c1145294b08.jpg","text":"TemporaryFile(/tmp/multipartBody4601681581397713682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912223157,"filename":"image_26012025_18_22_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/26/2014a0c07929f508567a368dcb25b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3053498867237497148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912223157,"filename":"image_26012025_18_22_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/26/97b5dbd2f6beb2aa5bb8ff9f578a61e3.jpg","text":"TemporaryFile(/tmp/multipartBody3401672279450506439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912223157,"filename":"image_26012025_18_21_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331728074","file1":"1331728069","file0":"1331728063","file4":"1331728261","file3":"1331728141"},"map_files_photo_id_array":[{"photo_id":"1331728074","filename":"file2"},{"photo_id":"1331728261","filename":"file4"},{"photo_id":"1331728069","filename":"file1"},{"photo_id":"1331728063","filename":"file0"},{"photo_id":"1331728141","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331728069":["hashtag1","hashtag2"]},{"1331728141":["hashtag1","hashtag2"]},{"1331728074":["hashtag1","hashtag2"]},{"1331728261":["hashtag1","hashtag2"]},{"1331728063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331728069, 1331728141, 1331728074, 1331728261, 1331728063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.05812096595764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:23:32.535428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_55_9377.jpg', '/home/pi/Desktop/images/26012025/18/22/image_26012025_18_23_05_10369.jpg', '/home/pi/Desktop/images/26012025/18/23/image_26012025_18_23_35_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_22_55_9377.jpg
/home/pi/Desktop/images/26012025/18/22/image_26012025_18_23_05_10369.jpg
/home/pi/Desktop/images/26012025/18/23/image_26012025_18_23_35_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":["1331728513","1331728509","1331728506"],"photo_ids_order":["1331728506","1331728509","1331728513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08792a6f7afe3e8f218f480a7574a4da.jpg","text":"TemporaryFile(/tmp/multipartBody3568029835061797307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912273406,"filename":"image_26012025_18_23_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/26/bb3821cf88acecdd56c8ec2fe300d7b6.jpg","text":"TemporaryFile(/tmp/multipartBody7807896327799306933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912273406,"filename":"image_26012025_18_23_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/26/0f6bcf440215a3ec6f814a7f16a3ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody2195797198938792831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912273406,"filename":"image_26012025_18_22_55_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331728513","file1":"1331728509","file0":"1331728506"},"map_files_photo_id_array":[{"photo_id":"1331728513","filename":"file2"},{"photo_id":"1331728509","filename":"file1"},{"photo_id":"1331728506","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331728513":["hashtag1","hashtag2"]},{"1331728509":["hashtag1","hashtag2"]},{"1331728506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331728513, 1331728509, 1331728506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.912519693374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:24:03.363550
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_56_10484.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_27_10380.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_36_9313.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_46_10443.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_57_10357.jpg', '/home/pi/Desktop/images/23012025/22/12/image_23012025_22_13_06_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/11/image_23012025_22_11_56_10484.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_27_10380.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_36_9313.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_46_10443.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_12_57_10357.jpg
/home/pi/Desktop/images/23012025/22/12/image_23012025_22_13_06_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331728698","1331728704","1331728688","1331728712","1331728709","1331728693"],"photo_ids_order":["1331728688","1331728693","1331728698","1331728704","1331728709","1331728712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a8575fd1e0f46fcc5dc246b001323fd.jpg","text":"TemporaryFile(/tmp/multipartBody4408401969842585249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_12_36_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6148bdb49f98db7954552703b005f3a0.jpg","text":"TemporaryFile(/tmp/multipartBody684102468160610584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_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/26/56f683851a812606fb3c603cab567317.jpg","text":"TemporaryFile(/tmp/multipartBody1442197852614374391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_11_56_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/26/70d111bb534bad9d330a631031f619e3.jpg","text":"TemporaryFile(/tmp/multipartBody7323442526922701200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_13_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59ad3379cdb41cd22cf3a202bb68b906.jpg","text":"TemporaryFile(/tmp/multipartBody4785880113117586764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_12_57_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82d7863aee55ba8480c67a1fe595b7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5733821692193109545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912304981,"filename":"image_23012025_22_12_27_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331728698","file1":"1331728693","file0":"1331728688","file4":"1331728709","file5":"1331728712","file3":"1331728704"},"map_files_photo_id_array":[{"photo_id":"1331728712","filename":"file5"},{"photo_id":"1331728698","filename":"file2"},{"photo_id":"1331728709","filename":"file4"},{"photo_id":"1331728693","filename":"file1"},{"photo_id":"1331728688","filename":"file0"},{"photo_id":"1331728704","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331728698":["hashtag1","hashtag2"]},{"1331728704":["hashtag1","hashtag2"]},{"1331728688":["hashtag1","hashtag2"]},{"1331728712":["hashtag1","hashtag2"]},{"1331728709":["hashtag1","hashtag2"]},{"1331728693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331728698, 1331728704, 1331728688, 1331728712, 1331728709, 1331728693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85302925109863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 18:24:52.690197
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_16_10348.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_27_10388.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_36_9439.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_47_10395.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_56_9433.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_14_06_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_16_10348.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_27_10388.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_36_9439.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_47_10395.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_56_9433.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_14_06_10356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9395971298217773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:25:04.296217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/23/image_26012025_18_23_45_9432.jpg', '/home/pi/Desktop/images/26012025/18/23/image_26012025_18_24_05_10351.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_15_9382.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_25_10354.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_35_10443.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_45_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/23/image_26012025_18_23_45_9432.jpg
/home/pi/Desktop/images/26012025/18/23/image_26012025_18_24_05_10351.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_15_9382.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_25_10354.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_35_10443.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_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":["1331728998","1331728971","1331729001","1331728989","1331728994","1331728984"],"photo_ids_order":["1331728971","1331728984","1331728989","1331728994","1331728998","1331729001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f19f016768072dd3af2e675766ad2f35.jpg","text":"TemporaryFile(/tmp/multipartBody8854858594242641079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_24_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/26/5e3ecd0d80c2a4e21b669f561a9f6d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3205801935234800455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_23_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/26/64046de853a58575ecb000c84d5a3e38.jpg","text":"TemporaryFile(/tmp/multipartBody1285441949089667924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_24_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/26/910d7ecf858f43367f9444b94573edb2.jpg","text":"TemporaryFile(/tmp/multipartBody6827180846339855844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_24_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/26/bd5a6b7a885c049022f8f2f3f3bb67d3.jpg","text":"TemporaryFile(/tmp/multipartBody4562618963460058784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_24_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/26/5a226564335390dc27ead76a6a3d9fdf.jpg","text":"TemporaryFile(/tmp/multipartBody6966542319287339230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912365522,"filename":"image_26012025_18_24_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331728989","file1":"1331728984","file0":"1331728971","file4":"1331728998","file5":"1331729001","file3":"1331728994"},"map_files_photo_id_array":[{"photo_id":"1331729001","filename":"file5"},{"photo_id":"1331728989","filename":"file2"},{"photo_id":"1331728998","filename":"file4"},{"photo_id":"1331728984","filename":"file1"},{"photo_id":"1331728971","filename":"file0"},{"photo_id":"1331728994","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331728998":["hashtag1","hashtag2"]},{"1331728971":["hashtag1","hashtag2"]},{"1331729001":["hashtag1","hashtag2"]},{"1331728989":["hashtag1","hashtag2"]},{"1331728994":["hashtag1","hashtag2"]},{"1331728984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331728998, 1331728971, 1331729001, 1331728989, 1331728994, 1331728984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.191577196121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 18:25:52.970433
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_16_10348.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_27_10388.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_36_9439.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_47_10395.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_56_9433.jpg', '/home/pi/Desktop/images/23012025/22/13/image_23012025_22_14_06_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_16_10348.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_27_10388.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_36_9439.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_47_10395.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_13_56_9433.jpg
/home/pi/Desktop/images/23012025/22/13/image_23012025_22_14_06_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":["1331729052","1331729049","1331729058","1331729060","1331729056","1331729065"],"photo_ids_order":["1331729049","1331729052","1331729056","1331729058","1331729060","1331729065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a48b20261718179d0a532c97eb9059c9.jpg","text":"TemporaryFile(/tmp/multipartBody6888933695756538007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_13_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/26/2f9d8a8192b1c9ffc72aa001193fe7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5242860204341334801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_13_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/26/fccde42fd4b87ef4d4d41481fc2ef9df.jpg","text":"TemporaryFile(/tmp/multipartBody8692704503188189465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_13_47_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/26/ea7272d916599fb88effebcefe57a99b.jpg","text":"TemporaryFile(/tmp/multipartBody2126997550465563381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_13_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b86aa59c8cf9ec4db5daef59c50e5176.jpg","text":"TemporaryFile(/tmp/multipartBody8410291972288071216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_13_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/260f613ff4dfc36696d6869ddddacfec.jpg","text":"TemporaryFile(/tmp/multipartBody9067072738098767188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912415240,"filename":"image_23012025_22_14_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729056","file1":"1331729052","file0":"1331729049","file4":"1331729060","file5":"1331729065","file3":"1331729058"},"map_files_photo_id_array":[{"photo_id":"1331729065","filename":"file5"},{"photo_id":"1331729056","filename":"file2"},{"photo_id":"1331729060","filename":"file4"},{"photo_id":"1331729052","filename":"file1"},{"photo_id":"1331729049","filename":"file0"},{"photo_id":"1331729058","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331729052":["hashtag1","hashtag2"]},{"1331729049":["hashtag1","hashtag2"]},{"1331729058":["hashtag1","hashtag2"]},{"1331729060":["hashtag1","hashtag2"]},{"1331729056":["hashtag1","hashtag2"]},{"1331729065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331729052, 1331729049, 1331729058, 1331729060, 1331729056, 1331729065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.140878200531006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:26:42.217964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_55_10363.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_25_05_9472.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_15_10335.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_25_10349.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_35_9337.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_45_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_55_10363.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_25_05_9472.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_15_10335.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_25_10349.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_35_9337.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_45_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.5367441177368164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 18:26:52.158039
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_17_10338.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_26_9441.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_36_10337.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_46_9341.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_56_10482.jpg', '/home/pi/Desktop/images/23012025/22/14/image_23012025_22_15_07_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_17_10338.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_26_9441.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_36_10337.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_46_9341.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_14_56_10482.jpg
/home/pi/Desktop/images/23012025/22/14/image_23012025_22_15_07_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":["1331729091","1331729088","1331729103","1331729106","1331729099","1331729095"],"photo_ids_order":["1331729088","1331729091","1331729095","1331729099","1331729103","1331729106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bdee559ad6308d0653b1360ad78a92f5.jpg","text":"TemporaryFile(/tmp/multipartBody8398396093253478529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_14_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/26/39815114e7780fdcd8aa42fd891ef229.jpg","text":"TemporaryFile(/tmp/multipartBody7018148508040319010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_14_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab2232b8d4445f7ae4c40408a904dd18.jpg","text":"TemporaryFile(/tmp/multipartBody6653756845626245073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_14_56_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/26/06bd537bfe7c96c29a68947087d17ff7.jpg","text":"TemporaryFile(/tmp/multipartBody9093784317935836107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_15_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/26/fc349c0e94f7d2133a57f310bbe4131c.jpg","text":"TemporaryFile(/tmp/multipartBody8526173410406025004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_14_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/26/d276e185a5709ea279ab05c077427321.jpg","text":"TemporaryFile(/tmp/multipartBody3409671435869359000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912474506,"filename":"image_23012025_22_14_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729095","file1":"1331729091","file0":"1331729088","file4":"1331729103","file5":"1331729106","file3":"1331729099"},"map_files_photo_id_array":[{"photo_id":"1331729106","filename":"file5"},{"photo_id":"1331729095","filename":"file2"},{"photo_id":"1331729103","filename":"file4"},{"photo_id":"1331729091","filename":"file1"},{"photo_id":"1331729088","filename":"file0"},{"photo_id":"1331729099","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331729091":["hashtag1","hashtag2"]},{"1331729088":["hashtag1","hashtag2"]},{"1331729103":["hashtag1","hashtag2"]},{"1331729106":["hashtag1","hashtag2"]},{"1331729099":["hashtag1","hashtag2"]},{"1331729095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331729091, 1331729088, 1331729103, 1331729106, 1331729099, 1331729095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.634278774261475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:27:42.499350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_55_10363.jpg', '/home/pi/Desktop/images/26012025/18/24/image_26012025_18_25_05_9472.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_15_10335.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_25_10349.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_35_9337.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_45_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_24_55_10363.jpg
/home/pi/Desktop/images/26012025/18/24/image_26012025_18_25_05_9472.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_15_10335.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_25_10349.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_35_9337.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_45_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":["1331729133","1331729121","1331729130","1331729124","1331729126","1331729117"],"photo_ids_order":["1331729117","1331729121","1331729124","1331729126","1331729130","1331729133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/850bff0d70d4fa4e3bb48889b4d919ab.jpg","text":"TemporaryFile(/tmp/multipartBody3774547539457452112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_25_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/26/97680bd31c26f078a6a25d75eaf7e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody3889901431196463740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_25_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/26/37360606539540f0f16e69e08e406b08.jpg","text":"TemporaryFile(/tmp/multipartBody429413472012760619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_25_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/26/f692cd747640deeadad32737c66570a1.jpg","text":"TemporaryFile(/tmp/multipartBody7482570071031665321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_25_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/26/d83a23fade22a3f85681960f37863913.jpg","text":"TemporaryFile(/tmp/multipartBody4680811455993037836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_25_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e1830a67f6c4354ab577f833d9dff3bc.jpg","text":"TemporaryFile(/tmp/multipartBody7999507317172913784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912523413,"filename":"image_26012025_18_24_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729124","file1":"1331729121","file0":"1331729117","file4":"1331729130","file5":"1331729133","file3":"1331729126"},"map_files_photo_id_array":[{"photo_id":"1331729133","filename":"file5"},{"photo_id":"1331729124","filename":"file2"},{"photo_id":"1331729130","filename":"file4"},{"photo_id":"1331729121","filename":"file1"},{"photo_id":"1331729117","filename":"file0"},{"photo_id":"1331729126","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729133":["hashtag1","hashtag2"]},{"1331729121":["hashtag1","hashtag2"]},{"1331729130":["hashtag1","hashtag2"]},{"1331729124":["hashtag1","hashtag2"]},{"1331729126":["hashtag1","hashtag2"]},{"1331729117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729133, 1331729121, 1331729130, 1331729124, 1331729126, 1331729117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74098014831543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:28:32.634222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_55_10386.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_26_05_9447.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_15_10357.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_25_9485.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_35_10350.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_55_10386.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_26_05_9447.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_15_10357.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_25_9485.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_35_10350.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_45_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5301661491394043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:28:42.634151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_55_10386.jpg', '/home/pi/Desktop/images/26012025/18/25/image_26012025_18_26_05_9447.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_15_10357.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_25_9485.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_35_10350.jpg', '/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_45_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_25_55_10386.jpg
/home/pi/Desktop/images/26012025/18/25/image_26012025_18_26_05_9447.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_15_10357.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_25_9485.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_35_10350.jpg
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_26_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":["1331729200","1331729210","1331729204","1331729213","1331729207","1331729218"],"photo_ids_order":["1331729200","1331729204","1331729207","1331729210","1331729213","1331729218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2890f4d04698f91ea129a76f27e63fab.jpg","text":"TemporaryFile(/tmp/multipartBody8244224851216901284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_25_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/26/768875273b1f3c5a258cc824c4d5756d.jpg","text":"TemporaryFile(/tmp/multipartBody8728057552289736606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_26_25_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/26/d68f9010b88952903f7eabd4c82bdf33.jpg","text":"TemporaryFile(/tmp/multipartBody2671192756201682194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_26_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/26/c67bf6a69500f47b82f1258299ee639a.jpg","text":"TemporaryFile(/tmp/multipartBody7522255964574542139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_26_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/26/f5d03e186f2eb93ddbba0b7a168606c4.jpg","text":"TemporaryFile(/tmp/multipartBody8319695651393205303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_26_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/26/2a9098f4051db99ad2da7a6669a07d94.jpg","text":"TemporaryFile(/tmp/multipartBody5891629973070647351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912583553,"filename":"image_26012025_18_26_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729207","file1":"1331729204","file0":"1331729200","file4":"1331729213","file5":"1331729218","file3":"1331729210"},"map_files_photo_id_array":[{"photo_id":"1331729218","filename":"file5"},{"photo_id":"1331729207","filename":"file2"},{"photo_id":"1331729213","filename":"file4"},{"photo_id":"1331729204","filename":"file1"},{"photo_id":"1331729200","filename":"file0"},{"photo_id":"1331729210","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729200":["hashtag1","hashtag2"]},{"1331729210":["hashtag1","hashtag2"]},{"1331729204":["hashtag1","hashtag2"]},{"1331729213":["hashtag1","hashtag2"]},{"1331729207":["hashtag1","hashtag2"]},{"1331729218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729200, 1331729210, 1331729204, 1331729213, 1331729207, 1331729218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04291081428528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:29:32.856761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/26/image_26012025_18_27_05_10336.jpg', '/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_15_9473.jpg', '/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_25_10370.jpg', '/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_35_10352.jpg', '/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_55_10338.jpg', '/home/pi/Desktop/images/26012025/18/27/image_26012025_18_28_05_10386.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/26/image_26012025_18_27_05_10336.jpg
/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_15_9473.jpg
/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_25_10370.jpg
/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_35_10352.jpg
/home/pi/Desktop/images/26012025/18/27/image_26012025_18_27_55_10338.jpg
/home/pi/Desktop/images/26012025/18/27/image_26012025_18_28_05_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331729241","1331729237","1331729252","1331729234","1331729248","1331729245"],"photo_ids_order":["1331729234","1331729237","1331729241","1331729245","1331729248","1331729252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3ef8066eb216f57f1e9f557ad618cde.jpg","text":"TemporaryFile(/tmp/multipartBody3506658647131321505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_27_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/26/ab3f05b12031a3a4e39baf7b87252972.jpg","text":"TemporaryFile(/tmp/multipartBody6730347131105638800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_27_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/26/f7f4d07c505e67d2d0f00ed404457b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5911850557882506624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_28_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/26/d9a88e5fda05386e7ced917bd0e1afe3.jpg","text":"TemporaryFile(/tmp/multipartBody6411426143533878893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_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/26/5637bf1ba48dd76210dad7ab27cdc7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7768741597343608953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_27_55_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8d5c1c10297bd0f4aae7515c2fce1b57.jpg","text":"TemporaryFile(/tmp/multipartBody6850264203058994481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912633783,"filename":"image_26012025_18_27_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729241","file1":"1331729237","file0":"1331729234","file4":"1331729248","file5":"1331729252","file3":"1331729245"},"map_files_photo_id_array":[{"photo_id":"1331729252","filename":"file5"},{"photo_id":"1331729241","filename":"file2"},{"photo_id":"1331729248","filename":"file4"},{"photo_id":"1331729237","filename":"file1"},{"photo_id":"1331729234","filename":"file0"},{"photo_id":"1331729245","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729241":["hashtag1","hashtag2"]},{"1331729237":["hashtag1","hashtag2"]},{"1331729252":["hashtag1","hashtag2"]},{"1331729234":["hashtag1","hashtag2"]},{"1331729248":["hashtag1","hashtag2"]},{"1331729245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729241, 1331729237, 1331729252, 1331729234, 1331729248, 1331729245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18460822105408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:30:33.113415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_15_9408.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_25_10398.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_35_9390.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_45_10339.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_55_10357.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_29_05_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_15_9408.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_25_10398.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_35_9390.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_45_10339.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_55_10357.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_29_05_9380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5460591316223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:30:43.090915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_15_9408.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_25_10398.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_35_9390.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_45_10339.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_55_10357.jpg', '/home/pi/Desktop/images/26012025/18/28/image_26012025_18_29_05_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_15_9408.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_25_10398.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_35_9390.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_45_10339.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_28_55_10357.jpg
/home/pi/Desktop/images/26012025/18/28/image_26012025_18_29_05_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331729425","1331729481","1331729445","1331729477","1331729383","1331729473"],"photo_ids_order":["1331729383","1331729425","1331729445","1331729473","1331729477","1331729481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64c2d9e702f454470cf93552513ab491.jpg","text":"TemporaryFile(/tmp/multipartBody5205031362394346502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_28_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/26/39e155b5152d51f025b160e40dd7c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4308094275393858250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_29_05_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/26/2a9fba892e4c6b9adc73db2e6d017e47.jpg","text":"TemporaryFile(/tmp/multipartBody6274950278724095244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_28_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a47aed5764b82586706fd35d4c8b617c.jpg","text":"TemporaryFile(/tmp/multipartBody4624862663235385862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_28_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/26/f3c342ad1bad925a7d95aa08b32c3ba2.jpg","text":"TemporaryFile(/tmp/multipartBody6163964174967379405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_28_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8edbdad69238c98c07313ab1f6b7d086.jpg","text":"TemporaryFile(/tmp/multipartBody1743800413386222989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912704005,"filename":"image_26012025_18_28_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729445","file1":"1331729425","file0":"1331729383","file4":"1331729477","file5":"1331729481","file3":"1331729473"},"map_files_photo_id_array":[{"photo_id":"1331729481","filename":"file5"},{"photo_id":"1331729445","filename":"file2"},{"photo_id":"1331729477","filename":"file4"},{"photo_id":"1331729425","filename":"file1"},{"photo_id":"1331729383","filename":"file0"},{"photo_id":"1331729473","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729425":["hashtag1","hashtag2"]},{"1331729481":["hashtag1","hashtag2"]},{"1331729445":["hashtag1","hashtag2"]},{"1331729477":["hashtag1","hashtag2"]},{"1331729383":["hashtag1","hashtag2"]},{"1331729473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729425, 1331729481, 1331729445, 1331729477, 1331729383, 1331729473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72558045387268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:31:32.353582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_15_10346.jpg', '/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_25_9530.jpg', '/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_35_10338.jpg', '/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_45_10366.jpg', '/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_55_9475.jpg', '/home/pi/Desktop/images/26012025/18/29/image_26012025_18_30_05_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_15_10346.jpg
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_25_9530.jpg
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_35_10338.jpg
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_45_10366.jpg
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_29_55_9475.jpg
/home/pi/Desktop/images/26012025/18/29/image_26012025_18_30_05_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":["1331729541","1331729544","1331729547","1331729510","1331729507","1331729551"],"photo_ids_order":["1331729507","1331729510","1331729541","1331729544","1331729547","1331729551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42d2237bfb55ccae88429771a5f59bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6422929370685367648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_29_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/26/16c1dbf1b434586dc14e0d4cc9eac0d4.jpg","text":"TemporaryFile(/tmp/multipartBody965474687125921209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_29_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/26/01b7a3c6a644796e4248fe19cf9a9b93.jpg","text":"TemporaryFile(/tmp/multipartBody2432718763702466309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_29_55_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/26/5198bed88eb1217733249a50faf3e578.jpg","text":"TemporaryFile(/tmp/multipartBody6631392129442075463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_29_25_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bc43759bb4f24a3b647414b7b821fb65.jpg","text":"TemporaryFile(/tmp/multipartBody79164065380662833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_29_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/26/e79c8753580a29412de8a8a34034dcce.jpg","text":"TemporaryFile(/tmp/multipartBody8874712125351739850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912753285,"filename":"image_26012025_18_30_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729541","file1":"1331729510","file0":"1331729507","file4":"1331729547","file5":"1331729551","file3":"1331729544"},"map_files_photo_id_array":[{"photo_id":"1331729551","filename":"file5"},{"photo_id":"1331729541","filename":"file2"},{"photo_id":"1331729547","filename":"file4"},{"photo_id":"1331729510","filename":"file1"},{"photo_id":"1331729507","filename":"file0"},{"photo_id":"1331729544","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729541":["hashtag1","hashtag2"]},{"1331729544":["hashtag1","hashtag2"]},{"1331729547":["hashtag1","hashtag2"]},{"1331729510":["hashtag1","hashtag2"]},{"1331729507":["hashtag1","hashtag2"]},{"1331729551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729541, 1331729544, 1331729547, 1331729510, 1331729507, 1331729551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.3861198425293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:32:32.730782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_15_9420.jpg', '/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_25_10424.jpg', '/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_35_10380.jpg', '/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_45_9407.jpg', '/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_55_10353.jpg', '/home/pi/Desktop/images/26012025/18/30/image_26012025_18_31_05_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_15_9420.jpg
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_25_10424.jpg
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_35_10380.jpg
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_45_9407.jpg
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_30_55_10353.jpg
/home/pi/Desktop/images/26012025/18/30/image_26012025_18_31_05_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331729571","1331729583","1331729579","1331729587","1331729575","1331729566"],"photo_ids_order":["1331729566","1331729571","1331729575","1331729579","1331729583","1331729587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e63bcf1a0999abe40b34be6709504424.jpg","text":"TemporaryFile(/tmp/multipartBody1376397019851105029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_30_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/26/10c61d5900b8fa4853e34944f2c3b919.jpg","text":"TemporaryFile(/tmp/multipartBody3206962023029927760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_30_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f069014f765aec6d4a32df6a8e68ba79.jpg","text":"TemporaryFile(/tmp/multipartBody8237970208398949362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_30_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/26/a319bd5b128c2504073c6c84845a4ee5.jpg","text":"TemporaryFile(/tmp/multipartBody778706549315131556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_31_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3fb8962c12229baeeea57bd4d5cb4fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5588972037563063482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_30_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/26/c466b055163a1ffb7e289db24cf3a2df.jpg","text":"TemporaryFile(/tmp/multipartBody4764520164182081950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912813650,"filename":"image_26012025_18_30_15_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729575","file1":"1331729571","file0":"1331729566","file4":"1331729583","file5":"1331729587","file3":"1331729579"},"map_files_photo_id_array":[{"photo_id":"1331729587","filename":"file5"},{"photo_id":"1331729575","filename":"file2"},{"photo_id":"1331729583","filename":"file4"},{"photo_id":"1331729571","filename":"file1"},{"photo_id":"1331729566","filename":"file0"},{"photo_id":"1331729579","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729571":["hashtag1","hashtag2"]},{"1331729583":["hashtag1","hashtag2"]},{"1331729579":["hashtag1","hashtag2"]},{"1331729587":["hashtag1","hashtag2"]},{"1331729575":["hashtag1","hashtag2"]},{"1331729566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729571, 1331729583, 1331729579, 1331729587, 1331729575, 1331729566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35811185836792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:33:32.836788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/31/image_26012025_18_31_15_9328.jpg', '/home/pi/Desktop/images/26012025/18/31/image_26012025_18_31_55_10359.jpg', '/home/pi/Desktop/images/26012025/18/31/image_26012025_18_32_05_9451.jpg', '/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_15_10335.jpg', '/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_25_10358.jpg', '/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_35_9413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/31/image_26012025_18_31_15_9328.jpg
/home/pi/Desktop/images/26012025/18/31/image_26012025_18_31_55_10359.jpg
/home/pi/Desktop/images/26012025/18/31/image_26012025_18_32_05_9451.jpg
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_15_10335.jpg
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_25_10358.jpg
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_35_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331729602","1331729844","1331729613","1331729609","1331729600","1331729606"],"photo_ids_order":["1331729600","1331729602","1331729606","1331729609","1331729613","1331729844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/993470e9e81390583e6347123274fc5a.jpg","text":"TemporaryFile(/tmp/multipartBody2637696757179400054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_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/26/4fb3fe61a6a28bf31f21bc3f289ac206.jpg","text":"TemporaryFile(/tmp/multipartBody7012873827110405093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_32_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1bbd7e62d7d62e9960c6ef294a5f6ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4589597685890150016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_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/26/f5a04c93f4fb721515832f9b17702e23.jpg","text":"TemporaryFile(/tmp/multipartBody793081231576479965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_32_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f76c6d2defa04aff540122d306c6e301.jpg","text":"TemporaryFile(/tmp/multipartBody5049068416994644011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_31_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/26/0ee099aa6d7c551f003ba48dc8d9f20e.jpg","text":"TemporaryFile(/tmp/multipartBody1647550240775499880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912873758,"filename":"image_26012025_18_32_05_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331729606","file1":"1331729602","file0":"1331729600","file4":"1331729613","file5":"1331729844","file3":"1331729609"},"map_files_photo_id_array":[{"photo_id":"1331729844","filename":"file5"},{"photo_id":"1331729606","filename":"file2"},{"photo_id":"1331729613","filename":"file4"},{"photo_id":"1331729602","filename":"file1"},{"photo_id":"1331729600","filename":"file0"},{"photo_id":"1331729609","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331729602":["hashtag1","hashtag2"]},{"1331729844":["hashtag1","hashtag2"]},{"1331729613":["hashtag1","hashtag2"]},{"1331729609":["hashtag1","hashtag2"]},{"1331729600":["hashtag1","hashtag2"]},{"1331729606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331729602, 1331729844, 1331729613, 1331729609, 1331729600, 1331729606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.88995957374573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:34:33.000603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_45_10354.jpg', '/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_55_9475.jpg', '/home/pi/Desktop/images/26012025/18/32/image_26012025_18_33_05_10354.jpg', '/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_15_10342.jpg', '/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_25_9455.jpg', '/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_35_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_45_10354.jpg
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_32_55_9475.jpg
/home/pi/Desktop/images/26012025/18/32/image_26012025_18_33_05_10354.jpg
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_15_10342.jpg
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_25_9455.jpg
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_35_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331730565","1331730564","1331730517","1331730552","1331730561","1331730557"],"photo_ids_order":["1331730517","1331730552","1331730557","1331730561","1331730564","1331730565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d1f24c0ecee301f4b6b0490a1982abc9.jpg","text":"TemporaryFile(/tmp/multipartBody7030609712033043363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_33_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/26/2d6e7db496d6fa2c482c0d8d2bf0987f.jpg","text":"TemporaryFile(/tmp/multipartBody4221368525095707215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_33_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a592821590d4b130649ab478374bbc66.jpg","text":"TemporaryFile(/tmp/multipartBody3517287718802855402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_32_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/26/7121e3a233337ccea1d6780967d968f6.jpg","text":"TemporaryFile(/tmp/multipartBody2659195359487244889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_32_55_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/26/0ce128bb6baa96d628374ade9962172c.jpg","text":"TemporaryFile(/tmp/multipartBody2507018565383229761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_33_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/26/55bb10d0771d88a4968de1e948617f8c.jpg","text":"TemporaryFile(/tmp/multipartBody9010218511315003796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912933939,"filename":"image_26012025_18_33_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331730557","file1":"1331730552","file0":"1331730517","file4":"1331730564","file5":"1331730565","file3":"1331730561"},"map_files_photo_id_array":[{"photo_id":"1331730565","filename":"file5"},{"photo_id":"1331730557","filename":"file2"},{"photo_id":"1331730564","filename":"file4"},{"photo_id":"1331730552","filename":"file1"},{"photo_id":"1331730517","filename":"file0"},{"photo_id":"1331730561","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331730565":["hashtag1","hashtag2"]},{"1331730564":["hashtag1","hashtag2"]},{"1331730517":["hashtag1","hashtag2"]},{"1331730552":["hashtag1","hashtag2"]},{"1331730561":["hashtag1","hashtag2"]},{"1331730557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331730565, 1331730564, 1331730517, 1331730552, 1331730561, 1331730557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.304908752441406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:35:32.257302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_45_9353.jpg', '/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_55_10377.jpg', '/home/pi/Desktop/images/26012025/18/33/image_26012025_18_34_05_10415.jpg', '/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_15_9423.jpg', '/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_25_10459.jpg', '/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_35_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_45_9353.jpg
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_33_55_10377.jpg
/home/pi/Desktop/images/26012025/18/33/image_26012025_18_34_05_10415.jpg
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_15_9423.jpg
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_25_10459.jpg
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_35_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":["1331730894","1331731059","1331730954","1331731055","1331730995","1331730989"],"photo_ids_order":["1331730894","1331730954","1331730989","1331730995","1331731055","1331731059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bd293eee010c61154e63ac2fd0c5e13.jpg","text":"TemporaryFile(/tmp/multipartBody4365394407369562159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_33_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/26/23cc8c625b1e36a990830f6072022306.jpg","text":"TemporaryFile(/tmp/multipartBody5637503854529652243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_34_35_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/030eb5a6fcdc2d692231187408a6061c.jpg","text":"TemporaryFile(/tmp/multipartBody44386772090816951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_33_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/26/291ad589ad2341023fc938b9d8105efe.jpg","text":"TemporaryFile(/tmp/multipartBody5090015895855912123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_34_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/26/f0f4d91df9aea8d3aaec77df9952e9ab.jpg","text":"TemporaryFile(/tmp/multipartBody1384081638797909029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_34_15_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/26/1ffbe34ff79f7d20ec4f92bf43305742.jpg","text":"TemporaryFile(/tmp/multipartBody297058504674609310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737912993228,"filename":"image_26012025_18_34_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331730989","file1":"1331730954","file0":"1331730894","file4":"1331731055","file5":"1331731059","file3":"1331730995"},"map_files_photo_id_array":[{"photo_id":"1331731059","filename":"file5"},{"photo_id":"1331730989","filename":"file2"},{"photo_id":"1331731055","filename":"file4"},{"photo_id":"1331730954","filename":"file1"},{"photo_id":"1331730894","filename":"file0"},{"photo_id":"1331730995","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331730894":["hashtag1","hashtag2"]},{"1331731059":["hashtag1","hashtag2"]},{"1331730954":["hashtag1","hashtag2"]},{"1331731055":["hashtag1","hashtag2"]},{"1331730995":["hashtag1","hashtag2"]},{"1331730989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331730894, 1331731059, 1331730954, 1331731055, 1331730995, 1331730989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86992430686951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:36:32.434984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_45_10335.jpg', '/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_55_10374.jpg', '/home/pi/Desktop/images/26012025/18/34/image_26012025_18_35_05_9322.jpg', '/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_15_10356.jpg', '/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_25_10342.jpg', '/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_35_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_45_10335.jpg
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_34_55_10374.jpg
/home/pi/Desktop/images/26012025/18/34/image_26012025_18_35_05_9322.jpg
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_15_10356.jpg
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_25_10342.jpg
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_35_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":["1331731086","1331731095","1331731091","1331731094","1331731076","1331731081"],"photo_ids_order":["1331731076","1331731081","1331731086","1331731091","1331731094","1331731095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0bdfdfbadcc3d161779b41d64481b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2346378897012435008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_35_05_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a05d23dd99f162846a5ed9400955fde.jpg","text":"TemporaryFile(/tmp/multipartBody8757719315239583942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_35_35_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/67d98bc7843d64f0c274fdff3a08b593.jpg","text":"TemporaryFile(/tmp/multipartBody1899840990671232215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_35_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/26/a8889b1195393c5e6ce419c29814fcde.jpg","text":"TemporaryFile(/tmp/multipartBody8472384911767441529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_35_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/26/83a492c17780ca10e6d25ca217663b12.jpg","text":"TemporaryFile(/tmp/multipartBody4760740537999685312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_34_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e52cf86af765b5e2664b9df8e72b83b1.jpg","text":"TemporaryFile(/tmp/multipartBody8298637615909817635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913053368,"filename":"image_26012025_18_34_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731086","file1":"1331731081","file0":"1331731076","file4":"1331731094","file5":"1331731095","file3":"1331731091"},"map_files_photo_id_array":[{"photo_id":"1331731095","filename":"file5"},{"photo_id":"1331731086","filename":"file2"},{"photo_id":"1331731094","filename":"file4"},{"photo_id":"1331731081","filename":"file1"},{"photo_id":"1331731076","filename":"file0"},{"photo_id":"1331731091","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731086":["hashtag1","hashtag2"]},{"1331731095":["hashtag1","hashtag2"]},{"1331731091":["hashtag1","hashtag2"]},{"1331731094":["hashtag1","hashtag2"]},{"1331731076":["hashtag1","hashtag2"]},{"1331731081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731086, 1331731095, 1331731091, 1331731094, 1331731076, 1331731081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63986158370972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:37:32.646013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_45_10379.jpg', '/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_55_9364.jpg', '/home/pi/Desktop/images/26012025/18/35/image_26012025_18_36_05_10336.jpg', '/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_15_10410.jpg', '/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_25_9363.jpg', '/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_35_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_45_10379.jpg
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_35_55_9364.jpg
/home/pi/Desktop/images/26012025/18/35/image_26012025_18_36_05_10336.jpg
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_15_10410.jpg
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_25_9363.jpg
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_35_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331731167","1331731170","1331731158","1331731125","1331731163","1331731121"],"photo_ids_order":["1331731121","1331731125","1331731158","1331731163","1331731167","1331731170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/90a23236637cf332beb33417b428368d.jpg","text":"TemporaryFile(/tmp/multipartBody6507907678095304684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_36_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/26/c1083d306949c23950cd6b787039dc06.jpg","text":"TemporaryFile(/tmp/multipartBody3258862117303709620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_36_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/26/aa9a34e68ea14ba214224028883ff7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8236643737605112564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_36_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/26/66af56d3f2f5dc933d5402457a28d66c.jpg","text":"TemporaryFile(/tmp/multipartBody2616312155641990237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_35_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5c4f44cf023adc8a63b346db6d3138e.jpg","text":"TemporaryFile(/tmp/multipartBody2991236279656096630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_36_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/26/25548af1b9a5d250e4465f7a6dc02432.jpg","text":"TemporaryFile(/tmp/multipartBody7494417576931621326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913113566,"filename":"image_26012025_18_35_45_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731158","file1":"1331731125","file0":"1331731121","file4":"1331731167","file5":"1331731170","file3":"1331731163"},"map_files_photo_id_array":[{"photo_id":"1331731170","filename":"file5"},{"photo_id":"1331731158","filename":"file2"},{"photo_id":"1331731167","filename":"file4"},{"photo_id":"1331731125","filename":"file1"},{"photo_id":"1331731121","filename":"file0"},{"photo_id":"1331731163","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731167":["hashtag1","hashtag2"]},{"1331731170":["hashtag1","hashtag2"]},{"1331731158":["hashtag1","hashtag2"]},{"1331731125":["hashtag1","hashtag2"]},{"1331731163":["hashtag1","hashtag2"]},{"1331731121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731167, 1331731170, 1331731158, 1331731125, 1331731163, 1331731121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08735990524292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:38:32.858267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_45_10363.jpg', '/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_55_9471.jpg', '/home/pi/Desktop/images/26012025/18/36/image_26012025_18_37_05_10353.jpg', '/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_15_9434.jpg', '/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_25_10343.jpg', '/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_35_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_45_10363.jpg
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_36_55_9471.jpg
/home/pi/Desktop/images/26012025/18/36/image_26012025_18_37_05_10353.jpg
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_15_9434.jpg
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_25_10343.jpg
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_35_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":["1331731190","1331731184","1331731192","1331731195","1331731198","1331731186"],"photo_ids_order":["1331731184","1331731186","1331731190","1331731192","1331731195","1331731198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d40400083a00fbe161d9750f5294311.jpg","text":"TemporaryFile(/tmp/multipartBody4238275834280695902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_37_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/26/b8e030adb40367dd4736b0b0f514da7e.jpg","text":"TemporaryFile(/tmp/multipartBody7566878464079237723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_36_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/26/ae34ea096b57582b822a67b972c3837a.jpg","text":"TemporaryFile(/tmp/multipartBody1436097790855464168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_37_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/26/a8a765b439b02ccca9788fda2530762a.jpg","text":"TemporaryFile(/tmp/multipartBody8482016356721474340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_37_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/26/29664c9ccaaea6a7cf852cba017decf8.jpg","text":"TemporaryFile(/tmp/multipartBody7980737573018152682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_37_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5857097b37ca07d5e29549cacb264d1.jpg","text":"TemporaryFile(/tmp/multipartBody5286566310800054918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913173774,"filename":"image_26012025_18_36_55_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731190","file1":"1331731186","file0":"1331731184","file4":"1331731195","file5":"1331731198","file3":"1331731192"},"map_files_photo_id_array":[{"photo_id":"1331731198","filename":"file5"},{"photo_id":"1331731190","filename":"file2"},{"photo_id":"1331731195","filename":"file4"},{"photo_id":"1331731186","filename":"file1"},{"photo_id":"1331731184","filename":"file0"},{"photo_id":"1331731192","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731190":["hashtag1","hashtag2"]},{"1331731184":["hashtag1","hashtag2"]},{"1331731192":["hashtag1","hashtag2"]},{"1331731195":["hashtag1","hashtag2"]},{"1331731198":["hashtag1","hashtag2"]},{"1331731186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731190, 1331731184, 1331731192, 1331731195, 1331731198, 1331731186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.42597436904907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:39:32.167637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_45_9473.jpg', '/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_55_10473.jpg', '/home/pi/Desktop/images/26012025/18/37/image_26012025_18_38_05_9380.jpg', '/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_15_10354.jpg', '/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_25_10358.jpg', '/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_35_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_45_9473.jpg
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_37_55_10473.jpg
/home/pi/Desktop/images/26012025/18/37/image_26012025_18_38_05_9380.jpg
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_15_10354.jpg
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_25_10358.jpg
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_35_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331731204","1331731215","1331731218","1331731211","1331731219","1331731207"],"photo_ids_order":["1331731204","1331731207","1331731211","1331731215","1331731218","1331731219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b6ddb256fc918e127cf7d9cd10f3ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3975206038001294131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_37_45_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8fe9d3721213eee2c1297f0381986bed.jpg","text":"TemporaryFile(/tmp/multipartBody5059326699593632109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_38_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/26/c17bc1a6bd699317f407fd96956a6ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3192284131535690042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_38_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f463728aaf64899d495a28b6566242e6.jpg","text":"TemporaryFile(/tmp/multipartBody1016162999922501082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_38_05_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/26/064f8feab1890daf625bd38e2eb917d6.jpg","text":"TemporaryFile(/tmp/multipartBody6812054115513515189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_38_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/26/3d39bf7cc51c6e6331bb1cbe886aec9f.jpg","text":"TemporaryFile(/tmp/multipartBody8994083709486797735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913233096,"filename":"image_26012025_18_37_55_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731211","file1":"1331731207","file0":"1331731204","file4":"1331731218","file5":"1331731219","file3":"1331731215"},"map_files_photo_id_array":[{"photo_id":"1331731219","filename":"file5"},{"photo_id":"1331731211","filename":"file2"},{"photo_id":"1331731218","filename":"file4"},{"photo_id":"1331731207","filename":"file1"},{"photo_id":"1331731204","filename":"file0"},{"photo_id":"1331731215","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731204":["hashtag1","hashtag2"]},{"1331731215":["hashtag1","hashtag2"]},{"1331731218":["hashtag1","hashtag2"]},{"1331731211":["hashtag1","hashtag2"]},{"1331731219":["hashtag1","hashtag2"]},{"1331731207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731204, 1331731215, 1331731218, 1331731211, 1331731219, 1331731207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.715078592300415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:40:32.448863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_45_10364.jpg', '/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_55_10353.jpg', '/home/pi/Desktop/images/26012025/18/38/image_26012025_18_39_05_9425.jpg', '/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_15_10369.jpg', '/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_25_9469.jpg', '/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_45_10364.jpg
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_38_55_10353.jpg
/home/pi/Desktop/images/26012025/18/38/image_26012025_18_39_05_9425.jpg
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_15_10369.jpg
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_25_9469.jpg
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331731254","1331731430","1331731352","1331731480","1331731426","1331731249"],"photo_ids_order":["1331731249","1331731254","1331731352","1331731426","1331731430","1331731480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ded1274ca09e8480fe40fb7f588f3649.jpg","text":"TemporaryFile(/tmp/multipartBody408982061218380986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_38_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/26/e8cf563f39fa1cf966541e2c0c847e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6445499781778800565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_39_25_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2107386ee756f6c74b5386200ea22abc.jpg","text":"TemporaryFile(/tmp/multipartBody181040590133983306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_39_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/26/1c7168d0946866153ca4de1aa92d22d0.jpg","text":"TemporaryFile(/tmp/multipartBody2172730636089414024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_39_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/26/d17abda91ff8da9d1975b5b668d34873.jpg","text":"TemporaryFile(/tmp/multipartBody7296603380196873670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_39_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/26/491b6ba2980ba7d0db36d7dc4fa21577.jpg","text":"TemporaryFile(/tmp/multipartBody6607154409693937643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913293371,"filename":"image_26012025_18_38_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731352","file1":"1331731254","file0":"1331731249","file4":"1331731430","file5":"1331731480","file3":"1331731426"},"map_files_photo_id_array":[{"photo_id":"1331731480","filename":"file5"},{"photo_id":"1331731352","filename":"file2"},{"photo_id":"1331731430","filename":"file4"},{"photo_id":"1331731254","filename":"file1"},{"photo_id":"1331731249","filename":"file0"},{"photo_id":"1331731426","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731254":["hashtag1","hashtag2"]},{"1331731430":["hashtag1","hashtag2"]},{"1331731352":["hashtag1","hashtag2"]},{"1331731480":["hashtag1","hashtag2"]},{"1331731426":["hashtag1","hashtag2"]},{"1331731249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731254, 1331731430, 1331731352, 1331731480, 1331731426, 1331731249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54483199119568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:41:32.663528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_45_10348.jpg', '/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_55_9440.jpg', '/home/pi/Desktop/images/26012025/18/39/image_26012025_18_40_05_10340.jpg', '/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_15_9422.jpg', '/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_25_10357.jpg', '/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_35_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_45_10348.jpg
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_39_55_9440.jpg
/home/pi/Desktop/images/26012025/18/39/image_26012025_18_40_05_10340.jpg
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_15_9422.jpg
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_25_10357.jpg
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_35_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":["1331731581","1331731578","1331731571","1331731574","1331731583","1331731576"],"photo_ids_order":["1331731571","1331731574","1331731576","1331731578","1331731581","1331731583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/52fca622586fcd7265110e1ec511e112.jpg","text":"TemporaryFile(/tmp/multipartBody6615772892567535474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_40_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/26/fa2f9525b499ff0c8780dca7a0e11d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2898499649947810729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_40_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/26/6b893dd83d5e8848ce8d9d6f5f8deedb.jpg","text":"TemporaryFile(/tmp/multipartBody7062699844856899823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_39_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/26/15afd502c7bd75324a13e4fa9491a442.jpg","text":"TemporaryFile(/tmp/multipartBody8621639102714769181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_39_55_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96981109ede64390a908b058b8de1d3e.jpg","text":"TemporaryFile(/tmp/multipartBody6313583195335173090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_40_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/26/6a1337d591fb481dc3c715fff1cdca94.jpg","text":"TemporaryFile(/tmp/multipartBody9037813135587433544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913353634,"filename":"image_26012025_18_40_05_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731576","file1":"1331731574","file0":"1331731571","file4":"1331731581","file5":"1331731583","file3":"1331731578"},"map_files_photo_id_array":[{"photo_id":"1331731583","filename":"file5"},{"photo_id":"1331731576","filename":"file2"},{"photo_id":"1331731581","filename":"file4"},{"photo_id":"1331731574","filename":"file1"},{"photo_id":"1331731571","filename":"file0"},{"photo_id":"1331731578","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731581":["hashtag1","hashtag2"]},{"1331731578":["hashtag1","hashtag2"]},{"1331731571":["hashtag1","hashtag2"]},{"1331731574":["hashtag1","hashtag2"]},{"1331731583":["hashtag1","hashtag2"]},{"1331731576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731581, 1331731578, 1331731571, 1331731574, 1331731583, 1331731576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90476179122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:42:32.982687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_45_9435.jpg', '/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_55_10388.jpg', '/home/pi/Desktop/images/26012025/18/40/image_26012025_18_41_05_9429.jpg', '/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_15_10406.jpg', '/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_25_10355.jpg', '/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_35_9329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_45_9435.jpg
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_40_55_10388.jpg
/home/pi/Desktop/images/26012025/18/40/image_26012025_18_41_05_9429.jpg
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_15_10406.jpg
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_25_10355.jpg
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_35_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331731599","1331731622","1331731619","1331731613","1331731621","1331731609"],"photo_ids_order":["1331731599","1331731609","1331731613","1331731619","1331731621","1331731622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce94c0426699c2994eb2aab6ab675148.jpg","text":"TemporaryFile(/tmp/multipartBody2310796929078129693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_40_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a9c346313b5f6b549b5f0bf3ea1d5efe.jpg","text":"TemporaryFile(/tmp/multipartBody8212389885457692239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_41_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/26/7bd97cd8c72f3ac3a273b9915c6581c4.jpg","text":"TemporaryFile(/tmp/multipartBody1549366578689404615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_41_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/655c00a9dc6d1526a5a5c2e7d647b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7010165658775891511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_41_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/26/4206d35cfcdd30d47b3b4a4d483bd615.jpg","text":"TemporaryFile(/tmp/multipartBody6891896977153896241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_41_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c016f454c1e6aa7b87869307badfbe0c.jpg","text":"TemporaryFile(/tmp/multipartBody8379133471099784538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913413896,"filename":"image_26012025_18_40_55_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731613","file1":"1331731609","file0":"1331731599","file4":"1331731621","file5":"1331731622","file3":"1331731619"},"map_files_photo_id_array":[{"photo_id":"1331731622","filename":"file5"},{"photo_id":"1331731613","filename":"file2"},{"photo_id":"1331731621","filename":"file4"},{"photo_id":"1331731609","filename":"file1"},{"photo_id":"1331731599","filename":"file0"},{"photo_id":"1331731619","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731599":["hashtag1","hashtag2"]},{"1331731622":["hashtag1","hashtag2"]},{"1331731619":["hashtag1","hashtag2"]},{"1331731613":["hashtag1","hashtag2"]},{"1331731621":["hashtag1","hashtag2"]},{"1331731609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731599, 1331731622, 1331731619, 1331731613, 1331731621, 1331731609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.86758279800415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:43:32.236476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_45_10348.jpg', '/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_55_10369.jpg', '/home/pi/Desktop/images/26012025/18/41/image_26012025_18_42_05_9379.jpg', '/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_15_10329.jpg', '/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_25_9487.jpg', '/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_35_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_45_10348.jpg
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_41_55_10369.jpg
/home/pi/Desktop/images/26012025/18/41/image_26012025_18_42_05_9379.jpg
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_15_10329.jpg
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_25_9487.jpg
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_35_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331731646","1331731700","1331731699","1331731651","1331731654","1331731642"],"photo_ids_order":["1331731642","1331731646","1331731651","1331731654","1331731699","1331731700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72f8fe5d7a8d8946c9a05beb427ac147.jpg","text":"TemporaryFile(/tmp/multipartBody7823519693170963772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_41_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/636d1c9b8ce14516cfcf485cdefa4d38.jpg","text":"TemporaryFile(/tmp/multipartBody5324408773371571345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_42_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/26/369ddad77029a774bda02e384283ee35.jpg","text":"TemporaryFile(/tmp/multipartBody2249658343808966115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_42_25_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/959d8a20d8b4b4a22933c86d2a1f6faf.jpg","text":"TemporaryFile(/tmp/multipartBody5567344730353420597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_42_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/26/73c90b90a01fa381d67bad4991b3e0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8882256481800357884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_42_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/26/4afb7172c5a962910619cd6732fdd010.jpg","text":"TemporaryFile(/tmp/multipartBody5496039041694393378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913473175,"filename":"image_26012025_18_41_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731651","file1":"1331731646","file0":"1331731642","file4":"1331731699","file5":"1331731700","file3":"1331731654"},"map_files_photo_id_array":[{"photo_id":"1331731700","filename":"file5"},{"photo_id":"1331731651","filename":"file2"},{"photo_id":"1331731699","filename":"file4"},{"photo_id":"1331731646","filename":"file1"},{"photo_id":"1331731642","filename":"file0"},{"photo_id":"1331731654","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731646":["hashtag1","hashtag2"]},{"1331731700":["hashtag1","hashtag2"]},{"1331731699":["hashtag1","hashtag2"]},{"1331731651":["hashtag1","hashtag2"]},{"1331731654":["hashtag1","hashtag2"]},{"1331731642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731646, 1331731700, 1331731699, 1331731651, 1331731654, 1331731642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.457313537597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:44:32.461820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_45_10385.jpg', '/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_55_9349.jpg', '/home/pi/Desktop/images/26012025/18/42/image_26012025_18_43_05_10350.jpg', '/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_25_10343.jpg', '/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_35_10423.jpg', '/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_45_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_45_10385.jpg
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_42_55_9349.jpg
/home/pi/Desktop/images/26012025/18/42/image_26012025_18_43_05_10350.jpg
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_25_10343.jpg
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_35_10423.jpg
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_45_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":["1331731719","1331731728","1331731715","1331731730","1331731724","1331731732"],"photo_ids_order":["1331731715","1331731719","1331731724","1331731728","1331731730","1331731732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6143e8b090f63392b6f412bfe3bf2a37.jpg","text":"TemporaryFile(/tmp/multipartBody2968840095639717320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_42_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/26/328aba0dd456fb790040758285c03705.jpg","text":"TemporaryFile(/tmp/multipartBody5390030144119569552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_43_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/26/10d310c71358795939d99cb547db8820.jpg","text":"TemporaryFile(/tmp/multipartBody4226032371122941862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_42_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/26/ed6a7a960112e40903ab6508f18267cc.jpg","text":"TemporaryFile(/tmp/multipartBody3342264512139209987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_43_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/26/e3848e0d93fe05fd02328f2f9ff4c0a9.jpg","text":"TemporaryFile(/tmp/multipartBody683465103012503620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_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/26/bd6e7f8b1e8229084db442e2905906eb.jpg","text":"TemporaryFile(/tmp/multipartBody5362714743002655189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913533399,"filename":"image_26012025_18_43_45_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731724","file1":"1331731719","file0":"1331731715","file4":"1331731730","file5":"1331731732","file3":"1331731728"},"map_files_photo_id_array":[{"photo_id":"1331731732","filename":"file5"},{"photo_id":"1331731724","filename":"file2"},{"photo_id":"1331731730","filename":"file4"},{"photo_id":"1331731719","filename":"file1"},{"photo_id":"1331731715","filename":"file0"},{"photo_id":"1331731728","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731719":["hashtag1","hashtag2"]},{"1331731728":["hashtag1","hashtag2"]},{"1331731715":["hashtag1","hashtag2"]},{"1331731730":["hashtag1","hashtag2"]},{"1331731724":["hashtag1","hashtag2"]},{"1331731732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731719, 1331731728, 1331731715, 1331731730, 1331731724, 1331731732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.42625617980957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:45:32.745682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_55_10464.jpg', '/home/pi/Desktop/images/26012025/18/43/image_26012025_18_44_05_10341.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_15_9330.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_25_10373.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_35_9477.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_55_10464.jpg
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_44_05_10341.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_15_9330.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_25_10373.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_35_9477.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_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.5265657901763916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:45:42.711760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_55_10464.jpg', '/home/pi/Desktop/images/26012025/18/43/image_26012025_18_44_05_10341.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_15_9330.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_25_10373.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_35_9477.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_45_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_43_55_10464.jpg
/home/pi/Desktop/images/26012025/18/43/image_26012025_18_44_05_10341.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_15_9330.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_25_10373.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_35_9477.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_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":["1331731893","1331731860","1331731923","1331731911","1331731928","1331731925"],"photo_ids_order":["1331731860","1331731893","1331731911","1331731923","1331731925","1331731928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/12bf69a9b318610a1e681f5255896a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8467326409256381960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_44_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/26/a2769d481880ae8c916baedc5d6bd3a3.jpg","text":"TemporaryFile(/tmp/multipartBody6982567338786061853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_43_55_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/26/3ecbe68f57e148caad75a3600e6e86c8.jpg","text":"TemporaryFile(/tmp/multipartBody6128740912859174341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_44_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/26/6525a867af32c5be9db65488242b7f43.jpg","text":"TemporaryFile(/tmp/multipartBody1589439273095637678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_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/26/a0cce1deaf7803c2377d21f74a3a914e.jpg","text":"TemporaryFile(/tmp/multipartBody5976861133578529581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_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/26/32b23e05b4f11121f1ad8f0e50776419.jpg","text":"TemporaryFile(/tmp/multipartBody6736227492554051329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913603633,"filename":"image_26012025_18_44_35_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731911","file1":"1331731893","file0":"1331731860","file4":"1331731925","file5":"1331731928","file3":"1331731923"},"map_files_photo_id_array":[{"photo_id":"1331731928","filename":"file5"},{"photo_id":"1331731911","filename":"file2"},{"photo_id":"1331731925","filename":"file4"},{"photo_id":"1331731893","filename":"file1"},{"photo_id":"1331731860","filename":"file0"},{"photo_id":"1331731923","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731893":["hashtag1","hashtag2"]},{"1331731860":["hashtag1","hashtag2"]},{"1331731923":["hashtag1","hashtag2"]},{"1331731911":["hashtag1","hashtag2"]},{"1331731928":["hashtag1","hashtag2"]},{"1331731925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731893, 1331731860, 1331731923, 1331731911, 1331731928, 1331731925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5936484336853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:46:33.574670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_55_10361.jpg', '/home/pi/Desktop/images/26012025/18/44/image_26012025_18_45_05_9456.jpg', '/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_15_10325.jpg', '/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_25_9435.jpg', '/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_35_10360.jpg', '/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_45_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_44_55_10361.jpg
/home/pi/Desktop/images/26012025/18/44/image_26012025_18_45_05_9456.jpg
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_15_10325.jpg
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_25_9435.jpg
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_35_10360.jpg
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_45_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":["1331731995","1331731956","1331731954","1331731957","1331731945","1331731998"],"photo_ids_order":["1331731945","1331731954","1331731956","1331731957","1331731995","1331731998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/86b2241a3153b0110b9be4b03a94f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6983465056116066151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_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/26/6fd6f181dccfdc3e9f283a78c9ae10a9.jpg","text":"TemporaryFile(/tmp/multipartBody8603227868817850171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_45_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e04880eeec35b8fadb6b48b24b1a751b.jpg","text":"TemporaryFile(/tmp/multipartBody8658354681771633849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_45_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/26/fb6b18be86fdda3b6ba6dd35172969cf.jpg","text":"TemporaryFile(/tmp/multipartBody2700050499429942279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_45_25_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/57d79dd4181e3724a9c7fedf552ca5be.jpg","text":"TemporaryFile(/tmp/multipartBody4626997312738423919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_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/26/f1feaab1d0e295e9a45018dabdd59354.jpg","text":"TemporaryFile(/tmp/multipartBody7694386785258029509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913654521,"filename":"image_26012025_18_45_45_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331731956","file1":"1331731954","file0":"1331731945","file4":"1331731995","file5":"1331731998","file3":"1331731957"},"map_files_photo_id_array":[{"photo_id":"1331731998","filename":"file5"},{"photo_id":"1331731956","filename":"file2"},{"photo_id":"1331731995","filename":"file4"},{"photo_id":"1331731954","filename":"file1"},{"photo_id":"1331731945","filename":"file0"},{"photo_id":"1331731957","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331731995":["hashtag1","hashtag2"]},{"1331731956":["hashtag1","hashtag2"]},{"1331731954":["hashtag1","hashtag2"]},{"1331731957":["hashtag1","hashtag2"]},{"1331731945":["hashtag1","hashtag2"]},{"1331731998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331731995, 1331731956, 1331731954, 1331731957, 1331731945, 1331731998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.486419439315796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:47:33.011338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_55_9360.jpg', '/home/pi/Desktop/images/26012025/18/45/image_26012025_18_46_05_10455.jpg', '/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_15_9409.jpg', '/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_25_10425.jpg', '/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_35_10360.jpg', '/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_45_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_45_55_9360.jpg
/home/pi/Desktop/images/26012025/18/45/image_26012025_18_46_05_10455.jpg
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_15_9409.jpg
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_25_10425.jpg
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_35_10360.jpg
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_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":["1331732022","1331732018","1331732023","1331732011","1331732020","1331732014"],"photo_ids_order":["1331732011","1331732014","1331732018","1331732020","1331732022","1331732023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee5bc2f305da82a685bbd964166e76f1.jpg","text":"TemporaryFile(/tmp/multipartBody1570987197999176496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_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/26/2fe027ce340f2a0a5b313f761bb46be5.jpg","text":"TemporaryFile(/tmp/multipartBody2405972350416127102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_46_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9803b30be0f6e4194ba496e8fcdbe936.jpg","text":"TemporaryFile(/tmp/multipartBody3194480956060150127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_46_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/26/23c939c4b182b6fe66c4619331710d59.jpg","text":"TemporaryFile(/tmp/multipartBody246434276310443085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_45_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/26/817e2865ea0d454f955666352f00341a.jpg","text":"TemporaryFile(/tmp/multipartBody2662022712626414814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_46_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f817555046e648dd6922fb2c158de84a.jpg","text":"TemporaryFile(/tmp/multipartBody6617052755352223466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913713982,"filename":"image_26012025_18_46_05_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331732018","file1":"1331732014","file0":"1331732011","file4":"1331732022","file5":"1331732023","file3":"1331732020"},"map_files_photo_id_array":[{"photo_id":"1331732023","filename":"file5"},{"photo_id":"1331732018","filename":"file2"},{"photo_id":"1331732022","filename":"file4"},{"photo_id":"1331732014","filename":"file1"},{"photo_id":"1331732011","filename":"file0"},{"photo_id":"1331732020","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331732022":["hashtag1","hashtag2"]},{"1331732018":["hashtag1","hashtag2"]},{"1331732023":["hashtag1","hashtag2"]},{"1331732011":["hashtag1","hashtag2"]},{"1331732020":["hashtag1","hashtag2"]},{"1331732014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331732022, 1331732018, 1331732023, 1331732011, 1331732020, 1331732014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24971032142639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:48:32.245412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_55_10366.jpg', '/home/pi/Desktop/images/26012025/18/46/image_26012025_18_47_05_10363.jpg', '/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_15_9398.jpg', '/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_25_10436.jpg', '/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_35_9327.jpg', '/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_45_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_46_55_10366.jpg
/home/pi/Desktop/images/26012025/18/46/image_26012025_18_47_05_10363.jpg
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_15_9398.jpg
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_25_10436.jpg
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_35_9327.jpg
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_45_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331732894","1331732882","1331732890","1331732893","1331732878","1331732886"],"photo_ids_order":["1331732878","1331732882","1331732886","1331732890","1331732893","1331732894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2009c2e603f00a85a523dc14f624f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody981478161284600160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_47_45_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/26/55a6d5456ba4a5179c9b9a0bcb98fc6c.jpg","text":"TemporaryFile(/tmp/multipartBody8483279380644855448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_47_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/26/1b546f97f51fea3b4253f1843e8ede0a.jpg","text":"TemporaryFile(/tmp/multipartBody6020594634118496338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_47_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/26/97d254144aa6c4bbbb8454e35cccdd02.jpg","text":"TemporaryFile(/tmp/multipartBody7833314809480393070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_47_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/26/d998e2983d2e97b23da625b28ea86a63.jpg","text":"TemporaryFile(/tmp/multipartBody2008860131753745557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_46_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2935df3d4830bda872fb96c169d7e0c.jpg","text":"TemporaryFile(/tmp/multipartBody605591200561052280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913773168,"filename":"image_26012025_18_47_15_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331732886","file1":"1331732882","file0":"1331732878","file4":"1331732893","file5":"1331732894","file3":"1331732890"},"map_files_photo_id_array":[{"photo_id":"1331732894","filename":"file5"},{"photo_id":"1331732886","filename":"file2"},{"photo_id":"1331732893","filename":"file4"},{"photo_id":"1331732882","filename":"file1"},{"photo_id":"1331732878","filename":"file0"},{"photo_id":"1331732890","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331732894":["hashtag1","hashtag2"]},{"1331732882":["hashtag1","hashtag2"]},{"1331732890":["hashtag1","hashtag2"]},{"1331732893":["hashtag1","hashtag2"]},{"1331732878":["hashtag1","hashtag2"]},{"1331732886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331732894, 1331732882, 1331732890, 1331732893, 1331732878, 1331732886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.95106029510498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:49:32.472597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_55_10401.jpg', '/home/pi/Desktop/images/26012025/18/47/image_26012025_18_48_05_9338.jpg', '/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_15_10349.jpg', '/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_25_10353.jpg', '/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_35_9437.jpg', '/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_45_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_47_55_10401.jpg
/home/pi/Desktop/images/26012025/18/47/image_26012025_18_48_05_9338.jpg
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_15_10349.jpg
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_25_10353.jpg
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_35_9437.jpg
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_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":["1331733188","1331733269","1331733149","1331733202","1331733267","1331733225"],"photo_ids_order":["1331733149","1331733188","1331733202","1331733225","1331733267","1331733269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9cede757f24a2d2d3fafa2d034b3032d.jpg","text":"TemporaryFile(/tmp/multipartBody3182429386234355390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_48_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/26/2612077004bfa3f6baf67cef6b1f957f.jpg","text":"TemporaryFile(/tmp/multipartBody7998336112034560458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_48_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/26/2d6c1c081030ae5bcd3889c08c4a518a.jpg","text":"TemporaryFile(/tmp/multipartBody824969099470142290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_47_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c75d45ba34ea7c8e7b13d7074abc2d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2719440250741960065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_48_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/26/693f48b105ccdac70c362f59fd226653.jpg","text":"TemporaryFile(/tmp/multipartBody4680569522651241355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_48_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/26/e52f3f154da9de3ac241da96e7d1edef.jpg","text":"TemporaryFile(/tmp/multipartBody1154125322978613469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913833400,"filename":"image_26012025_18_48_25_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733202","file1":"1331733188","file0":"1331733149","file4":"1331733267","file5":"1331733269","file3":"1331733225"},"map_files_photo_id_array":[{"photo_id":"1331733269","filename":"file5"},{"photo_id":"1331733202","filename":"file2"},{"photo_id":"1331733267","filename":"file4"},{"photo_id":"1331733188","filename":"file1"},{"photo_id":"1331733149","filename":"file0"},{"photo_id":"1331733225","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733188":["hashtag1","hashtag2"]},{"1331733269":["hashtag1","hashtag2"]},{"1331733149":["hashtag1","hashtag2"]},{"1331733202":["hashtag1","hashtag2"]},{"1331733267":["hashtag1","hashtag2"]},{"1331733225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733188, 1331733269, 1331733149, 1331733202, 1331733267, 1331733225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98292875289917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:50:32.764290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_55_9489.jpg', '/home/pi/Desktop/images/26012025/18/48/image_26012025_18_49_05_10345.jpg', '/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_15_10332.jpg', '/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_25_9408.jpg', '/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_35_10409.jpg', '/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_55_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_48_55_9489.jpg
/home/pi/Desktop/images/26012025/18/48/image_26012025_18_49_05_10345.jpg
/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_15_10332.jpg
/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_25_9408.jpg
/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_35_10409.jpg
/home/pi/Desktop/images/26012025/18/49/image_26012025_18_49_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331733299","1331733290","1331733302","1331733295","1331733285","1331733303"],"photo_ids_order":["1331733285","1331733290","1331733295","1331733299","1331733302","1331733303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/72b9021edd0dafe17f2e3e71d85ddebb.jpg","text":"TemporaryFile(/tmp/multipartBody3421918416491965878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_49_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/26/dfe6d6ce34a04b1429c2c1fb4c313408.jpg","text":"TemporaryFile(/tmp/multipartBody6407440799730490079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_49_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/26/ea4ff98669b59ee8c8ed57e25aeb9465.jpg","text":"TemporaryFile(/tmp/multipartBody9082497375224253190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_49_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/84bbfaa209fd8521cc35cb797835843d.jpg","text":"TemporaryFile(/tmp/multipartBody3556462997679544554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_49_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/26/0e51db7a2a238e47dbd54a85260e6f02.jpg","text":"TemporaryFile(/tmp/multipartBody8509769226402130083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_48_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/26/c1dda7713a66ceed3c2303425da275b6.jpg","text":"TemporaryFile(/tmp/multipartBody7987974097861846867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913893712,"filename":"image_26012025_18_49_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733295","file1":"1331733290","file0":"1331733285","file4":"1331733302","file5":"1331733303","file3":"1331733299"},"map_files_photo_id_array":[{"photo_id":"1331733303","filename":"file5"},{"photo_id":"1331733295","filename":"file2"},{"photo_id":"1331733302","filename":"file4"},{"photo_id":"1331733290","filename":"file1"},{"photo_id":"1331733285","filename":"file0"},{"photo_id":"1331733299","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733299":["hashtag1","hashtag2"]},{"1331733290":["hashtag1","hashtag2"]},{"1331733302":["hashtag1","hashtag2"]},{"1331733295":["hashtag1","hashtag2"]},{"1331733285":["hashtag1","hashtag2"]},{"1331733303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733299, 1331733290, 1331733302, 1331733295, 1331733285, 1331733303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.090999126434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:51:32.877427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_15_9339.jpg', '/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_25_10355.jpg', '/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_35_9487.jpg', '/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_45_10390.jpg', '/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_55_10438.jpg', '/home/pi/Desktop/images/26012025/18/50/image_26012025_18_51_05_9420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_15_9339.jpg
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_25_10355.jpg
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_35_9487.jpg
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_45_10390.jpg
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_50_55_10438.jpg
/home/pi/Desktop/images/26012025/18/50/image_26012025_18_51_05_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":["1331733612","1331733662","1331733491","1331733635","1331733614","1331733586"],"photo_ids_order":["1331733491","1331733586","1331733612","1331733614","1331733635","1331733662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9911b000f1765351acbaf93b92aef51.jpg","text":"TemporaryFile(/tmp/multipartBody8867543908786017353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_50_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/26/22eba2778c2526bc98d169ea3b18a671.jpg","text":"TemporaryFile(/tmp/multipartBody6000562927053309273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_51_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03a82afdbfc4f86909f78e486b33b893.jpg","text":"TemporaryFile(/tmp/multipartBody4558785612811235337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_50_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/26/7c132c89d9a7955b37aaa2950a0af1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2351584029485174523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_50_55_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/26/edad432b32513d8d654b7adb46c868f4.jpg","text":"TemporaryFile(/tmp/multipartBody6517310528207516479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_50_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8dc645e41bce0868f6b2aa55202eff2a.jpg","text":"TemporaryFile(/tmp/multipartBody6273913672980938321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737913953850,"filename":"image_26012025_18_50_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733612","file1":"1331733586","file0":"1331733491","file4":"1331733635","file5":"1331733662","file3":"1331733614"},"map_files_photo_id_array":[{"photo_id":"1331733662","filename":"file5"},{"photo_id":"1331733612","filename":"file2"},{"photo_id":"1331733635","filename":"file4"},{"photo_id":"1331733586","filename":"file1"},{"photo_id":"1331733491","filename":"file0"},{"photo_id":"1331733614","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733612":["hashtag1","hashtag2"]},{"1331733662":["hashtag1","hashtag2"]},{"1331733491":["hashtag1","hashtag2"]},{"1331733635":["hashtag1","hashtag2"]},{"1331733614":["hashtag1","hashtag2"]},{"1331733586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733612, 1331733662, 1331733491, 1331733635, 1331733614, 1331733586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.05125951766968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:52:32.231257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_15_10331.jpg', '/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_25_9422.jpg', '/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_35_10327.jpg', '/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_45_10350.jpg', '/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_55_9342.jpg', '/home/pi/Desktop/images/26012025/18/51/image_26012025_18_52_05_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_15_10331.jpg
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_25_9422.jpg
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_35_10327.jpg
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_45_10350.jpg
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_51_55_9342.jpg
/home/pi/Desktop/images/26012025/18/51/image_26012025_18_52_05_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":["1331733737","1331733725","1331733721","1331733732","1331733735","1331733729"],"photo_ids_order":["1331733721","1331733725","1331733729","1331733732","1331733735","1331733737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c34457d19dfc413bd054f5b61fa4a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8959771093367448423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_52_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/26/c0fe77c36712512a6b0b29f0418d6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3981273082658424883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_51_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/26/425f2109d8fa947fdcf7fa2d4e7fab34.jpg","text":"TemporaryFile(/tmp/multipartBody4091527416881475585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_51_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/26/7ae8d662807bd4789285e8518ed30a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4673999295799119491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_51_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/26/dd1ddc43a31aac75254ebcf4f24d9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody278089871821730319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_51_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/26/8397978266f76fe2b9396ec0d74e4574.jpg","text":"TemporaryFile(/tmp/multipartBody1496225103037841904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914013171,"filename":"image_26012025_18_51_35_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733729","file1":"1331733725","file0":"1331733721","file4":"1331733735","file5":"1331733737","file3":"1331733732"},"map_files_photo_id_array":[{"photo_id":"1331733737","filename":"file5"},{"photo_id":"1331733729","filename":"file2"},{"photo_id":"1331733735","filename":"file4"},{"photo_id":"1331733725","filename":"file1"},{"photo_id":"1331733721","filename":"file0"},{"photo_id":"1331733732","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733737":["hashtag1","hashtag2"]},{"1331733725":["hashtag1","hashtag2"]},{"1331733721":["hashtag1","hashtag2"]},{"1331733732":["hashtag1","hashtag2"]},{"1331733735":["hashtag1","hashtag2"]},{"1331733729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733737, 1331733725, 1331733721, 1331733732, 1331733735, 1331733729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98700833320618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:53:32.424593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_15_9490.jpg', '/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_25_10373.jpg', '/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_35_10342.jpg', '/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_45_9406.jpg', '/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_55_10369.jpg', '/home/pi/Desktop/images/26012025/18/52/image_26012025_18_53_05_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_15_9490.jpg
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_25_10373.jpg
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_35_10342.jpg
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_45_9406.jpg
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_52_55_10369.jpg
/home/pi/Desktop/images/26012025/18/52/image_26012025_18_53_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331733755","1331733752","1331733754","1331733750","1331733753","1331733747"],"photo_ids_order":["1331733747","1331733750","1331733752","1331733753","1331733754","1331733755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6331716ddec0cde1a010d971f961a0ab.jpg","text":"TemporaryFile(/tmp/multipartBody9131315230373339240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_53_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/26/e7f98d036ef22725dafefe1b842a3794.jpg","text":"TemporaryFile(/tmp/multipartBody5402960887757551204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_52_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35cd6d14f65cb57615a786b49d38ca49.jpg","text":"TemporaryFile(/tmp/multipartBody5796945137561725174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_52_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c448a4e1ca1cfc56418be6735c56079.jpg","text":"TemporaryFile(/tmp/multipartBody8264576320700059025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_52_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/26/a0c3e8234a138c023b490363a1be3810.jpg","text":"TemporaryFile(/tmp/multipartBody2593168743755399980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_52_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/26/391bc2dbaa0bfc2be3863262cbbfe8aa.jpg","text":"TemporaryFile(/tmp/multipartBody769459807277967086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914073368,"filename":"image_26012025_18_52_15_9490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733752","file1":"1331733750","file0":"1331733747","file4":"1331733754","file5":"1331733755","file3":"1331733753"},"map_files_photo_id_array":[{"photo_id":"1331733755","filename":"file5"},{"photo_id":"1331733752","filename":"file2"},{"photo_id":"1331733754","filename":"file4"},{"photo_id":"1331733750","filename":"file1"},{"photo_id":"1331733747","filename":"file0"},{"photo_id":"1331733753","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733755":["hashtag1","hashtag2"]},{"1331733752":["hashtag1","hashtag2"]},{"1331733754":["hashtag1","hashtag2"]},{"1331733750":["hashtag1","hashtag2"]},{"1331733753":["hashtag1","hashtag2"]},{"1331733747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733755, 1331733752, 1331733754, 1331733750, 1331733753, 1331733747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81845259666443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:54:32.912484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_15_9430.jpg', '/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_25_10353.jpg', '/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_45_10458.jpg', '/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_15_10340.jpg', '/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_25_9482.jpg', '/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_35_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_15_9430.jpg
/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_25_10353.jpg
/home/pi/Desktop/images/26012025/18/53/image_26012025_18_53_45_10458.jpg
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_15_10340.jpg
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_25_9482.jpg
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_35_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":["1331733767","1331733770","1331733781","1331733780","1331733774","1331733777"],"photo_ids_order":["1331733767","1331733770","1331733774","1331733777","1331733780","1331733781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ab4415cab65df7f8cd60cefcf1fa428.jpg","text":"TemporaryFile(/tmp/multipartBody6938278534888716668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_53_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/26/5dc99c32292d6b5ec00a864981214e47.jpg","text":"TemporaryFile(/tmp/multipartBody8783652867046940360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_53_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/26/d414efe47fdb5ba0e56694386e6224d9.jpg","text":"TemporaryFile(/tmp/multipartBody170098211867483622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_54_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/26/ae7be7df4bd8198934413b89864bdb63.jpg","text":"TemporaryFile(/tmp/multipartBody5953804268343683070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_54_25_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d14d080b9a4a929ebfecb97444eda44b.jpg","text":"TemporaryFile(/tmp/multipartBody1385090605549002534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_53_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/26/001d52ececc856614340d2b85483a147.jpg","text":"TemporaryFile(/tmp/multipartBody6821070286152176684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914133828,"filename":"image_26012025_18_54_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733774","file1":"1331733770","file0":"1331733767","file4":"1331733780","file5":"1331733781","file3":"1331733777"},"map_files_photo_id_array":[{"photo_id":"1331733781","filename":"file5"},{"photo_id":"1331733774","filename":"file2"},{"photo_id":"1331733780","filename":"file4"},{"photo_id":"1331733770","filename":"file1"},{"photo_id":"1331733767","filename":"file0"},{"photo_id":"1331733777","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733767":["hashtag1","hashtag2"]},{"1331733770":["hashtag1","hashtag2"]},{"1331733781":["hashtag1","hashtag2"]},{"1331733780":["hashtag1","hashtag2"]},{"1331733774":["hashtag1","hashtag2"]},{"1331733777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733767, 1331733770, 1331733781, 1331733780, 1331733774, 1331733777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58102035522461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:55:32.936695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_45_10350.jpg', '/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_55_9432.jpg', '/home/pi/Desktop/images/26012025/18/54/image_26012025_18_55_05_10343.jpg', '/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_15_9420.jpg', '/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_25_10386.jpg', '/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_35_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_45_10350.jpg
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_54_55_9432.jpg
/home/pi/Desktop/images/26012025/18/54/image_26012025_18_55_05_10343.jpg
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_15_9420.jpg
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_25_10386.jpg
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_35_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331733824","1331733812","1331733853","1331733811","1331733852","1331733813"],"photo_ids_order":["1331733811","1331733812","1331733813","1331733824","1331733852","1331733853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35f480ad86c635501c9daeddcf7b4951.jpg","text":"TemporaryFile(/tmp/multipartBody5432447594327162003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_55_15_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d94ef19761e40208e939a9c5e11ede53.jpg","text":"TemporaryFile(/tmp/multipartBody4862505953427385597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_54_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/26/54da3e38e6cc66413d1eb7eb13b2b9d0.jpg","text":"TemporaryFile(/tmp/multipartBody6624461817310345399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_55_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/26/a08562db867f4afdbf92fbffca0340f6.jpg","text":"TemporaryFile(/tmp/multipartBody8470899002493193149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_54_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/26/d171835b07d2666c7f2b21bf299b9213.jpg","text":"TemporaryFile(/tmp/multipartBody415161624960074196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_55_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/26/35e355bd0751639728df15fad63fca43.jpg","text":"TemporaryFile(/tmp/multipartBody3546177362581539717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914193869,"filename":"image_26012025_18_55_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733813","file1":"1331733812","file0":"1331733811","file4":"1331733852","file5":"1331733853","file3":"1331733824"},"map_files_photo_id_array":[{"photo_id":"1331733853","filename":"file5"},{"photo_id":"1331733813","filename":"file2"},{"photo_id":"1331733852","filename":"file4"},{"photo_id":"1331733812","filename":"file1"},{"photo_id":"1331733811","filename":"file0"},{"photo_id":"1331733824","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733824":["hashtag1","hashtag2"]},{"1331733812":["hashtag1","hashtag2"]},{"1331733853":["hashtag1","hashtag2"]},{"1331733811":["hashtag1","hashtag2"]},{"1331733852":["hashtag1","hashtag2"]},{"1331733813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733824, 1331733812, 1331733853, 1331733811, 1331733852, 1331733813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75063920021057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:56:32.171905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_45_9412.jpg', '/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_55_10361.jpg', '/home/pi/Desktop/images/26012025/18/55/image_26012025_18_56_05_9453.jpg', '/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_15_10346.jpg', '/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_25_10338.jpg', '/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_45_9412.jpg
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_55_55_10361.jpg
/home/pi/Desktop/images/26012025/18/55/image_26012025_18_56_05_9453.jpg
/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_15_10346.jpg
/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_25_10338.jpg
/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_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":["1331733889","1331733886","1331733871","1331733882","1331733867","1331733890"],"photo_ids_order":["1331733867","1331733871","1331733882","1331733886","1331733889","1331733890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a5d3b1836d2fdcf7ef9f41345c5f521c.jpg","text":"TemporaryFile(/tmp/multipartBody8330026306548604263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_56_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/26/f76de50882cf5b10d3d2e9ed61ed7ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2215494398122810013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_56_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/26/e4851b882daed060fa3a2524e1e3f5c7.jpg","text":"TemporaryFile(/tmp/multipartBody5433818917712621516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_55_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/26/3c938aec365304e4f209b8002ec7249e.jpg","text":"TemporaryFile(/tmp/multipartBody5482981278609879585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_56_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/26/68c9fb08a7156315c958f452a38f1657.jpg","text":"TemporaryFile(/tmp/multipartBody3351977407129460359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_55_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/26/564d8d4c8923e67c495dbd4d556373b5.jpg","text":"TemporaryFile(/tmp/multipartBody4433456788781899756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914253104,"filename":"image_26012025_18_56_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331733882","file1":"1331733871","file0":"1331733867","file4":"1331733889","file5":"1331733890","file3":"1331733886"},"map_files_photo_id_array":[{"photo_id":"1331733890","filename":"file5"},{"photo_id":"1331733882","filename":"file2"},{"photo_id":"1331733889","filename":"file4"},{"photo_id":"1331733871","filename":"file1"},{"photo_id":"1331733867","filename":"file0"},{"photo_id":"1331733886","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733889":["hashtag1","hashtag2"]},{"1331733886":["hashtag1","hashtag2"]},{"1331733871":["hashtag1","hashtag2"]},{"1331733882":["hashtag1","hashtag2"]},{"1331733867":["hashtag1","hashtag2"]},{"1331733890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733889, 1331733886, 1331733871, 1331733882, 1331733867, 1331733890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44909405708313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 18:57:32.401378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_55_10354.jpg', '/home/pi/Desktop/images/26012025/18/57/image_26012025_18_57_35_9428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/56/image_26012025_18_56_55_10354.jpg
/home/pi/Desktop/images/26012025/18/57/image_26012025_18_57_35_9428.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331733908","1331733909"],"photo_ids_order":["1331733908","1331733909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cebe01b5d7d51a45e210e947bfe4585f.jpg","text":"TemporaryFile(/tmp/multipartBody6558311236805723342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914313259,"filename":"image_26012025_18_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/26/c102dec7c1ae07e4642126e63c4e32d8.jpg","text":"TemporaryFile(/tmp/multipartBody1380295833985228505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914313259,"filename":"image_26012025_18_57_35_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1331733909","file0":"1331733908"},"map_files_photo_id_array":[{"photo_id":"1331733909","filename":"file1"},{"photo_id":"1331733908","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331733908":["hashtag1","hashtag2"]},{"1331733909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331733908, 1331733909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.32463002204895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 18:57:52.349256
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_16_9456.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_27_10442.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_36_9401.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_46_10460.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_56_9360.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_16_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_16_9456.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_27_10442.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_36_9401.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_46_10460.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_56_9360.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_16_10338.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-26 18:59:04.291445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/57/image_26012025_18_57_55_9407.jpg', '/home/pi/Desktop/images/26012025/18/57/image_26012025_18_58_05_10344.jpg', '/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_25_9483.jpg', '/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_35_10421.jpg', '/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_45_9510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/57/image_26012025_18_57_55_9407.jpg
/home/pi/Desktop/images/26012025/18/57/image_26012025_18_58_05_10344.jpg
/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_25_9483.jpg
/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_35_10421.jpg
/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_45_9510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331734547","1331734582","1331734666","1331734552","1331734542"],"photo_ids_order":["1331734542","1331734547","1331734552","1331734582","1331734666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29f73a95615c6c8832145fbddc66241d.jpg","text":"TemporaryFile(/tmp/multipartBody9121669561267220851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914405272,"filename":"image_26012025_18_58_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/26/0e8b556126d5e0fb147b23a1d8055fe6.jpg","text":"TemporaryFile(/tmp/multipartBody733076339852452929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914405272,"filename":"image_26012025_18_58_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d0806d468cac96f4e88ca389eee2d8a5.jpg","text":"TemporaryFile(/tmp/multipartBody5773952672495366033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914405272,"filename":"image_26012025_18_58_45_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/26/5a8be4f2232779afe643b5a43582c273.jpg","text":"TemporaryFile(/tmp/multipartBody2422787990047253825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914405272,"filename":"image_26012025_18_58_25_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ab80fa9f606e173d66199faa2d1b06c.jpg","text":"TemporaryFile(/tmp/multipartBody6357146571188058364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914405272,"filename":"image_26012025_18_57_55_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331734552","file1":"1331734547","file0":"1331734542","file4":"1331734666","file3":"1331734582"},"map_files_photo_id_array":[{"photo_id":"1331734552","filename":"file2"},{"photo_id":"1331734666","filename":"file4"},{"photo_id":"1331734547","filename":"file1"},{"photo_id":"1331734542","filename":"file0"},{"photo_id":"1331734582","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331734547":["hashtag1","hashtag2"]},{"1331734582":["hashtag1","hashtag2"]},{"1331734666":["hashtag1","hashtag2"]},{"1331734552":["hashtag1","hashtag2"]},{"1331734542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331734547, 1331734582, 1331734666, 1331734552, 1331734542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.50393342971802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 18:59:43.045608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_55_10466.jpg', '/home/pi/Desktop/images/26012025/18/58/image_26012025_18_59_05_10393.jpg', '/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_15_9378.jpg', '/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_35_9350.jpg', '/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_45_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/58/image_26012025_18_58_55_10466.jpg
/home/pi/Desktop/images/26012025/18/58/image_26012025_18_59_05_10393.jpg
/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_15_9378.jpg
/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_35_9350.jpg
/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_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":["1331734680","1331734683","1331734685","1331734688","1331734676"],"photo_ids_order":["1331734676","1331734680","1331734683","1331734685","1331734688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a62a206e6690289fe41b527f13b05d12.jpg","text":"TemporaryFile(/tmp/multipartBody347179457744066871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914443938,"filename":"image_26012025_18_59_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/26/227005b94757762c4ff6e6f1506e4b79.jpg","text":"TemporaryFile(/tmp/multipartBody8581108330591307465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914443938,"filename":"image_26012025_18_59_15_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/75210c244a4f83d6e1a16ce0ae7ec661.jpg","text":"TemporaryFile(/tmp/multipartBody8228711144160551257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914443938,"filename":"image_26012025_18_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/26/9d6f09abb6184b11a317985ca8201485.jpg","text":"TemporaryFile(/tmp/multipartBody5632959515931570036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914443938,"filename":"image_26012025_18_59_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/26/1084b0f4b1f4cac088d478f71820a479.jpg","text":"TemporaryFile(/tmp/multipartBody1983615467370607937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914443938,"filename":"image_26012025_18_58_55_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331734683","file1":"1331734680","file0":"1331734676","file4":"1331734688","file3":"1331734685"},"map_files_photo_id_array":[{"photo_id":"1331734683","filename":"file2"},{"photo_id":"1331734688","filename":"file4"},{"photo_id":"1331734680","filename":"file1"},{"photo_id":"1331734676","filename":"file0"},{"photo_id":"1331734685","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331734680":["hashtag1","hashtag2"]},{"1331734683":["hashtag1","hashtag2"]},{"1331734685":["hashtag1","hashtag2"]},{"1331734688":["hashtag1","hashtag2"]},{"1331734676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331734680, 1331734683, 1331734685, 1331734688, 1331734676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.7285521030426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:00:32.143807
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_16_9456.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_27_10442.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_36_9401.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_46_10460.jpg', '/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_56_9360.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_16_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_16_9456.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_27_10442.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_36_9401.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_46_10460.jpg
/home/pi/Desktop/images/23012025/22/15/image_23012025_22_15_56_9360.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_16_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":["1331734721","1331734709","1331734712","1331734706","1331734729","1331734728"],"photo_ids_order":["1331734706","1331734709","1331734712","1331734721","1331734728","1331734729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8d4b21044b5035707be0458c62a3bb4.jpg","text":"TemporaryFile(/tmp/multipartBody3458920009563118484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_15_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/26/e8f64d0078d81437b06d862175b87a10.jpg","text":"TemporaryFile(/tmp/multipartBody5694693544698560144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_15_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/26/4685f6fb9f876691d08b496e2dfe0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2199968668954239345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_15_36_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ad200ff5c0cb09c8c33989dd221aa773.jpg","text":"TemporaryFile(/tmp/multipartBody2296881807590411412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_15_16_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/26/d2806451808756c2d816d18f235a5e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1598435955911810181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_16_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/26/7e0d131a646a7401b8c34bbdd076983d.jpg","text":"TemporaryFile(/tmp/multipartBody9030212904681209672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914494401,"filename":"image_23012025_22_15_56_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331734712","file1":"1331734709","file0":"1331734706","file4":"1331734728","file5":"1331734729","file3":"1331734721"},"map_files_photo_id_array":[{"photo_id":"1331734729","filename":"file5"},{"photo_id":"1331734712","filename":"file2"},{"photo_id":"1331734728","filename":"file4"},{"photo_id":"1331734709","filename":"file1"},{"photo_id":"1331734706","filename":"file0"},{"photo_id":"1331734721","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331734721":["hashtag1","hashtag2"]},{"1331734709":["hashtag1","hashtag2"]},{"1331734712":["hashtag1","hashtag2"]},{"1331734706":["hashtag1","hashtag2"]},{"1331734729":["hashtag1","hashtag2"]},{"1331734728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331734721, 1331734709, 1331734712, 1331734706, 1331734729, 1331734728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.860883712768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:01:32.491462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_55_10367.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_14_10073.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_24_10369.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_35_10356.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_44_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/18/59/image_26012025_18_59_55_10367.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_14_10073.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_24_10369.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_35_10356.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331734759","1331734747","1331734767","1331734749","1331734745"],"photo_ids_order":["1331734745","1331734747","1331734749","1331734759","1331734767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2dfa641acd36f550a78d16882b61ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4901617371312202262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914553386,"filename":"image_26012025_19_01_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/26/689e210b82bd663e5780d969795190a2.jpg","text":"TemporaryFile(/tmp/multipartBody7609472179037799607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914553386,"filename":"image_26012025_19_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a81212bc68b19a539123799d8f495d3c.jpg","text":"TemporaryFile(/tmp/multipartBody1011712429469945239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914553386,"filename":"image_26012025_19_01_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c99b1d4a5582b0c67100c5989b99e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3306956582417136157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914553386,"filename":"image_26012025_19_01_24_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/26/f629a6d0b52303eae1314d50e83dd1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1630915845721780426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914553386,"filename":"image_26012025_18_59_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331734749","file1":"1331734747","file0":"1331734745","file4":"1331734767","file3":"1331734759"},"map_files_photo_id_array":[{"photo_id":"1331734749","filename":"file2"},{"photo_id":"1331734767","filename":"file4"},{"photo_id":"1331734747","filename":"file1"},{"photo_id":"1331734745","filename":"file0"},{"photo_id":"1331734759","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331734759":["hashtag1","hashtag2"]},{"1331734747":["hashtag1","hashtag2"]},{"1331734767":["hashtag1","hashtag2"]},{"1331734749":["hashtag1","hashtag2"]},{"1331734745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331734759, 1331734747, 1331734767, 1331734749, 1331734745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.059661626815796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:02:32.630262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_54_10344.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_02_05_10469.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_14_9318.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_25_10449.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_34_9331.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_45_10510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_54_10344.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_02_05_10469.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_14_9318.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_25_10449.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_34_9331.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_45_10510.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.521934986114502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:02:42.669072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_54_10344.jpg', '/home/pi/Desktop/images/26012025/19/01/image_26012025_19_02_05_10469.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_14_9318.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_25_10449.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_34_9331.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_45_10510.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_01_54_10344.jpg
/home/pi/Desktop/images/26012025/19/01/image_26012025_19_02_05_10469.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_14_9318.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_25_10449.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_34_9331.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_45_10510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331735170","1331734838","1331735743","1331735481","1331734834","1331734830"],"photo_ids_order":["1331734830","1331734834","1331734838","1331735170","1331735481","1331735743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a489f570c7b0940204462abeec71b6c.jpg","text":"TemporaryFile(/tmp/multipartBody474130839308934121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_02_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/26/3df8cd79ba8cc2b7acc3de49a36b1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3054340387421432248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_02_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/26/55e815c294fd1eb252272ff4be8962ba.jpg","text":"TemporaryFile(/tmp/multipartBody8410814039245270134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_02_45_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/26/3d8d09011b1422b167901131ccf80e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1751649431111868190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_02_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/26/98b571d8147c7e224479286bc8aefe73.jpg","text":"TemporaryFile(/tmp/multipartBody1721654499532786443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_02_05_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccb062ea044ed05a6470d0cd4d2a41e4.jpg","text":"TemporaryFile(/tmp/multipartBody4687747089218494508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914623589,"filename":"image_26012025_19_01_54_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331734838","file1":"1331734834","file0":"1331734830","file4":"1331735481","file5":"1331735743","file3":"1331735170"},"map_files_photo_id_array":[{"photo_id":"1331735743","filename":"file5"},{"photo_id":"1331734838","filename":"file2"},{"photo_id":"1331735481","filename":"file4"},{"photo_id":"1331734834","filename":"file1"},{"photo_id":"1331734830","filename":"file0"},{"photo_id":"1331735170","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331735170":["hashtag1","hashtag2"]},{"1331734838":["hashtag1","hashtag2"]},{"1331735743":["hashtag1","hashtag2"]},{"1331735481":["hashtag1","hashtag2"]},{"1331734834":["hashtag1","hashtag2"]},{"1331734830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331735170, 1331734838, 1331735743, 1331735481, 1331734834, 1331734830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.411492109298706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:03:32.991998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_55_10362.jpg', '/home/pi/Desktop/images/26012025/19/02/image_26012025_19_03_04_9334.jpg', '/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_15_10387.jpg', '/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_24_9372.jpg', '/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_34_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_02_55_10362.jpg
/home/pi/Desktop/images/26012025/19/02/image_26012025_19_03_04_9334.jpg
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_15_10387.jpg
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_24_9372.jpg
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_34_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":["1331736185","1331736170","1331736386","1331736365","1331736190"],"photo_ids_order":["1331736170","1331736185","1331736190","1331736365","1331736386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa2c0c67144b60eb2f118972051a3624.jpg","text":"TemporaryFile(/tmp/multipartBody1908546735382183483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914673903,"filename":"image_26012025_19_03_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/259aec0dc73b4ca89c1209fec9e5d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6614139157892087966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914673903,"filename":"image_26012025_19_02_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/26/5500330abfcb71898b716cb40b595a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6124414736038587144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914673903,"filename":"image_26012025_19_03_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/26/6a9cb608f9495a11c621e45cc58d7a82.jpg","text":"TemporaryFile(/tmp/multipartBody6358198321423445918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914673903,"filename":"image_26012025_19_03_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/26/cc6b98475dcd0b95662474658cfe6fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6942405105363368808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914673903,"filename":"image_26012025_19_03_15_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331736190","file1":"1331736185","file0":"1331736170","file4":"1331736386","file3":"1331736365"},"map_files_photo_id_array":[{"photo_id":"1331736190","filename":"file2"},{"photo_id":"1331736386","filename":"file4"},{"photo_id":"1331736185","filename":"file1"},{"photo_id":"1331736170","filename":"file0"},{"photo_id":"1331736365","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331736185":["hashtag1","hashtag2"]},{"1331736170":["hashtag1","hashtag2"]},{"1331736386":["hashtag1","hashtag2"]},{"1331736365":["hashtag1","hashtag2"]},{"1331736190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331736185, 1331736170, 1331736386, 1331736365, 1331736190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.41937565803528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:04:32.424128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_54_9351.jpg', '/home/pi/Desktop/images/26012025/19/03/image_26012025_19_04_05_10411.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_15_10348.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_24_9336.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_35_10431.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_54_9351.jpg
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_04_05_10411.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_15_10348.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_24_9336.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_35_10431.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_44_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.5426280498504639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:04:42.350385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_54_9351.jpg', '/home/pi/Desktop/images/26012025/19/03/image_26012025_19_04_05_10411.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_15_10348.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_24_9336.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_35_10431.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_03_54_9351.jpg
/home/pi/Desktop/images/26012025/19/03/image_26012025_19_04_05_10411.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_15_10348.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_24_9336.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_35_10431.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_44_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":["1331737101","1331736699","1331736735","1331736708","1331736710","1331736704"],"photo_ids_order":["1331736699","1331736704","1331736708","1331736710","1331736735","1331737101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/102b2545891e48ea94079b5e713d4477.jpg","text":"TemporaryFile(/tmp/multipartBody3867643158963372991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_04_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/26/ff235ec70c412a5cc4e1e1c139c2852a.jpg","text":"TemporaryFile(/tmp/multipartBody3277698552317769519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_03_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/26/f5134dd4fb5070a6aa4ef6c36d2414b5.jpg","text":"TemporaryFile(/tmp/multipartBody6584414075327753288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_04_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/26/fab4498cbf5bb9e7eae0325fc42b447c.jpg","text":"TemporaryFile(/tmp/multipartBody6197542360499107723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_04_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/26/100e30c222877c007db6d5824c90a20c.jpg","text":"TemporaryFile(/tmp/multipartBody6119931293947122203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_04_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ed3f44904755fdbc50926824cf28810a.jpg","text":"TemporaryFile(/tmp/multipartBody7329379342793709340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914743320,"filename":"image_26012025_19_04_05_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331736708","file1":"1331736704","file0":"1331736699","file4":"1331736735","file5":"1331737101","file3":"1331736710"},"map_files_photo_id_array":[{"photo_id":"1331737101","filename":"file5"},{"photo_id":"1331736708","filename":"file2"},{"photo_id":"1331736735","filename":"file4"},{"photo_id":"1331736704","filename":"file1"},{"photo_id":"1331736699","filename":"file0"},{"photo_id":"1331736710","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331737101":["hashtag1","hashtag2"]},{"1331736699":["hashtag1","hashtag2"]},{"1331736735":["hashtag1","hashtag2"]},{"1331736708":["hashtag1","hashtag2"]},{"1331736710":["hashtag1","hashtag2"]},{"1331736704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331737101, 1331736699, 1331736735, 1331736708, 1331736710, 1331736704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.592907667160034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:05:32.609369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_54_10338.jpg', '/home/pi/Desktop/images/26012025/19/04/image_26012025_19_05_05_10467.jpg', '/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_14_9341.jpg', '/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_25_10486.jpg', '/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_34_9345.jpg', '/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_44_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_04_54_10338.jpg
/home/pi/Desktop/images/26012025/19/04/image_26012025_19_05_05_10467.jpg
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_14_9341.jpg
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_25_10486.jpg
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_34_9345.jpg
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_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":["1331737695","1331737691","1331737676","1331737696","1331737681","1331737686"],"photo_ids_order":["1331737676","1331737681","1331737686","1331737691","1331737695","1331737696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7f668c76decda14a6693aa3dd54471e7.jpg","text":"TemporaryFile(/tmp/multipartBody5321264621403160476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_05_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/57e017fbc79604a97e25f27c07f8e9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3634147723475058534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_05_25_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/26/39d9a51ae0d496f2dba7fdfaa9aabb5f.jpg","text":"TemporaryFile(/tmp/multipartBody6423772827100171987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_04_54_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/26/9eee24c3fb77b29509b7fa7dba9a50f1.jpg","text":"TemporaryFile(/tmp/multipartBody5602298700757675422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_05_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/26/092d4e3f5f4a57f2fc32eb861a2e73c7.jpg","text":"TemporaryFile(/tmp/multipartBody3016791913145106042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_05_05_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/26/2eeb494acc09e604c89e4e4663ab7e87.jpg","text":"TemporaryFile(/tmp/multipartBody2106829442765730299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914793527,"filename":"image_26012025_19_05_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331737686","file1":"1331737681","file0":"1331737676","file4":"1331737695","file5":"1331737696","file3":"1331737691"},"map_files_photo_id_array":[{"photo_id":"1331737696","filename":"file5"},{"photo_id":"1331737686","filename":"file2"},{"photo_id":"1331737695","filename":"file4"},{"photo_id":"1331737681","filename":"file1"},{"photo_id":"1331737676","filename":"file0"},{"photo_id":"1331737691","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331737695":["hashtag1","hashtag2"]},{"1331737691":["hashtag1","hashtag2"]},{"1331737676":["hashtag1","hashtag2"]},{"1331737696":["hashtag1","hashtag2"]},{"1331737681":["hashtag1","hashtag2"]},{"1331737686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331737695, 1331737691, 1331737676, 1331737696, 1331737681, 1331737686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.34912872314453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:06:32.776140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_55_10458.jpg', '/home/pi/Desktop/images/26012025/19/05/image_26012025_19_06_04_9344.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_15_10405.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_25_10349.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_34_9329.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_45_10471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_05_55_10458.jpg
/home/pi/Desktop/images/26012025/19/05/image_26012025_19_06_04_9344.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_15_10405.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_25_10349.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_34_9329.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_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":["1331738112","1331738165","1331738164","1331737709","1331738122","1331737777"],"photo_ids_order":["1331737709","1331737777","1331738112","1331738122","1331738164","1331738165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d40c3a4e29e2d67e0de28437d409220f.jpg","text":"TemporaryFile(/tmp/multipartBody732084748247404626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_06_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/26/b341240ecfa457e65266a8c9c2cc1951.jpg","text":"TemporaryFile(/tmp/multipartBody7658199844000188579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_06_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/26/9a58501b99e73d4e7269c98e5e6699a0.jpg","text":"TemporaryFile(/tmp/multipartBody1151543538467450957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_06_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/600ae72558ff595d8ccf70ae32253ef7.jpg","text":"TemporaryFile(/tmp/multipartBody3780888456073096904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_05_55_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ad1d8f1bd3ee44b6a1a2d5ff798fbe8.jpg","text":"TemporaryFile(/tmp/multipartBody5917612438124542130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_06_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1b4a12c28e8d1fde1681a29ad07081ec.jpg","text":"TemporaryFile(/tmp/multipartBody2963478956271655342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914853724,"filename":"image_26012025_19_06_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738112","file1":"1331737777","file0":"1331737709","file4":"1331738164","file5":"1331738165","file3":"1331738122"},"map_files_photo_id_array":[{"photo_id":"1331738165","filename":"file5"},{"photo_id":"1331738112","filename":"file2"},{"photo_id":"1331738164","filename":"file4"},{"photo_id":"1331737777","filename":"file1"},{"photo_id":"1331737709","filename":"file0"},{"photo_id":"1331738122","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738112":["hashtag1","hashtag2"]},{"1331738165":["hashtag1","hashtag2"]},{"1331738164":["hashtag1","hashtag2"]},{"1331737709":["hashtag1","hashtag2"]},{"1331738122":["hashtag1","hashtag2"]},{"1331737777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738112, 1331738165, 1331738164, 1331737709, 1331738122, 1331737777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75456428527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:07:32.983313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_54_9363.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_07_04_10367.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_15_10450.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_24_9349.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_35_10350.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_44_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_54_9363.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_07_04_10367.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_15_10450.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_24_9349.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_35_10350.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_44_9436.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5509884357452393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:07:42.885410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_54_9363.jpg', '/home/pi/Desktop/images/26012025/19/06/image_26012025_19_07_04_10367.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_15_10450.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_24_9349.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_35_10350.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_44_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_06_54_9363.jpg
/home/pi/Desktop/images/26012025/19/06/image_26012025_19_07_04_10367.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_15_10450.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_24_9349.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_35_10350.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_44_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331738258","1331738299","1331738256","1331738259","1331738250","1331738244"],"photo_ids_order":["1331738244","1331738250","1331738256","1331738258","1331738259","1331738299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3fc79d552399dc7a65ed74fb641ec7da.jpg","text":"TemporaryFile(/tmp/multipartBody4673496724095271647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_07_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/26/629256ecd3352a3b1584d4fa8ed0a84f.jpg","text":"TemporaryFile(/tmp/multipartBody5985625090407067053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_07_44_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e54c80f378f9a200b1fd0e62e715317.jpg","text":"TemporaryFile(/tmp/multipartBody492727504622929347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_07_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/26/5bcf7ea8c9eb612e1a9af6b368618e67.jpg","text":"TemporaryFile(/tmp/multipartBody2483566240734129557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_07_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/26/353e370db4fb299b6cb00c69c333969b.jpg","text":"TemporaryFile(/tmp/multipartBody1288905295063564612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_07_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/edd04eaf0374f5f15c8aeed2897dde24.jpg","text":"TemporaryFile(/tmp/multipartBody1543738558988866120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914923804,"filename":"image_26012025_19_06_54_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738256","file1":"1331738250","file0":"1331738244","file4":"1331738259","file5":"1331738299","file3":"1331738258"},"map_files_photo_id_array":[{"photo_id":"1331738299","filename":"file5"},{"photo_id":"1331738256","filename":"file2"},{"photo_id":"1331738259","filename":"file4"},{"photo_id":"1331738250","filename":"file1"},{"photo_id":"1331738244","filename":"file0"},{"photo_id":"1331738258","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738258":["hashtag1","hashtag2"]},{"1331738299":["hashtag1","hashtag2"]},{"1331738256":["hashtag1","hashtag2"]},{"1331738259":["hashtag1","hashtag2"]},{"1331738250":["hashtag1","hashtag2"]},{"1331738244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738258, 1331738299, 1331738256, 1331738259, 1331738250, 1331738244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87860155105591 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:08:32.319528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_54_10365.jpg', '/home/pi/Desktop/images/26012025/19/07/image_26012025_19_08_05_10455.jpg', '/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_14_9320.jpg', '/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_25_10442.jpg', '/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_34_9375.jpg', '/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_44_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_07_54_10365.jpg
/home/pi/Desktop/images/26012025/19/07/image_26012025_19_08_05_10455.jpg
/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_14_9320.jpg
/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_25_10442.jpg
/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_34_9375.jpg
/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_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":["1331738319","1331738316","1331738321","1331738303","1331738308","1331738311"],"photo_ids_order":["1331738303","1331738308","1331738311","1331738316","1331738319","1331738321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30ce0b029dfbb8a72d6f652514b99137.jpg","text":"TemporaryFile(/tmp/multipartBody2980225000150776254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_08_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/26/b1e913b1f19ea11caa20899e9cc01cac.jpg","text":"TemporaryFile(/tmp/multipartBody7696163415359557231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_08_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/26/5e1a1122c9f3de988bcc257e1b4e87be.jpg","text":"TemporaryFile(/tmp/multipartBody3004722466844173238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_08_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/26/e4a3eedc7a67ff5082fe2a0828a82694.jpg","text":"TemporaryFile(/tmp/multipartBody1695239737484740047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_07_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e8c41680a37829f8aadd7c9490baf20.jpg","text":"TemporaryFile(/tmp/multipartBody2381054732760614385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_08_05_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/26/a85f467edc0392ab476b9c03a64b4512.jpg","text":"TemporaryFile(/tmp/multipartBody6431429560046418430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737914973244,"filename":"image_26012025_19_08_14_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738311","file1":"1331738308","file0":"1331738303","file4":"1331738319","file5":"1331738321","file3":"1331738316"},"map_files_photo_id_array":[{"photo_id":"1331738321","filename":"file5"},{"photo_id":"1331738311","filename":"file2"},{"photo_id":"1331738319","filename":"file4"},{"photo_id":"1331738308","filename":"file1"},{"photo_id":"1331738303","filename":"file0"},{"photo_id":"1331738316","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738319":["hashtag1","hashtag2"]},{"1331738316":["hashtag1","hashtag2"]},{"1331738321":["hashtag1","hashtag2"]},{"1331738303":["hashtag1","hashtag2"]},{"1331738308":["hashtag1","hashtag2"]},{"1331738311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738319, 1331738316, 1331738321, 1331738303, 1331738308, 1331738311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.926488637924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:09:32.524300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_55_10442.jpg', '/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_15_10406.jpg', '/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_25_10369.jpg', '/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_34_9351.jpg', '/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_45_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/08/image_26012025_19_08_55_10442.jpg
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_15_10406.jpg
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_25_10369.jpg
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_34_9351.jpg
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_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":["1331738333","1331738327","1331738344","1331738340","1331738337"],"photo_ids_order":["1331738327","1331738333","1331738337","1331738340","1331738344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2db6383a1d09930a718ee7ad092c16f4.jpg","text":"TemporaryFile(/tmp/multipartBody376996487730728300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915033419,"filename":"image_26012025_19_09_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/26/63deb17006b0131425180a3310d1e774.jpg","text":"TemporaryFile(/tmp/multipartBody443707252937068915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915033419,"filename":"image_26012025_19_08_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/26/272e1fb75a527fa05793909af534a491.jpg","text":"TemporaryFile(/tmp/multipartBody8341512970311223615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915033419,"filename":"image_26012025_19_09_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/26/2e5d68fd06d3561dbaceb09f64721b7e.jpg","text":"TemporaryFile(/tmp/multipartBody5825388224370468403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915033419,"filename":"image_26012025_19_09_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/26/37447aecc21ee27a1d2beb39f401fcb1.jpg","text":"TemporaryFile(/tmp/multipartBody1945977380189471084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915033419,"filename":"image_26012025_19_09_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738337","file1":"1331738333","file0":"1331738327","file4":"1331738344","file3":"1331738340"},"map_files_photo_id_array":[{"photo_id":"1331738337","filename":"file2"},{"photo_id":"1331738344","filename":"file4"},{"photo_id":"1331738333","filename":"file1"},{"photo_id":"1331738327","filename":"file0"},{"photo_id":"1331738340","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738333":["hashtag1","hashtag2"]},{"1331738327":["hashtag1","hashtag2"]},{"1331738344":["hashtag1","hashtag2"]},{"1331738340":["hashtag1","hashtag2"]},{"1331738337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738333, 1331738327, 1331738344, 1331738340, 1331738337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.857863426208496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:10:32.746261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_54_9368.jpg', '/home/pi/Desktop/images/26012025/19/09/image_26012025_19_10_05_10415.jpg', '/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_15_10419.jpg', '/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_24_9353.jpg', '/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_35_10406.jpg', '/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_09_54_9368.jpg
/home/pi/Desktop/images/26012025/19/09/image_26012025_19_10_05_10415.jpg
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_15_10419.jpg
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_24_9353.jpg
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_35_10406.jpg
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_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":["1331738363","1331738365","1331738359","1331738368","1331738355","1331738370"],"photo_ids_order":["1331738355","1331738359","1331738363","1331738365","1331738368","1331738370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b465bf11294ea36d772eac213aaea49.jpg","text":"TemporaryFile(/tmp/multipartBody2067981862118749635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_10_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/26/75ed4ab788096ee2d13810d2c5eec822.jpg","text":"TemporaryFile(/tmp/multipartBody3734123685262964936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_10_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/26/f3bbc6206aa4e8f1c7e8b7a6efb9fe61.jpg","text":"TemporaryFile(/tmp/multipartBody1096500253876549193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_10_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/20c1da86f116933562bb6e593f39b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7137000013197001857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_10_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/26/0dd896d56ec6bc2fd92ca9d7de9a96eb.jpg","text":"TemporaryFile(/tmp/multipartBody235514007858342435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_09_54_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/26/0647686d31cf920f8116fca389a24a14.jpg","text":"TemporaryFile(/tmp/multipartBody735674096969886145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915093686,"filename":"image_26012025_19_10_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738363","file1":"1331738359","file0":"1331738355","file4":"1331738368","file5":"1331738370","file3":"1331738365"},"map_files_photo_id_array":[{"photo_id":"1331738370","filename":"file5"},{"photo_id":"1331738363","filename":"file2"},{"photo_id":"1331738368","filename":"file4"},{"photo_id":"1331738359","filename":"file1"},{"photo_id":"1331738355","filename":"file0"},{"photo_id":"1331738365","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738363":["hashtag1","hashtag2"]},{"1331738365":["hashtag1","hashtag2"]},{"1331738359":["hashtag1","hashtag2"]},{"1331738368":["hashtag1","hashtag2"]},{"1331738355":["hashtag1","hashtag2"]},{"1331738370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738363, 1331738365, 1331738359, 1331738368, 1331738355, 1331738370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.427072048187256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:11:32.908457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_54_10358.jpg', '/home/pi/Desktop/images/26012025/19/10/image_26012025_19_11_05_10398.jpg', '/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_14_9335.jpg', '/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_25_10419.jpg', '/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_35_10362.jpg', '/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_44_9450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_10_54_10358.jpg
/home/pi/Desktop/images/26012025/19/10/image_26012025_19_11_05_10398.jpg
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_14_9335.jpg
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_25_10419.jpg
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_35_10362.jpg
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_44_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":["1331738430","1331738433","1331738435","1331738425","1331738428","1331738436"],"photo_ids_order":["1331738425","1331738428","1331738430","1331738433","1331738435","1331738436"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/368f14fc2c0971753bc16cc234cd515f.jpg","text":"TemporaryFile(/tmp/multipartBody7311474704445313442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_11_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2d524239cd6b95d2a4a8734148dad1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2375916377471072762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_11_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/26/6a7230bc9e7091b064825cfaa2343f82.jpg","text":"TemporaryFile(/tmp/multipartBody7985144504410584760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_11_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/26/c655efdb04dca302c857394be0a62a83.jpg","text":"TemporaryFile(/tmp/multipartBody7192137668110638951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_10_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/26/94e7143b5e9aa41ebb35d274ecdea8fb.jpg","text":"TemporaryFile(/tmp/multipartBody8309378733292630425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_11_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/475b91962d7771a350add0f89d908418.jpg","text":"TemporaryFile(/tmp/multipartBody4356200202472507705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915153828,"filename":"image_26012025_19_11_44_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738430","file1":"1331738428","file0":"1331738425","file4":"1331738435","file5":"1331738436","file3":"1331738433"},"map_files_photo_id_array":[{"photo_id":"1331738436","filename":"file5"},{"photo_id":"1331738430","filename":"file2"},{"photo_id":"1331738435","filename":"file4"},{"photo_id":"1331738428","filename":"file1"},{"photo_id":"1331738425","filename":"file0"},{"photo_id":"1331738433","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738430":["hashtag1","hashtag2"]},{"1331738433":["hashtag1","hashtag2"]},{"1331738435":["hashtag1","hashtag2"]},{"1331738425":["hashtag1","hashtag2"]},{"1331738428":["hashtag1","hashtag2"]},{"1331738436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738430, 1331738433, 1331738435, 1331738425, 1331738428, 1331738436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2576105594635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:12:33.226098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_55_10438.jpg', '/home/pi/Desktop/images/26012025/19/11/image_26012025_19_12_04_9344.jpg', '/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_15_10461.jpg', '/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_24_9353.jpg', '/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_34_10349.jpg', '/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_45_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_11_55_10438.jpg
/home/pi/Desktop/images/26012025/19/11/image_26012025_19_12_04_9344.jpg
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_15_10461.jpg
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_24_9353.jpg
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_34_10349.jpg
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_45_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":["1331738489","1331738456","1331738470","1331738464","1331738467","1331738460"],"photo_ids_order":["1331738456","1331738460","1331738464","1331738467","1331738470","1331738489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f4a016d23eaf6b190681f1099f5b189.jpg","text":"TemporaryFile(/tmp/multipartBody2017531554580104176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_12_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/26/548bdb0c487011f354065f47ad3b2a74.jpg","text":"TemporaryFile(/tmp/multipartBody8311300118607221096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_11_55_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/26/cc675728801e69afb0290a4aa4723487.jpg","text":"TemporaryFile(/tmp/multipartBody4907323777104031857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_12_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/26/150f77da5f7218777f4b279eeedd640d.jpg","text":"TemporaryFile(/tmp/multipartBody706647460378170991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_12_15_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c8b8a25e6f35cab87d9569444b84822b.jpg","text":"TemporaryFile(/tmp/multipartBody5277473151173257303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_12_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/26/c70cdea328d025b6ff6821ff38131de4.jpg","text":"TemporaryFile(/tmp/multipartBody7499134250114548542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915214174,"filename":"image_26012025_19_12_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738464","file1":"1331738460","file0":"1331738456","file4":"1331738470","file5":"1331738489","file3":"1331738467"},"map_files_photo_id_array":[{"photo_id":"1331738489","filename":"file5"},{"photo_id":"1331738464","filename":"file2"},{"photo_id":"1331738470","filename":"file4"},{"photo_id":"1331738460","filename":"file1"},{"photo_id":"1331738456","filename":"file0"},{"photo_id":"1331738467","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738489":["hashtag1","hashtag2"]},{"1331738456":["hashtag1","hashtag2"]},{"1331738470":["hashtag1","hashtag2"]},{"1331738464":["hashtag1","hashtag2"]},{"1331738467":["hashtag1","hashtag2"]},{"1331738460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738489, 1331738456, 1331738470, 1331738464, 1331738467, 1331738460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48251175880432 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:13:32.512873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_54_9369.jpg', '/home/pi/Desktop/images/26012025/19/12/image_26012025_19_13_05_10420.jpg', '/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_15_10350.jpg', '/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_24_9439.jpg', '/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_35_10366.jpg', '/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_44_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_12_54_9369.jpg
/home/pi/Desktop/images/26012025/19/12/image_26012025_19_13_05_10420.jpg
/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_15_10350.jpg
/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_24_9439.jpg
/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_35_10366.jpg
/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331738588","1331738552","1331738590","1331738593","1331738596","1331738595"],"photo_ids_order":["1331738552","1331738588","1331738590","1331738593","1331738595","1331738596"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd772ac3e2e878625ec2c2a2a61d5e46.jpg","text":"TemporaryFile(/tmp/multipartBody492626622245302149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_13_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8db025b3d4b4d66d759f68ee452b1124.jpg","text":"TemporaryFile(/tmp/multipartBody7179908507147246544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_12_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e83c6fa583445437994cf086f17452c5.jpg","text":"TemporaryFile(/tmp/multipartBody3396676758604806341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_13_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/26/2a8642410ef2e6f0bd66377e0452a225.jpg","text":"TemporaryFile(/tmp/multipartBody3173201740191833106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_13_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/26/313d44168c58877968b0e44eaf6f3e08.jpg","text":"TemporaryFile(/tmp/multipartBody8863383158161123405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_13_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/50d38d284f88a3c4d616cf2f68d8c27f.jpg","text":"TemporaryFile(/tmp/multipartBody4912733663977297361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915273458,"filename":"image_26012025_19_13_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738590","file1":"1331738588","file0":"1331738552","file4":"1331738595","file5":"1331738596","file3":"1331738593"},"map_files_photo_id_array":[{"photo_id":"1331738596","filename":"file5"},{"photo_id":"1331738590","filename":"file2"},{"photo_id":"1331738595","filename":"file4"},{"photo_id":"1331738588","filename":"file1"},{"photo_id":"1331738552","filename":"file0"},{"photo_id":"1331738593","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738588":["hashtag1","hashtag2"]},{"1331738552":["hashtag1","hashtag2"]},{"1331738590":["hashtag1","hashtag2"]},{"1331738593":["hashtag1","hashtag2"]},{"1331738596":["hashtag1","hashtag2"]},{"1331738595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738588, 1331738552, 1331738590, 1331738593, 1331738596, 1331738595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59245204925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:14:32.625903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_54_10341.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_14_9329.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_25_10465.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_34_9336.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_44_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/13/image_26012025_19_13_54_10341.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_14_9329.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_25_10465.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_34_9336.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_44_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331738700","1331738710","1331738704","1331738707","1331738697"],"photo_ids_order":["1331738697","1331738700","1331738704","1331738707","1331738710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c746ebe17903c0f3d87a1e804c9d362c.jpg","text":"TemporaryFile(/tmp/multipartBody8457923653468365904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915333517,"filename":"image_26012025_19_14_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/26/b62268b2e54d800287c672dab3f91011.jpg","text":"TemporaryFile(/tmp/multipartBody121163205947975377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915333517,"filename":"image_26012025_19_14_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59197208913908b76c6cab6087123676.jpg","text":"TemporaryFile(/tmp/multipartBody686836708340002626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915333517,"filename":"image_26012025_19_14_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a7d52d0449e930bf72102857d08dff3.jpg","text":"TemporaryFile(/tmp/multipartBody6062433429915549737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915333517,"filename":"image_26012025_19_14_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/26/8d58886abe57dc4a75068c23802b3c81.jpg","text":"TemporaryFile(/tmp/multipartBody3323483138973677995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915333517,"filename":"image_26012025_19_13_54_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738704","file1":"1331738700","file0":"1331738697","file4":"1331738710","file3":"1331738707"},"map_files_photo_id_array":[{"photo_id":"1331738704","filename":"file2"},{"photo_id":"1331738710","filename":"file4"},{"photo_id":"1331738700","filename":"file1"},{"photo_id":"1331738697","filename":"file0"},{"photo_id":"1331738707","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738700":["hashtag1","hashtag2"]},{"1331738710":["hashtag1","hashtag2"]},{"1331738704":["hashtag1","hashtag2"]},{"1331738707":["hashtag1","hashtag2"]},{"1331738697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738700, 1331738710, 1331738704, 1331738707, 1331738697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.3332417011261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:15:32.823314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_55_10431.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_15_04_9356.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_15_10460.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_25_10358.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_34_9335.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_55_10431.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_15_04_9356.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_15_10460.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_25_10358.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_34_9335.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_45_10330.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5155880451202393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:15:42.797057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_55_10431.jpg', '/home/pi/Desktop/images/26012025/19/14/image_26012025_19_15_04_9356.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_15_10460.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_25_10358.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_34_9335.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_45_10330.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_14_55_10431.jpg
/home/pi/Desktop/images/26012025/19/14/image_26012025_19_15_04_9356.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_15_10460.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_25_10358.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_34_9335.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_45_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331738888","1331738870","1331738932","1331738920","1331738923","1331738827"],"photo_ids_order":["1331738827","1331738870","1331738888","1331738920","1331738923","1331738932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/56c5b32eb921f4ad7320999ee4f20d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6275467009176211548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_15_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/26/b21e9af389883af6752294f9eca7f4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5248332619758610682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_15_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/26/0f964c6a68a4604a0dbb5a925ec70194.jpg","text":"TemporaryFile(/tmp/multipartBody1839353401645718958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_15_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/26/bc09ec7e879be326aac42d5ce1dd3f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1035442950553788041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_15_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/26/ca988753287d37133fdb018a31b1fb21.jpg","text":"TemporaryFile(/tmp/multipartBody1517833927438394383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_15_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/26/1c542bc40b3e7bb08dd33f8ddd65115b.jpg","text":"TemporaryFile(/tmp/multipartBody1056409056365020642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915403708,"filename":"image_26012025_19_14_55_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738888","file1":"1331738870","file0":"1331738827","file4":"1331738923","file5":"1331738932","file3":"1331738920"},"map_files_photo_id_array":[{"photo_id":"1331738932","filename":"file5"},{"photo_id":"1331738888","filename":"file2"},{"photo_id":"1331738923","filename":"file4"},{"photo_id":"1331738870","filename":"file1"},{"photo_id":"1331738827","filename":"file0"},{"photo_id":"1331738920","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738888":["hashtag1","hashtag2"]},{"1331738870":["hashtag1","hashtag2"]},{"1331738932":["hashtag1","hashtag2"]},{"1331738920":["hashtag1","hashtag2"]},{"1331738923":["hashtag1","hashtag2"]},{"1331738827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738888, 1331738870, 1331738932, 1331738920, 1331738923, 1331738827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.958508253097534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:16:33.222094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_54_9348.jpg', '/home/pi/Desktop/images/26012025/19/15/image_26012025_19_16_04_10354.jpg', '/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_15_10425.jpg', '/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_24_9355.jpg', '/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_34_10339.jpg', '/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_45_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_15_54_9348.jpg
/home/pi/Desktop/images/26012025/19/15/image_26012025_19_16_04_10354.jpg
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_15_10425.jpg
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_24_9355.jpg
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_34_10339.jpg
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_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":["1331738984","1331738978","1331738981","1331738975","1331738983","1331738973"],"photo_ids_order":["1331738973","1331738975","1331738978","1331738981","1331738983","1331738984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b938cca672c28d95eb7a875f75a5aab.jpg","text":"TemporaryFile(/tmp/multipartBody6558399654460869008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_16_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/26/3a63f92742c01b6880060467f250e636.jpg","text":"TemporaryFile(/tmp/multipartBody500877748560203974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_16_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/26/e403f458694d0de56e42deabb2762f53.jpg","text":"TemporaryFile(/tmp/multipartBody76650443535120616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_16_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/26/56125b3fd24dbd106e255dcecfedb3b6.jpg","text":"TemporaryFile(/tmp/multipartBody4599706621046158434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_16_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/26/43f84df59150bc09eb38b10cf6e8c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody6211934392529105586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_16_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af7f2216e94ab98e6fa7e5bade992007.jpg","text":"TemporaryFile(/tmp/multipartBody6407995908196713314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915454183,"filename":"image_26012025_19_15_54_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331738978","file1":"1331738975","file0":"1331738973","file4":"1331738983","file5":"1331738984","file3":"1331738981"},"map_files_photo_id_array":[{"photo_id":"1331738984","filename":"file5"},{"photo_id":"1331738978","filename":"file2"},{"photo_id":"1331738983","filename":"file4"},{"photo_id":"1331738975","filename":"file1"},{"photo_id":"1331738973","filename":"file0"},{"photo_id":"1331738981","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331738984":["hashtag1","hashtag2"]},{"1331738978":["hashtag1","hashtag2"]},{"1331738981":["hashtag1","hashtag2"]},{"1331738975":["hashtag1","hashtag2"]},{"1331738983":["hashtag1","hashtag2"]},{"1331738973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331738984, 1331738978, 1331738981, 1331738975, 1331738983, 1331738973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54657554626465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:17:32.432421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_54_9352.jpg', '/home/pi/Desktop/images/26012025/19/16/image_26012025_19_17_05_10446.jpg', '/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_14_9387.jpg', '/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_24_10386.jpg', '/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_35_10366.jpg', '/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_44_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_16_54_9352.jpg
/home/pi/Desktop/images/26012025/19/16/image_26012025_19_17_05_10446.jpg
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_14_9387.jpg
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_24_10386.jpg
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_35_10366.jpg
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_44_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":["1331739086","1331739071","1331739038","1331739069","1331739024","1331739027"],"photo_ids_order":["1331739024","1331739027","1331739038","1331739069","1331739071","1331739086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/32e05c8f60f13fd4e8f267e20369a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody2422106794303488429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_17_44_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/26/8f8e519365d64e6cc672c683cf17b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody1613215280470256490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_17_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/26/9601070fb239bcc0770cae5931f4ec6b.jpg","text":"TemporaryFile(/tmp/multipartBody1390162249178742175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_17_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5ee0961bdb1a478f32ec872b6645f0df.jpg","text":"TemporaryFile(/tmp/multipartBody1566862974681949277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_17_24_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/26/f19cd2553937d973db6611443f0e6760.jpg","text":"TemporaryFile(/tmp/multipartBody5088227844921404863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_16_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14b11479bfe8e270fee0996aea0698eb.jpg","text":"TemporaryFile(/tmp/multipartBody2708847791461729831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915513361,"filename":"image_26012025_19_17_05_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331739038","file1":"1331739027","file0":"1331739024","file4":"1331739071","file5":"1331739086","file3":"1331739069"},"map_files_photo_id_array":[{"photo_id":"1331739086","filename":"file5"},{"photo_id":"1331739038","filename":"file2"},{"photo_id":"1331739071","filename":"file4"},{"photo_id":"1331739027","filename":"file1"},{"photo_id":"1331739024","filename":"file0"},{"photo_id":"1331739069","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331739086":["hashtag1","hashtag2"]},{"1331739071":["hashtag1","hashtag2"]},{"1331739038":["hashtag1","hashtag2"]},{"1331739069":["hashtag1","hashtag2"]},{"1331739024":["hashtag1","hashtag2"]},{"1331739027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331739086, 1331739071, 1331739038, 1331739069, 1331739024, 1331739027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.108283042907715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:18:32.799220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_54_10349.jpg', '/home/pi/Desktop/images/26012025/19/17/image_26012025_19_18_05_10437.jpg', '/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_14_9346.jpg', '/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_25_10487.jpg', '/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_34_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_17_54_10349.jpg
/home/pi/Desktop/images/26012025/19/17/image_26012025_19_18_05_10437.jpg
/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_14_9346.jpg
/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_25_10487.jpg
/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_34_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":["1331739187","1331739160","1331739184","1331739189","1331739180"],"photo_ids_order":["1331739160","1331739180","1331739184","1331739187","1331739189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ae3f06a28ae9d204c880fb6b290cc32.jpg","text":"TemporaryFile(/tmp/multipartBody3006412225038379670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915574074,"filename":"image_26012025_19_18_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/26/44059ef4374142f6ebae29ae01b10e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6228915596345708247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915574074,"filename":"image_26012025_19_17_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/26/e1779f79a2f82517d01649ede48d3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2480517368368155872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915574074,"filename":"image_26012025_19_18_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c46ff9968a3430f38b4ab96e5796ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3819274679019502635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915574074,"filename":"image_26012025_19_18_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0b31ab9378c1e4d0ea25ede695b89387.jpg","text":"TemporaryFile(/tmp/multipartBody2622689466426895854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915574074,"filename":"image_26012025_19_18_05_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331739184","file1":"1331739180","file0":"1331739160","file4":"1331739189","file3":"1331739187"},"map_files_photo_id_array":[{"photo_id":"1331739184","filename":"file2"},{"photo_id":"1331739189","filename":"file4"},{"photo_id":"1331739180","filename":"file1"},{"photo_id":"1331739160","filename":"file0"},{"photo_id":"1331739187","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331739187":["hashtag1","hashtag2"]},{"1331739160":["hashtag1","hashtag2"]},{"1331739184":["hashtag1","hashtag2"]},{"1331739189":["hashtag1","hashtag2"]},{"1331739180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331739187, 1331739160, 1331739184, 1331739189, 1331739180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.36991858482361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:19:32.999065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_55_10362.jpg', '/home/pi/Desktop/images/26012025/19/18/image_26012025_19_19_04_9345.jpg', '/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_14_10389.jpg', '/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_24_9457.jpg', '/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_34_10352.jpg', '/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_45_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/18/image_26012025_19_18_55_10362.jpg
/home/pi/Desktop/images/26012025/19/18/image_26012025_19_19_04_9345.jpg
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_14_10389.jpg
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_24_9457.jpg
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_34_10352.jpg
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_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":["1331739201","1331739203","1331739206","1331739205","1331739204","1331739207"],"photo_ids_order":["1331739201","1331739203","1331739204","1331739205","1331739206","1331739207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d157afcac6e0471c0c7c2648cb796317.jpg","text":"TemporaryFile(/tmp/multipartBody1206109840512946037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_18_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/26/3a62a5af7af36509ecc41231ee1f5aaf.jpg","text":"TemporaryFile(/tmp/multipartBody9009817818419636024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_19_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/26/1131941e21bf57710816623df6b781b3.jpg","text":"TemporaryFile(/tmp/multipartBody7509631986067508726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_19_34_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/896c2f37488b238b1119f8157f0323e9.jpg","text":"TemporaryFile(/tmp/multipartBody8914967631433828370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_19_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/26/3f7d3faa4a080efa05ee0ddbba64217d.jpg","text":"TemporaryFile(/tmp/multipartBody4979898596439519414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_19_14_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/26/b7c6fffb7b86f2e7f7da1948295fad33.jpg","text":"TemporaryFile(/tmp/multipartBody5858195357324874400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915633922,"filename":"image_26012025_19_19_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331739204","file1":"1331739203","file0":"1331739201","file4":"1331739206","file5":"1331739207","file3":"1331739205"},"map_files_photo_id_array":[{"photo_id":"1331739207","filename":"file5"},{"photo_id":"1331739204","filename":"file2"},{"photo_id":"1331739206","filename":"file4"},{"photo_id":"1331739203","filename":"file1"},{"photo_id":"1331739201","filename":"file0"},{"photo_id":"1331739205","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331739201":["hashtag1","hashtag2"]},{"1331739203":["hashtag1","hashtag2"]},{"1331739206":["hashtag1","hashtag2"]},{"1331739205":["hashtag1","hashtag2"]},{"1331739204":["hashtag1","hashtag2"]},{"1331739207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331739201, 1331739203, 1331739206, 1331739205, 1331739204, 1331739207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71923017501831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:20:32.247211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_54_9354.jpg', '/home/pi/Desktop/images/26012025/19/19/image_26012025_19_20_04_10361.jpg', '/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_15_10436.jpg', '/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_35_10396.jpg', '/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_19_54_9354.jpg
/home/pi/Desktop/images/26012025/19/19/image_26012025_19_20_04_10361.jpg
/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_15_10436.jpg
/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_35_10396.jpg
/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_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":["1331739290","1331740404","1331739935","1331739627","1331740269"],"photo_ids_order":["1331739290","1331739627","1331739935","1331740269","1331740404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64e3bb86f425d8443bd956cdf37f4b69.jpg","text":"TemporaryFile(/tmp/multipartBody9129547682755392269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915693169,"filename":"image_26012025_19_19_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/26/af34c8088d5a5580007e2c70d39553e6.jpg","text":"TemporaryFile(/tmp/multipartBody7956780120559633318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915693169,"filename":"image_26012025_19_20_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/26/e7983defb6349fee38f9bfb80950f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody1034039164167798703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915693169,"filename":"image_26012025_19_20_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/26/4e635ea44d59226778b893a7f7f31670.jpg","text":"TemporaryFile(/tmp/multipartBody4935262306938977343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915693169,"filename":"image_26012025_19_20_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6db38c6226caf494703dd015a2394dab.jpg","text":"TemporaryFile(/tmp/multipartBody2383274000872614072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915693169,"filename":"image_26012025_19_20_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331739935","file1":"1331739627","file0":"1331739290","file4":"1331740404","file3":"1331740269"},"map_files_photo_id_array":[{"photo_id":"1331739935","filename":"file2"},{"photo_id":"1331740404","filename":"file4"},{"photo_id":"1331739627","filename":"file1"},{"photo_id":"1331739290","filename":"file0"},{"photo_id":"1331740269","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331739290":["hashtag1","hashtag2"]},{"1331740404":["hashtag1","hashtag2"]},{"1331739935":["hashtag1","hashtag2"]},{"1331739627":["hashtag1","hashtag2"]},{"1331740269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331739290, 1331740404, 1331739935, 1331739627, 1331740269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.33145260810852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:21:32.496794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_54_9347.jpg', '/home/pi/Desktop/images/26012025/19/20/image_26012025_19_21_05_10427.jpg', '/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_14_9322.jpg', '/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_24_10371.jpg', '/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_35_10321.jpg', '/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_44_9315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/20/image_26012025_19_20_54_9347.jpg
/home/pi/Desktop/images/26012025/19/20/image_26012025_19_21_05_10427.jpg
/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_14_9322.jpg
/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_24_10371.jpg
/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_35_10321.jpg
/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_44_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331740416","1331740418","1331740420","1331740423","1331740426","1331740425"],"photo_ids_order":["1331740416","1331740418","1331740420","1331740423","1331740425","1331740426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4fbdef84020907c2b43bf83ae1d387b9.jpg","text":"TemporaryFile(/tmp/multipartBody314623978520867355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_20_54_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/26/d4e0d239981f00a6921209dd78f110b3.jpg","text":"TemporaryFile(/tmp/multipartBody5860868582229176632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_21_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/029d3fc2fda4f371673518c6daa8adde.jpg","text":"TemporaryFile(/tmp/multipartBody8645118906871739291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_21_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/26/e274f80818786334daa4de09237da201.jpg","text":"TemporaryFile(/tmp/multipartBody488236518177589199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_21_24_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/26/a0b1d4a37e63b6dd78493a9db1ef9037.jpg","text":"TemporaryFile(/tmp/multipartBody7499700062533996145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_21_44_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7bf46935270767fb41bd1e4344dc041d.jpg","text":"TemporaryFile(/tmp/multipartBody43143894821598886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915753427,"filename":"image_26012025_19_21_35_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331740420","file1":"1331740418","file0":"1331740416","file4":"1331740425","file5":"1331740426","file3":"1331740423"},"map_files_photo_id_array":[{"photo_id":"1331740426","filename":"file5"},{"photo_id":"1331740420","filename":"file2"},{"photo_id":"1331740425","filename":"file4"},{"photo_id":"1331740418","filename":"file1"},{"photo_id":"1331740416","filename":"file0"},{"photo_id":"1331740423","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331740416":["hashtag1","hashtag2"]},{"1331740418":["hashtag1","hashtag2"]},{"1331740420":["hashtag1","hashtag2"]},{"1331740423":["hashtag1","hashtag2"]},{"1331740426":["hashtag1","hashtag2"]},{"1331740425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331740416, 1331740418, 1331740420, 1331740423, 1331740426, 1331740425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.538246393203735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:22:32.681839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_54_10344.jpg', '/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_14_9343.jpg', '/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_25_10418.jpg', '/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_44_9347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/21/image_26012025_19_21_54_10344.jpg
/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_14_9343.jpg
/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_25_10418.jpg
/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_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":["1331740991","1331740988","1331740865","1331740951"],"photo_ids_order":["1331740865","1331740951","1331740988","1331740991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/882592c01393c135d69885a7e86fc6bf.jpg","text":"TemporaryFile(/tmp/multipartBody8571032821495874012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915813570,"filename":"image_26012025_19_22_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/26/ad50bf1b0725707ee9ae4df18483ff74.jpg","text":"TemporaryFile(/tmp/multipartBody2946027966055389314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915813570,"filename":"image_26012025_19_22_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/26/d382aeb15627ffad15e1186a49119d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8121214288346206732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915813570,"filename":"image_26012025_19_21_54_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64e4cef5b064a37124e40f6376f3e333.jpg","text":"TemporaryFile(/tmp/multipartBody3536113589318760887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915813570,"filename":"image_26012025_19_22_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331740988","file1":"1331740951","file0":"1331740865","file3":"1331740991"},"map_files_photo_id_array":[{"photo_id":"1331740988","filename":"file2"},{"photo_id":"1331740951","filename":"file1"},{"photo_id":"1331740865","filename":"file0"},{"photo_id":"1331740991","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331740991":["hashtag1","hashtag2"]},{"1331740988":["hashtag1","hashtag2"]},{"1331740865":["hashtag1","hashtag2"]},{"1331740951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331740991, 1331740988, 1331740865, 1331740951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.100911855697632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:23:32.871356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_55_10382.jpg', '/home/pi/Desktop/images/26012025/19/22/image_26012025_19_23_04_9499.jpg', '/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_14_10344.jpg', '/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_25_10446.jpg', '/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_34_9341.jpg', '/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_45_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/22/image_26012025_19_22_55_10382.jpg
/home/pi/Desktop/images/26012025/19/22/image_26012025_19_23_04_9499.jpg
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_14_10344.jpg
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_25_10446.jpg
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_34_9341.jpg
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_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":["1331741123","1331741132","1331741120","1331741130","1331741127","1331741118"],"photo_ids_order":["1331741118","1331741120","1331741123","1331741127","1331741130","1331741132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/24756505a5d71bd09dc0c99040e15e30.jpg","text":"TemporaryFile(/tmp/multipartBody3419283440068278013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_23_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/26/3054df878994eaaaf93ace5790ce4b74.jpg","text":"TemporaryFile(/tmp/multipartBody3987488784440291060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_23_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/26/5ef66ab55bc32a1f67087bee75c4a221.jpg","text":"TemporaryFile(/tmp/multipartBody8103341984917249786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_23_04_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/26/1a279605d0bd75c74c99aee37eafcb16.jpg","text":"TemporaryFile(/tmp/multipartBody1362176281927018910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_23_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/26/0df08d37c2e4df2c612f61ccbf863359.jpg","text":"TemporaryFile(/tmp/multipartBody697215740192191340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_23_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/26/72ed808a0e912cdaf067989237d65b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2518642581414294356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915873802,"filename":"image_26012025_19_22_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331741123","file1":"1331741120","file0":"1331741118","file4":"1331741130","file5":"1331741132","file3":"1331741127"},"map_files_photo_id_array":[{"photo_id":"1331741132","filename":"file5"},{"photo_id":"1331741123","filename":"file2"},{"photo_id":"1331741130","filename":"file4"},{"photo_id":"1331741120","filename":"file1"},{"photo_id":"1331741118","filename":"file0"},{"photo_id":"1331741127","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331741123":["hashtag1","hashtag2"]},{"1331741132":["hashtag1","hashtag2"]},{"1331741120":["hashtag1","hashtag2"]},{"1331741130":["hashtag1","hashtag2"]},{"1331741127":["hashtag1","hashtag2"]},{"1331741118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331741123, 1331741132, 1331741120, 1331741130, 1331741127, 1331741118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.74901795387268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:24:32.219380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_54_9388.jpg', '/home/pi/Desktop/images/26012025/19/23/image_26012025_19_24_04_10340.jpg', '/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_15_10379.jpg', '/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_24_9358.jpg', '/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_34_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_23_54_9388.jpg
/home/pi/Desktop/images/26012025/19/23/image_26012025_19_24_04_10340.jpg
/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_15_10379.jpg
/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_24_9358.jpg
/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_34_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":["1331741393","1331741267","1331741155","1331741142","1331741498"],"photo_ids_order":["1331741142","1331741155","1331741267","1331741393","1331741498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/de2acb4fa5565d05e3eb44e808a1ee06.jpg","text":"TemporaryFile(/tmp/multipartBody3437036764654695878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915933126,"filename":"image_26012025_19_24_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/26/d55cb4efdf6de1819798f0f0014c4c34.jpg","text":"TemporaryFile(/tmp/multipartBody4118643535172970836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915933126,"filename":"image_26012025_19_24_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/26/dca49bba2dd681624c7283f3ce0f16c2.jpg","text":"TemporaryFile(/tmp/multipartBody8425656291613608938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915933126,"filename":"image_26012025_19_24_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/26/5d4327a3d1fcbd5335bd0eeddad58759.jpg","text":"TemporaryFile(/tmp/multipartBody3332879190795367875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915933126,"filename":"image_26012025_19_23_54_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/26/4b99bfe89f0e728c98d8dc94c026261f.jpg","text":"TemporaryFile(/tmp/multipartBody5264099039294567910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915933126,"filename":"image_26012025_19_24_34_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331741267","file1":"1331741155","file0":"1331741142","file4":"1331741498","file3":"1331741393"},"map_files_photo_id_array":[{"photo_id":"1331741267","filename":"file2"},{"photo_id":"1331741498","filename":"file4"},{"photo_id":"1331741155","filename":"file1"},{"photo_id":"1331741142","filename":"file0"},{"photo_id":"1331741393","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331741393":["hashtag1","hashtag2"]},{"1331741267":["hashtag1","hashtag2"]},{"1331741155":["hashtag1","hashtag2"]},{"1331741142":["hashtag1","hashtag2"]},{"1331741498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331741393, 1331741267, 1331741155, 1331741142, 1331741498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.28921103477478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:25:32.434038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_54_9339.jpg', '/home/pi/Desktop/images/26012025/19/24/image_26012025_19_25_05_10464.jpg', '/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_15_10340.jpg', '/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_24_9357.jpg', '/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_35_10346.jpg', '/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_44_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/24/image_26012025_19_24_54_9339.jpg
/home/pi/Desktop/images/26012025/19/24/image_26012025_19_25_05_10464.jpg
/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_15_10340.jpg
/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_24_9357.jpg
/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_35_10346.jpg
/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_44_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":["1331742158","1331742181","1331742097","1331742133","1331742180","1331742060"],"photo_ids_order":["1331742060","1331742097","1331742133","1331742158","1331742180","1331742181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41bc42f759b0a2a98c8015e9527538ea.jpg","text":"TemporaryFile(/tmp/multipartBody1419142474317692993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_25_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3d1673394696f9e46081e15be33bcbc4.jpg","text":"TemporaryFile(/tmp/multipartBody3901693022998082950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_25_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f5ac68fec2c6c01f330ff74db528323.jpg","text":"TemporaryFile(/tmp/multipartBody8053297390802797072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_25_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e3d102df99d0741101bf381a1cd3f27.jpg","text":"TemporaryFile(/tmp/multipartBody206747942913690692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_25_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/26/93bfa73b98c66dcd7db6d6dc4b96b28b.jpg","text":"TemporaryFile(/tmp/multipartBody758647412955342605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_25_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/26/1b4ce9ca10231a2837e305e4246cdfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7224875553805351953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737915993346,"filename":"image_26012025_19_24_54_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331742133","file1":"1331742097","file0":"1331742060","file4":"1331742180","file5":"1331742181","file3":"1331742158"},"map_files_photo_id_array":[{"photo_id":"1331742181","filename":"file5"},{"photo_id":"1331742133","filename":"file2"},{"photo_id":"1331742180","filename":"file4"},{"photo_id":"1331742097","filename":"file1"},{"photo_id":"1331742060","filename":"file0"},{"photo_id":"1331742158","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331742158":["hashtag1","hashtag2"]},{"1331742181":["hashtag1","hashtag2"]},{"1331742097":["hashtag1","hashtag2"]},{"1331742133":["hashtag1","hashtag2"]},{"1331742180":["hashtag1","hashtag2"]},{"1331742060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331742158, 1331742181, 1331742097, 1331742133, 1331742180, 1331742060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.731420040130615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:26:32.601735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_54_10359.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_14_9351.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_24_10349.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_35_10388.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_44_9368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/25/image_26012025_19_25_54_10359.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_14_9351.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_24_10349.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_35_10388.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_44_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":["1331742533","1331742544","1331742540","1331742429","1331742284"],"photo_ids_order":["1331742284","1331742429","1331742533","1331742540","1331742544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2969c9ffe9f1040383ae0dfc9c853a19.jpg","text":"TemporaryFile(/tmp/multipartBody1095611340243295857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916053525,"filename":"image_26012025_19_26_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bce2c03e724e4b2b88780c47dbc1e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6302924755155255048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916053525,"filename":"image_26012025_19_26_44_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/354df62771a4976207d2669342d9f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3168456782292138474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916053525,"filename":"image_26012025_19_26_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/26/8e64f55ca7b8ebf82ccd46b68c39d6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6002665449317901468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916053525,"filename":"image_26012025_19_26_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b89d510c3f7499558e6e484cf174c29.jpg","text":"TemporaryFile(/tmp/multipartBody1473873581093437392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916053525,"filename":"image_26012025_19_25_54_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331742533","file1":"1331742429","file0":"1331742284","file4":"1331742544","file3":"1331742540"},"map_files_photo_id_array":[{"photo_id":"1331742533","filename":"file2"},{"photo_id":"1331742544","filename":"file4"},{"photo_id":"1331742429","filename":"file1"},{"photo_id":"1331742284","filename":"file0"},{"photo_id":"1331742540","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331742533":["hashtag1","hashtag2"]},{"1331742544":["hashtag1","hashtag2"]},{"1331742540":["hashtag1","hashtag2"]},{"1331742429":["hashtag1","hashtag2"]},{"1331742284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331742533, 1331742544, 1331742540, 1331742429, 1331742284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.95793533325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:27:32.827917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_55_10425.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_27_05_10328.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_25_10447.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_34_9343.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_44_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_55_10425.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_27_05_10328.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_25_10447.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_34_9343.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_44_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.501129150390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:27:42.798810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_55_10425.jpg', '/home/pi/Desktop/images/26012025/19/26/image_26012025_19_27_05_10328.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_25_10447.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_34_9343.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_44_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_26_55_10425.jpg
/home/pi/Desktop/images/26012025/19/26/image_26012025_19_27_05_10328.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_25_10447.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_34_9343.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_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":["1331742688","1331742690","1331742678","1331742689","1331742683"],"photo_ids_order":["1331742678","1331742683","1331742688","1331742689","1331742690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/263d97aa0c7711bae0ce205528bcc9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4944003660134093853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916123698,"filename":"image_26012025_19_27_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/26/26261efdf0c2ae851d914efda3747c07.jpg","text":"TemporaryFile(/tmp/multipartBody7177606479827906557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916123698,"filename":"image_26012025_19_27_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/26/71add1cd55302bf15e8ff71e290df2cf.jpg","text":"TemporaryFile(/tmp/multipartBody6638520751891181568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916123698,"filename":"image_26012025_19_26_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/26/1e9187cf053bea508a58053797e76dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2075440402003359662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916123698,"filename":"image_26012025_19_27_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/26/43ec5f728806bc8232c4df4fc93cd334.jpg","text":"TemporaryFile(/tmp/multipartBody1553095155534132180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916123698,"filename":"image_26012025_19_27_05_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331742688","file1":"1331742683","file0":"1331742678","file4":"1331742690","file3":"1331742689"},"map_files_photo_id_array":[{"photo_id":"1331742688","filename":"file2"},{"photo_id":"1331742690","filename":"file4"},{"photo_id":"1331742683","filename":"file1"},{"photo_id":"1331742678","filename":"file0"},{"photo_id":"1331742689","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331742688":["hashtag1","hashtag2"]},{"1331742690":["hashtag1","hashtag2"]},{"1331742678":["hashtag1","hashtag2"]},{"1331742689":["hashtag1","hashtag2"]},{"1331742683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331742688, 1331742690, 1331742678, 1331742689, 1331742683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.82607126235962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:28:33.090529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_55_10356.jpg', '/home/pi/Desktop/images/26012025/19/27/image_26012025_19_28_04_9445.jpg', '/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_15_10483.jpg', '/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_24_9403.jpg', '/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_34_10344.jpg', '/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_45_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_27_55_10356.jpg
/home/pi/Desktop/images/26012025/19/27/image_26012025_19_28_04_9445.jpg
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_15_10483.jpg
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_24_9403.jpg
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_34_10344.jpg
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_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":["1331743024","1331742982","1331743027","1331742985","1331742979","1331743028"],"photo_ids_order":["1331742979","1331742982","1331742985","1331743024","1331743027","1331743028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/249c9b39d4cf13a14475f805808fa247.jpg","text":"TemporaryFile(/tmp/multipartBody5150543467208055454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_28_24_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/26/f668aed5b5f5c632baba7af4edf3c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody5930524750248828499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_28_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/26/ce7afeed7378eeedd56a684fcbc24896.jpg","text":"TemporaryFile(/tmp/multipartBody8206412414432257192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_28_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/26/dcba6a0e7a699f2711a3d495409a850e.jpg","text":"TemporaryFile(/tmp/multipartBody3152854488340749034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_28_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/26/2188be91e90998a02772dc3dcce911fe.jpg","text":"TemporaryFile(/tmp/multipartBody8875035646976970320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_27_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c9520d08cac6298a29ff332e850cab26.jpg","text":"TemporaryFile(/tmp/multipartBody4143003406574251184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916174009,"filename":"image_26012025_19_28_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331742985","file1":"1331742982","file0":"1331742979","file4":"1331743027","file5":"1331743028","file3":"1331743024"},"map_files_photo_id_array":[{"photo_id":"1331743028","filename":"file5"},{"photo_id":"1331742985","filename":"file2"},{"photo_id":"1331743027","filename":"file4"},{"photo_id":"1331742982","filename":"file1"},{"photo_id":"1331742979","filename":"file0"},{"photo_id":"1331743024","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331743024":["hashtag1","hashtag2"]},{"1331742982":["hashtag1","hashtag2"]},{"1331743027":["hashtag1","hashtag2"]},{"1331742985":["hashtag1","hashtag2"]},{"1331742979":["hashtag1","hashtag2"]},{"1331743028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331743024, 1331742982, 1331743027, 1331742985, 1331742979, 1331743028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.275466203689575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:29:32.298814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_54_9346.jpg', '/home/pi/Desktop/images/26012025/19/28/image_26012025_19_29_04_10352.jpg', '/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_15_10448.jpg', '/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_24_9349.jpg', '/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_35_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_28_54_9346.jpg
/home/pi/Desktop/images/26012025/19/28/image_26012025_19_29_04_10352.jpg
/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_15_10448.jpg
/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_24_9349.jpg
/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_35_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":["1331743159","1331743051","1331743048","1331743043","1331743055"],"photo_ids_order":["1331743043","1331743048","1331743051","1331743055","1331743159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac30e0348f030b2889e43f9c58f666ad.jpg","text":"TemporaryFile(/tmp/multipartBody7058051179336786747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916233210,"filename":"image_26012025_19_29_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f4f3cc69e31d0afa6c761221f482e9e2.jpg","text":"TemporaryFile(/tmp/multipartBody6273084967574557543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916233210,"filename":"image_26012025_19_29_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27fab86b6620934009e3a3b1348b2721.jpg","text":"TemporaryFile(/tmp/multipartBody8049886243216489611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916233210,"filename":"image_26012025_19_29_04_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/26/3d06610bac0d1da0a420b7ace3cb2187.jpg","text":"TemporaryFile(/tmp/multipartBody1749954427772920146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916233210,"filename":"image_26012025_19_28_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/26/bc24481595166955c7b13a880580225f.jpg","text":"TemporaryFile(/tmp/multipartBody2043083780307267701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916233210,"filename":"image_26012025_19_29_24_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331743051","file1":"1331743048","file0":"1331743043","file4":"1331743159","file3":"1331743055"},"map_files_photo_id_array":[{"photo_id":"1331743051","filename":"file2"},{"photo_id":"1331743159","filename":"file4"},{"photo_id":"1331743048","filename":"file1"},{"photo_id":"1331743043","filename":"file0"},{"photo_id":"1331743055","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331743159":["hashtag1","hashtag2"]},{"1331743051":["hashtag1","hashtag2"]},{"1331743048":["hashtag1","hashtag2"]},{"1331743043":["hashtag1","hashtag2"]},{"1331743055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331743159, 1331743051, 1331743048, 1331743043, 1331743055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.45314311981201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:30:32.762065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_54_10340.jpg', '/home/pi/Desktop/images/26012025/19/29/image_26012025_19_30_05_10398.jpg', '/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_14_9344.jpg', '/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_24_10402.jpg', '/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_35_10352.jpg', '/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_44_9341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/29/image_26012025_19_29_54_10340.jpg
/home/pi/Desktop/images/26012025/19/29/image_26012025_19_30_05_10398.jpg
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_14_9344.jpg
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_24_10402.jpg
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_35_10352.jpg
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_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":["1331744376","1331744357","1331744374","1331744362","1331744368","1331744353"],"photo_ids_order":["1331744353","1331744357","1331744362","1331744368","1331744374","1331744376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4eb3a4967754894d0e4fbff4aba0b3c8.jpg","text":"TemporaryFile(/tmp/multipartBody8739395057181810691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_30_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/26/dda704d80538fb0c306a39c4c48649a2.jpg","text":"TemporaryFile(/tmp/multipartBody8203037958403182956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_30_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/adf487257c06fd93011b8f13f18ac977.jpg","text":"TemporaryFile(/tmp/multipartBody3366382692977745011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_30_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/26/ba89590125ad1127444650473c9ddbae.jpg","text":"TemporaryFile(/tmp/multipartBody4978708206938665521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_30_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/26/22c4a137fc2c9e8b30bbfce5abcb8f82.jpg","text":"TemporaryFile(/tmp/multipartBody5147735489245723105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_30_24_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/26/a546f8fac43fd2efecdf8420efce0a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3929301098071549081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916293735,"filename":"image_26012025_19_29_54_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331744362","file1":"1331744357","file0":"1331744353","file4":"1331744374","file5":"1331744376","file3":"1331744368"},"map_files_photo_id_array":[{"photo_id":"1331744376","filename":"file5"},{"photo_id":"1331744362","filename":"file2"},{"photo_id":"1331744374","filename":"file4"},{"photo_id":"1331744357","filename":"file1"},{"photo_id":"1331744353","filename":"file0"},{"photo_id":"1331744368","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331744376":["hashtag1","hashtag2"]},{"1331744357":["hashtag1","hashtag2"]},{"1331744374":["hashtag1","hashtag2"]},{"1331744362":["hashtag1","hashtag2"]},{"1331744368":["hashtag1","hashtag2"]},{"1331744353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331744376, 1331744357, 1331744374, 1331744362, 1331744368, 1331744353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42745566368103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:31:32.860086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_55_10481.jpg', '/home/pi/Desktop/images/26012025/19/30/image_26012025_19_31_04_9439.jpg', '/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_14_10380.jpg', '/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_25_10352.jpg', '/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_34_9347.jpg', '/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_45_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_30_55_10481.jpg
/home/pi/Desktop/images/26012025/19/30/image_26012025_19_31_04_9439.jpg
/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_14_10380.jpg
/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_25_10352.jpg
/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_34_9347.jpg
/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_45_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331744829","1331744718","1331744774","1331744831","1331744770","1331744722"],"photo_ids_order":["1331744718","1331744722","1331744770","1331744774","1331744829","1331744831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/baf2dc630a1f6fedaad4d06ba621dcae.jpg","text":"TemporaryFile(/tmp/multipartBody7613604770679648334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_31_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/26/3ce1d0236053e745bbea8aa70c2b972d.jpg","text":"TemporaryFile(/tmp/multipartBody2215118073852652131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_30_55_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7a4ec8c7c60d773d312157f5aab4345e.jpg","text":"TemporaryFile(/tmp/multipartBody6981256866004186718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_31_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/006581fa6e6afe7bd5e391e49a09f39d.jpg","text":"TemporaryFile(/tmp/multipartBody1738037835008986396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_31_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4ea720fe7bf5aff89a9c237aa03052c5.jpg","text":"TemporaryFile(/tmp/multipartBody1802461330741126271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_31_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/26/a51fbacc537cd7b26fb87f6798027ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8991800674371666836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916353787,"filename":"image_26012025_19_31_04_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331744770","file1":"1331744722","file0":"1331744718","file4":"1331744829","file5":"1331744831","file3":"1331744774"},"map_files_photo_id_array":[{"photo_id":"1331744831","filename":"file5"},{"photo_id":"1331744770","filename":"file2"},{"photo_id":"1331744829","filename":"file4"},{"photo_id":"1331744722","filename":"file1"},{"photo_id":"1331744718","filename":"file0"},{"photo_id":"1331744774","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331744829":["hashtag1","hashtag2"]},{"1331744718":["hashtag1","hashtag2"]},{"1331744774":["hashtag1","hashtag2"]},{"1331744831":["hashtag1","hashtag2"]},{"1331744770":["hashtag1","hashtag2"]},{"1331744722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331744829, 1331744718, 1331744774, 1331744831, 1331744770, 1331744722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45718288421631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:32:32.364374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_54_9364.jpg', '/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_15_10451.jpg', '/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_24_9404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/31/image_26012025_19_31_54_9364.jpg
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_15_10451.jpg
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_24_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331744850","1331744853","1331744845"],"photo_ids_order":["1331744845","1331744850","1331744853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aa9afc5945479f99851655684664fe67.jpg","text":"TemporaryFile(/tmp/multipartBody4744725978627938417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916413248,"filename":"image_26012025_19_32_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/26/4775b7f57a35b721699d87aa2e1672ec.jpg","text":"TemporaryFile(/tmp/multipartBody9032122107983962799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916413248,"filename":"image_26012025_19_32_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/26/026db55a55e0d3c644ff8ab22c346748.jpg","text":"TemporaryFile(/tmp/multipartBody8119104568788194121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916413248,"filename":"image_26012025_19_31_54_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331744853","file1":"1331744850","file0":"1331744845"},"map_files_photo_id_array":[{"photo_id":"1331744853","filename":"file2"},{"photo_id":"1331744850","filename":"file1"},{"photo_id":"1331744845","filename":"file0"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331744850":["hashtag1","hashtag2"]},{"1331744853":["hashtag1","hashtag2"]},{"1331744845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331744850, 1331744853, 1331744845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.25347137451172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:33:03.974445
SELECT 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 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_26_9348.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_36_10404.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_47_10347.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_56_9462.jpg', '/home/pi/Desktop/images/23012025/22/16/image_23012025_22_17_06_10341.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_17_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_26_9348.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_36_10404.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_47_10347.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_16_56_9462.jpg
/home/pi/Desktop/images/23012025/22/16/image_23012025_22_17_06_10341.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_17_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":["1331744880","1331744877","1331744873","1331744864","1331744869","1331744860"],"photo_ids_order":["1331744860","1331744864","1331744869","1331744873","1331744877","1331744880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2c0794a737ac044024609c7d545a640.jpg","text":"TemporaryFile(/tmp/multipartBody4867647839918361184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_17_17_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/26/3599e879d2679678f05238632e85652f.jpg","text":"TemporaryFile(/tmp/multipartBody6326724290982552062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_17_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/26/774952816676889dace35244fadc91d6.jpg","text":"TemporaryFile(/tmp/multipartBody4699435192025559300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_16_56_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/758c9f627251a3d1725b132ededc5db8.jpg","text":"TemporaryFile(/tmp/multipartBody1457534796604968616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_16_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/26/594d4e7b044151a5b28837fabbc24e22.jpg","text":"TemporaryFile(/tmp/multipartBody1279411687725763681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_16_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a670a72789219ae21cb58774b18e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4362513700006804793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916446054,"filename":"image_23012025_22_16_26_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331744869","file1":"1331744864","file0":"1331744860","file4":"1331744877","file5":"1331744880","file3":"1331744873"},"map_files_photo_id_array":[{"photo_id":"1331744880","filename":"file5"},{"photo_id":"1331744869","filename":"file2"},{"photo_id":"1331744877","filename":"file4"},{"photo_id":"1331744864","filename":"file1"},{"photo_id":"1331744860","filename":"file0"},{"photo_id":"1331744873","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331744880":["hashtag1","hashtag2"]},{"1331744877":["hashtag1","hashtag2"]},{"1331744873":["hashtag1","hashtag2"]},{"1331744864":["hashtag1","hashtag2"]},{"1331744869":["hashtag1","hashtag2"]},{"1331744860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331744880, 1331744877, 1331744873, 1331744864, 1331744869, 1331744860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.43964719772339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 19:33:52.525070
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_26_9372.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_36_10329.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_46_9369.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_56_10350.jpg', '/home/pi/Desktop/images/23012025/22/17/image_23012025_22_18_07_10361.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_26_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_26_9372.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_36_10329.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_46_9369.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_17_56_10350.jpg
/home/pi/Desktop/images/23012025/22/17/image_23012025_22_18_07_10361.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_26_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":["1331744886","1331744889","1331744898","1331744891","1331744894","1331744887"],"photo_ids_order":["1331744886","1331744887","1331744889","1331744891","1331744894","1331744898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f7240a628c3e67b672902196ae7af378.jpg","text":"TemporaryFile(/tmp/multipartBody3530531422167157382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_17_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/26/a7366ee5cfdedde2ba9814883eaa5e38.jpg","text":"TemporaryFile(/tmp/multipartBody5180453270921369903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_17_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/26/cdd7d1e17776ddde11672ae27d66cac7.jpg","text":"TemporaryFile(/tmp/multipartBody4398620299619633165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_18_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/26/0632498150d47a768a10766b85123d57.jpg","text":"TemporaryFile(/tmp/multipartBody3116431428385945803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_17_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/26/28b0d734878c42765cb1aec59474cb00.jpg","text":"TemporaryFile(/tmp/multipartBody8716529460286042966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_18_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/26/7666929808d81fceb87c29e68bd452eb.jpg","text":"TemporaryFile(/tmp/multipartBody3144178207477008556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916494872,"filename":"image_23012025_22_17_36_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331744889","file1":"1331744887","file0":"1331744886","file4":"1331744894","file5":"1331744898","file3":"1331744891"},"map_files_photo_id_array":[{"photo_id":"1331744898","filename":"file5"},{"photo_id":"1331744889","filename":"file2"},{"photo_id":"1331744894","filename":"file4"},{"photo_id":"1331744887","filename":"file1"},{"photo_id":"1331744886","filename":"file0"},{"photo_id":"1331744891","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331744886":["hashtag1","hashtag2"]},{"1331744889":["hashtag1","hashtag2"]},{"1331744898":["hashtag1","hashtag2"]},{"1331744891":["hashtag1","hashtag2"]},{"1331744894":["hashtag1","hashtag2"]},{"1331744887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331744886, 1331744889, 1331744898, 1331744891, 1331744894, 1331744887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.884639739990234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:34:42.801437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_35_10433.jpg', '/home/pi/Desktop/images/26012025/19/32/image_26012025_19_33_05_10458.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_14_9320.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_25_10451.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_35_10354.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_44_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_35_10433.jpg
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_33_05_10458.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_14_9320.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_25_10451.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_35_10354.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_44_9380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.512556791305542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 19:34:52.768691
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_37_10343.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_46_9419.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_56_10365.jpg', '/home/pi/Desktop/images/23012025/22/18/image_23012025_22_19_06_9425.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_16_10399.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_27_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_37_10343.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_46_9419.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_18_56_10365.jpg
/home/pi/Desktop/images/23012025/22/18/image_23012025_22_19_06_9425.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_16_10399.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_27_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":["1331745102","1331746100","1331746099","1331745755","1331745422","1331746098"],"photo_ids_order":["1331745102","1331745422","1331745755","1331746098","1331746099","1331746100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/531b1812b432d55f42401136ce83c5b7.jpg","text":"TemporaryFile(/tmp/multipartBody9090199192702834032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_18_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/548b4e70f15c720ed90ddac21fcac291.jpg","text":"TemporaryFile(/tmp/multipartBody7736288247114686646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_19_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/26/74d56f7466cfbd66face5d7e65490d26.jpg","text":"TemporaryFile(/tmp/multipartBody2757329879549762693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_19_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/26/1d95663c6efc75f2ce7e5b5fedab1d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1354588943800435934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_18_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/26/7303aff51e142b383a91b782b1ccf623.jpg","text":"TemporaryFile(/tmp/multipartBody6667450946839308022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_18_46_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/26/b625135afc4c6d3f6bc6954b3eb6ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody272104892987865071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916555082,"filename":"image_23012025_22_19_06_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331745755","file1":"1331745422","file0":"1331745102","file4":"1331746099","file5":"1331746100","file3":"1331746098"},"map_files_photo_id_array":[{"photo_id":"1331746100","filename":"file5"},{"photo_id":"1331745755","filename":"file2"},{"photo_id":"1331746099","filename":"file4"},{"photo_id":"1331745422","filename":"file1"},{"photo_id":"1331745102","filename":"file0"},{"photo_id":"1331746098","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331745102":["hashtag1","hashtag2"]},{"1331746100":["hashtag1","hashtag2"]},{"1331746099":["hashtag1","hashtag2"]},{"1331745755":["hashtag1","hashtag2"]},{"1331745422":["hashtag1","hashtag2"]},{"1331746098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331745102, 1331746100, 1331746099, 1331745755, 1331745422, 1331746098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.310224533081055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:35:42.932857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_35_10433.jpg', '/home/pi/Desktop/images/26012025/19/32/image_26012025_19_33_05_10458.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_14_9320.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_25_10451.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_35_10354.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_44_9380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_32_35_10433.jpg
/home/pi/Desktop/images/26012025/19/32/image_26012025_19_33_05_10458.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_14_9320.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_25_10451.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_35_10354.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_44_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746122","1331746125","1331746119","1331746124","1331746123","1331746114"],"photo_ids_order":["1331746114","1331746119","1331746122","1331746123","1331746124","1331746125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/65cf77f6ef9eb90a3424655039572727.jpg","text":"TemporaryFile(/tmp/multipartBody7408470372027518864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_33_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/26/380819cb40368deba5917e913753852e.jpg","text":"TemporaryFile(/tmp/multipartBody8026927123207797440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_33_44_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/26/41eac56e7814a1d84e1e6f1fc1828e84.jpg","text":"TemporaryFile(/tmp/multipartBody3905761391226730425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_33_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/63c2ba38642d9b34bbddc0c85562f9b1.jpg","text":"TemporaryFile(/tmp/multipartBody4604144931459494057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_33_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5bb051c05672b0295c4e1b4b13232f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7380401819650009204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_33_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/26/b617d29dd4626a06a96813523e8edac3.jpg","text":"TemporaryFile(/tmp/multipartBody3609029436330239159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916603849,"filename":"image_26012025_19_32_35_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746122","file1":"1331746119","file0":"1331746114","file4":"1331746124","file5":"1331746125","file3":"1331746123"},"map_files_photo_id_array":[{"photo_id":"1331746125","filename":"file5"},{"photo_id":"1331746122","filename":"file2"},{"photo_id":"1331746124","filename":"file4"},{"photo_id":"1331746119","filename":"file1"},{"photo_id":"1331746114","filename":"file0"},{"photo_id":"1331746123","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746122":["hashtag1","hashtag2"]},{"1331746125":["hashtag1","hashtag2"]},{"1331746119":["hashtag1","hashtag2"]},{"1331746124":["hashtag1","hashtag2"]},{"1331746123":["hashtag1","hashtag2"]},{"1331746114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746122, 1331746125, 1331746119, 1331746124, 1331746123, 1331746114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62116551399231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:36:32.256629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_55_10345.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_34_04_9452.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_14_10386.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_25_10369.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_34_9339.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_55_10345.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_34_04_9452.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_14_10386.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_25_10369.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_34_9339.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_45_10438.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5353703498840332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:36:42.251605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_55_10345.jpg', '/home/pi/Desktop/images/26012025/19/33/image_26012025_19_34_04_9452.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_14_10386.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_25_10369.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_34_9339.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_45_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_33_55_10345.jpg
/home/pi/Desktop/images/26012025/19/33/image_26012025_19_34_04_9452.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_14_10386.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_25_10369.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_34_9339.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_45_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746595","1331746589","1331746512","1331746592","1331746579","1331746593"],"photo_ids_order":["1331746512","1331746579","1331746589","1331746592","1331746593","1331746595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e01c396f110a156d863226ef348e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody7714598226827923524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_34_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/26/676e8dab6eacf377f6bc1caa845f189d.jpg","text":"TemporaryFile(/tmp/multipartBody8880488320620249144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_34_14_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/26/c3fefd25d51a4fb87af7b6a9c91f3b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2541283689426557778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_33_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/26/08e42bb14a0173ce96ed303132fe9256.jpg","text":"TemporaryFile(/tmp/multipartBody5378864891757012815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_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/26/1316a19138752930e758bc07286d61a0.jpg","text":"TemporaryFile(/tmp/multipartBody1298292393653088632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_34_04_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/26/481cc90758012d42784b2d7f82045312.jpg","text":"TemporaryFile(/tmp/multipartBody3527184791248235067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916663199,"filename":"image_26012025_19_34_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746589","file1":"1331746579","file0":"1331746512","file4":"1331746593","file5":"1331746595","file3":"1331746592"},"map_files_photo_id_array":[{"photo_id":"1331746595","filename":"file5"},{"photo_id":"1331746589","filename":"file2"},{"photo_id":"1331746593","filename":"file4"},{"photo_id":"1331746579","filename":"file1"},{"photo_id":"1331746512","filename":"file0"},{"photo_id":"1331746592","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746595":["hashtag1","hashtag2"]},{"1331746589":["hashtag1","hashtag2"]},{"1331746512":["hashtag1","hashtag2"]},{"1331746592":["hashtag1","hashtag2"]},{"1331746579":["hashtag1","hashtag2"]},{"1331746593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746595, 1331746589, 1331746512, 1331746592, 1331746579, 1331746593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75614285469055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:37:32.442020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_54_9321.jpg', '/home/pi/Desktop/images/26012025/19/34/image_26012025_19_35_04_10351.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_15_10451.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_24_9395.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_35_10446.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_45_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_34_54_9321.jpg
/home/pi/Desktop/images/26012025/19/34/image_26012025_19_35_04_10351.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_15_10451.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_24_9395.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_35_10446.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_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":["1331746631","1331746634","1331746628","1331746643","1331746642","1331746639"],"photo_ids_order":["1331746628","1331746631","1331746634","1331746639","1331746642","1331746643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3dc941a3b7c2b4fc2b14b37b69089277.jpg","text":"TemporaryFile(/tmp/multipartBody4469745049326907683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_35_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6de7af417d4363f0805d4c2b0e8f456c.jpg","text":"TemporaryFile(/tmp/multipartBody6681792685052705439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_35_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/26/24dddd9088f8ae1955e21ec118c9f649.jpg","text":"TemporaryFile(/tmp/multipartBody2658309437001101485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_34_54_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/26/0c662810345410514605690466669636.jpg","text":"TemporaryFile(/tmp/multipartBody3975373374081603770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_35_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/26/394fd5263102404566c459a4e7b2ae18.jpg","text":"TemporaryFile(/tmp/multipartBody2392735657303896054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_35_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/26/1265e30d8f422192eab4a5e0c89eec4b.jpg","text":"TemporaryFile(/tmp/multipartBody4352484544499404194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916713352,"filename":"image_26012025_19_35_24_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746634","file1":"1331746631","file0":"1331746628","file4":"1331746642","file5":"1331746643","file3":"1331746639"},"map_files_photo_id_array":[{"photo_id":"1331746643","filename":"file5"},{"photo_id":"1331746634","filename":"file2"},{"photo_id":"1331746642","filename":"file4"},{"photo_id":"1331746631","filename":"file1"},{"photo_id":"1331746628","filename":"file0"},{"photo_id":"1331746639","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746631":["hashtag1","hashtag2"]},{"1331746634":["hashtag1","hashtag2"]},{"1331746628":["hashtag1","hashtag2"]},{"1331746643":["hashtag1","hashtag2"]},{"1331746642":["hashtag1","hashtag2"]},{"1331746639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746631, 1331746634, 1331746628, 1331746643, 1331746642, 1331746639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0307252407074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:38:32.865809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_54_9407.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_36_05_10335.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_14_9346.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_24_10407.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_35_10369.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_44_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_54_9407.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_36_05_10335.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_14_9346.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_24_10407.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_35_10369.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_44_9364.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5236890316009521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:38:42.805514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_54_9407.jpg', '/home/pi/Desktop/images/26012025/19/35/image_26012025_19_36_05_10335.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_14_9346.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_24_10407.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_35_10369.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_44_9364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_35_54_9407.jpg
/home/pi/Desktop/images/26012025/19/35/image_26012025_19_36_05_10335.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_14_9346.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_24_10407.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_35_10369.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_44_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746670","1331746673","1331746661","1331746675","1331746665","1331746674"],"photo_ids_order":["1331746661","1331746665","1331746670","1331746673","1331746674","1331746675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e7d366ad49e3f450c3fb681ddb26ae70.jpg","text":"TemporaryFile(/tmp/multipartBody2381509119033637828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_36_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/44f036b1cdb81b90d5aed0f14b3a892e.jpg","text":"TemporaryFile(/tmp/multipartBody6568320972191871212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_36_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/26/b26522c7007f90bb6c2256c6f18b52d9.jpg","text":"TemporaryFile(/tmp/multipartBody510207431092078296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_35_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3f38905fca5c33cbb5efb162eb8870da.jpg","text":"TemporaryFile(/tmp/multipartBody6411441899962285919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_36_44_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/26/a2bd1190a206e82c7e7bdc7c75f63c61.jpg","text":"TemporaryFile(/tmp/multipartBody6347290341032415171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_36_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/26/b60cf8bfe2da19e87c6eb319f0f3fa3e.jpg","text":"TemporaryFile(/tmp/multipartBody3350934403525613181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916783720,"filename":"image_26012025_19_36_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746670","file1":"1331746665","file0":"1331746661","file4":"1331746674","file5":"1331746675","file3":"1331746673"},"map_files_photo_id_array":[{"photo_id":"1331746675","filename":"file5"},{"photo_id":"1331746670","filename":"file2"},{"photo_id":"1331746674","filename":"file4"},{"photo_id":"1331746665","filename":"file1"},{"photo_id":"1331746661","filename":"file0"},{"photo_id":"1331746673","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746670":["hashtag1","hashtag2"]},{"1331746673":["hashtag1","hashtag2"]},{"1331746661":["hashtag1","hashtag2"]},{"1331746675":["hashtag1","hashtag2"]},{"1331746665":["hashtag1","hashtag2"]},{"1331746674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746670, 1331746673, 1331746661, 1331746675, 1331746665, 1331746674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43556356430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:39:33.129692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_55_10516.jpg', '/home/pi/Desktop/images/26012025/19/36/image_26012025_19_37_04_9336.jpg', '/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_14_10333.jpg', '/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_25_10351.jpg', '/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_34_9348.jpg', '/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_44_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_36_55_10516.jpg
/home/pi/Desktop/images/26012025/19/36/image_26012025_19_37_04_9336.jpg
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_14_10333.jpg
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_25_10351.jpg
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_34_9348.jpg
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_44_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746704","1331746682","1331746723","1331746708","1331746692","1331746722"],"photo_ids_order":["1331746682","1331746692","1331746704","1331746708","1331746722","1331746723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0129293cfe408ad6569e9d0b20f1b93a.jpg","text":"TemporaryFile(/tmp/multipartBody1565196072881369727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_37_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/26/2bc9d4e562ad0cb3be04360654e4ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody1963147792044991481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_36_55_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/26/e5788cf8e05de76c4401650177ccef51.jpg","text":"TemporaryFile(/tmp/multipartBody5049189064655475160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_37_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ff289d1afe8042f48add55859b29f30.jpg","text":"TemporaryFile(/tmp/multipartBody1814191151759693805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_37_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/26/ceffa256cadf9532fe4feea346599371.jpg","text":"TemporaryFile(/tmp/multipartBody6198299327917299442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_37_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/26/3490855d275ffe7e986adc48af5bbc02.jpg","text":"TemporaryFile(/tmp/multipartBody3208484359143250875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916834060,"filename":"image_26012025_19_37_34_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746704","file1":"1331746692","file0":"1331746682","file4":"1331746722","file5":"1331746723","file3":"1331746708"},"map_files_photo_id_array":[{"photo_id":"1331746723","filename":"file5"},{"photo_id":"1331746704","filename":"file2"},{"photo_id":"1331746722","filename":"file4"},{"photo_id":"1331746692","filename":"file1"},{"photo_id":"1331746682","filename":"file0"},{"photo_id":"1331746708","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746704":["hashtag1","hashtag2"]},{"1331746682":["hashtag1","hashtag2"]},{"1331746723":["hashtag1","hashtag2"]},{"1331746708":["hashtag1","hashtag2"]},{"1331746692":["hashtag1","hashtag2"]},{"1331746722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746704, 1331746682, 1331746723, 1331746708, 1331746692, 1331746722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.76672077178955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:40:32.332555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_55_10437.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_15_10431.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_24_9351.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_34_10348.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_45_10361.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_54_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_55_10437.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_15_10431.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_24_9351.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_34_10348.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_45_10361.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_54_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.525648832321167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:40:42.336077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_55_10437.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_15_10431.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_24_9351.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_34_10348.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_45_10361.jpg', '/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_54_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/37/image_26012025_19_37_55_10437.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_15_10431.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_24_9351.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_34_10348.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_45_10361.jpg
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_38_54_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":["1331746760","1331746763","1331746757","1331746766","1331746748","1331746765"],"photo_ids_order":["1331746748","1331746757","1331746760","1331746763","1331746765","1331746766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62448c89f5442e0a246fcd2b8ab0c993.jpg","text":"TemporaryFile(/tmp/multipartBody6059315793143016340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_38_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/26/45ab21d4df1bebcb5247c0c88821547c.jpg","text":"TemporaryFile(/tmp/multipartBody6459344192349481671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_38_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4c2677b95ef5508f114f885bb59d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2592046641447981272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_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/26/f453af0e8f6f46c2c1f8f399661b9951.jpg","text":"TemporaryFile(/tmp/multipartBody2395031815847977905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_38_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/26/cc16ddd584a5e4c86c2484191ab5985d.jpg","text":"TemporaryFile(/tmp/multipartBody7204507848335367229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_37_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/26/742d951145f58f549dc4f7d330d24297.jpg","text":"TemporaryFile(/tmp/multipartBody8740499952208095126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916903293,"filename":"image_26012025_19_38_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746760","file1":"1331746757","file0":"1331746748","file4":"1331746765","file5":"1331746766","file3":"1331746763"},"map_files_photo_id_array":[{"photo_id":"1331746766","filename":"file5"},{"photo_id":"1331746760","filename":"file2"},{"photo_id":"1331746765","filename":"file4"},{"photo_id":"1331746757","filename":"file1"},{"photo_id":"1331746748","filename":"file0"},{"photo_id":"1331746763","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746760":["hashtag1","hashtag2"]},{"1331746763":["hashtag1","hashtag2"]},{"1331746757":["hashtag1","hashtag2"]},{"1331746766":["hashtag1","hashtag2"]},{"1331746748":["hashtag1","hashtag2"]},{"1331746765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746760, 1331746763, 1331746757, 1331746766, 1331746748, 1331746765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.34546637535095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:41:33.331542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/38/image_26012025_19_39_04_10343.jpg', '/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_15_10373.jpg', '/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_24_9354.jpg', '/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_35_10465.jpg', '/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_44_9336.jpg', '/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_54_10436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/38/image_26012025_19_39_04_10343.jpg
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_15_10373.jpg
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_24_9354.jpg
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_35_10465.jpg
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_44_9336.jpg
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_39_54_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":["1331746781","1331746784","1331746772","1331746789","1331746788","1331746776"],"photo_ids_order":["1331746772","1331746776","1331746781","1331746784","1331746788","1331746789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a453e22af073ea3ed5dfdc07706bd56.jpg","text":"TemporaryFile(/tmp/multipartBody4909459183167528839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_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/26/e7282d09f1c821a9b0316491e30e73b6.jpg","text":"TemporaryFile(/tmp/multipartBody266810204487183838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_39_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/26/e945fc0f1d67f54331babfcca92e1dc0.jpg","text":"TemporaryFile(/tmp/multipartBody347601336159469627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_39_04_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/26/b9d2f427773aaf9a7ca43e5162fb592c.jpg","text":"TemporaryFile(/tmp/multipartBody3342801380441510412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_39_54_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/26/e12d45b19e9a51199095fe743c5bfe5e.jpg","text":"TemporaryFile(/tmp/multipartBody3315906143631292591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_39_44_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/26/40e20c21d2e3badd6ecf6fc9d779753d.jpg","text":"TemporaryFile(/tmp/multipartBody2931590349062102079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737916954279,"filename":"image_26012025_19_39_15_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746781","file1":"1331746776","file0":"1331746772","file4":"1331746788","file5":"1331746789","file3":"1331746784"},"map_files_photo_id_array":[{"photo_id":"1331746789","filename":"file5"},{"photo_id":"1331746781","filename":"file2"},{"photo_id":"1331746788","filename":"file4"},{"photo_id":"1331746776","filename":"file1"},{"photo_id":"1331746772","filename":"file0"},{"photo_id":"1331746784","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746781":["hashtag1","hashtag2"]},{"1331746784":["hashtag1","hashtag2"]},{"1331746772":["hashtag1","hashtag2"]},{"1331746789":["hashtag1","hashtag2"]},{"1331746788":["hashtag1","hashtag2"]},{"1331746776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746781, 1331746784, 1331746772, 1331746789, 1331746788, 1331746776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.113121032714844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:42:32.670486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/39/image_26012025_19_40_05_10394.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_14_9366.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_25_10417.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_35_10347.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_44_9461.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_55_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_40_05_10394.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_14_9366.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_25_10417.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_35_10347.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_44_9461.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_55_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.5091495513916016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 19:42:42.687380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/39/image_26012025_19_40_05_10394.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_14_9366.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_25_10417.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_35_10347.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_44_9461.jpg', '/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_55_10373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/39/image_26012025_19_40_05_10394.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_14_9366.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_25_10417.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_35_10347.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_44_9461.jpg
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_40_55_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":["1331746830","1331746826","1331746839","1331746833","1331746842","1331746836"],"photo_ids_order":["1331746826","1331746830","1331746833","1331746836","1331746839","1331746842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22482412908382d39b1885d495c9809e.jpg","text":"TemporaryFile(/tmp/multipartBody4733120817881634243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bdc811d33fc44aaba0375ba0811c3a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3369981661728809718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_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/26/1922475bcd0c9dbf7399e2ddcc10274c.jpg","text":"TemporaryFile(/tmp/multipartBody2470911442966850521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_44_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/42fbd918d451811370930c6633b98d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6483180933392959987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_25_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/293a08b581d13927efc6fa54177457fe.jpg","text":"TemporaryFile(/tmp/multipartBody7160301594339502929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_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/26/dae997e7e42645065409505dca24cc82.jpg","text":"TemporaryFile(/tmp/multipartBody4577035260831472391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917023590,"filename":"image_26012025_19_40_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746833","file1":"1331746830","file0":"1331746826","file4":"1331746839","file5":"1331746842","file3":"1331746836"},"map_files_photo_id_array":[{"photo_id":"1331746842","filename":"file5"},{"photo_id":"1331746833","filename":"file2"},{"photo_id":"1331746839","filename":"file4"},{"photo_id":"1331746830","filename":"file1"},{"photo_id":"1331746826","filename":"file0"},{"photo_id":"1331746836","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746830":["hashtag1","hashtag2"]},{"1331746826":["hashtag1","hashtag2"]},{"1331746839":["hashtag1","hashtag2"]},{"1331746833":["hashtag1","hashtag2"]},{"1331746842":["hashtag1","hashtag2"]},{"1331746836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746830, 1331746826, 1331746839, 1331746833, 1331746842, 1331746836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59666323661804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:43:32.995944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/40/image_26012025_19_41_04_9341.jpg', '/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_14_10329.jpg', '/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_25_10359.jpg', '/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_34_9390.jpg', '/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_45_10454.jpg', '/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_54_9349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/40/image_26012025_19_41_04_9341.jpg
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_14_10329.jpg
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_25_10359.jpg
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_34_9390.jpg
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_45_10454.jpg
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_41_54_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746865","1331746861","1331746855","1331746849","1331746858","1331746866"],"photo_ids_order":["1331746849","1331746855","1331746858","1331746861","1331746865","1331746866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e00230fd29383376f6f8b6120d31cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6082924765660879612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_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/26/01054144deaa53d557fe54c377939e79.jpg","text":"TemporaryFile(/tmp/multipartBody6036614429225650954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9aa4894362f88d6247e876acdd569da5.jpg","text":"TemporaryFile(/tmp/multipartBody7718812782722063269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_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/26/ceed340e00ce2a4bc0abb59e1a2b0d42.jpg","text":"TemporaryFile(/tmp/multipartBody3880746558718191791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/235649946bb0fd5f9dcf23e7f6102fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3726875470438779985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_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/26/a860cfa17060397a9bd22b9ba30c02d4.jpg","text":"TemporaryFile(/tmp/multipartBody83577940088929992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917073938,"filename":"image_26012025_19_41_54_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746858","file1":"1331746855","file0":"1331746849","file4":"1331746865","file5":"1331746866","file3":"1331746861"},"map_files_photo_id_array":[{"photo_id":"1331746866","filename":"file5"},{"photo_id":"1331746858","filename":"file2"},{"photo_id":"1331746865","filename":"file4"},{"photo_id":"1331746855","filename":"file1"},{"photo_id":"1331746849","filename":"file0"},{"photo_id":"1331746861","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746865":["hashtag1","hashtag2"]},{"1331746861":["hashtag1","hashtag2"]},{"1331746855":["hashtag1","hashtag2"]},{"1331746849":["hashtag1","hashtag2"]},{"1331746858":["hashtag1","hashtag2"]},{"1331746866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746865, 1331746861, 1331746855, 1331746849, 1331746858, 1331746866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.078468561172485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:44:32.295869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/41/image_26012025_19_42_04_10346.jpg', '/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_15_10416.jpg', '/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_24_9317.jpg', '/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_34_10336.jpg', '/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_45_10420.jpg', '/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_54_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/41/image_26012025_19_42_04_10346.jpg
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_15_10416.jpg
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_24_9317.jpg
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_34_10336.jpg
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_45_10420.jpg
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_42_54_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746895","1331746897","1331746891","1331746885","1331746876","1331746881"],"photo_ids_order":["1331746876","1331746881","1331746885","1331746891","1331746895","1331746897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4e4952a01086582e30f1e1c2869f4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2913834415964869097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_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/26/49f515b7498f8cfe516b733b867fb574.jpg","text":"TemporaryFile(/tmp/multipartBody5678828204078053668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4162e7757bd8585eab117d39bfbaf76d.jpg","text":"TemporaryFile(/tmp/multipartBody7746478075943598818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_34_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4f1ce28754f2e755ef762dde54318a0.jpg","text":"TemporaryFile(/tmp/multipartBody4539905238243481957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_24_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/26/1b61b47b5862a5dccd8a8c3bdfaa0281.jpg","text":"TemporaryFile(/tmp/multipartBody8797560443612380147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/80e342ff721ffa4a9e4bf53b7f1722ee.jpg","text":"TemporaryFile(/tmp/multipartBody4886220534327561162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917133224,"filename":"image_26012025_19_42_15_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746885","file1":"1331746881","file0":"1331746876","file4":"1331746895","file5":"1331746897","file3":"1331746891"},"map_files_photo_id_array":[{"photo_id":"1331746897","filename":"file5"},{"photo_id":"1331746885","filename":"file2"},{"photo_id":"1331746895","filename":"file4"},{"photo_id":"1331746881","filename":"file1"},{"photo_id":"1331746876","filename":"file0"},{"photo_id":"1331746891","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746895":["hashtag1","hashtag2"]},{"1331746897":["hashtag1","hashtag2"]},{"1331746891":["hashtag1","hashtag2"]},{"1331746885":["hashtag1","hashtag2"]},{"1331746876":["hashtag1","hashtag2"]},{"1331746881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746895, 1331746897, 1331746891, 1331746885, 1331746876, 1331746881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14387488365173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:45:32.481694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/42/image_26012025_19_43_05_10432.jpg', '/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_15_10321.jpg', '/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_24_9342.jpg', '/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_35_10427.jpg', '/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_44_9338.jpg', '/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_54_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/42/image_26012025_19_43_05_10432.jpg
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_15_10321.jpg
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_24_9342.jpg
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_35_10427.jpg
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_44_9338.jpg
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_43_54_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746917","1331746919","1331746910","1331746913","1331746907","1331746903"],"photo_ids_order":["1331746903","1331746907","1331746910","1331746913","1331746917","1331746919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9087471d007f6cf70d3abf4e04fe7e1.jpg","text":"TemporaryFile(/tmp/multipartBody1936790508777175134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_44_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fab77e48e3f4b22f3cfa9141a7ba28da.jpg","text":"TemporaryFile(/tmp/multipartBody6930687243828475750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_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/26/71cfdccf8f855273c416d222c97c82c4.jpg","text":"TemporaryFile(/tmp/multipartBody2374042381183314644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e52edf5cccac756a67025cfdbac13c5.jpg","text":"TemporaryFile(/tmp/multipartBody9116141315734849462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_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/26/07d908a6ffe2c8bc81c21241df205a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4942211047628145756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/49c379b9411ff1293569590775fe8140.jpg","text":"TemporaryFile(/tmp/multipartBody8978360254673652489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917193397,"filename":"image_26012025_19_43_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746910","file1":"1331746907","file0":"1331746903","file4":"1331746917","file5":"1331746919","file3":"1331746913"},"map_files_photo_id_array":[{"photo_id":"1331746919","filename":"file5"},{"photo_id":"1331746910","filename":"file2"},{"photo_id":"1331746917","filename":"file4"},{"photo_id":"1331746907","filename":"file1"},{"photo_id":"1331746903","filename":"file0"},{"photo_id":"1331746913","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746917":["hashtag1","hashtag2"]},{"1331746919":["hashtag1","hashtag2"]},{"1331746910":["hashtag1","hashtag2"]},{"1331746913":["hashtag1","hashtag2"]},{"1331746907":["hashtag1","hashtag2"]},{"1331746903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746917, 1331746919, 1331746910, 1331746913, 1331746907, 1331746903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.762688636779785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:46:32.742663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/43/image_26012025_19_44_05_10352.jpg', '/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_14_9350.jpg', '/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_24_10337.jpg', '/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_35_10464.jpg', '/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_44_9346.jpg', '/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_55_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/43/image_26012025_19_44_05_10352.jpg
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_14_9350.jpg
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_24_10337.jpg
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_35_10464.jpg
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_44_9346.jpg
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_44_55_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331746972","1331746954","1331746957","1331746939","1331746930","1331746927"],"photo_ids_order":["1331746927","1331746930","1331746939","1331746954","1331746957","1331746972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8db98835a2bb6d1bc83d4dc911cbfa74.jpg","text":"TemporaryFile(/tmp/multipartBody2846345900317679483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_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/26/d5d5cf89f26c21445db351ad0408f27b.jpg","text":"TemporaryFile(/tmp/multipartBody2729229907753394538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/088c040b4f622ec0c381d94cf9e8c454.jpg","text":"TemporaryFile(/tmp/multipartBody838362298754607729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_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/26/e848642f5a6154ec53f28ffcfadb517b.jpg","text":"TemporaryFile(/tmp/multipartBody8544118806451583125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_24_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/26/30af30d7e3d485ba1e0b4b99619af704.jpg","text":"TemporaryFile(/tmp/multipartBody1179078817592775348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ea080603861ec6da99e0f910359068e.jpg","text":"TemporaryFile(/tmp/multipartBody4409534377890618454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917253660,"filename":"image_26012025_19_44_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331746939","file1":"1331746930","file0":"1331746927","file4":"1331746957","file5":"1331746972","file3":"1331746954"},"map_files_photo_id_array":[{"photo_id":"1331746972","filename":"file5"},{"photo_id":"1331746939","filename":"file2"},{"photo_id":"1331746957","filename":"file4"},{"photo_id":"1331746930","filename":"file1"},{"photo_id":"1331746927","filename":"file0"},{"photo_id":"1331746954","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331746972":["hashtag1","hashtag2"]},{"1331746954":["hashtag1","hashtag2"]},{"1331746957":["hashtag1","hashtag2"]},{"1331746939":["hashtag1","hashtag2"]},{"1331746930":["hashtag1","hashtag2"]},{"1331746927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331746972, 1331746954, 1331746957, 1331746939, 1331746930, 1331746927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.454030990600586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:47:33.044759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/44/image_26012025_19_45_05_10348.jpg', '/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_14_9330.jpg', '/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_25_10401.jpg', '/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_34_9371.jpg', '/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_44_10351.jpg', '/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_55_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/44/image_26012025_19_45_05_10348.jpg
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_14_9330.jpg
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_25_10401.jpg
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_34_9371.jpg
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_44_10351.jpg
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_45_55_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":["1331747020","1331747011","1331747005","1331747022","1331747016","1331747001"],"photo_ids_order":["1331747001","1331747005","1331747011","1331747016","1331747020","1331747022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9ecffcc0aac6158f4760f105fb83b753.jpg","text":"TemporaryFile(/tmp/multipartBody8515149929605546212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_44_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/26/ba3c6a7ac724f9294b8f9faeea3f9c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5267544521468495165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_25_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b7467b38275548106046a0aef6b05b01.jpg","text":"TemporaryFile(/tmp/multipartBody8246127542997396049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_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/26/3a6e8a04c4c17a1c800fe8acfde9f07a.jpg","text":"TemporaryFile(/tmp/multipartBody981268486761726431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_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/26/c7d4a253ec9a34838a247e7660de4e35.jpg","text":"TemporaryFile(/tmp/multipartBody1370771388945229939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8ae5139904f26e2950d795e5ef4086bb.jpg","text":"TemporaryFile(/tmp/multipartBody1180857333882032272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917313964,"filename":"image_26012025_19_45_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331747011","file1":"1331747005","file0":"1331747001","file4":"1331747020","file5":"1331747022","file3":"1331747016"},"map_files_photo_id_array":[{"photo_id":"1331747022","filename":"file5"},{"photo_id":"1331747011","filename":"file2"},{"photo_id":"1331747020","filename":"file4"},{"photo_id":"1331747005","filename":"file1"},{"photo_id":"1331747001","filename":"file0"},{"photo_id":"1331747016","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331747020":["hashtag1","hashtag2"]},{"1331747011":["hashtag1","hashtag2"]},{"1331747005":["hashtag1","hashtag2"]},{"1331747022":["hashtag1","hashtag2"]},{"1331747016":["hashtag1","hashtag2"]},{"1331747001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331747020, 1331747011, 1331747005, 1331747022, 1331747016, 1331747001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.263450622558594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:48:32.298460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/45/image_26012025_19_46_04_9423.jpg', '/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_15_10408.jpg', '/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_25_10359.jpg', '/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_45_10337.jpg', '/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_54_9351.jpg', '/home/pi/Desktop/images/26012025/19/46/image_26012025_19_47_04_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/45/image_26012025_19_46_04_9423.jpg
/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_15_10408.jpg
/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_25_10359.jpg
/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_45_10337.jpg
/home/pi/Desktop/images/26012025/19/46/image_26012025_19_46_54_9351.jpg
/home/pi/Desktop/images/26012025/19/46/image_26012025_19_47_04_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":["1331747033","1331747056","1331747044","1331747038","1331747055","1331747049"],"photo_ids_order":["1331747033","1331747038","1331747044","1331747049","1331747055","1331747056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d491a7967e5527c90049b86d7a07941.jpg","text":"TemporaryFile(/tmp/multipartBody6240261817376711779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_46_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e67a19dd60ad47eb89dfa35b3672a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4466912916679331563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_47_04_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c64fff541196f638a41166850608225.jpg","text":"TemporaryFile(/tmp/multipartBody229293237403502757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_46_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/26/8b5ade6fa84c55255ef6c44a8704938f.jpg","text":"TemporaryFile(/tmp/multipartBody5202996600148319736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_46_15_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a81fa55d677a11761d6f5f1e81c2c75.jpg","text":"TemporaryFile(/tmp/multipartBody5213478976200669380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_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/26/c0389ceb404559cae8354b5fd777e194.jpg","text":"TemporaryFile(/tmp/multipartBody4881282409684771396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917373256,"filename":"image_26012025_19_46_45_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331747044","file1":"1331747038","file0":"1331747033","file4":"1331747055","file5":"1331747056","file3":"1331747049"},"map_files_photo_id_array":[{"photo_id":"1331747056","filename":"file5"},{"photo_id":"1331747044","filename":"file2"},{"photo_id":"1331747055","filename":"file4"},{"photo_id":"1331747038","filename":"file1"},{"photo_id":"1331747033","filename":"file0"},{"photo_id":"1331747049","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331747033":["hashtag1","hashtag2"]},{"1331747056":["hashtag1","hashtag2"]},{"1331747044":["hashtag1","hashtag2"]},{"1331747038":["hashtag1","hashtag2"]},{"1331747055":["hashtag1","hashtag2"]},{"1331747049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331747033, 1331747056, 1331747044, 1331747038, 1331747055, 1331747049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.920860052108765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:49:32.559928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_15_10357.jpg', '/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_24_9428.jpg', '/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_34_10394.jpg', '/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_45_10439.jpg', '/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_54_9348.jpg', '/home/pi/Desktop/images/26012025/19/47/image_26012025_19_48_05_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_15_10357.jpg
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_24_9428.jpg
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_34_10394.jpg
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_45_10439.jpg
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_47_54_9348.jpg
/home/pi/Desktop/images/26012025/19/47/image_26012025_19_48_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331747960","1331747948","1331747956","1331747965","1331747966","1331747951"],"photo_ids_order":["1331747948","1331747951","1331747956","1331747960","1331747965","1331747966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14b24d0ab40eaba5edd79eeae77ce0f2.jpg","text":"TemporaryFile(/tmp/multipartBody1769717880287336167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_47_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/26/54053e01e94d13dbd219e647c7689731.jpg","text":"TemporaryFile(/tmp/multipartBody7426536942964544741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_47_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/26/c500bc395b5e7841b67d2f2793db3450.jpg","text":"TemporaryFile(/tmp/multipartBody4440226236489421943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_47_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/26/77782a7f01df7e3e6ad5695e093ea3bf.jpg","text":"TemporaryFile(/tmp/multipartBody419971837140908067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_47_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/26/f4c724cfe34e634e18ebd97c30fe911c.jpg","text":"TemporaryFile(/tmp/multipartBody7130659683278567691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_48_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee311ffcf31bd4850807b677a53935ec.jpg","text":"TemporaryFile(/tmp/multipartBody9167216759808629947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917433510,"filename":"image_26012025_19_47_24_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331747956","file1":"1331747951","file0":"1331747948","file4":"1331747965","file5":"1331747966","file3":"1331747960"},"map_files_photo_id_array":[{"photo_id":"1331747966","filename":"file5"},{"photo_id":"1331747956","filename":"file2"},{"photo_id":"1331747965","filename":"file4"},{"photo_id":"1331747951","filename":"file1"},{"photo_id":"1331747948","filename":"file0"},{"photo_id":"1331747960","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331747960":["hashtag1","hashtag2"]},{"1331747948":["hashtag1","hashtag2"]},{"1331747956":["hashtag1","hashtag2"]},{"1331747965":["hashtag1","hashtag2"]},{"1331747966":["hashtag1","hashtag2"]},{"1331747951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331747960, 1331747948, 1331747956, 1331747965, 1331747966, 1331747951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16069149971008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:50:32.797574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/48/image_26012025_19_48_14_9376.jpg', '/home/pi/Desktop/images/26012025/19/48/image_26012025_19_49_04_9338.jpg', '/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_14_10378.jpg', '/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_25_10366.jpg', '/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_34_9338.jpg', '/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_44_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/48/image_26012025_19_48_14_9376.jpg
/home/pi/Desktop/images/26012025/19/48/image_26012025_19_49_04_9338.jpg
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_14_10378.jpg
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_25_10366.jpg
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_34_9338.jpg
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_44_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":["1331748343","1331748348","1331748306","1331748398","1331748299","1331748425"],"photo_ids_order":["1331748299","1331748306","1331748343","1331748348","1331748398","1331748425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9aac745156e47745efdcc48ade308f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5220375622181472119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_49_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/26/c4eee1ed52bf5c535133fe1ae25aefe7.jpg","text":"TemporaryFile(/tmp/multipartBody3637490153453878982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_49_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/26/3106e65bd64ad0edcda0c808640a196e.jpg","text":"TemporaryFile(/tmp/multipartBody4203314997526056757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_49_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/825522ad4f1cb6a4d4e3b409d74eac1b.jpg","text":"TemporaryFile(/tmp/multipartBody7803329006824828398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_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/26/c27694aaba3e6ddcb26704390e790794.jpg","text":"TemporaryFile(/tmp/multipartBody7441806501136100968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_48_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/26/3ecfb27897e5aaf26dad45b660114d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2830353691833591605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917493741,"filename":"image_26012025_19_49_44_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748343","file1":"1331748306","file0":"1331748299","file4":"1331748398","file5":"1331748425","file3":"1331748348"},"map_files_photo_id_array":[{"photo_id":"1331748425","filename":"file5"},{"photo_id":"1331748343","filename":"file2"},{"photo_id":"1331748398","filename":"file4"},{"photo_id":"1331748306","filename":"file1"},{"photo_id":"1331748299","filename":"file0"},{"photo_id":"1331748348","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748343":["hashtag1","hashtag2"]},{"1331748348":["hashtag1","hashtag2"]},{"1331748306":["hashtag1","hashtag2"]},{"1331748398":["hashtag1","hashtag2"]},{"1331748299":["hashtag1","hashtag2"]},{"1331748425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748343, 1331748348, 1331748306, 1331748398, 1331748299, 1331748425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75887489318848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:51:33.036062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_55_10349.jpg', '/home/pi/Desktop/images/26012025/19/49/image_26012025_19_50_04_9351.jpg', '/home/pi/Desktop/images/26012025/19/50/image_26012025_19_50_15_10481.jpg', '/home/pi/Desktop/images/26012025/19/50/image_26012025_19_50_45_10413.jpg', '/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_15_10330.jpg', '/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_24_9357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_49_55_10349.jpg
/home/pi/Desktop/images/26012025/19/49/image_26012025_19_50_04_9351.jpg
/home/pi/Desktop/images/26012025/19/50/image_26012025_19_50_15_10481.jpg
/home/pi/Desktop/images/26012025/19/50/image_26012025_19_50_45_10413.jpg
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_15_10330.jpg
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_24_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":["1331748496","1331748493","1331748472","1331748438","1331748440","1331748443"],"photo_ids_order":["1331748438","1331748440","1331748443","1331748472","1331748493","1331748496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5e77a8fb39c8a8a793f43e9842abdab9.jpg","text":"TemporaryFile(/tmp/multipartBody3093864269176677047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_51_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3583054a9d54cb70ef10258b36b66e9c.jpg","text":"TemporaryFile(/tmp/multipartBody3377360777553057208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_51_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/26/f071151be3d4b8bec4de0ad7ad48530b.jpg","text":"TemporaryFile(/tmp/multipartBody3682321258104364769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_50_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/26/c1171c2fba87036459836ffac8d81594.jpg","text":"TemporaryFile(/tmp/multipartBody1860358284026567988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_49_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d023c0b373c8b59746e128039dd2f23a.jpg","text":"TemporaryFile(/tmp/multipartBody2893804071832004197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_50_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/26/761d14f0a13442a45ca43a130c8437e6.jpg","text":"TemporaryFile(/tmp/multipartBody1856073376959749543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917553963,"filename":"image_26012025_19_50_15_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748443","file1":"1331748440","file0":"1331748438","file4":"1331748493","file5":"1331748496","file3":"1331748472"},"map_files_photo_id_array":[{"photo_id":"1331748496","filename":"file5"},{"photo_id":"1331748443","filename":"file2"},{"photo_id":"1331748493","filename":"file4"},{"photo_id":"1331748440","filename":"file1"},{"photo_id":"1331748438","filename":"file0"},{"photo_id":"1331748472","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748496":["hashtag1","hashtag2"]},{"1331748493":["hashtag1","hashtag2"]},{"1331748472":["hashtag1","hashtag2"]},{"1331748438":["hashtag1","hashtag2"]},{"1331748440":["hashtag1","hashtag2"]},{"1331748443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748496, 1331748493, 1331748472, 1331748438, 1331748440, 1331748443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21334218978882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:52:32.287042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_35_10334.jpg', '/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_45_10343.jpg', '/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_54_9357.jpg', '/home/pi/Desktop/images/26012025/19/51/image_26012025_19_52_05_10424.jpg', '/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_14_9395.jpg', '/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_25_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_35_10334.jpg
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_45_10343.jpg
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_51_54_9357.jpg
/home/pi/Desktop/images/26012025/19/51/image_26012025_19_52_05_10424.jpg
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_14_9395.jpg
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_25_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":["1331748555","1331748567","1331748566","1331748560","1331748563","1331748551"],"photo_ids_order":["1331748551","1331748555","1331748560","1331748563","1331748566","1331748567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ea9f53e9325aea9ded427bce4a97979c.jpg","text":"TemporaryFile(/tmp/multipartBody1616977114125061455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_51_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/26/1b1282cba5bf7f524b1cadf85c5400ae.jpg","text":"TemporaryFile(/tmp/multipartBody6850925950875536723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_52_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/26/ba1e337e1ee5f257c00a6522cc7d152f.jpg","text":"TemporaryFile(/tmp/multipartBody8553466919673664437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_52_14_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/185318d73492cec2ebf3580c2140c156.jpg","text":"TemporaryFile(/tmp/multipartBody7423602635488761751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_51_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/26/56f4ecca1413868ee76512ed3ddfe10d.jpg","text":"TemporaryFile(/tmp/multipartBody29257768800486446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_52_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/26/c4a2f30d20e6348827e55827c5d46d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1854278399247763594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917613221,"filename":"image_26012025_19_51_35_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748560","file1":"1331748555","file0":"1331748551","file4":"1331748566","file5":"1331748567","file3":"1331748563"},"map_files_photo_id_array":[{"photo_id":"1331748567","filename":"file5"},{"photo_id":"1331748560","filename":"file2"},{"photo_id":"1331748566","filename":"file4"},{"photo_id":"1331748555","filename":"file1"},{"photo_id":"1331748551","filename":"file0"},{"photo_id":"1331748563","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748555":["hashtag1","hashtag2"]},{"1331748567":["hashtag1","hashtag2"]},{"1331748566":["hashtag1","hashtag2"]},{"1331748560":["hashtag1","hashtag2"]},{"1331748563":["hashtag1","hashtag2"]},{"1331748551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748555, 1331748567, 1331748566, 1331748560, 1331748563, 1331748551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8315806388855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:53:32.494734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_35_10345.jpg', '/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_44_9402.jpg', '/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_55_10466.jpg', '/home/pi/Desktop/images/26012025/19/52/image_26012025_19_53_04_9328.jpg', '/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_14_10332.jpg', '/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_25_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_35_10345.jpg
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_44_9402.jpg
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_52_55_10466.jpg
/home/pi/Desktop/images/26012025/19/52/image_26012025_19_53_04_9328.jpg
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_14_10332.jpg
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_25_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":["1331748589","1331748586","1331748588","1331748584","1331748587","1331748581"],"photo_ids_order":["1331748581","1331748584","1331748586","1331748587","1331748588","1331748589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ab1a0af987a6f4e07b3931e50886df73.jpg","text":"TemporaryFile(/tmp/multipartBody5399660714420044757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_53_25_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/26/9c87dcc94b0e3b95911b8709ede593c0.jpg","text":"TemporaryFile(/tmp/multipartBody2200683846556760087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_52_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/26/29fdf928a9f19ed5c9f50d0a8bcdba01.jpg","text":"TemporaryFile(/tmp/multipartBody978398640806114497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_53_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b2ea46cd1b981cec6577522a1951e22.jpg","text":"TemporaryFile(/tmp/multipartBody3054115399324763484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_52_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/26/bea117516f8968c310887b54d279d350.jpg","text":"TemporaryFile(/tmp/multipartBody1089148099060630367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_53_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5b709c4f1b606cc8e91e89b3e41e662.jpg","text":"TemporaryFile(/tmp/multipartBody1740425479629735829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917673434,"filename":"image_26012025_19_52_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748586","file1":"1331748584","file0":"1331748581","file4":"1331748588","file5":"1331748589","file3":"1331748587"},"map_files_photo_id_array":[{"photo_id":"1331748589","filename":"file5"},{"photo_id":"1331748586","filename":"file2"},{"photo_id":"1331748588","filename":"file4"},{"photo_id":"1331748584","filename":"file1"},{"photo_id":"1331748581","filename":"file0"},{"photo_id":"1331748587","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748589":["hashtag1","hashtag2"]},{"1331748586":["hashtag1","hashtag2"]},{"1331748588":["hashtag1","hashtag2"]},{"1331748584":["hashtag1","hashtag2"]},{"1331748587":["hashtag1","hashtag2"]},{"1331748581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748589, 1331748586, 1331748588, 1331748584, 1331748587, 1331748581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.231454610824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:54:32.767762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_34_9358.jpg', '/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_45_10445.jpg', '/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_54_9429.jpg', '/home/pi/Desktop/images/26012025/19/53/image_26012025_19_54_05_10486.jpg', '/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_15_10354.jpg', '/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_24_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_34_9358.jpg
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_45_10445.jpg
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_53_54_9429.jpg
/home/pi/Desktop/images/26012025/19/53/image_26012025_19_54_05_10486.jpg
/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_15_10354.jpg
/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_24_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331748622","1331748627","1331748609","1331748629","1331748614","1331748617"],"photo_ids_order":["1331748609","1331748614","1331748617","1331748622","1331748627","1331748629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7cea067a697da1b4a83e2457978c1e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8952910520565660451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_54_05_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/26/caed1012a6210b7b524404b748b7c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody8473881607261271068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_54_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/26/1ab5d410d643507c72ea6f890cb04d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1218430064709608606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_53_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/26/359814a634bc5afeece621726e8c787d.jpg","text":"TemporaryFile(/tmp/multipartBody7529385321454114269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_54_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/26/1dd03a47a4040707b8902fdb65426308.jpg","text":"TemporaryFile(/tmp/multipartBody4049481923749181794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_53_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/26/566d44de50b44f343f0f2f2d80ef8e53.jpg","text":"TemporaryFile(/tmp/multipartBody6858742620839314924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917733700,"filename":"image_26012025_19_53_54_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748617","file1":"1331748614","file0":"1331748609","file4":"1331748627","file5":"1331748629","file3":"1331748622"},"map_files_photo_id_array":[{"photo_id":"1331748629","filename":"file5"},{"photo_id":"1331748617","filename":"file2"},{"photo_id":"1331748627","filename":"file4"},{"photo_id":"1331748614","filename":"file1"},{"photo_id":"1331748609","filename":"file0"},{"photo_id":"1331748622","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748622":["hashtag1","hashtag2"]},{"1331748627":["hashtag1","hashtag2"]},{"1331748609":["hashtag1","hashtag2"]},{"1331748629":["hashtag1","hashtag2"]},{"1331748614":["hashtag1","hashtag2"]},{"1331748617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748622, 1331748627, 1331748609, 1331748629, 1331748614, 1331748617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.433531522750854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:55:32.929468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_35_10348.jpg', '/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_45_10346.jpg', '/home/pi/Desktop/images/26012025/19/54/image_26012025_19_55_05_10453.jpg', '/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_14_9350.jpg', '/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_35_10353.jpg', '/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_44_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_35_10348.jpg
/home/pi/Desktop/images/26012025/19/54/image_26012025_19_54_45_10346.jpg
/home/pi/Desktop/images/26012025/19/54/image_26012025_19_55_05_10453.jpg
/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_14_9350.jpg
/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_35_10353.jpg
/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_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":["1331748682","1331748691","1331748687","1331748695","1331748677","1331748692"],"photo_ids_order":["1331748677","1331748682","1331748687","1331748691","1331748692","1331748695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/096581369a549761a727d2141a057b61.jpg","text":"TemporaryFile(/tmp/multipartBody8414010607642444800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_54_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/26/0839e76565e42127bb8cb0ef089303b1.jpg","text":"TemporaryFile(/tmp/multipartBody1377731635553068716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_55_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0a65f8aec4ada1d44e40751c4bc6a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3167799614737975580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_55_05_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ee8b364d49057733527a8ca7f5f04b56.jpg","text":"TemporaryFile(/tmp/multipartBody5788944670970452769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_55_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/26/07558b220c835f981763edbf942b0b7e.jpg","text":"TemporaryFile(/tmp/multipartBody244191869581113815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_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/26/d1e6918276421a2c2126fa55f5331742.jpg","text":"TemporaryFile(/tmp/multipartBody5500914481485810065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917793877,"filename":"image_26012025_19_55_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748687","file1":"1331748682","file0":"1331748677","file4":"1331748692","file5":"1331748695","file3":"1331748691"},"map_files_photo_id_array":[{"photo_id":"1331748695","filename":"file5"},{"photo_id":"1331748687","filename":"file2"},{"photo_id":"1331748692","filename":"file4"},{"photo_id":"1331748682","filename":"file1"},{"photo_id":"1331748677","filename":"file0"},{"photo_id":"1331748691","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748682":["hashtag1","hashtag2"]},{"1331748691":["hashtag1","hashtag2"]},{"1331748687":["hashtag1","hashtag2"]},{"1331748695":["hashtag1","hashtag2"]},{"1331748677":["hashtag1","hashtag2"]},{"1331748692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748682, 1331748691, 1331748687, 1331748695, 1331748677, 1331748692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.988927364349365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:56:32.378637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_55_10436.jpg', '/home/pi/Desktop/images/26012025/19/55/image_26012025_19_56_04_9344.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_14_10365.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_25_10391.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_34_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/55/image_26012025_19_55_55_10436.jpg
/home/pi/Desktop/images/26012025/19/55/image_26012025_19_56_04_9344.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_14_10365.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_25_10391.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_34_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":["1331748725","1331748719","1331748715","1331748723","1331748708"],"photo_ids_order":["1331748708","1331748715","1331748719","1331748723","1331748725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b6ab17cc12c634288df5c689945cb9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1416318533230696721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917853291,"filename":"image_26012025_19_56_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/26/2af0353c7fd2d92a953b7aaaa25d0ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7466408748325357169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917853291,"filename":"image_26012025_19_56_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/26/fc68f633c5238e27f5432b8df7a0ac27.jpg","text":"TemporaryFile(/tmp/multipartBody5000400835674591484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917853291,"filename":"image_26012025_19_56_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/26/59ec08b8574d2a460189261b8248b920.jpg","text":"TemporaryFile(/tmp/multipartBody7133339270141826358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917853291,"filename":"image_26012025_19_56_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/26/f61a19de4113db2d256d33a0a528f826.jpg","text":"TemporaryFile(/tmp/multipartBody8384259644503066208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737917853291,"filename":"image_26012025_19_55_55_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331748719","file1":"1331748715","file0":"1331748708","file4":"1331748725","file3":"1331748723"},"map_files_photo_id_array":[{"photo_id":"1331748719","filename":"file2"},{"photo_id":"1331748725","filename":"file4"},{"photo_id":"1331748715","filename":"file1"},{"photo_id":"1331748708","filename":"file0"},{"photo_id":"1331748723","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331748725":["hashtag1","hashtag2"]},{"1331748719":["hashtag1","hashtag2"]},{"1331748715":["hashtag1","hashtag2"]},{"1331748723":["hashtag1","hashtag2"]},{"1331748708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331748725, 1331748719, 1331748715, 1331748723, 1331748708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.72955131530762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:57:32.587699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_44_9335.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-26 19:59:03.097092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_44_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: 2.6735901832580566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 19:59:32.164598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg', '/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_44_9335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_56_45_10415.jpg
/home/pi/Desktop/images/26012025/19/56/image_26012025_19_57_04_9435.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_15_10425.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_24_9343.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_35_10479.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_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":["1331749485","1331749488","1331749481","1331749478","1331749487","1331749474"],"photo_ids_order":["1331749474","1331749478","1331749481","1331749485","1331749487","1331749488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ecf9a808fcb3aaa80ad0a5bc1ccec73.jpg","text":"TemporaryFile(/tmp/multipartBody8978118954727057351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_57_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/26/679aaf7348eed53539da33b7c1475cd7.jpg","text":"TemporaryFile(/tmp/multipartBody909372753918830600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_57_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/26/77701cf62d0381fb839b3666f36dde9b.jpg","text":"TemporaryFile(/tmp/multipartBody6996972104136156750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_57_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/26/5dfd14a5d81352ad50dabd8d024fbbcd.jpg","text":"TemporaryFile(/tmp/multipartBody1984886505632775957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_57_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/26/7c611ad866e785ed32ef00d315dad2a2.jpg","text":"TemporaryFile(/tmp/multipartBody3298223259842932084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_57_35_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/26/523c226fc5f333d36039f0ed1f0a3d97.jpg","text":"TemporaryFile(/tmp/multipartBody260788240531416190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918033075,"filename":"image_26012025_19_56_45_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331749481","file1":"1331749478","file0":"1331749474","file4":"1331749487","file5":"1331749488","file3":"1331749485"},"map_files_photo_id_array":[{"photo_id":"1331749488","filename":"file5"},{"photo_id":"1331749481","filename":"file2"},{"photo_id":"1331749487","filename":"file4"},{"photo_id":"1331749478","filename":"file1"},{"photo_id":"1331749474","filename":"file0"},{"photo_id":"1331749485","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331749485":["hashtag1","hashtag2"]},{"1331749488":["hashtag1","hashtag2"]},{"1331749481":["hashtag1","hashtag2"]},{"1331749478":["hashtag1","hashtag2"]},{"1331749487":["hashtag1","hashtag2"]},{"1331749474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331749485, 1331749488, 1331749481, 1331749478, 1331749487, 1331749474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30118107795715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:00:32.368305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_54_10341.jpg', '/home/pi/Desktop/images/26012025/19/57/image_26012025_19_58_05_10370.jpg', '/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_14_9338.jpg', '/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_24_10355.jpg', '/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_35_10381.jpg', '/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_44_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_57_54_10341.jpg
/home/pi/Desktop/images/26012025/19/57/image_26012025_19_58_05_10370.jpg
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_14_9338.jpg
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_24_10355.jpg
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_35_10381.jpg
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_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":["1331749564","1331749531","1331749540","1331749592","1331749565","1331749535"],"photo_ids_order":["1331749531","1331749535","1331749540","1331749564","1331749565","1331749592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30960a81b6fed3f627ba65eea9ce5023.jpg","text":"TemporaryFile(/tmp/multipartBody3928179774518928371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_58_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/26/0377324e5beae0a38af6d29656c7e340.jpg","text":"TemporaryFile(/tmp/multipartBody5153700305765843087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_57_54_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/26/4ccab136971274fd4de872bcb09f0631.jpg","text":"TemporaryFile(/tmp/multipartBody4357869586177814433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_58_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/26/c4680d8cdb063e776d092c21df4d6699.jpg","text":"TemporaryFile(/tmp/multipartBody7458295069819922132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_58_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/26/5437cdf13b5becdf7b8bc218e6b7ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody1504160988656728324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_58_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/26/6f95b0cf1fdbf7fec8df5017a232be80.jpg","text":"TemporaryFile(/tmp/multipartBody1962935163510231559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918093298,"filename":"image_26012025_19_58_05_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331749540","file1":"1331749535","file0":"1331749531","file4":"1331749565","file5":"1331749592","file3":"1331749564"},"map_files_photo_id_array":[{"photo_id":"1331749592","filename":"file5"},{"photo_id":"1331749540","filename":"file2"},{"photo_id":"1331749565","filename":"file4"},{"photo_id":"1331749535","filename":"file1"},{"photo_id":"1331749531","filename":"file0"},{"photo_id":"1331749564","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331749564":["hashtag1","hashtag2"]},{"1331749531":["hashtag1","hashtag2"]},{"1331749540":["hashtag1","hashtag2"]},{"1331749592":["hashtag1","hashtag2"]},{"1331749565":["hashtag1","hashtag2"]},{"1331749535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331749564, 1331749531, 1331749540, 1331749592, 1331749565, 1331749535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.290019035339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:01:32.677891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_54_10344.jpg', '/home/pi/Desktop/images/26012025/19/58/image_26012025_19_59_05_10386.jpg', '/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_14_9322.jpg', '/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_25_10440.jpg', '/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_35_10347.jpg', '/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_55_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_58_54_10344.jpg
/home/pi/Desktop/images/26012025/19/58/image_26012025_19_59_05_10386.jpg
/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_14_9322.jpg
/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_25_10440.jpg
/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_35_10347.jpg
/home/pi/Desktop/images/26012025/19/59/image_26012025_19_59_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331749677","1331749689","1331749710","1331749652","1331749712","1331749693"],"photo_ids_order":["1331749652","1331749677","1331749689","1331749693","1331749710","1331749712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04c7344578448c20908c3556aa3f0ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2202656693819393911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_59_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/26/f6e7a51ffae34780aede806cb6ab00c5.jpg","text":"TemporaryFile(/tmp/multipartBody8182385816378002153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_59_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/26/a41473c2760712a179a26563a345f227.jpg","text":"TemporaryFile(/tmp/multipartBody3303909250043494812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_59_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/26/9d40fa5125caed5e11be9c1f7c8077f5.jpg","text":"TemporaryFile(/tmp/multipartBody8808052732733176586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_58_54_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/95c3d8e62778c0aae36e68ae9f886f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7684413618054483000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_59_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef6ae75e97d2d655d011e8d8aae3dcce.jpg","text":"TemporaryFile(/tmp/multipartBody1527152933238573731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918153595,"filename":"image_26012025_19_59_25_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331749689","file1":"1331749677","file0":"1331749652","file4":"1331749710","file5":"1331749712","file3":"1331749693"},"map_files_photo_id_array":[{"photo_id":"1331749712","filename":"file5"},{"photo_id":"1331749689","filename":"file2"},{"photo_id":"1331749710","filename":"file4"},{"photo_id":"1331749677","filename":"file1"},{"photo_id":"1331749652","filename":"file0"},{"photo_id":"1331749693","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331749677":["hashtag1","hashtag2"]},{"1331749689":["hashtag1","hashtag2"]},{"1331749710":["hashtag1","hashtag2"]},{"1331749652":["hashtag1","hashtag2"]},{"1331749712":["hashtag1","hashtag2"]},{"1331749693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331749677, 1331749689, 1331749710, 1331749652, 1331749712, 1331749693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86877250671387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:02:32.795166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_14_10075.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_24_10364.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_35_10456.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_44_9373.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_55_10403.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_02_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_14_10075.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_24_10364.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_35_10456.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_44_9373.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_55_10403.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_02_04_9344.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5729873180389404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:02:42.836032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_14_10075.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_24_10364.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_35_10456.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_44_9373.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_55_10403.jpg', '/home/pi/Desktop/images/26012025/20/01/image_26012025_20_02_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_14_10075.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_24_10364.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_35_10456.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_44_9373.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_01_55_10403.jpg
/home/pi/Desktop/images/26012025/20/01/image_26012025_20_02_04_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":["1331749969","1331749971","1331749965","1331749961","1331749978","1331750321"],"photo_ids_order":["1331749961","1331749965","1331749969","1331749971","1331749978","1331750321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d5f117718d209f259e8953de7447377.jpg","text":"TemporaryFile(/tmp/multipartBody1545592890320560598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_01_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/26/25f797de20e0805f14e5e7222433adc1.jpg","text":"TemporaryFile(/tmp/multipartBody2250467614409774337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_01_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/26/27e763906f04f32fd7089c6dd6cd86c5.jpg","text":"TemporaryFile(/tmp/multipartBody1594167029258353653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_01_24_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/015ca89d4e6e3778e3db7f1fe5e5f61f.jpg","text":"TemporaryFile(/tmp/multipartBody1439477632488477262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/71aeee06544497ca61b4fb0e14d6361f.jpg","text":"TemporaryFile(/tmp/multipartBody6135712748351980268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_01_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/26/076c64187a541f4db219a90291a2e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7940383743777176580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918223762,"filename":"image_26012025_20_02_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331749969","file1":"1331749965","file0":"1331749961","file4":"1331749978","file5":"1331750321","file3":"1331749971"},"map_files_photo_id_array":[{"photo_id":"1331750321","filename":"file5"},{"photo_id":"1331749969","filename":"file2"},{"photo_id":"1331749978","filename":"file4"},{"photo_id":"1331749965","filename":"file1"},{"photo_id":"1331749961","filename":"file0"},{"photo_id":"1331749971","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331749969":["hashtag1","hashtag2"]},{"1331749971":["hashtag1","hashtag2"]},{"1331749965":["hashtag1","hashtag2"]},{"1331749961":["hashtag1","hashtag2"]},{"1331749978":["hashtag1","hashtag2"]},{"1331750321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331749969, 1331749971, 1331749965, 1331749961, 1331749978, 1331750321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64228582382202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:03:33.044701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_14_10362.jpg', '/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_25_10451.jpg', '/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_34_9343.jpg', '/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_44_10340.jpg', '/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_55_10409.jpg', '/home/pi/Desktop/images/26012025/20/02/image_26012025_20_03_04_9337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_14_10362.jpg
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_25_10451.jpg
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_34_9343.jpg
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_44_10340.jpg
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_02_55_10409.jpg
/home/pi/Desktop/images/26012025/20/02/image_26012025_20_03_04_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":["1331750698","1331750671","1331750701","1331750691","1331750685","1331750703"],"photo_ids_order":["1331750671","1331750685","1331750691","1331750698","1331750701","1331750703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a61da2e13e5b8ab19129eb4b3162811d.jpg","text":"TemporaryFile(/tmp/multipartBody5319285840015617230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_02_44_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/26/084193d4bbfe2fc1c88de5ea1ddbbf39.jpg","text":"TemporaryFile(/tmp/multipartBody4017156322015923931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_02_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/139826435414df53f38ce4d6fa4fed98.jpg","text":"TemporaryFile(/tmp/multipartBody2994078646347550536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_02_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/26/5782318bcbd3861679ff3a8879705304.jpg","text":"TemporaryFile(/tmp/multipartBody7079413177903235284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_02_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/26/28a3c940f533e9bdfb9a85c141801678.jpg","text":"TemporaryFile(/tmp/multipartBody5507038349356704749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_02_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/26/1aed8e5d367c85208f4e988f112f8ffd.jpg","text":"TemporaryFile(/tmp/multipartBody439442122480659715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918273995,"filename":"image_26012025_20_03_04_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331750691","file1":"1331750685","file0":"1331750671","file4":"1331750701","file5":"1331750703","file3":"1331750698"},"map_files_photo_id_array":[{"photo_id":"1331750703","filename":"file5"},{"photo_id":"1331750691","filename":"file2"},{"photo_id":"1331750701","filename":"file4"},{"photo_id":"1331750685","filename":"file1"},{"photo_id":"1331750671","filename":"file0"},{"photo_id":"1331750698","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331750698":["hashtag1","hashtag2"]},{"1331750671":["hashtag1","hashtag2"]},{"1331750701":["hashtag1","hashtag2"]},{"1331750691":["hashtag1","hashtag2"]},{"1331750685":["hashtag1","hashtag2"]},{"1331750703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331750698, 1331750671, 1331750701, 1331750691, 1331750685, 1331750703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60128569602966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:04:32.236424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_15_10417.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_24_9334.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_34_10452.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_45_10360.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_54_9334.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_04_04_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_15_10417.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_24_9334.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_34_10452.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_45_10360.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_54_9334.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_04_04_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.5843639373779297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:04:42.339939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_15_10417.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_24_9334.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_34_10452.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_45_10360.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_54_9334.jpg', '/home/pi/Desktop/images/26012025/20/03/image_26012025_20_04_04_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_15_10417.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_24_9334.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_34_10452.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_45_10360.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_03_54_9334.jpg
/home/pi/Desktop/images/26012025/20/03/image_26012025_20_04_04_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":["1331751115","1331751117","1331751111","1331751113","1331751122","1331751119"],"photo_ids_order":["1331751111","1331751113","1331751115","1331751117","1331751119","1331751122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/595b8ff1a2326c268654c0fb739dcbf3.jpg","text":"TemporaryFile(/tmp/multipartBody8041436303981553696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_03_34_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b251c626cd2720a032c09dce5f14bc2.jpg","text":"TemporaryFile(/tmp/multipartBody8506156285427540455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_03_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/26/a0a2d886843b8094c1f921f5c27e9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody7028425540939470955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_03_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/26/bba4bd1fc433c42caa7573c43d65c2db.jpg","text":"TemporaryFile(/tmp/multipartBody4737242800209188642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_03_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/26/88bc45ce3eff787b7e3d94fa0cfc1125.jpg","text":"TemporaryFile(/tmp/multipartBody6391103662247308242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_04_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb517dcf2fd975079f17a754754302a1.jpg","text":"TemporaryFile(/tmp/multipartBody1272507705515324040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918343274,"filename":"image_26012025_20_03_54_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751115","file1":"1331751113","file0":"1331751111","file4":"1331751119","file5":"1331751122","file3":"1331751117"},"map_files_photo_id_array":[{"photo_id":"1331751122","filename":"file5"},{"photo_id":"1331751115","filename":"file2"},{"photo_id":"1331751119","filename":"file4"},{"photo_id":"1331751113","filename":"file1"},{"photo_id":"1331751111","filename":"file0"},{"photo_id":"1331751117","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751115":["hashtag1","hashtag2"]},{"1331751117":["hashtag1","hashtag2"]},{"1331751111":["hashtag1","hashtag2"]},{"1331751113":["hashtag1","hashtag2"]},{"1331751122":["hashtag1","hashtag2"]},{"1331751119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751115, 1331751117, 1331751111, 1331751113, 1331751122, 1331751119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71133637428284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:05:32.521900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_15_10347.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_24_9338.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_34_10389.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_45_10372.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_05_05_10425.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_14_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_15_10347.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_24_9338.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_34_10389.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_45_10372.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_05_05_10425.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_14_9334.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5326874256134033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:05:42.529761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_15_10347.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_24_9338.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_34_10389.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_45_10372.jpg', '/home/pi/Desktop/images/26012025/20/04/image_26012025_20_05_05_10425.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_14_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_15_10347.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_24_9338.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_34_10389.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_04_45_10372.jpg
/home/pi/Desktop/images/26012025/20/04/image_26012025_20_05_05_10425.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_14_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331751157","1331751142","1331751150","1331751146","1331751160","1331751154"],"photo_ids_order":["1331751142","1331751146","1331751150","1331751154","1331751157","1331751160"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22d213f4ad8af03fb949d3f81544f4f4.jpg","text":"TemporaryFile(/tmp/multipartBody6644933126291802598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_05_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fa5d233ef294ad5668d04a5f3b067a44.jpg","text":"TemporaryFile(/tmp/multipartBody9018695804799591085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_04_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/26/6cacaa5485908a4c24d521245f11e667.jpg","text":"TemporaryFile(/tmp/multipartBody6417457217893701072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_04_34_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/26/d1c14c8c8246a7a1bcefc0d716f16bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3926849667747783733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_04_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/26/7dc0a28b2d5e1a3b2255a503dd1d40a6.jpg","text":"TemporaryFile(/tmp/multipartBody7924643672334407680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_05_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/26/1603a51e8548442904deb193d25729cc.jpg","text":"TemporaryFile(/tmp/multipartBody7826091479901604631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918403439,"filename":"image_26012025_20_04_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751150","file1":"1331751146","file0":"1331751142","file4":"1331751157","file5":"1331751160","file3":"1331751154"},"map_files_photo_id_array":[{"photo_id":"1331751160","filename":"file5"},{"photo_id":"1331751150","filename":"file2"},{"photo_id":"1331751157","filename":"file4"},{"photo_id":"1331751146","filename":"file1"},{"photo_id":"1331751142","filename":"file0"},{"photo_id":"1331751154","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751157":["hashtag1","hashtag2"]},{"1331751142":["hashtag1","hashtag2"]},{"1331751150":["hashtag1","hashtag2"]},{"1331751146":["hashtag1","hashtag2"]},{"1331751160":["hashtag1","hashtag2"]},{"1331751154":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751157, 1331751142, 1331751150, 1331751146, 1331751160, 1331751154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.618552923202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:06:32.795877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_24_10374.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_35_10416.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_44_9346.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_55_10372.jpg', '/home/pi/Desktop/images/26012025/20/05/image_26012025_20_06_04_9346.jpg', '/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_14_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_24_10374.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_35_10416.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_44_9346.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_05_55_10372.jpg
/home/pi/Desktop/images/26012025/20/05/image_26012025_20_06_04_9346.jpg
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_14_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":["1331751178","1331751202","1331751192","1331751174","1331751210","1331751182"],"photo_ids_order":["1331751174","1331751178","1331751182","1331751192","1331751202","1331751210"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e8dd4e5da03aac2800c656486ff2e741.jpg","text":"TemporaryFile(/tmp/multipartBody5178448305919318986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_05_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/26/bf30b6e5b1a25980ac76a086d36283ea.jpg","text":"TemporaryFile(/tmp/multipartBody77660796224175388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_06_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/26/e1d5ebc7164aa780975babe86de60465.jpg","text":"TemporaryFile(/tmp/multipartBody1951660978011936558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_05_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/26/0ae69336198fdd8b820816d03f46b68a.jpg","text":"TemporaryFile(/tmp/multipartBody6470726336921607551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_05_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/26/48d37e2bc890dde948a1cf2b04a4b16e.jpg","text":"TemporaryFile(/tmp/multipartBody1605207703837603555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_06_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/26/600f00f9055a9a9a01dbed3f4ba41d5b.jpg","text":"TemporaryFile(/tmp/multipartBody5962750438327620251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918453724,"filename":"image_26012025_20_05_44_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751182","file1":"1331751178","file0":"1331751174","file4":"1331751202","file5":"1331751210","file3":"1331751192"},"map_files_photo_id_array":[{"photo_id":"1331751210","filename":"file5"},{"photo_id":"1331751182","filename":"file2"},{"photo_id":"1331751202","filename":"file4"},{"photo_id":"1331751178","filename":"file1"},{"photo_id":"1331751174","filename":"file0"},{"photo_id":"1331751192","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751178":["hashtag1","hashtag2"]},{"1331751202":["hashtag1","hashtag2"]},{"1331751192":["hashtag1","hashtag2"]},{"1331751174":["hashtag1","hashtag2"]},{"1331751210":["hashtag1","hashtag2"]},{"1331751182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751178, 1331751202, 1331751192, 1331751174, 1331751210, 1331751182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.780149698257446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:07:32.998318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_25_10362.jpg', '/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_34_9348.jpg', '/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_44_10339.jpg', '/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_55_10371.jpg', '/home/pi/Desktop/images/26012025/20/06/image_26012025_20_07_04_9338.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_14_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_25_10362.jpg
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_34_9348.jpg
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_44_10339.jpg
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_06_55_10371.jpg
/home/pi/Desktop/images/26012025/20/06/image_26012025_20_07_04_9338.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_14_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331751229","1331751246","1331751243","1331751239","1331751233","1331751227"],"photo_ids_order":["1331751227","1331751229","1331751233","1331751239","1331751243","1331751246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dcef8bdbb601d81f56845d4e327a2ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5183104281138175701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_06_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30ea5e488550d2a620e63423b22baa1b.jpg","text":"TemporaryFile(/tmp/multipartBody6009381929796802254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_07_14_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b9da8ad6afa62dc9b561f68f2f795c17.jpg","text":"TemporaryFile(/tmp/multipartBody2484602379960824635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_07_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3c62744b756238763e495d09d10d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody8593704615507094695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_06_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/26/1daa0caf5c815d2d53532a381565dc55.jpg","text":"TemporaryFile(/tmp/multipartBody7003639963744551008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_06_44_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c73bb69d13728773b7956a765779ca00.jpg","text":"TemporaryFile(/tmp/multipartBody2889807220634529798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918513915,"filename":"image_26012025_20_06_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751233","file1":"1331751229","file0":"1331751227","file4":"1331751243","file5":"1331751246","file3":"1331751239"},"map_files_photo_id_array":[{"photo_id":"1331751246","filename":"file5"},{"photo_id":"1331751233","filename":"file2"},{"photo_id":"1331751243","filename":"file4"},{"photo_id":"1331751229","filename":"file1"},{"photo_id":"1331751227","filename":"file0"},{"photo_id":"1331751239","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751229":["hashtag1","hashtag2"]},{"1331751246":["hashtag1","hashtag2"]},{"1331751243":["hashtag1","hashtag2"]},{"1331751239":["hashtag1","hashtag2"]},{"1331751233":["hashtag1","hashtag2"]},{"1331751227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751229, 1331751246, 1331751243, 1331751239, 1331751233, 1331751227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60219359397888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:08:33.166595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_25_10430.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_34_9340.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_45_10458.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_54_9336.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_08_04_10347.jpg', '/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_15_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_25_10430.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_34_9340.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_45_10458.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_54_9336.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_08_04_10347.jpg
/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_15_10422.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5295941829681396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:08:43.160693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_25_10430.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_34_9340.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_45_10458.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_54_9336.jpg', '/home/pi/Desktop/images/26012025/20/07/image_26012025_20_08_04_10347.jpg', '/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_15_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_25_10430.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_34_9340.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_45_10458.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_07_54_9336.jpg
/home/pi/Desktop/images/26012025/20/07/image_26012025_20_08_04_10347.jpg
/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_15_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331751265","1331751273","1331751267","1331751261","1331751269","1331751263"],"photo_ids_order":["1331751261","1331751263","1331751265","1331751267","1331751269","1331751273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93800c77e4d5ecc1ad9e3ea6408bd3bb.jpg","text":"TemporaryFile(/tmp/multipartBody1389677842451538531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_07_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/26/9d5f1e8fc8155a461550c09d15fde032.jpg","text":"TemporaryFile(/tmp/multipartBody6291472219209581912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_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/26/6cb96a4a623e1871937406d472d95ffe.jpg","text":"TemporaryFile(/tmp/multipartBody8685343906556389238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_07_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/26/024675a35c576fb568946303a2065d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8745282837436957588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_07_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f14f5c97f9595d896582f8f7366ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody5600068278701437251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_08_04_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3b7177c9a0fe31d690bc710bde6e6e05.jpg","text":"TemporaryFile(/tmp/multipartBody2723199221779931624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918584108,"filename":"image_26012025_20_07_34_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751265","file1":"1331751263","file0":"1331751261","file4":"1331751269","file5":"1331751273","file3":"1331751267"},"map_files_photo_id_array":[{"photo_id":"1331751273","filename":"file5"},{"photo_id":"1331751265","filename":"file2"},{"photo_id":"1331751269","filename":"file4"},{"photo_id":"1331751263","filename":"file1"},{"photo_id":"1331751261","filename":"file0"},{"photo_id":"1331751267","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751265":["hashtag1","hashtag2"]},{"1331751273":["hashtag1","hashtag2"]},{"1331751267":["hashtag1","hashtag2"]},{"1331751261":["hashtag1","hashtag2"]},{"1331751269":["hashtag1","hashtag2"]},{"1331751263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751265, 1331751273, 1331751267, 1331751261, 1331751269, 1331751263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02900743484497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:09:32.555954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_44_9421.jpg', '/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_54_10339.jpg', '/home/pi/Desktop/images/26012025/20/08/image_26012025_20_09_05_10436.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_14_9338.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_25_10396.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_35_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_44_9421.jpg
/home/pi/Desktop/images/26012025/20/08/image_26012025_20_08_54_10339.jpg
/home/pi/Desktop/images/26012025/20/08/image_26012025_20_09_05_10436.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_14_9338.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_25_10396.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_35_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":["1331751304","1331751307","1331751291","1331751299","1331751308","1331751295"],"photo_ids_order":["1331751291","1331751295","1331751299","1331751304","1331751307","1331751308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4010a32020a6908434dbd149207a60f0.jpg","text":"TemporaryFile(/tmp/multipartBody3000676957282253284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_09_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/26/56e851babfc15e0cf149556f242aa29d.jpg","text":"TemporaryFile(/tmp/multipartBody1217253223402804862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_09_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/26/d5bfeccd980e126d65d5ea078ef67615.jpg","text":"TemporaryFile(/tmp/multipartBody5933744877147102543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_08_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/57f1c7d13014ebdd9a8d89a8b9f05277.jpg","text":"TemporaryFile(/tmp/multipartBody9143873494970828738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_09_05_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f05d1a6aeebc91f25859584d1033ace0.jpg","text":"TemporaryFile(/tmp/multipartBody6018332801073585094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_09_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/26/96af621771169121dd27927f0df18436.jpg","text":"TemporaryFile(/tmp/multipartBody1011024599535272242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918633461,"filename":"image_26012025_20_08_54_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751299","file1":"1331751295","file0":"1331751291","file4":"1331751307","file5":"1331751308","file3":"1331751304"},"map_files_photo_id_array":[{"photo_id":"1331751308","filename":"file5"},{"photo_id":"1331751299","filename":"file2"},{"photo_id":"1331751307","filename":"file4"},{"photo_id":"1331751295","filename":"file1"},{"photo_id":"1331751291","filename":"file0"},{"photo_id":"1331751304","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751304":["hashtag1","hashtag2"]},{"1331751307":["hashtag1","hashtag2"]},{"1331751291":["hashtag1","hashtag2"]},{"1331751299":["hashtag1","hashtag2"]},{"1331751308":["hashtag1","hashtag2"]},{"1331751295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751304, 1331751307, 1331751291, 1331751299, 1331751308, 1331751295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.48019218444824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:10:32.731970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_44_9435.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_55_10370.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_10_04_9423.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_14_10362.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_25_10417.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_34_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_44_9435.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_55_10370.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_10_04_9423.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_14_10362.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_25_10417.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_34_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.562567949295044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:10:42.606348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_44_9435.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_55_10370.jpg', '/home/pi/Desktop/images/26012025/20/09/image_26012025_20_10_04_9423.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_14_10362.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_25_10417.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_34_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_44_9435.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_09_55_10370.jpg
/home/pi/Desktop/images/26012025/20/09/image_26012025_20_10_04_9423.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_14_10362.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_25_10417.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_34_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":["1331751421","1331751412","1331751420","1331751408","1331751417","1331751425"],"photo_ids_order":["1331751408","1331751412","1331751417","1331751420","1331751421","1331751425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e96985edb162979552e545c46a212fb.jpg","text":"TemporaryFile(/tmp/multipartBody1045595767474856862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_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/26/626c7fc17e43a0c1b2d016cc8be3365e.jpg","text":"TemporaryFile(/tmp/multipartBody1098888705845297383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_09_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/26/39c4858eaaa282933218efb9acf7cfd0.jpg","text":"TemporaryFile(/tmp/multipartBody7532572159531878067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_10_14_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83efcd561261497ed6a9e47ac009188c.jpg","text":"TemporaryFile(/tmp/multipartBody6950271272805789936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_09_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/26/fb449e3bf1f88e569491df25368ab7b4.jpg","text":"TemporaryFile(/tmp/multipartBody9057239800636986469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_10_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af168537b251c38cfef7dad25d09a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7071838501097758789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918703523,"filename":"image_26012025_20_10_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751417","file1":"1331751412","file0":"1331751408","file4":"1331751421","file5":"1331751425","file3":"1331751420"},"map_files_photo_id_array":[{"photo_id":"1331751425","filename":"file5"},{"photo_id":"1331751417","filename":"file2"},{"photo_id":"1331751421","filename":"file4"},{"photo_id":"1331751412","filename":"file1"},{"photo_id":"1331751408","filename":"file0"},{"photo_id":"1331751420","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751421":["hashtag1","hashtag2"]},{"1331751412":["hashtag1","hashtag2"]},{"1331751420":["hashtag1","hashtag2"]},{"1331751408":["hashtag1","hashtag2"]},{"1331751417":["hashtag1","hashtag2"]},{"1331751425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751421, 1331751412, 1331751420, 1331751408, 1331751417, 1331751425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41555094718933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:11:32.842052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_45_10412.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_54_9338.jpg', '/home/pi/Desktop/images/26012025/20/10/image_26012025_20_11_04_10342.jpg', '/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_15_10344.jpg', '/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_24_9379.jpg', '/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_34_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_45_10412.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_10_54_9338.jpg
/home/pi/Desktop/images/26012025/20/10/image_26012025_20_11_04_10342.jpg
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_15_10344.jpg
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_24_9379.jpg
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_34_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":["1331751454","1331751508","1331751459","1331751525","1331751515","1331751499"],"photo_ids_order":["1331751454","1331751459","1331751499","1331751508","1331751515","1331751525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/07a4d067f34628f9e3441d1f2bcfb79f.jpg","text":"TemporaryFile(/tmp/multipartBody4000891508631007203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_10_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/26/399eb892b382ebb4555076c70ced6389.jpg","text":"TemporaryFile(/tmp/multipartBody6012116929160477463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_11_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/26/b933390d9864344ebe99e7d21dfc43c8.jpg","text":"TemporaryFile(/tmp/multipartBody4830882579847267945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_10_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/26/cf101b8df0c22574a0f1cd58f23b08ba.jpg","text":"TemporaryFile(/tmp/multipartBody3287873846392101537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_11_34_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d21b3b260d2d0814eb0fdfc60c7a61a6.jpg","text":"TemporaryFile(/tmp/multipartBody424940759481120066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_11_24_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/26/cab799d9a938771bc49dd1ac7a74a869.jpg","text":"TemporaryFile(/tmp/multipartBody5274215833619761844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918753772,"filename":"image_26012025_20_11_04_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751499","file1":"1331751459","file0":"1331751454","file4":"1331751515","file5":"1331751525","file3":"1331751508"},"map_files_photo_id_array":[{"photo_id":"1331751525","filename":"file5"},{"photo_id":"1331751499","filename":"file2"},{"photo_id":"1331751515","filename":"file4"},{"photo_id":"1331751459","filename":"file1"},{"photo_id":"1331751454","filename":"file0"},{"photo_id":"1331751508","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751454":["hashtag1","hashtag2"]},{"1331751508":["hashtag1","hashtag2"]},{"1331751459":["hashtag1","hashtag2"]},{"1331751525":["hashtag1","hashtag2"]},{"1331751515":["hashtag1","hashtag2"]},{"1331751499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751454, 1331751508, 1331751459, 1331751525, 1331751515, 1331751499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.930415630340576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:12:33.052919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_45_10409.jpg', '/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_54_9338.jpg', '/home/pi/Desktop/images/26012025/20/11/image_26012025_20_12_04_10400.jpg', '/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_15_10345.jpg', '/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_24_9328.jpg', '/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_35_10426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_45_10409.jpg
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_11_54_9338.jpg
/home/pi/Desktop/images/26012025/20/11/image_26012025_20_12_04_10400.jpg
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_15_10345.jpg
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_24_9328.jpg
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_35_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331751631","1331751630","1331751624","1331751618","1331751627","1331751614"],"photo_ids_order":["1331751614","1331751618","1331751624","1331751627","1331751630","1331751631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0ea3be893be03f4194357b481e640295.jpg","text":"TemporaryFile(/tmp/multipartBody804684934740249554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_12_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/26/edfa4d361f51d5d4d9820c624208950e.jpg","text":"TemporaryFile(/tmp/multipartBody4556556665792405540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_12_24_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/26/f53fcf5bc18bac91eea2085dd92c2e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1648973288956363723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_12_04_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4a925c56be09f13aa0c24c791da2c775.jpg","text":"TemporaryFile(/tmp/multipartBody8730312995895038420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_11_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/26/1a7c2cc340eabd8bdd5486abfb17b484.jpg","text":"TemporaryFile(/tmp/multipartBody9067363558125692511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_12_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/26/36957af3092e19dd7842e43a73d88921.jpg","text":"TemporaryFile(/tmp/multipartBody5775176866267088242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918813962,"filename":"image_26012025_20_11_45_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751624","file1":"1331751618","file0":"1331751614","file4":"1331751630","file5":"1331751631","file3":"1331751627"},"map_files_photo_id_array":[{"photo_id":"1331751631","filename":"file5"},{"photo_id":"1331751624","filename":"file2"},{"photo_id":"1331751630","filename":"file4"},{"photo_id":"1331751618","filename":"file1"},{"photo_id":"1331751614","filename":"file0"},{"photo_id":"1331751627","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751631":["hashtag1","hashtag2"]},{"1331751630":["hashtag1","hashtag2"]},{"1331751624":["hashtag1","hashtag2"]},{"1331751618":["hashtag1","hashtag2"]},{"1331751627":["hashtag1","hashtag2"]},{"1331751614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751631, 1331751630, 1331751624, 1331751618, 1331751627, 1331751614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90803790092468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:13:32.231322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_44_9360.jpg', '/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_54_10420.jpg', '/home/pi/Desktop/images/26012025/20/12/image_26012025_20_13_05_10405.jpg', '/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_14_9339.jpg', '/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_25_10486.jpg', '/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_34_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_44_9360.jpg
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_12_54_10420.jpg
/home/pi/Desktop/images/26012025/20/12/image_26012025_20_13_05_10405.jpg
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_14_9339.jpg
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_25_10486.jpg
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_34_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":["1331751684","1331751665","1331751674","1331751685","1331751679","1331751670"],"photo_ids_order":["1331751665","1331751670","1331751674","1331751679","1331751684","1331751685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/41c3b88e7799f49df6d98df39982a512.jpg","text":"TemporaryFile(/tmp/multipartBody9161843734106998392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_13_25_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/26/3043f86f281c95626b348ec00e353cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5334526210958604076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_12_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/26/43e4ebd728299c65ebb34f4454ae9f77.jpg","text":"TemporaryFile(/tmp/multipartBody4120952281513745171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_13_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9435a82ed24e68f8403e79c50b7e92f1.jpg","text":"TemporaryFile(/tmp/multipartBody3068984515704759061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_13_34_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/26/d646284aaa8328875d00f297da3f4079.jpg","text":"TemporaryFile(/tmp/multipartBody5001769157042276109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_13_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/26/f29f3579b6592af15b4d5096ad945d54.jpg","text":"TemporaryFile(/tmp/multipartBody4140090457699432205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918873155,"filename":"image_26012025_20_12_54_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751674","file1":"1331751670","file0":"1331751665","file4":"1331751684","file5":"1331751685","file3":"1331751679"},"map_files_photo_id_array":[{"photo_id":"1331751685","filename":"file5"},{"photo_id":"1331751674","filename":"file2"},{"photo_id":"1331751684","filename":"file4"},{"photo_id":"1331751670","filename":"file1"},{"photo_id":"1331751665","filename":"file0"},{"photo_id":"1331751679","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751684":["hashtag1","hashtag2"]},{"1331751665":["hashtag1","hashtag2"]},{"1331751674":["hashtag1","hashtag2"]},{"1331751685":["hashtag1","hashtag2"]},{"1331751679":["hashtag1","hashtag2"]},{"1331751670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751684, 1331751665, 1331751674, 1331751685, 1331751679, 1331751670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94988203048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:14:32.397173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_44_10328.jpg', '/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_55_10345.jpg', '/home/pi/Desktop/images/26012025/20/13/image_26012025_20_14_04_9338.jpg', '/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_14_10329.jpg', '/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_25_10358.jpg', '/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_34_9406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_44_10328.jpg
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_13_55_10345.jpg
/home/pi/Desktop/images/26012025/20/13/image_26012025_20_14_04_9338.jpg
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_14_10329.jpg
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_25_10358.jpg
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_34_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":["1331751730","1331751721","1331751714","1331751708","1331751728","1331751701"],"photo_ids_order":["1331751701","1331751708","1331751714","1331751721","1331751728","1331751730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7522079971cf1ef9142c1f146a4a006e.jpg","text":"TemporaryFile(/tmp/multipartBody9116919772440768815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_14_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/26/ec4adb76a55fee34d9b948b23a358d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7725843462245623118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_14_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/26/23befc0295ae69c668f3e05eeed44eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4266092127034211545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_14_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f6264cf573d98f0e103cf4b100b46d60.jpg","text":"TemporaryFile(/tmp/multipartBody7210014949028553041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_13_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/26/3c232e8d3e6abebfb2dd1857d30dd017.jpg","text":"TemporaryFile(/tmp/multipartBody8021495039282486657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_14_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/26/a00b0220737d8ace403cd26d23b5f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5248714941201481785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918933310,"filename":"image_26012025_20_13_44_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751714","file1":"1331751708","file0":"1331751701","file4":"1331751728","file5":"1331751730","file3":"1331751721"},"map_files_photo_id_array":[{"photo_id":"1331751730","filename":"file5"},{"photo_id":"1331751714","filename":"file2"},{"photo_id":"1331751728","filename":"file4"},{"photo_id":"1331751708","filename":"file1"},{"photo_id":"1331751701","filename":"file0"},{"photo_id":"1331751721","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751730":["hashtag1","hashtag2"]},{"1331751721":["hashtag1","hashtag2"]},{"1331751714":["hashtag1","hashtag2"]},{"1331751708":["hashtag1","hashtag2"]},{"1331751728":["hashtag1","hashtag2"]},{"1331751701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751730, 1331751721, 1331751714, 1331751708, 1331751728, 1331751701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71526050567627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:15:32.604775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_44_10333.jpg', '/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_55_10363.jpg', '/home/pi/Desktop/images/26012025/20/14/image_26012025_20_15_04_9337.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_14_10358.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_25_10379.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_34_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_44_10333.jpg
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_14_55_10363.jpg
/home/pi/Desktop/images/26012025/20/14/image_26012025_20_15_04_9337.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_14_10358.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_25_10379.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_34_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":["1331751748","1331751762","1331751744","1331751755","1331751740","1331751760"],"photo_ids_order":["1331751740","1331751744","1331751748","1331751755","1331751760","1331751762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/30a182c84659cf6ff8b852c09dc129ab.jpg","text":"TemporaryFile(/tmp/multipartBody8205553746383550115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_15_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6a41f09e9f899c4992b711c2adf43a00.jpg","text":"TemporaryFile(/tmp/multipartBody1117928503974480342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_15_34_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/918d711918abce8a6ab39d3f2f361d21.jpg","text":"TemporaryFile(/tmp/multipartBody3217735599918642945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_14_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/26/d74ab0ee7ce114e08633d9a2b21e773d.jpg","text":"TemporaryFile(/tmp/multipartBody9202381419681514964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_15_14_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/26/71f7ece0eac89b3b82a2b53d441af49e.jpg","text":"TemporaryFile(/tmp/multipartBody424843913918174127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_14_44_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5b5b42e4a80d79cf31adc4301a1a560a.jpg","text":"TemporaryFile(/tmp/multipartBody2801394781348553940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737918993507,"filename":"image_26012025_20_15_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331751748","file1":"1331751744","file0":"1331751740","file4":"1331751760","file5":"1331751762","file3":"1331751755"},"map_files_photo_id_array":[{"photo_id":"1331751762","filename":"file5"},{"photo_id":"1331751748","filename":"file2"},{"photo_id":"1331751760","filename":"file4"},{"photo_id":"1331751744","filename":"file1"},{"photo_id":"1331751740","filename":"file0"},{"photo_id":"1331751755","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751748":["hashtag1","hashtag2"]},{"1331751762":["hashtag1","hashtag2"]},{"1331751744":["hashtag1","hashtag2"]},{"1331751755":["hashtag1","hashtag2"]},{"1331751740":["hashtag1","hashtag2"]},{"1331751760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751748, 1331751762, 1331751744, 1331751755, 1331751740, 1331751760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.173317193984985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:16:32.790254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_45_10423.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_54_9343.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_16_04_10351.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_15_10416.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_35_10425.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_44_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_45_10423.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_54_9343.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_16_04_10351.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_15_10416.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_35_10425.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_44_9395.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5410330295562744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:16:42.773383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_45_10423.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_54_9343.jpg', '/home/pi/Desktop/images/26012025/20/15/image_26012025_20_16_04_10351.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_15_10416.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_35_10425.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_44_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_45_10423.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_15_54_9343.jpg
/home/pi/Desktop/images/26012025/20/15/image_26012025_20_16_04_10351.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_15_10416.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_35_10425.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_44_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331751823","1331752000","1331752346","1331751819","1331752343","1331752336"],"photo_ids_order":["1331751819","1331751823","1331752000","1331752336","1331752343","1331752346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1c65b5b37fb554be6a831d633ac42b45.jpg","text":"TemporaryFile(/tmp/multipartBody6082267595918609442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_15_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/26/b36d2c734626c0e41062f371bb5dd385.jpg","text":"TemporaryFile(/tmp/multipartBody4538885265723411668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_16_04_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/644c9158fb0b3532a5883d8ecad6fc8b.jpg","text":"TemporaryFile(/tmp/multipartBody8771105142828267060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_16_44_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b13c5b4e9d908b6c56f36cacb1df73d.jpg","text":"TemporaryFile(/tmp/multipartBody5298175640687683630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_15_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/26/ca377326c5eafc007ddac6c873679c29.jpg","text":"TemporaryFile(/tmp/multipartBody4754969794985500367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_16_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/26/4688aacf193351cfc03c27362c16bb55.jpg","text":"TemporaryFile(/tmp/multipartBody1498140811134590044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919063684,"filename":"image_26012025_20_16_15_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752000","file1":"1331751823","file0":"1331751819","file4":"1331752343","file5":"1331752346","file3":"1331752336"},"map_files_photo_id_array":[{"photo_id":"1331752346","filename":"file5"},{"photo_id":"1331752000","filename":"file2"},{"photo_id":"1331752343","filename":"file4"},{"photo_id":"1331751823","filename":"file1"},{"photo_id":"1331751819","filename":"file0"},{"photo_id":"1331752336","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331751823":["hashtag1","hashtag2"]},{"1331752000":["hashtag1","hashtag2"]},{"1331752346":["hashtag1","hashtag2"]},{"1331751819":["hashtag1","hashtag2"]},{"1331752343":["hashtag1","hashtag2"]},{"1331752336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331751823, 1331752000, 1331752346, 1331751819, 1331752343, 1331752336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25253510475159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:17:33.016227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_54_10421.jpg', '/home/pi/Desktop/images/26012025/20/16/image_26012025_20_17_05_10419.jpg', '/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_14_9389.jpg', '/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_34_9413.jpg', '/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_44_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_16_54_10421.jpg
/home/pi/Desktop/images/26012025/20/16/image_26012025_20_17_05_10419.jpg
/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_14_9389.jpg
/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_34_9413.jpg
/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_44_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331752485","1331752504","1331752500","1331752495","1331752507"],"photo_ids_order":["1331752485","1331752495","1331752500","1331752504","1331752507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/828ebbf9feb5f31663092760762e0e49.jpg","text":"TemporaryFile(/tmp/multipartBody5404727804517588244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919113909,"filename":"image_26012025_20_16_54_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/26/6bae705eb379145a7d74aa1a26f9714b.jpg","text":"TemporaryFile(/tmp/multipartBody5960663381426089037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919113909,"filename":"image_26012025_20_17_34_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1f06ef7716c43932b67e9ab0f01c50be.jpg","text":"TemporaryFile(/tmp/multipartBody8051797950647265426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919113909,"filename":"image_26012025_20_17_14_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c2dbe32495a266d2e384639275128f98.jpg","text":"TemporaryFile(/tmp/multipartBody2401906948578074900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919113909,"filename":"image_26012025_20_17_05_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/26/5ff4c2228a8f2bc675718a3351cd0b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7425176096352964695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919113909,"filename":"image_26012025_20_17_44_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752500","file1":"1331752495","file0":"1331752485","file4":"1331752507","file3":"1331752504"},"map_files_photo_id_array":[{"photo_id":"1331752500","filename":"file2"},{"photo_id":"1331752507","filename":"file4"},{"photo_id":"1331752495","filename":"file1"},{"photo_id":"1331752485","filename":"file0"},{"photo_id":"1331752504","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752485":["hashtag1","hashtag2"]},{"1331752504":["hashtag1","hashtag2"]},{"1331752500":["hashtag1","hashtag2"]},{"1331752495":["hashtag1","hashtag2"]},{"1331752507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752485, 1331752504, 1331752500, 1331752495, 1331752507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.981879472732544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:18:32.262585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_55_10360.jpg', '/home/pi/Desktop/images/26012025/20/17/image_26012025_20_18_04_9324.jpg', '/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_15_10482.jpg', '/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_24_9355.jpg', '/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_34_10359.jpg', '/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_45_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/17/image_26012025_20_17_55_10360.jpg
/home/pi/Desktop/images/26012025/20/17/image_26012025_20_18_04_9324.jpg
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_15_10482.jpg
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_24_9355.jpg
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_34_10359.jpg
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_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":["1331752542","1331752556","1331752538","1331752558","1331752552","1331752546"],"photo_ids_order":["1331752538","1331752542","1331752546","1331752552","1331752556","1331752558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/08c4f982a0c719dfdc8621050af67481.jpg","text":"TemporaryFile(/tmp/multipartBody849226368743348108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_20_18_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/26/2d558c725851130f16233e7ede53becf.jpg","text":"TemporaryFile(/tmp/multipartBody8766582034022305464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_20_18_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3300147c6535efeca13e94b57e88b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1254350746849749457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_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/26/d12adbe97e6eecec330d30d7a7cf78eb.jpg","text":"TemporaryFile(/tmp/multipartBody2955018622241988884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_20_18_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/26/2aeb4dfd879a0a95606bc1be043ec48a.jpg","text":"TemporaryFile(/tmp/multipartBody1057006175326315539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_20_18_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/26/b445163ee5a0f5611dd7c71e5d8e8b89.jpg","text":"TemporaryFile(/tmp/multipartBody7628628887393925631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919173194,"filename":"image_26012025_20_18_15_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752546","file1":"1331752542","file0":"1331752538","file4":"1331752556","file5":"1331752558","file3":"1331752552"},"map_files_photo_id_array":[{"photo_id":"1331752558","filename":"file5"},{"photo_id":"1331752546","filename":"file2"},{"photo_id":"1331752556","filename":"file4"},{"photo_id":"1331752542","filename":"file1"},{"photo_id":"1331752538","filename":"file0"},{"photo_id":"1331752552","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752542":["hashtag1","hashtag2"]},{"1331752556":["hashtag1","hashtag2"]},{"1331752538":["hashtag1","hashtag2"]},{"1331752558":["hashtag1","hashtag2"]},{"1331752552":["hashtag1","hashtag2"]},{"1331752546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752542, 1331752556, 1331752538, 1331752558, 1331752552, 1331752546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26106929779053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:19:32.577685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_54_9392.jpg', '/home/pi/Desktop/images/26012025/20/18/image_26012025_20_19_04_10344.jpg', '/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_15_10328.jpg', '/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_24_9358.jpg', '/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_34_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_18_54_9392.jpg
/home/pi/Desktop/images/26012025/20/18/image_26012025_20_19_04_10344.jpg
/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_15_10328.jpg
/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_24_9358.jpg
/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_34_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331752621","1331752617","1331752608","1331752624","1331752612"],"photo_ids_order":["1331752608","1331752612","1331752617","1331752621","1331752624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4de5dbaca4033f5ca702aacbe757273c.jpg","text":"TemporaryFile(/tmp/multipartBody3208351607967793488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919233491,"filename":"image_26012025_20_19_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/26/d292ffd36a8ff68e8d5805877cdc1782.jpg","text":"TemporaryFile(/tmp/multipartBody6927771535723045997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919233491,"filename":"image_26012025_20_19_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/120bc89aa10ddd57b4e0cc54ce8b53bf.jpg","text":"TemporaryFile(/tmp/multipartBody224087073487301587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919233491,"filename":"image_26012025_20_18_54_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b355af9955ba2041c0bc9e389e7f33e0.jpg","text":"TemporaryFile(/tmp/multipartBody5591387320493543757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919233491,"filename":"image_26012025_20_19_34_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91b9ba10ab5abd435e36f0c52aeee494.jpg","text":"TemporaryFile(/tmp/multipartBody8336689903977964509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919233491,"filename":"image_26012025_20_19_04_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752617","file1":"1331752612","file0":"1331752608","file4":"1331752624","file3":"1331752621"},"map_files_photo_id_array":[{"photo_id":"1331752617","filename":"file2"},{"photo_id":"1331752624","filename":"file4"},{"photo_id":"1331752612","filename":"file1"},{"photo_id":"1331752608","filename":"file0"},{"photo_id":"1331752621","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752621":["hashtag1","hashtag2"]},{"1331752617":["hashtag1","hashtag2"]},{"1331752608":["hashtag1","hashtag2"]},{"1331752624":["hashtag1","hashtag2"]},{"1331752612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752621, 1331752617, 1331752608, 1331752624, 1331752612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.30234408378601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:20:32.860335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_54_9357.jpg', '/home/pi/Desktop/images/26012025/20/19/image_26012025_20_20_05_10452.jpg', '/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_14_9336.jpg', '/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_24_10354.jpg', '/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_35_10442.jpg', '/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_44_9348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/19/image_26012025_20_19_54_9357.jpg
/home/pi/Desktop/images/26012025/20/19/image_26012025_20_20_05_10452.jpg
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_14_9336.jpg
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_24_10354.jpg
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_35_10442.jpg
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_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":["1331752665","1331752661","1331752673","1331752655","1331752672","1331752669"],"photo_ids_order":["1331752655","1331752661","1331752665","1331752669","1331752672","1331752673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6e661827603aa3c3cc22ff214a9087a.jpg","text":"TemporaryFile(/tmp/multipartBody2386470640979527190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_20_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6fdc9532e25a5a62bc81c00bbb09f420.jpg","text":"TemporaryFile(/tmp/multipartBody1480337094956698918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_20_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/26/8dff89cba743d2d99f919dd676a7939b.jpg","text":"TemporaryFile(/tmp/multipartBody2918881837822318461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_20_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/26/5e58d65f0a862b3e4ceb3f00882da4d4.jpg","text":"TemporaryFile(/tmp/multipartBody7641327256901554090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_19_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/26/df369be85e60aa061d89c791ab15285f.jpg","text":"TemporaryFile(/tmp/multipartBody7443374653506106956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_20_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9999b8bc7ad9c55beaf077463aadd431.jpg","text":"TemporaryFile(/tmp/multipartBody8452427780207259630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919294215,"filename":"image_26012025_20_20_24_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752665","file1":"1331752661","file0":"1331752655","file4":"1331752672","file5":"1331752673","file3":"1331752669"},"map_files_photo_id_array":[{"photo_id":"1331752673","filename":"file5"},{"photo_id":"1331752665","filename":"file2"},{"photo_id":"1331752672","filename":"file4"},{"photo_id":"1331752661","filename":"file1"},{"photo_id":"1331752655","filename":"file0"},{"photo_id":"1331752669","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752665":["hashtag1","hashtag2"]},{"1331752661":["hashtag1","hashtag2"]},{"1331752673":["hashtag1","hashtag2"]},{"1331752655":["hashtag1","hashtag2"]},{"1331752672":["hashtag1","hashtag2"]},{"1331752669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752665, 1331752661, 1331752673, 1331752655, 1331752672, 1331752669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97085094451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:21:32.924664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/20/image_26012025_20_21_05_10360.jpg', '/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_14_9431.jpg', '/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_25_10383.jpg', '/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_34_9336.jpg', '/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_44_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_20_54_10359.jpg
/home/pi/Desktop/images/26012025/20/20/image_26012025_20_21_05_10360.jpg
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_14_9431.jpg
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_25_10383.jpg
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_34_9336.jpg
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_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":["1331752680","1331752688","1331752697","1331752699","1331752684","1331752693"],"photo_ids_order":["1331752680","1331752684","1331752688","1331752693","1331752697","1331752699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26b32b21c4525bf3f356d0c6d1f29324.jpg","text":"TemporaryFile(/tmp/multipartBody4380023220417964802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_20_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6ae9c80a61ae8c6787f0527984b23388.jpg","text":"TemporaryFile(/tmp/multipartBody8244486536230685209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_21_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/26/788f58c0010dd38ceefc30272f49bec4.jpg","text":"TemporaryFile(/tmp/multipartBody5501582549077278195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_21_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/26/9077e7310eb4ab37949d53b5a4561409.jpg","text":"TemporaryFile(/tmp/multipartBody8533168815068086535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_21_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/26/e7e4a5a9fd809144a9f0434fffdd77a2.jpg","text":"TemporaryFile(/tmp/multipartBody1982048130802334618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_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/26/f0b86adc66091e6c9d04c773d7402901.jpg","text":"TemporaryFile(/tmp/multipartBody5050940013569613465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919354098,"filename":"image_26012025_20_21_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752688","file1":"1331752684","file0":"1331752680","file4":"1331752697","file5":"1331752699","file3":"1331752693"},"map_files_photo_id_array":[{"photo_id":"1331752699","filename":"file5"},{"photo_id":"1331752688","filename":"file2"},{"photo_id":"1331752697","filename":"file4"},{"photo_id":"1331752684","filename":"file1"},{"photo_id":"1331752680","filename":"file0"},{"photo_id":"1331752693","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752680":["hashtag1","hashtag2"]},{"1331752688":["hashtag1","hashtag2"]},{"1331752697":["hashtag1","hashtag2"]},{"1331752699":["hashtag1","hashtag2"]},{"1331752684":["hashtag1","hashtag2"]},{"1331752693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752680, 1331752688, 1331752697, 1331752699, 1331752684, 1331752693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41226673126221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:22:32.120901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_55_10425.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_15_10454.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_25_10396.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_35_9833.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_44_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_55_10425.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_15_10454.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_25_10396.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_35_9833.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_44_9331.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5024399757385254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:22:42.205750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_55_10425.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_15_10454.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_25_10396.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_35_9833.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_44_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/21/image_26012025_20_21_55_10425.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_15_10454.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_25_10396.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_35_9833.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_44_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331752782","1331752785","1331752764","1331752773","1331752784"],"photo_ids_order":["1331752764","1331752773","1331752782","1331752784","1331752785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a0be201de04c76e9f4984890e67d300a.jpg","text":"TemporaryFile(/tmp/multipartBody8276404671417230264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919423128,"filename":"image_26012025_20_22_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/26/71de2294dcf6234711e3fbdf9bd4d123.jpg","text":"TemporaryFile(/tmp/multipartBody2246470685064518917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919423128,"filename":"image_26012025_20_22_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f5cd272cbca7f9b1554ca2dc6fdeb81.jpg","text":"TemporaryFile(/tmp/multipartBody4925041735541346039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919423128,"filename":"image_26012025_20_21_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/26/831832a029a3af131d50593fbad75fef.jpg","text":"TemporaryFile(/tmp/multipartBody222178243959493236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919423128,"filename":"image_26012025_20_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/26/59a27867c35a7a140324353d98b78e44.jpg","text":"TemporaryFile(/tmp/multipartBody6786602355568973818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919423128,"filename":"image_26012025_20_22_35_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752782","file1":"1331752773","file0":"1331752764","file4":"1331752785","file3":"1331752784"},"map_files_photo_id_array":[{"photo_id":"1331752782","filename":"file2"},{"photo_id":"1331752785","filename":"file4"},{"photo_id":"1331752773","filename":"file1"},{"photo_id":"1331752764","filename":"file0"},{"photo_id":"1331752784","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752782":["hashtag1","hashtag2"]},{"1331752785":["hashtag1","hashtag2"]},{"1331752764":["hashtag1","hashtag2"]},{"1331752773":["hashtag1","hashtag2"]},{"1331752784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752782, 1331752785, 1331752764, 1331752773, 1331752784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.54745006561279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:23:32.365769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_55_10568.jpg', '/home/pi/Desktop/images/26012025/20/22/image_26012025_20_23_04_9405.jpg', '/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_14_10349.jpg', '/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_25_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_22_55_10568.jpg
/home/pi/Desktop/images/26012025/20/22/image_26012025_20_23_04_9405.jpg
/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_14_10349.jpg
/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_25_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331752799","1331752793","1331752796","1331752789"],"photo_ids_order":["1331752789","1331752793","1331752796","1331752799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5e5300d0b9a25480110f57eb764cb98.jpg","text":"TemporaryFile(/tmp/multipartBody2184921990539303686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919473252,"filename":"image_26012025_20_23_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/26/26d5e76178ffb383ee648270dc14c921.jpg","text":"TemporaryFile(/tmp/multipartBody4967168200346425488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919473252,"filename":"image_26012025_20_23_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c34c46d178bc3320c7818adb1458d1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3569724754257368717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919473252,"filename":"image_26012025_20_23_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2c128b8f01fb46e437e1021345fb295.jpg","text":"TemporaryFile(/tmp/multipartBody2548238522547939789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919473252,"filename":"image_26012025_20_22_55_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752796","file1":"1331752793","file0":"1331752789","file3":"1331752799"},"map_files_photo_id_array":[{"photo_id":"1331752796","filename":"file2"},{"photo_id":"1331752793","filename":"file1"},{"photo_id":"1331752789","filename":"file0"},{"photo_id":"1331752799","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752799":["hashtag1","hashtag2"]},{"1331752793":["hashtag1","hashtag2"]},{"1331752796":["hashtag1","hashtag2"]},{"1331752789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752799, 1331752793, 1331752796, 1331752789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 32.46780014038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:24:32.565622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_34_9328.jpg', '/home/pi/Desktop/images/26012025/20/23/image_26012025_20_24_04_9355.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_15_10367.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_24_9346.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_34_10364.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_45_10445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/23/image_26012025_20_23_34_9328.jpg
/home/pi/Desktop/images/26012025/20/23/image_26012025_20_24_04_9355.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_15_10367.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_24_9346.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_34_10364.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_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":["1331752813","1331752823","1331752808","1331752816","1331752825","1331752819"],"photo_ids_order":["1331752808","1331752813","1331752816","1331752819","1331752823","1331752825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db6d87140032b2246bb45f21242d861d.jpg","text":"TemporaryFile(/tmp/multipartBody386659217077142545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_24_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/26/3c029069e6a150618e81447f15a42d89.jpg","text":"TemporaryFile(/tmp/multipartBody4036135277714179183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_24_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/aec13c05fdea0ce7eb2de3e45716d907.jpg","text":"TemporaryFile(/tmp/multipartBody7431574211080217034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_23_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f40facdc64b287fc3315586444c0081b.jpg","text":"TemporaryFile(/tmp/multipartBody6726266148098043964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_24_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/26/e449d017d52563c908da82e7cd6c11f8.jpg","text":"TemporaryFile(/tmp/multipartBody105142429497160988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_24_45_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5da96cf92b9f02116f230b6547ebcdce.jpg","text":"TemporaryFile(/tmp/multipartBody4562259080798234076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919533475,"filename":"image_26012025_20_24_24_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752816","file1":"1331752813","file0":"1331752808","file4":"1331752823","file5":"1331752825","file3":"1331752819"},"map_files_photo_id_array":[{"photo_id":"1331752825","filename":"file5"},{"photo_id":"1331752816","filename":"file2"},{"photo_id":"1331752823","filename":"file4"},{"photo_id":"1331752813","filename":"file1"},{"photo_id":"1331752808","filename":"file0"},{"photo_id":"1331752819","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752813":["hashtag1","hashtag2"]},{"1331752823":["hashtag1","hashtag2"]},{"1331752808":["hashtag1","hashtag2"]},{"1331752816":["hashtag1","hashtag2"]},{"1331752825":["hashtag1","hashtag2"]},{"1331752819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752813, 1331752823, 1331752808, 1331752816, 1331752825, 1331752819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.307310819625854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:25:32.855101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_54_9361.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_25_05_10448.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_14_9352.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_24_10370.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_35_10374.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_54_9361.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_25_05_10448.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_14_9352.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_24_10370.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_35_10374.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_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.5213222503662109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:25:42.754547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_54_9361.jpg', '/home/pi/Desktop/images/26012025/20/24/image_26012025_20_25_05_10448.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_14_9352.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_24_10370.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_35_10374.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_24_54_9361.jpg
/home/pi/Desktop/images/26012025/20/24/image_26012025_20_25_05_10448.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_14_9352.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_24_10370.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_35_10374.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_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":["1331752912","1331752908","1331752910","1331752913","1331752897","1331752903"],"photo_ids_order":["1331752897","1331752903","1331752908","1331752910","1331752912","1331752913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76b8cd4e247daa5fbf2ada52f6af78a2.jpg","text":"TemporaryFile(/tmp/multipartBody4392121591402318205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_25_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/26/e754ab8c6fc38eafcae3d0cb7e9109fb.jpg","text":"TemporaryFile(/tmp/multipartBody4959446133860390488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_25_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/26/5b6a134dd812121c0faf73fb97645cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4671859495569658981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_25_24_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/26/34c3e0a4920b168c4f43e5dddab90a52.jpg","text":"TemporaryFile(/tmp/multipartBody9031279931932676799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_25_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/26/549622bd4eee2bb5d2aa2ab12646c88f.jpg","text":"TemporaryFile(/tmp/multipartBody5168762438521241984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_24_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ee2b66e927defe05b54f874387b30d4.jpg","text":"TemporaryFile(/tmp/multipartBody370463303601711298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919603662,"filename":"image_26012025_20_25_05_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752908","file1":"1331752903","file0":"1331752897","file4":"1331752912","file5":"1331752913","file3":"1331752910"},"map_files_photo_id_array":[{"photo_id":"1331752913","filename":"file5"},{"photo_id":"1331752908","filename":"file2"},{"photo_id":"1331752912","filename":"file4"},{"photo_id":"1331752903","filename":"file1"},{"photo_id":"1331752897","filename":"file0"},{"photo_id":"1331752910","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752912":["hashtag1","hashtag2"]},{"1331752908":["hashtag1","hashtag2"]},{"1331752910":["hashtag1","hashtag2"]},{"1331752913":["hashtag1","hashtag2"]},{"1331752897":["hashtag1","hashtag2"]},{"1331752903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752912, 1331752908, 1331752910, 1331752913, 1331752897, 1331752903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89994025230408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:26:33.029288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_55_10521.jpg', '/home/pi/Desktop/images/26012025/20/25/image_26012025_20_26_04_9457.jpg', '/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_14_10417.jpg', '/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_25_10471.jpg', '/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_34_9454.jpg', '/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_45_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_25_55_10521.jpg
/home/pi/Desktop/images/26012025/20/25/image_26012025_20_26_04_9457.jpg
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_14_10417.jpg
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_25_10471.jpg
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_34_9454.jpg
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_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":["1331752926","1331752920","1331752940","1331752931","1331752942","1331752936"],"photo_ids_order":["1331752920","1331752926","1331752931","1331752936","1331752940","1331752942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce04c77d2da397f43718573b26baea6c.jpg","text":"TemporaryFile(/tmp/multipartBody4522612955673256832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_26_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5729220ccb09f37e7a1ec3680ccd757.jpg","text":"TemporaryFile(/tmp/multipartBody7524701258626628857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_25_55_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/26/bf0c2094436fff426dfd2359e2cc03cf.jpg","text":"TemporaryFile(/tmp/multipartBody1445851700857503117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_26_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/26/26322bf06de5549e046ea132d335e043.jpg","text":"TemporaryFile(/tmp/multipartBody8867224701932970324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_26_14_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/259cdf1006aa0178096010335ebf8d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4132102392892077675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_26_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/26/b0ea2dcd5078a533e1394bb383841f57.jpg","text":"TemporaryFile(/tmp/multipartBody5002155496321692439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919653965,"filename":"image_26012025_20_26_25_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331752931","file1":"1331752926","file0":"1331752920","file4":"1331752940","file5":"1331752942","file3":"1331752936"},"map_files_photo_id_array":[{"photo_id":"1331752942","filename":"file5"},{"photo_id":"1331752931","filename":"file2"},{"photo_id":"1331752940","filename":"file4"},{"photo_id":"1331752926","filename":"file1"},{"photo_id":"1331752920","filename":"file0"},{"photo_id":"1331752936","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331752926":["hashtag1","hashtag2"]},{"1331752920":["hashtag1","hashtag2"]},{"1331752940":["hashtag1","hashtag2"]},{"1331752931":["hashtag1","hashtag2"]},{"1331752942":["hashtag1","hashtag2"]},{"1331752936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331752926, 1331752920, 1331752940, 1331752931, 1331752942, 1331752936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.328640937805176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:27:32.247828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_54_9347.jpg', '/home/pi/Desktop/images/26012025/20/26/image_26012025_20_27_05_10478.jpg', '/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_14_9391.jpg', '/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_24_10377.jpg', '/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_35_10466.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_26_54_9347.jpg
/home/pi/Desktop/images/26012025/20/26/image_26012025_20_27_05_10478.jpg
/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_14_9391.jpg
/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_24_10377.jpg
/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_35_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331753808","1331753654","1331753834","1331753635","1331753638"],"photo_ids_order":["1331753635","1331753638","1331753654","1331753808","1331753834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3411b1401b8d98caab1897df6a54e7ce.jpg","text":"TemporaryFile(/tmp/multipartBody7391437879329560235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919713156,"filename":"image_26012025_20_27_24_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/26/f5c839cf9a682b2573ef8366fd95525b.jpg","text":"TemporaryFile(/tmp/multipartBody1331388284098573793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919713156,"filename":"image_26012025_20_27_14_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/26/07fa355285997231db32fb9cbd733192.jpg","text":"TemporaryFile(/tmp/multipartBody5064590302828852595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919713156,"filename":"image_26012025_20_27_35_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/26/90facaf7d86f52c8260b6a2af6d166fc.jpg","text":"TemporaryFile(/tmp/multipartBody2287398937609631646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919713156,"filename":"image_26012025_20_26_54_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/26/22b1bde6310ebb665eec22d7dd94776d.jpg","text":"TemporaryFile(/tmp/multipartBody3139002549799275006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919713156,"filename":"image_26012025_20_27_05_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331753654","file1":"1331753638","file0":"1331753635","file4":"1331753834","file3":"1331753808"},"map_files_photo_id_array":[{"photo_id":"1331753654","filename":"file2"},{"photo_id":"1331753834","filename":"file4"},{"photo_id":"1331753638","filename":"file1"},{"photo_id":"1331753635","filename":"file0"},{"photo_id":"1331753808","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331753808":["hashtag1","hashtag2"]},{"1331753654":["hashtag1","hashtag2"]},{"1331753834":["hashtag1","hashtag2"]},{"1331753635":["hashtag1","hashtag2"]},{"1331753638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331753808, 1331753654, 1331753834, 1331753635, 1331753638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 36.550933837890625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:28:32.577275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_55_10476.jpg', '/home/pi/Desktop/images/26012025/20/27/image_26012025_20_28_04_9422.jpg', '/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_14_10366.jpg', '/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_25_10434.jpg', '/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_34_9352.jpg', '/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_45_10520.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/27/image_26012025_20_27_55_10476.jpg
/home/pi/Desktop/images/26012025/20/27/image_26012025_20_28_04_9422.jpg
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_14_10366.jpg
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_25_10434.jpg
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_34_9352.jpg
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_45_10520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331753925","1331753942","1331753939","1331753930","1331753944","1331753935"],"photo_ids_order":["1331753925","1331753930","1331753935","1331753939","1331753942","1331753944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22c980c6679108814bac1c9c27fab37c.jpg","text":"TemporaryFile(/tmp/multipartBody3330767662488778618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_27_55_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3703927fe5b050e6d119710b43ec9755.jpg","text":"TemporaryFile(/tmp/multipartBody9203526972229978963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_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/26/09ac17d735e3dd71aeb8c25117bd4a75.jpg","text":"TemporaryFile(/tmp/multipartBody2814551225703431740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_28_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/26/036dedcda2bf3eb635e9dae177ee117f.jpg","text":"TemporaryFile(/tmp/multipartBody4198994831133545851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_28_04_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/26/527510d1bac3f54dd99eefd06d6afa5b.jpg","text":"TemporaryFile(/tmp/multipartBody50818832029929284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_28_45_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/26/904163b65522558cadce84160dcc3d34.jpg","text":"TemporaryFile(/tmp/multipartBody7455935013206524723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919773481,"filename":"image_26012025_20_28_14_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331753935","file1":"1331753930","file0":"1331753925","file4":"1331753942","file5":"1331753944","file3":"1331753939"},"map_files_photo_id_array":[{"photo_id":"1331753944","filename":"file5"},{"photo_id":"1331753935","filename":"file2"},{"photo_id":"1331753942","filename":"file4"},{"photo_id":"1331753930","filename":"file1"},{"photo_id":"1331753925","filename":"file0"},{"photo_id":"1331753939","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331753925":["hashtag1","hashtag2"]},{"1331753942":["hashtag1","hashtag2"]},{"1331753939":["hashtag1","hashtag2"]},{"1331753930":["hashtag1","hashtag2"]},{"1331753944":["hashtag1","hashtag2"]},{"1331753935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331753925, 1331753942, 1331753939, 1331753930, 1331753944, 1331753935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09021782875061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:29:32.795149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_54_9403.jpg', '/home/pi/Desktop/images/26012025/20/28/image_26012025_20_29_05_10471.jpg', '/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_15_10328.jpg', '/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_24_9338.jpg', '/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_35_10408.jpg', '/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_44_9359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_28_54_9403.jpg
/home/pi/Desktop/images/26012025/20/28/image_26012025_20_29_05_10471.jpg
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_15_10328.jpg
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_24_9338.jpg
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_35_10408.jpg
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_44_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":["1331753964","1331753975","1331753969","1331753971","1331753973","1331753976"],"photo_ids_order":["1331753964","1331753969","1331753971","1331753973","1331753975","1331753976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b7ba74ad9ebab5bf525a0e7d1d87a3de.jpg","text":"TemporaryFile(/tmp/multipartBody6547842248496686432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_28_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/26/880c1a6521480958f5d752ead5fd0848.jpg","text":"TemporaryFile(/tmp/multipartBody2604193852579007060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_29_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/26/c5d3a60c003053e16fe981c9e9382195.jpg","text":"TemporaryFile(/tmp/multipartBody5063124337311027959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_29_05_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/26/24eca6a4dc3fda45f52c33b5a4a24de3.jpg","text":"TemporaryFile(/tmp/multipartBody2222355557110105312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_29_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbc0736a6516c53ec6cf07504e3a61f3.jpg","text":"TemporaryFile(/tmp/multipartBody1003070548479083439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_29_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/26/ef9effbc01323531db58863efd105bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3644835157280573808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919833717,"filename":"image_26012025_20_29_44_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331753971","file1":"1331753969","file0":"1331753964","file4":"1331753975","file5":"1331753976","file3":"1331753973"},"map_files_photo_id_array":[{"photo_id":"1331753976","filename":"file5"},{"photo_id":"1331753971","filename":"file2"},{"photo_id":"1331753975","filename":"file4"},{"photo_id":"1331753969","filename":"file1"},{"photo_id":"1331753964","filename":"file0"},{"photo_id":"1331753973","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331753964":["hashtag1","hashtag2"]},{"1331753975":["hashtag1","hashtag2"]},{"1331753969":["hashtag1","hashtag2"]},{"1331753971":["hashtag1","hashtag2"]},{"1331753973":["hashtag1","hashtag2"]},{"1331753976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331753964, 1331753975, 1331753969, 1331753971, 1331753973, 1331753976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.051273584365845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:30:33.003763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_54_10419.jpg', '/home/pi/Desktop/images/26012025/20/29/image_26012025_20_30_05_10382.jpg', '/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_14_9388.jpg', '/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_25_10376.jpg', '/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_34_9396.jpg', '/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_44_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_29_54_10419.jpg
/home/pi/Desktop/images/26012025/20/29/image_26012025_20_30_05_10382.jpg
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_14_9388.jpg
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_25_10376.jpg
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_34_9396.jpg
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_44_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":["1331754167","1331754008","1331754002","1331754118","1331754013","1331753997"],"photo_ids_order":["1331753997","1331754002","1331754008","1331754013","1331754118","1331754167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3574e26c3800e91e485e9fbfb4eaf791.jpg","text":"TemporaryFile(/tmp/multipartBody7361258990063384722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_30_44_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/26/e7b2095f31da2becc0774d3120bc5b50.jpg","text":"TemporaryFile(/tmp/multipartBody7817341473360803370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_30_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/26/55aa69a86c2d4d80d6a2d39967292db5.jpg","text":"TemporaryFile(/tmp/multipartBody7853647853460342253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_30_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/26/fa15e675cff9fe0df98a43a5deebd53e.jpg","text":"TemporaryFile(/tmp/multipartBody4595905191737317434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_30_34_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/26/5465a925ffd470fa7ddde1cd88f8e206.jpg","text":"TemporaryFile(/tmp/multipartBody3397127654733666621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_30_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/26/085a3f6d3cede3baf4fce2d57afee5e1.jpg","text":"TemporaryFile(/tmp/multipartBody8539420696598342585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919893915,"filename":"image_26012025_20_29_54_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331754008","file1":"1331754002","file0":"1331753997","file4":"1331754118","file5":"1331754167","file3":"1331754013"},"map_files_photo_id_array":[{"photo_id":"1331754167","filename":"file5"},{"photo_id":"1331754008","filename":"file2"},{"photo_id":"1331754118","filename":"file4"},{"photo_id":"1331754002","filename":"file1"},{"photo_id":"1331753997","filename":"file0"},{"photo_id":"1331754013","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331754167":["hashtag1","hashtag2"]},{"1331754008":["hashtag1","hashtag2"]},{"1331754002":["hashtag1","hashtag2"]},{"1331754118":["hashtag1","hashtag2"]},{"1331754013":["hashtag1","hashtag2"]},{"1331753997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331754167, 1331754008, 1331754002, 1331754118, 1331754013, 1331753997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35447716712952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:31:32.178854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_55_10359.jpg', '/home/pi/Desktop/images/26012025/20/30/image_26012025_20_31_04_9346.jpg', '/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_15_10429.jpg', '/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_25_10341.jpg', '/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_34_9376.jpg', '/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_45_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_30_55_10359.jpg
/home/pi/Desktop/images/26012025/20/30/image_26012025_20_31_04_9346.jpg
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_15_10429.jpg
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_25_10341.jpg
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_34_9376.jpg
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_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":["1331754356","1331754338","1331754506","1331754358","1331754304","1331754381"],"photo_ids_order":["1331754304","1331754338","1331754356","1331754358","1331754381","1331754506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3933f968787764d68a16b22a0990401.jpg","text":"TemporaryFile(/tmp/multipartBody8187196278276528482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_31_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2f7fa606d78508b9cd929823efca6bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7831525861039982275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_31_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/26/c886e3a126aee40bd50ed1ff361bbe11.jpg","text":"TemporaryFile(/tmp/multipartBody6941684321272239983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_31_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/26/9ff9dbeb433a3c02688f9f0e74695dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7810208461254322060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_31_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/26/07cb5ced9a3eb2f042eb223cf7c3b40f.jpg","text":"TemporaryFile(/tmp/multipartBody7875260109982271469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_30_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/789de93f814844f502878c3eb1037caf.jpg","text":"TemporaryFile(/tmp/multipartBody5441734019178844784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737919953076,"filename":"image_26012025_20_31_34_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331754356","file1":"1331754338","file0":"1331754304","file4":"1331754381","file5":"1331754506","file3":"1331754358"},"map_files_photo_id_array":[{"photo_id":"1331754506","filename":"file5"},{"photo_id":"1331754356","filename":"file2"},{"photo_id":"1331754381","filename":"file4"},{"photo_id":"1331754338","filename":"file1"},{"photo_id":"1331754304","filename":"file0"},{"photo_id":"1331754358","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331754356":["hashtag1","hashtag2"]},{"1331754338":["hashtag1","hashtag2"]},{"1331754506":["hashtag1","hashtag2"]},{"1331754358":["hashtag1","hashtag2"]},{"1331754304":["hashtag1","hashtag2"]},{"1331754381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331754356, 1331754338, 1331754506, 1331754358, 1331754304, 1331754381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01869034767151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:32:32.520152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_54_9350.jpg', '/home/pi/Desktop/images/26012025/20/31/image_26012025_20_32_04_10332.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_15_10426.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_24_9347.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_35_10457.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_44_9468.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_31_54_9350.jpg
/home/pi/Desktop/images/26012025/20/31/image_26012025_20_32_04_10332.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_15_10426.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_24_9347.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_35_10457.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_44_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331755262","1331755474","1331755384","1331755465","1331755470","1331755475"],"photo_ids_order":["1331755262","1331755384","1331755465","1331755470","1331755474","1331755475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5887e85ca031b3bda559e7f921d0fab9.jpg","text":"TemporaryFile(/tmp/multipartBody8592413579434786992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_31_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/26/5d1b9c3011e87e73b2d710067f0df1c4.jpg","text":"TemporaryFile(/tmp/multipartBody6945220187280739533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_32_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/af3fa8ae6e414fcc101422b07cbe5bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2050581165155181989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_32_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/26/84501b253535c540fb6360de6d120f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2763879711277996091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_32_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/26/e08219d6771bc712ac953c4877466a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6448456320713874011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_32_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/26/115d1dc6799d749960d97ee6c98d750e.jpg","text":"TemporaryFile(/tmp/multipartBody7737692882959408015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737920013470,"filename":"image_26012025_20_32_44_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331755465","file1":"1331755384","file0":"1331755262","file4":"1331755474","file5":"1331755475","file3":"1331755470"},"map_files_photo_id_array":[{"photo_id":"1331755475","filename":"file5"},{"photo_id":"1331755465","filename":"file2"},{"photo_id":"1331755474","filename":"file4"},{"photo_id":"1331755384","filename":"file1"},{"photo_id":"1331755262","filename":"file0"},{"photo_id":"1331755470","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331755262":["hashtag1","hashtag2"]},{"1331755474":["hashtag1","hashtag2"]},{"1331755384":["hashtag1","hashtag2"]},{"1331755465":["hashtag1","hashtag2"]},{"1331755470":["hashtag1","hashtag2"]},{"1331755475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331755262, 1331755474, 1331755384, 1331755465, 1331755470, 1331755475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.834675788879395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:33:32.738292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.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! 
 val : 1 : upload photos already in processing! 
2025-01-26 20:31:18.779891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='www.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x75529b70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 6.8255815505981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
2025-01-26 20:37:29.685813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 20:59:03.663999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_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.5969007015228271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 20:59:32.467909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg', '/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_44_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_32_54_10359.jpg
/home/pi/Desktop/images/26012025/20/32/image_26012025_20_33_05_10351.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_14_9319.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_24_10416.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_35_10355.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_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":["1331762813","1331762816","1331762827","1331762829","1331762820","1331762823"],"photo_ids_order":["1331762813","1331762816","1331762820","1331762823","1331762827","1331762829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ebd3abe3138422c22b81e62c37b19b49.jpg","text":"TemporaryFile(/tmp/multipartBody7672390852179660281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_32_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e6295173f0eb91208301140c22667fa.jpg","text":"TemporaryFile(/tmp/multipartBody2719781378246576778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_33_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/26/3d9d8b06b8d9e46dcf6d94bff541a605.jpg","text":"TemporaryFile(/tmp/multipartBody1633675311324269592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_33_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/26/6be18329a74ca697aa4b36e75a293f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7054033373211954968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_33_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/26/f20157805aec9e63f7a8bab2b8b03b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5934856775147503583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_33_14_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/26/53f2544b381f402f2f63a6423ecc9f17.jpg","text":"TemporaryFile(/tmp/multipartBody3059228770678310584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921633385,"filename":"image_26012025_20_33_24_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331762820","file1":"1331762816","file0":"1331762813","file4":"1331762827","file5":"1331762829","file3":"1331762823"},"map_files_photo_id_array":[{"photo_id":"1331762829","filename":"file5"},{"photo_id":"1331762820","filename":"file2"},{"photo_id":"1331762827","filename":"file4"},{"photo_id":"1331762816","filename":"file1"},{"photo_id":"1331762813","filename":"file0"},{"photo_id":"1331762823","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331762813":["hashtag1","hashtag2"]},{"1331762816":["hashtag1","hashtag2"]},{"1331762827":["hashtag1","hashtag2"]},{"1331762829":["hashtag1","hashtag2"]},{"1331762820":["hashtag1","hashtag2"]},{"1331762823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331762813, 1331762816, 1331762827, 1331762829, 1331762820, 1331762823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.948599338531494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:00:32.651295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
no_longer_on_disk_list: ['/home/pi/Desktop/images/26012025/20/34/image_26012025_20_34_34_9339.jpg']
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_55_10427.jpg', '/home/pi/Desktop/images/26012025/20/33/image_26012025_20_34_04_9414.jpg', '/home/pi/Desktop/images/26012025/20/34/image_26012025_20_34_14_10382.jpg', '/home/pi/Desktop/images/26012025/20/34/image_26012025_20_34_25_10356.jpg', '/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_42_10087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_33_55_10427.jpg
/home/pi/Desktop/images/26012025/20/33/image_26012025_20_34_04_9414.jpg
/home/pi/Desktop/images/26012025/20/34/image_26012025_20_34_14_10382.jpg
/home/pi/Desktop/images/26012025/20/34/image_26012025_20_34_25_10356.jpg
/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_42_10087.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331762864","1331762858","1331762855","1331762865","1331762862"],"photo_ids_order":["1331762855","1331762858","1331762862","1331762864","1331762865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5070a83ac88e17b32b9c131601f326af.jpg","text":"TemporaryFile(/tmp/multipartBody877328945096893494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921693621,"filename":"image_26012025_20_34_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/26/6dd94d5e6dede55720920ab079273e57.jpg","text":"TemporaryFile(/tmp/multipartBody5746341295319298153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921693621,"filename":"image_26012025_20_34_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7af05e14912f370aa15fb1048d622ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8349788463518907523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921693621,"filename":"image_26012025_20_33_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9c3c15a21ca58e5612e6f5207d923e6.jpg","text":"TemporaryFile(/tmp/multipartBody1545114027926068390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921693621,"filename":"image_26012025_20_38_42_10087.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f969c125a581f6d4c37bd948dcdf81e7.jpg","text":"TemporaryFile(/tmp/multipartBody6370004627798179638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921693621,"filename":"image_26012025_20_34_14_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331762862","file1":"1331762858","file0":"1331762855","file4":"1331762865","file3":"1331762864"},"map_files_photo_id_array":[{"photo_id":"1331762862","filename":"file2"},{"photo_id":"1331762865","filename":"file4"},{"photo_id":"1331762858","filename":"file1"},{"photo_id":"1331762855","filename":"file0"},{"photo_id":"1331762864","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331762864":["hashtag1","hashtag2"]},{"1331762858":["hashtag1","hashtag2"]},{"1331762855":["hashtag1","hashtag2"]},{"1331762865":["hashtag1","hashtag2"]},{"1331762862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331762864, 1331762858, 1331762855, 1331762865, 1331762862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.78016495704651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:01:32.826244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_52_10446.jpg', '/home/pi/Desktop/images/26012025/20/38/image_26012025_20_39_03_10419.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_12_9341.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_22_10352.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_32_9431.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_42_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_52_10446.jpg
/home/pi/Desktop/images/26012025/20/38/image_26012025_20_39_03_10419.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_12_9341.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_22_10352.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_32_9431.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_42_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.5287191867828369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:01:42.869802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_52_10446.jpg', '/home/pi/Desktop/images/26012025/20/38/image_26012025_20_39_03_10419.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_12_9341.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_22_10352.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_32_9431.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_42_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/38/image_26012025_20_38_52_10446.jpg
/home/pi/Desktop/images/26012025/20/38/image_26012025_20_39_03_10419.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_12_9341.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_22_10352.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_32_9431.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_42_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":["1331762921","1331762900","1331762914","1331762895","1331762910","1331762904"],"photo_ids_order":["1331762895","1331762900","1331762904","1331762910","1331762914","1331762921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/64b925ff226b7468c14958efe0ee3889.jpg","text":"TemporaryFile(/tmp/multipartBody7219201736761301645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_39_42_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/26/b48f1cf8f380cb54b5ccc530b3f37db1.jpg","text":"TemporaryFile(/tmp/multipartBody1467994049328645684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_39_03_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/26/862fef7a2ef57c8e587637a63aeaea20.jpg","text":"TemporaryFile(/tmp/multipartBody5960326996447662198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_39_32_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/26/8ee8f99a1a924c32a40f7cca71708c66.jpg","text":"TemporaryFile(/tmp/multipartBody6531629473462436440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_38_52_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/26/82646afe8a9f3b67c7f546f625437b37.jpg","text":"TemporaryFile(/tmp/multipartBody1498514765214460153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_39_22_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/26/99237621c20a98376c9478af79b47b69.jpg","text":"TemporaryFile(/tmp/multipartBody3802631702897294419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921764479,"filename":"image_26012025_20_39_12_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331762904","file1":"1331762900","file0":"1331762895","file4":"1331762914","file5":"1331762921","file3":"1331762910"},"map_files_photo_id_array":[{"photo_id":"1331762921","filename":"file5"},{"photo_id":"1331762904","filename":"file2"},{"photo_id":"1331762914","filename":"file4"},{"photo_id":"1331762900","filename":"file1"},{"photo_id":"1331762895","filename":"file0"},{"photo_id":"1331762910","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331762921":["hashtag1","hashtag2"]},{"1331762900":["hashtag1","hashtag2"]},{"1331762914":["hashtag1","hashtag2"]},{"1331762895":["hashtag1","hashtag2"]},{"1331762910":["hashtag1","hashtag2"]},{"1331762904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331762921, 1331762900, 1331762914, 1331762895, 1331762910, 1331762904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.66715216636658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:02:33.071103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_52_10353.jpg', '/home/pi/Desktop/images/26012025/20/39/image_26012025_20_40_02_9436.jpg', '/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_12_10446.jpg', '/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_22_9355.jpg', '/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_32_10371.jpg', '/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_42_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_39_52_10353.jpg
/home/pi/Desktop/images/26012025/20/39/image_26012025_20_40_02_9436.jpg
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_12_10446.jpg
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_22_9355.jpg
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_32_10371.jpg
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_42_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":["1331762951","1331762953","1331762944","1331762947","1331762952","1331762949"],"photo_ids_order":["1331762944","1331762947","1331762949","1331762951","1331762952","1331762953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cb3c47556c82b3d1c68450d5c4c867db.jpg","text":"TemporaryFile(/tmp/multipartBody9089467717546357525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_40_22_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/26/52b1c9a952185c637b08cb79f13de33e.jpg","text":"TemporaryFile(/tmp/multipartBody5474206274586830904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_40_42_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/26/3c49f4caf34f21cd34b0b790933d1621.jpg","text":"TemporaryFile(/tmp/multipartBody8813389044278688881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_39_52_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/26/9416f26545d2b319cae467d40c39d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5503303368260746090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_40_02_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/26/7a1263f185c1ef10c721514a0fe17fdc.jpg","text":"TemporaryFile(/tmp/multipartBody2312569368873863080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_40_32_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/26/a016f5b400acc7102c7fad1d8f4e2f73.jpg","text":"TemporaryFile(/tmp/multipartBody2929637896374530599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921814003,"filename":"image_26012025_20_40_12_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331762949","file1":"1331762947","file0":"1331762944","file4":"1331762952","file5":"1331762953","file3":"1331762951"},"map_files_photo_id_array":[{"photo_id":"1331762953","filename":"file5"},{"photo_id":"1331762949","filename":"file2"},{"photo_id":"1331762952","filename":"file4"},{"photo_id":"1331762947","filename":"file1"},{"photo_id":"1331762944","filename":"file0"},{"photo_id":"1331762951","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331762951":["hashtag1","hashtag2"]},{"1331762953":["hashtag1","hashtag2"]},{"1331762944":["hashtag1","hashtag2"]},{"1331762947":["hashtag1","hashtag2"]},{"1331762952":["hashtag1","hashtag2"]},{"1331762949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331762951, 1331762953, 1331762944, 1331762947, 1331762952, 1331762949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47769045829773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:03:32.232070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_52_9361.jpg', '/home/pi/Desktop/images/26012025/20/40/image_26012025_20_41_02_10365.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_13_10467.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_22_9366.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_32_10431.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_42_9451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_40_52_9361.jpg
/home/pi/Desktop/images/26012025/20/40/image_26012025_20_41_02_10365.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_13_10467.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_22_9366.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_32_10431.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_42_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":["1331763812","1331763134","1331763020","1331763499","1331762970","1331763086"],"photo_ids_order":["1331762970","1331763020","1331763086","1331763134","1331763499","1331763812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b375f5ba430281fad24348abee01dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7484227083107057087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_41_42_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/26/d012c304deb8d3d3870d35156dc474ed.jpg","text":"TemporaryFile(/tmp/multipartBody4974108771371583380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_41_22_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/26/67eb80678af4c2bdc50563769ea31e6b.jpg","text":"TemporaryFile(/tmp/multipartBody9118949132388986166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_41_02_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/26/8563f9ea17222cd90ea4cf463f27ef10.jpg","text":"TemporaryFile(/tmp/multipartBody8148008259305588346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_41_32_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/26/590006f8798137ed0491373b54e97a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5088290755763911896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_40_52_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/26/a318938d453fb81f134eb61f36add901.jpg","text":"TemporaryFile(/tmp/multipartBody7289633989038313646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921873185,"filename":"image_26012025_20_41_13_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331763086","file1":"1331763020","file0":"1331762970","file4":"1331763499","file5":"1331763812","file3":"1331763134"},"map_files_photo_id_array":[{"photo_id":"1331763812","filename":"file5"},{"photo_id":"1331763086","filename":"file2"},{"photo_id":"1331763499","filename":"file4"},{"photo_id":"1331763020","filename":"file1"},{"photo_id":"1331762970","filename":"file0"},{"photo_id":"1331763134","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331763812":["hashtag1","hashtag2"]},{"1331763134":["hashtag1","hashtag2"]},{"1331763020":["hashtag1","hashtag2"]},{"1331763499":["hashtag1","hashtag2"]},{"1331762970":["hashtag1","hashtag2"]},{"1331763086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331763812, 1331763134, 1331763020, 1331763499, 1331762970, 1331763086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.216123819351196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:04:32.444480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_52_10355.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_42_03_10419.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_12_9347.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_22_10476.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_32_9430.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_42_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_52_10355.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_42_03_10419.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_12_9347.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_22_10476.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_32_9430.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_42_10331.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5366470813751221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:04:42.546678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_52_10355.jpg', '/home/pi/Desktop/images/26012025/20/41/image_26012025_20_42_03_10419.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_12_9347.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_22_10476.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_32_9430.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_42_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_41_52_10355.jpg
/home/pi/Desktop/images/26012025/20/41/image_26012025_20_42_03_10419.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_12_9347.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_22_10476.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_32_9430.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_42_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331764707","1331764661","1331764703","1331764712","1331764696","1331764699"],"photo_ids_order":["1331764661","1331764696","1331764699","1331764703","1331764707","1331764712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9da1d472085a0e1afbc82fe0346bd85c.jpg","text":"TemporaryFile(/tmp/multipartBody842117328859599097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_42_32_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/26/4ce0d4398146871ff0763d765bac692f.jpg","text":"TemporaryFile(/tmp/multipartBody1345898940593900882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_41_52_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/26/026a01ea46a24f6360b99a0ec029d386.jpg","text":"TemporaryFile(/tmp/multipartBody6258228280345056860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_42_22_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/26/c707926a140c27c3e47c13478c6ef5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5001868351691737533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_42_42_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/26/09d3943d241c89eee65768d01c63fbb8.jpg","text":"TemporaryFile(/tmp/multipartBody3110636661289212264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_42_03_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/26/6b5ab6030301687d005bca555129e882.jpg","text":"TemporaryFile(/tmp/multipartBody2319953628147112960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921943474,"filename":"image_26012025_20_42_12_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331764699","file1":"1331764696","file0":"1331764661","file4":"1331764707","file5":"1331764712","file3":"1331764703"},"map_files_photo_id_array":[{"photo_id":"1331764712","filename":"file5"},{"photo_id":"1331764699","filename":"file2"},{"photo_id":"1331764707","filename":"file4"},{"photo_id":"1331764696","filename":"file1"},{"photo_id":"1331764661","filename":"file0"},{"photo_id":"1331764703","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331764707":["hashtag1","hashtag2"]},{"1331764661":["hashtag1","hashtag2"]},{"1331764703":["hashtag1","hashtag2"]},{"1331764712":["hashtag1","hashtag2"]},{"1331764696":["hashtag1","hashtag2"]},{"1331764699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331764707, 1331764661, 1331764703, 1331764712, 1331764696, 1331764699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.246363401412964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:05:32.709564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_53_10410.jpg', '/home/pi/Desktop/images/26012025/20/42/image_26012025_20_43_02_9344.jpg', '/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_12_10349.jpg', '/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_22_9367.jpg', '/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_32_10349.jpg', '/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_42_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_42_53_10410.jpg
/home/pi/Desktop/images/26012025/20/42/image_26012025_20_43_02_9344.jpg
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_12_10349.jpg
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_22_9367.jpg
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_32_10349.jpg
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_42_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":["1331765152","1331765094","1331765148","1331765118","1331765150","1331765089"],"photo_ids_order":["1331765089","1331765094","1331765118","1331765148","1331765150","1331765152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5672d70d8558dbbbf5d2e292c34fcb41.jpg","text":"TemporaryFile(/tmp/multipartBody3550631506171332732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_43_42_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/26/b5a6ae44c89e6c0c93d5cf23cf095fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6815448086682167427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_43_02_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/26/f83f66c83384fa3ff4fe2a3c156798e8.jpg","text":"TemporaryFile(/tmp/multipartBody1747886749432129421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_43_22_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/26/c65ecb914751e3f454a01b57d09e62d2.jpg","text":"TemporaryFile(/tmp/multipartBody1017880805830842313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_43_12_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/26/fa845a37446c252b145074a45c1aab00.jpg","text":"TemporaryFile(/tmp/multipartBody1437399567156025097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_43_32_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/26/1983158a7dab2ffe59557a85c098b212.jpg","text":"TemporaryFile(/tmp/multipartBody7997304589411209042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737921993620,"filename":"image_26012025_20_42_53_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765118","file1":"1331765094","file0":"1331765089","file4":"1331765150","file5":"1331765152","file3":"1331765148"},"map_files_photo_id_array":[{"photo_id":"1331765152","filename":"file5"},{"photo_id":"1331765118","filename":"file2"},{"photo_id":"1331765150","filename":"file4"},{"photo_id":"1331765094","filename":"file1"},{"photo_id":"1331765089","filename":"file0"},{"photo_id":"1331765148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765152":["hashtag1","hashtag2"]},{"1331765094":["hashtag1","hashtag2"]},{"1331765148":["hashtag1","hashtag2"]},{"1331765118":["hashtag1","hashtag2"]},{"1331765150":["hashtag1","hashtag2"]},{"1331765089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765152, 1331765094, 1331765148, 1331765118, 1331765150, 1331765089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37723422050476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:06:32.881681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_52_9400.jpg', '/home/pi/Desktop/images/26012025/20/43/image_26012025_20_44_02_10455.jpg', '/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_12_9458.jpg', '/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_22_10352.jpg', '/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_32_10372.jpg', '/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_42_9379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_43_52_9400.jpg
/home/pi/Desktop/images/26012025/20/43/image_26012025_20_44_02_10455.jpg
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_12_9458.jpg
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_22_10352.jpg
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_32_10372.jpg
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_42_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":["1331765503","1331765457","1331765391","1331765454","1331765444","1331765449"],"photo_ids_order":["1331765391","1331765444","1331765449","1331765454","1331765457","1331765503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d756b5896fea470696cc848e1c0228d5.jpg","text":"TemporaryFile(/tmp/multipartBody7671827842085775337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_44_42_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/26/934148fb4cc008444338ff401d344816.jpg","text":"TemporaryFile(/tmp/multipartBody3993335233646408494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_44_32_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/26/a524711cfe4565604e645b5517dd97a0.jpg","text":"TemporaryFile(/tmp/multipartBody3888651384646278214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_43_52_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/26/384d5f8ca1b505069a366f87749d3be3.jpg","text":"TemporaryFile(/tmp/multipartBody3193978717385534476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_44_22_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/26/e73e6de250f97e21d16b0a96c6eb8663.jpg","text":"TemporaryFile(/tmp/multipartBody8492217701265667668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_44_02_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/26/58003be996ae863e9b2207a9a7de3faa.jpg","text":"TemporaryFile(/tmp/multipartBody5097573732223133660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922053802,"filename":"image_26012025_20_44_12_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765449","file1":"1331765444","file0":"1331765391","file4":"1331765457","file5":"1331765503","file3":"1331765454"},"map_files_photo_id_array":[{"photo_id":"1331765503","filename":"file5"},{"photo_id":"1331765449","filename":"file2"},{"photo_id":"1331765457","filename":"file4"},{"photo_id":"1331765444","filename":"file1"},{"photo_id":"1331765391","filename":"file0"},{"photo_id":"1331765454","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765503":["hashtag1","hashtag2"]},{"1331765457":["hashtag1","hashtag2"]},{"1331765391":["hashtag1","hashtag2"]},{"1331765454":["hashtag1","hashtag2"]},{"1331765444":["hashtag1","hashtag2"]},{"1331765449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765503, 1331765457, 1331765391, 1331765454, 1331765444, 1331765449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.097439765930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:07:32.193787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_52_10402.jpg', '/home/pi/Desktop/images/26012025/20/44/image_26012025_20_45_03_10473.jpg', '/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_12_9333.jpg', '/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_22_10371.jpg', '/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_32_9351.jpg', '/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_42_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_44_52_10402.jpg
/home/pi/Desktop/images/26012025/20/44/image_26012025_20_45_03_10473.jpg
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_12_9333.jpg
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_22_10371.jpg
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_32_9351.jpg
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_42_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":["1331765697","1331765688","1331765699","1331765684","1331765692","1331765695"],"photo_ids_order":["1331765684","1331765688","1331765692","1331765695","1331765697","1331765699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a700a8e4753548ee03b25c25d34200a.jpg","text":"TemporaryFile(/tmp/multipartBody620043801544185803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_45_32_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/26/8102ad5c525e02545cf9be0c57e3375a.jpg","text":"TemporaryFile(/tmp/multipartBody1596602550124522044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_45_03_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/26/51de8afd57692313dbf3813ec461eb23.jpg","text":"TemporaryFile(/tmp/multipartBody8340405327511318963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_45_42_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/26/2eb7b6862e56cbc270fa765221f7269d.jpg","text":"TemporaryFile(/tmp/multipartBody5540820719420770183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_44_52_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/26/7856d34e879cb64eb5a3400ed81fca53.jpg","text":"TemporaryFile(/tmp/multipartBody3048060386843444542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_45_12_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/26/4c36cea528e3ce2cad68c8a712f15467.jpg","text":"TemporaryFile(/tmp/multipartBody723462508008737123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922113110,"filename":"image_26012025_20_45_22_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765692","file1":"1331765688","file0":"1331765684","file4":"1331765697","file5":"1331765699","file3":"1331765695"},"map_files_photo_id_array":[{"photo_id":"1331765699","filename":"file5"},{"photo_id":"1331765692","filename":"file2"},{"photo_id":"1331765697","filename":"file4"},{"photo_id":"1331765688","filename":"file1"},{"photo_id":"1331765684","filename":"file0"},{"photo_id":"1331765695","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765697":["hashtag1","hashtag2"]},{"1331765688":["hashtag1","hashtag2"]},{"1331765699":["hashtag1","hashtag2"]},{"1331765684":["hashtag1","hashtag2"]},{"1331765692":["hashtag1","hashtag2"]},{"1331765695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765697, 1331765688, 1331765699, 1331765684, 1331765692, 1331765695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.625401973724365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:08:32.404791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_53_10514.jpg', '/home/pi/Desktop/images/26012025/20/45/image_26012025_20_46_02_9458.jpg', '/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_12_10353.jpg', '/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_22_9442.jpg', '/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_32_10350.jpg', '/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_42_9482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_45_53_10514.jpg
/home/pi/Desktop/images/26012025/20/45/image_26012025_20_46_02_9458.jpg
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_12_10353.jpg
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_22_9442.jpg
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_32_10350.jpg
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_42_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":["1331765740","1331765728","1331765741","1331765735","1331765738","1331765731"],"photo_ids_order":["1331765728","1331765731","1331765735","1331765738","1331765740","1331765741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2ee0bf34bfd7a570d18ac7d247663c6.jpg","text":"TemporaryFile(/tmp/multipartBody6511740599083098643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_46_32_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/26/005e374a8073fac4619fe9e8bb5997b5.jpg","text":"TemporaryFile(/tmp/multipartBody9172435497967312348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_45_53_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/26/5d7bf7b33ba16a483ff0ad1ec8a6f072.jpg","text":"TemporaryFile(/tmp/multipartBody331721069648854595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_46_42_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/26/4f8ed8e447d304e825c6f2be01149351.jpg","text":"TemporaryFile(/tmp/multipartBody2369689500761534572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_46_12_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/26/81cd3a986efb3b7322d7bbd89a138142.jpg","text":"TemporaryFile(/tmp/multipartBody4635472399929614875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_46_22_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/26/e93bc2f02dbe4bb848564569205e0ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6169144658843977997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922173331,"filename":"image_26012025_20_46_02_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765735","file1":"1331765731","file0":"1331765728","file4":"1331765740","file5":"1331765741","file3":"1331765738"},"map_files_photo_id_array":[{"photo_id":"1331765741","filename":"file5"},{"photo_id":"1331765735","filename":"file2"},{"photo_id":"1331765740","filename":"file4"},{"photo_id":"1331765731","filename":"file1"},{"photo_id":"1331765728","filename":"file0"},{"photo_id":"1331765738","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765740":["hashtag1","hashtag2"]},{"1331765728":["hashtag1","hashtag2"]},{"1331765741":["hashtag1","hashtag2"]},{"1331765735":["hashtag1","hashtag2"]},{"1331765738":["hashtag1","hashtag2"]},{"1331765731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765740, 1331765728, 1331765741, 1331765735, 1331765738, 1331765731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.23394823074341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:09:32.681332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_52_10353.jpg', '/home/pi/Desktop/images/26012025/20/46/image_26012025_20_47_02_10358.jpg', '/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_12_9449.jpg', '/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_22_10352.jpg', '/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_33_10447.jpg', '/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_42_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_46_52_10353.jpg
/home/pi/Desktop/images/26012025/20/46/image_26012025_20_47_02_10358.jpg
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_12_9449.jpg
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_22_10352.jpg
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_33_10447.jpg
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_42_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":["1331765769","1331765792","1331765765","1331765759","1331765773","1331765761"],"photo_ids_order":["1331765759","1331765761","1331765765","1331765769","1331765773","1331765792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e68e6e9284680b2f23534c89bd8e87a.jpg","text":"TemporaryFile(/tmp/multipartBody5475273876208496709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_47_22_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/26/31f6a35fac2c11e250b058e5b7aa5ecb.jpg","text":"TemporaryFile(/tmp/multipartBody4766186794876955396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_47_42_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/26/a8062c3fa98b9255f7213db5bac80f41.jpg","text":"TemporaryFile(/tmp/multipartBody8934698073662583141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_47_12_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/26/697b86ef0914bfad125649f53a1780e8.jpg","text":"TemporaryFile(/tmp/multipartBody3092474764147275959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_46_52_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/26/acd560ef0e7fa03f4562b7d459a35934.jpg","text":"TemporaryFile(/tmp/multipartBody2326834941679526780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_47_33_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/26/398511f70ebb55b043d46352543fbaed.jpg","text":"TemporaryFile(/tmp/multipartBody3375551919099968012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922233598,"filename":"image_26012025_20_47_02_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765765","file1":"1331765761","file0":"1331765759","file4":"1331765773","file5":"1331765792","file3":"1331765769"},"map_files_photo_id_array":[{"photo_id":"1331765792","filename":"file5"},{"photo_id":"1331765765","filename":"file2"},{"photo_id":"1331765773","filename":"file4"},{"photo_id":"1331765761","filename":"file1"},{"photo_id":"1331765759","filename":"file0"},{"photo_id":"1331765769","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765769":["hashtag1","hashtag2"]},{"1331765792":["hashtag1","hashtag2"]},{"1331765765":["hashtag1","hashtag2"]},{"1331765759":["hashtag1","hashtag2"]},{"1331765773":["hashtag1","hashtag2"]},{"1331765761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765769, 1331765792, 1331765765, 1331765759, 1331765773, 1331765761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.92719769477844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:10:32.942924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_52_10346.jpg', '/home/pi/Desktop/images/26012025/20/47/image_26012025_20_48_02_9371.jpg', '/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_12_10358.jpg', '/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_22_10366.jpg', '/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_32_9429.jpg', '/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_42_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_47_52_10346.jpg
/home/pi/Desktop/images/26012025/20/47/image_26012025_20_48_02_9371.jpg
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_12_10358.jpg
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_22_10366.jpg
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_32_9429.jpg
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_42_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":["1331765850","1331765838","1331765846","1331765849","1331765857","1331765842"],"photo_ids_order":["1331765838","1331765842","1331765846","1331765849","1331765850","1331765857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b000f117e1e40587cd18908650c5e79f.jpg","text":"TemporaryFile(/tmp/multipartBody7026097797737475756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_48_32_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/26/15ec13f36983f3b8908a3fd9f65a610e.jpg","text":"TemporaryFile(/tmp/multipartBody6627110361466926962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_47_52_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/26/d03af049903c17191a0d8b3f125df9e0.jpg","text":"TemporaryFile(/tmp/multipartBody7828803056157565648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_48_12_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/26/974a2e3e8ef5d241515b984631928a54.jpg","text":"TemporaryFile(/tmp/multipartBody4705836296317163581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_48_22_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/26/423854e522446d7ed76c3b4fd13de792.jpg","text":"TemporaryFile(/tmp/multipartBody8859750213251353644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_48_42_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/26/85d0b358cf9599c51f7930a1832d46fc.jpg","text":"TemporaryFile(/tmp/multipartBody3612546948959383626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922293858,"filename":"image_26012025_20_48_02_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765846","file1":"1331765842","file0":"1331765838","file4":"1331765850","file5":"1331765857","file3":"1331765849"},"map_files_photo_id_array":[{"photo_id":"1331765857","filename":"file5"},{"photo_id":"1331765846","filename":"file2"},{"photo_id":"1331765850","filename":"file4"},{"photo_id":"1331765842","filename":"file1"},{"photo_id":"1331765838","filename":"file0"},{"photo_id":"1331765849","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765850":["hashtag1","hashtag2"]},{"1331765838":["hashtag1","hashtag2"]},{"1331765846":["hashtag1","hashtag2"]},{"1331765849":["hashtag1","hashtag2"]},{"1331765857":["hashtag1","hashtag2"]},{"1331765842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765850, 1331765838, 1331765846, 1331765849, 1331765857, 1331765842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5777862071991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:11:33.172181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_53_10403.jpg', '/home/pi/Desktop/images/26012025/20/48/image_26012025_20_49_02_9365.jpg', '/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_12_10339.jpg', '/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_22_9387.jpg', '/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_32_10350.jpg', '/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_42_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_48_53_10403.jpg
/home/pi/Desktop/images/26012025/20/48/image_26012025_20_49_02_9365.jpg
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_12_10339.jpg
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_22_9387.jpg
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_32_10350.jpg
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_42_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":["1331765895","1331765894","1331765888","1331765897","1331765891","1331765896"],"photo_ids_order":["1331765888","1331765891","1331765894","1331765895","1331765896","1331765897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/15a2b4a78e8b88f330c2d5994486e417.jpg","text":"TemporaryFile(/tmp/multipartBody1985913031296463709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_49_22_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/26/71538001fdaf6608b3a1e4ddae20f61c.jpg","text":"TemporaryFile(/tmp/multipartBody6072789955036606117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_49_12_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/26/39fa98309632b2fe8fc6477daef01e41.jpg","text":"TemporaryFile(/tmp/multipartBody5834483579651494985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_48_53_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/26/cb96eed8d899c3efd06afec3854e2c50.jpg","text":"TemporaryFile(/tmp/multipartBody1915610780392188653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_49_42_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/26/57107daab19fc944a154d5f341625abb.jpg","text":"TemporaryFile(/tmp/multipartBody8759047551513752407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_49_02_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/26/0f7ce50944bcaef1d4f126b569d3bed6.jpg","text":"TemporaryFile(/tmp/multipartBody199358193113977888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922354100,"filename":"image_26012025_20_49_32_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765894","file1":"1331765891","file0":"1331765888","file4":"1331765896","file5":"1331765897","file3":"1331765895"},"map_files_photo_id_array":[{"photo_id":"1331765897","filename":"file5"},{"photo_id":"1331765894","filename":"file2"},{"photo_id":"1331765896","filename":"file4"},{"photo_id":"1331765891","filename":"file1"},{"photo_id":"1331765888","filename":"file0"},{"photo_id":"1331765895","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765895":["hashtag1","hashtag2"]},{"1331765894":["hashtag1","hashtag2"]},{"1331765888":["hashtag1","hashtag2"]},{"1331765897":["hashtag1","hashtag2"]},{"1331765891":["hashtag1","hashtag2"]},{"1331765896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765895, 1331765894, 1331765888, 1331765897, 1331765891, 1331765896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63364601135254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:12:32.438914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_52_9445.jpg', '/home/pi/Desktop/images/26012025/20/49/image_26012025_20_50_02_10354.jpg', '/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_13_10445.jpg', '/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_22_9372.jpg', '/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_32_10390.jpg', '/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_42_9425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_49_52_9445.jpg
/home/pi/Desktop/images/26012025/20/49/image_26012025_20_50_02_10354.jpg
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_13_10445.jpg
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_22_9372.jpg
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_32_10390.jpg
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_42_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":["1331765940","1331765925","1331765951","1331765933","1331765936","1331765929"],"photo_ids_order":["1331765925","1331765929","1331765933","1331765936","1331765940","1331765951"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70316cc09d8c473fb95b8d0dffa14856.jpg","text":"TemporaryFile(/tmp/multipartBody7764939058371727750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_50_32_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/26/31a206fa52bede189ef055ebf27c10a0.jpg","text":"TemporaryFile(/tmp/multipartBody1100000341877728367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_49_52_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/26/29f2a58001a39baecfb60df13db6921f.jpg","text":"TemporaryFile(/tmp/multipartBody5820850179027919640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_50_42_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/26/001d8d0fb8e02707922223dfb19f559b.jpg","text":"TemporaryFile(/tmp/multipartBody14874693989616402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_50_13_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/26/f4e326c1b4a7d99358d173eefd7e5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody9199868122536863069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_50_22_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/26/4e76a2b9e3ecd5fb921f2765c7e1b815.jpg","text":"TemporaryFile(/tmp/multipartBody7060361062710975935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922413385,"filename":"image_26012025_20_50_02_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331765933","file1":"1331765929","file0":"1331765925","file4":"1331765940","file5":"1331765951","file3":"1331765936"},"map_files_photo_id_array":[{"photo_id":"1331765951","filename":"file5"},{"photo_id":"1331765933","filename":"file2"},{"photo_id":"1331765940","filename":"file4"},{"photo_id":"1331765929","filename":"file1"},{"photo_id":"1331765925","filename":"file0"},{"photo_id":"1331765936","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331765940":["hashtag1","hashtag2"]},{"1331765925":["hashtag1","hashtag2"]},{"1331765951":["hashtag1","hashtag2"]},{"1331765933":["hashtag1","hashtag2"]},{"1331765936":["hashtag1","hashtag2"]},{"1331765929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331765940, 1331765925, 1331765951, 1331765933, 1331765936, 1331765929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.761314153671265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:13:32.658354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_52_10358.jpg', '/home/pi/Desktop/images/26012025/20/50/image_26012025_20_51_03_10448.jpg', '/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_12_9341.jpg', '/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_22_10354.jpg', '/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_32_9447.jpg', '/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_42_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_50_52_10358.jpg
/home/pi/Desktop/images/26012025/20/50/image_26012025_20_51_03_10448.jpg
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_12_9341.jpg
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_22_10354.jpg
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_32_9447.jpg
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_42_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":["1331766001","1331766015","1331766009","1331766011","1331766005","1331766007"],"photo_ids_order":["1331766001","1331766005","1331766007","1331766009","1331766011","1331766015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3611e5314ecf20d358a4e97115bc2dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1880331949157528339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_50_52_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/26/65dbb4a124a4fd77af74079087266cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7310457375389929961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_51_42_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/26/c8cb90f235e3ddd923d246286856aa68.jpg","text":"TemporaryFile(/tmp/multipartBody4895829421298817019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_51_22_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/26/bebb3d7bf6ee1231511d69a8529799c3.jpg","text":"TemporaryFile(/tmp/multipartBody1689102918315208812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_51_32_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/26/49d9d245c0263b3752f44b6521cda656.jpg","text":"TemporaryFile(/tmp/multipartBody5946423694552754434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_51_03_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/26/6b967105363bfe058587c46e34e4e9a3.jpg","text":"TemporaryFile(/tmp/multipartBody8922470040984211023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922473582,"filename":"image_26012025_20_51_12_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766007","file1":"1331766005","file0":"1331766001","file4":"1331766011","file5":"1331766015","file3":"1331766009"},"map_files_photo_id_array":[{"photo_id":"1331766015","filename":"file5"},{"photo_id":"1331766007","filename":"file2"},{"photo_id":"1331766011","filename":"file4"},{"photo_id":"1331766005","filename":"file1"},{"photo_id":"1331766001","filename":"file0"},{"photo_id":"1331766009","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766001":["hashtag1","hashtag2"]},{"1331766015":["hashtag1","hashtag2"]},{"1331766009":["hashtag1","hashtag2"]},{"1331766011":["hashtag1","hashtag2"]},{"1331766005":["hashtag1","hashtag2"]},{"1331766007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766001, 1331766015, 1331766009, 1331766011, 1331766005, 1331766007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.554688692092896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:14:32.833020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_52_10352.jpg', '/home/pi/Desktop/images/26012025/20/51/image_26012025_20_52_02_9352.jpg', '/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_12_10359.jpg', '/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_23_10436.jpg', '/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_32_9358.jpg', '/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_42_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_51_52_10352.jpg
/home/pi/Desktop/images/26012025/20/51/image_26012025_20_52_02_9352.jpg
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_12_10359.jpg
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_23_10436.jpg
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_32_9358.jpg
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_42_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":["1331766051","1331766039","1331766048","1331766035","1331766052","1331766043"],"photo_ids_order":["1331766035","1331766039","1331766043","1331766048","1331766051","1331766052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e5e8416deef4d253ff8e3dbd7d019bf.jpg","text":"TemporaryFile(/tmp/multipartBody1803932260349479667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_52_32_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/26/4b3548299d92086614254ee3c96fbcce.jpg","text":"TemporaryFile(/tmp/multipartBody456464517527684815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_52_02_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/26/705000bf9b0bf8b5f185fd240396400c.jpg","text":"TemporaryFile(/tmp/multipartBody2075901131916906398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_52_23_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/26/c7808b182de8192452131a2c3bb38574.jpg","text":"TemporaryFile(/tmp/multipartBody2136418789967969694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_51_52_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/26/7f122e37f605ba2d274c12ac70511c41.jpg","text":"TemporaryFile(/tmp/multipartBody1942207160616512326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_52_42_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/26/ee5faf0ca79a05a7e254f38481e0fddb.jpg","text":"TemporaryFile(/tmp/multipartBody8879741111220249263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922533750,"filename":"image_26012025_20_52_12_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766043","file1":"1331766039","file0":"1331766035","file4":"1331766051","file5":"1331766052","file3":"1331766048"},"map_files_photo_id_array":[{"photo_id":"1331766052","filename":"file5"},{"photo_id":"1331766043","filename":"file2"},{"photo_id":"1331766051","filename":"file4"},{"photo_id":"1331766039","filename":"file1"},{"photo_id":"1331766035","filename":"file0"},{"photo_id":"1331766048","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766051":["hashtag1","hashtag2"]},{"1331766039":["hashtag1","hashtag2"]},{"1331766048":["hashtag1","hashtag2"]},{"1331766035":["hashtag1","hashtag2"]},{"1331766052":["hashtag1","hashtag2"]},{"1331766043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766051, 1331766039, 1331766048, 1331766035, 1331766052, 1331766043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94383692741394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:15:33.133901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_52_9384.jpg', '/home/pi/Desktop/images/26012025/20/52/image_26012025_20_53_02_10364.jpg', '/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_12_10346.jpg', '/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_22_9422.jpg', '/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_32_10355.jpg', '/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_42_9509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_52_52_9384.jpg
/home/pi/Desktop/images/26012025/20/52/image_26012025_20_53_02_10364.jpg
/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_12_10346.jpg
/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_22_9422.jpg
/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_32_10355.jpg
/home/pi/Desktop/images/26012025/20/53/image_26012025_20_53_42_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331766090","1331766087","1331766082","1331766085","1331766079","1331766094"],"photo_ids_order":["1331766079","1331766082","1331766085","1331766087","1331766090","1331766094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c7bccd64c6d2f8ae90051e640f465fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5351435485915160676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_53_32_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/26/c476449a076044c9155cd6ccb4cdf1ee.jpg","text":"TemporaryFile(/tmp/multipartBody443705987494306844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_53_22_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/26/d1b2f6cf43c2d6dac18788b72cbe7214.jpg","text":"TemporaryFile(/tmp/multipartBody1848691977019327555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_53_02_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/26/22953d71bf99028457a8df9a788a407c.jpg","text":"TemporaryFile(/tmp/multipartBody5346756097931269146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_53_12_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/26/270e9fc5dcd5cf50dcaa6f9f1c2bb363.jpg","text":"TemporaryFile(/tmp/multipartBody6253156712312649727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_52_52_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/26/8be6f70c395af0272ee613083cd3bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody5065229829482032840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922594491,"filename":"image_26012025_20_53_42_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766085","file1":"1331766082","file0":"1331766079","file4":"1331766090","file5":"1331766094","file3":"1331766087"},"map_files_photo_id_array":[{"photo_id":"1331766094","filename":"file5"},{"photo_id":"1331766085","filename":"file2"},{"photo_id":"1331766090","filename":"file4"},{"photo_id":"1331766082","filename":"file1"},{"photo_id":"1331766079","filename":"file0"},{"photo_id":"1331766087","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766090":["hashtag1","hashtag2"]},{"1331766087":["hashtag1","hashtag2"]},{"1331766082":["hashtag1","hashtag2"]},{"1331766085":["hashtag1","hashtag2"]},{"1331766079":["hashtag1","hashtag2"]},{"1331766094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766090, 1331766087, 1331766082, 1331766085, 1331766079, 1331766094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.29327988624573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:16:32.272306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/53/image_26012025_20_54_02_10401.jpg', '/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_12_9377.jpg', '/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_22_10358.jpg', '/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_33_10434.jpg', '/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_42_9358.jpg', '/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_52_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/53/image_26012025_20_54_02_10401.jpg
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_12_9377.jpg
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_22_10358.jpg
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_33_10434.jpg
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_42_9358.jpg
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_54_52_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":["1331766144","1331766141","1331766151","1331766154","1331766148","1331766139"],"photo_ids_order":["1331766139","1331766141","1331766144","1331766148","1331766151","1331766154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ccdbc6bfca60db07f3769d5d8c5fa173.jpg","text":"TemporaryFile(/tmp/multipartBody1715984154848169630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_22_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/26/a131ac8856e5e4c5c97fe116caaf470c.jpg","text":"TemporaryFile(/tmp/multipartBody4665738377557950747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_12_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/26/aac6bf78c544cf80315c41e50dea55bc.jpg","text":"TemporaryFile(/tmp/multipartBody3711693701316999006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_42_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/26/d236c246c08739d93e9f7f28444d633a.jpg","text":"TemporaryFile(/tmp/multipartBody4740649146698229712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_52_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/26/466be8f077f3e0a6a4e3a6a62ca17dce.jpg","text":"TemporaryFile(/tmp/multipartBody4389599718659242317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_33_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/26/aa4accc98402185abb9d55dec21c2aa8.jpg","text":"TemporaryFile(/tmp/multipartBody63896834610951842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922653194,"filename":"image_26012025_20_54_02_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766144","file1":"1331766141","file0":"1331766139","file4":"1331766151","file5":"1331766154","file3":"1331766148"},"map_files_photo_id_array":[{"photo_id":"1331766154","filename":"file5"},{"photo_id":"1331766144","filename":"file2"},{"photo_id":"1331766151","filename":"file4"},{"photo_id":"1331766141","filename":"file1"},{"photo_id":"1331766139","filename":"file0"},{"photo_id":"1331766148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766144":["hashtag1","hashtag2"]},{"1331766141":["hashtag1","hashtag2"]},{"1331766151":["hashtag1","hashtag2"]},{"1331766154":["hashtag1","hashtag2"]},{"1331766148":["hashtag1","hashtag2"]},{"1331766139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766144, 1331766141, 1331766151, 1331766154, 1331766148, 1331766139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70843529701233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:17:32.517729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/54/image_26012025_20_55_02_9409.jpg', '/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_12_10347.jpg', '/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_22_10414.jpg', '/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_32_9365.jpg', '/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_42_10347.jpg', '/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_53_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/54/image_26012025_20_55_02_9409.jpg
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_12_10347.jpg
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_22_10414.jpg
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_32_9365.jpg
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_42_10347.jpg
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_55_53_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":["1331766183","1331766186","1331766188","1331766190","1331766187","1331766180"],"photo_ids_order":["1331766180","1331766183","1331766186","1331766187","1331766188","1331766190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/575e14cae00116c1fe78c7a8de6880c1.jpg","text":"TemporaryFile(/tmp/multipartBody5938428613324207886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_12_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/26/b7d0a5dd0d13fcaaa57e76acfde3a4df.jpg","text":"TemporaryFile(/tmp/multipartBody9115395165208151390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_22_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/26/cbf48270b329ae5be17d1de137ec7ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2277834666040880488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_42_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/26/4f0a92617c01c6b132e9358fb37e92f3.jpg","text":"TemporaryFile(/tmp/multipartBody8220496297764679988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_53_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/26/ad633dab2904f97e935ce303fe7f46c0.jpg","text":"TemporaryFile(/tmp/multipartBody6868675922950007292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_32_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/26/cb2386b8d451b632ceeef6e214915e4a.jpg","text":"TemporaryFile(/tmp/multipartBody608237754031906217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922713437,"filename":"image_26012025_20_55_02_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766186","file1":"1331766183","file0":"1331766180","file4":"1331766188","file5":"1331766190","file3":"1331766187"},"map_files_photo_id_array":[{"photo_id":"1331766190","filename":"file5"},{"photo_id":"1331766186","filename":"file2"},{"photo_id":"1331766188","filename":"file4"},{"photo_id":"1331766183","filename":"file1"},{"photo_id":"1331766180","filename":"file0"},{"photo_id":"1331766187","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766183":["hashtag1","hashtag2"]},{"1331766186":["hashtag1","hashtag2"]},{"1331766188":["hashtag1","hashtag2"]},{"1331766190":["hashtag1","hashtag2"]},{"1331766187":["hashtag1","hashtag2"]},{"1331766180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766183, 1331766186, 1331766188, 1331766190, 1331766187, 1331766180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.301551818847656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:18:32.765220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/55/image_26012025_20_56_02_9348.jpg', '/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_12_10349.jpg', '/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_22_9436.jpg', '/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_32_10395.jpg', '/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_43_10463.jpg', '/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_52_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/55/image_26012025_20_56_02_9348.jpg
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_12_10349.jpg
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_22_9436.jpg
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_32_10395.jpg
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_43_10463.jpg
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_56_52_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":["1331766216","1331766236","1331766221","1331766227","1331766212","1331766232"],"photo_ids_order":["1331766212","1331766216","1331766221","1331766227","1331766232","1331766236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/778660c75f8127c226ca209ff7d51f53.jpg","text":"TemporaryFile(/tmp/multipartBody1782738376965590772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_12_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/26/1b38c70d51e4bd58de792136a10fe23f.jpg","text":"TemporaryFile(/tmp/multipartBody774384047216245696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_52_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/26/e34396cc4e0c048b4e9c3db337c380a0.jpg","text":"TemporaryFile(/tmp/multipartBody5197119573458451042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_22_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/26/e37492f80b460bb2e7d3df893d19ccec.jpg","text":"TemporaryFile(/tmp/multipartBody1221174156858058379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_32_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/26/23a3bfa4f140d9c52912eb388c44ccff.jpg","text":"TemporaryFile(/tmp/multipartBody3148416828489312396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_02_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/26/d7561adfaae17da8cabca3a79cb2518b.jpg","text":"TemporaryFile(/tmp/multipartBody8989690557889053953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922773710,"filename":"image_26012025_20_56_43_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331766221","file1":"1331766216","file0":"1331766212","file4":"1331766232","file5":"1331766236","file3":"1331766227"},"map_files_photo_id_array":[{"photo_id":"1331766236","filename":"file5"},{"photo_id":"1331766221","filename":"file2"},{"photo_id":"1331766232","filename":"file4"},{"photo_id":"1331766216","filename":"file1"},{"photo_id":"1331766212","filename":"file0"},{"photo_id":"1331766227","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331766216":["hashtag1","hashtag2"]},{"1331766236":["hashtag1","hashtag2"]},{"1331766221":["hashtag1","hashtag2"]},{"1331766227":["hashtag1","hashtag2"]},{"1331766212":["hashtag1","hashtag2"]},{"1331766232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331766216, 1331766236, 1331766221, 1331766227, 1331766212, 1331766232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.532824754714966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:19:33.021886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/56/image_26012025_20_57_02_10365.jpg', '/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_12_9335.jpg', '/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_22_10372.jpg', '/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_42_9351.jpg', '/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_52_10432.jpg', '/home/pi/Desktop/images/26012025/20/57/image_26012025_20_58_02_9471.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/56/image_26012025_20_57_02_10365.jpg
/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_12_9335.jpg
/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_22_10372.jpg
/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_42_9351.jpg
/home/pi/Desktop/images/26012025/20/57/image_26012025_20_57_52_10432.jpg
/home/pi/Desktop/images/26012025/20/57/image_26012025_20_58_02_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331767031","1331767378","1331767039","1331767036","1331766967","1331767134"],"photo_ids_order":["1331766967","1331767031","1331767036","1331767039","1331767134","1331767378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ffd035041a0586ab52125ae6c8a2a76a.jpg","text":"TemporaryFile(/tmp/multipartBody2738182915454704981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_57_12_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/26/dda043e4358d262b95066f552fb8e79d.jpg","text":"TemporaryFile(/tmp/multipartBody2033265856418038634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_58_02_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/26/d5fbc38097740b2cd4fac1c793fe0db9.jpg","text":"TemporaryFile(/tmp/multipartBody2512582091210933020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_57_42_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/26/48a5f996104a9291d264db02932961f8.jpg","text":"TemporaryFile(/tmp/multipartBody8386117582379771388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_57_22_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/26/1f01aa7418f301f072d481e1f4f523e0.jpg","text":"TemporaryFile(/tmp/multipartBody193291537376524306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_57_02_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/26/c5a621e9bf680c9e131d5649b2b80e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5139198783066159006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922833947,"filename":"image_26012025_20_57_52_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331767036","file1":"1331767031","file0":"1331766967","file4":"1331767134","file5":"1331767378","file3":"1331767039"},"map_files_photo_id_array":[{"photo_id":"1331767378","filename":"file5"},{"photo_id":"1331767036","filename":"file2"},{"photo_id":"1331767134","filename":"file4"},{"photo_id":"1331767031","filename":"file1"},{"photo_id":"1331766967","filename":"file0"},{"photo_id":"1331767039","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331767031":["hashtag1","hashtag2"]},{"1331767378":["hashtag1","hashtag2"]},{"1331767039":["hashtag1","hashtag2"]},{"1331767036":["hashtag1","hashtag2"]},{"1331766967":["hashtag1","hashtag2"]},{"1331767134":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331767031, 1331767378, 1331767039, 1331767036, 1331766967, 1331767134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.468480587005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:20:32.136367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_22_10372.jpg', '/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_32_9451.jpg', '/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_42_10342.jpg', '/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_53_10409.jpg', '/home/pi/Desktop/images/26012025/20/58/image_26012025_20_59_02_9356.jpg', '/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_12_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_22_10372.jpg
/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_32_9451.jpg
/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_42_10342.jpg
/home/pi/Desktop/images/26012025/20/58/image_26012025_20_58_53_10409.jpg
/home/pi/Desktop/images/26012025/20/58/image_26012025_20_59_02_9356.jpg
/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_12_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":["1331768297","1331768198","1331768386","1331768203","1331768209","1331768192"],"photo_ids_order":["1331768192","1331768198","1331768203","1331768209","1331768297","1331768386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cf438ef3cabddab5dcb6b6ca6422f96a.jpg","text":"TemporaryFile(/tmp/multipartBody8119941738182481161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_59_02_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/26/9a8b1a61492985bb4f38ab2c4ec4656d.jpg","text":"TemporaryFile(/tmp/multipartBody8762594437602262656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_58_32_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/26/9171deb300f2c425b122e198780a3402.jpg","text":"TemporaryFile(/tmp/multipartBody3175819202275464360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_59_12_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/26/71f021ff36500816d7db80ba700130a3.jpg","text":"TemporaryFile(/tmp/multipartBody8458132114343140755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_58_42_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/26/8a93e2f910add94dc77a034d8356eca1.jpg","text":"TemporaryFile(/tmp/multipartBody6363019957785093445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_58_53_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/26/5f373285ab21cc0beafce021d941a562.jpg","text":"TemporaryFile(/tmp/multipartBody7001021402104820689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922893051,"filename":"image_26012025_20_58_22_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331768203","file1":"1331768198","file0":"1331768192","file4":"1331768297","file5":"1331768386","file3":"1331768209"},"map_files_photo_id_array":[{"photo_id":"1331768386","filename":"file5"},{"photo_id":"1331768203","filename":"file2"},{"photo_id":"1331768297","filename":"file4"},{"photo_id":"1331768198","filename":"file1"},{"photo_id":"1331768192","filename":"file0"},{"photo_id":"1331768209","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331768297":["hashtag1","hashtag2"]},{"1331768198":["hashtag1","hashtag2"]},{"1331768386":["hashtag1","hashtag2"]},{"1331768203":["hashtag1","hashtag2"]},{"1331768209":["hashtag1","hashtag2"]},{"1331768192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331768297, 1331768198, 1331768386, 1331768203, 1331768209, 1331768192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.692015647888184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:21:32.348670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_22_9389.jpg', '/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_32_10355.jpg', '/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_42_10352.jpg', '/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_52_9424.jpg', '/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_14_10082.jpg', '/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_25_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_22_9389.jpg
/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_32_10355.jpg
/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_42_10352.jpg
/home/pi/Desktop/images/26012025/20/59/image_26012025_20_59_52_9424.jpg
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_14_10082.jpg
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_25_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":["1331769091","1331769127","1331769130","1331769124","1331769129","1331768922"],"photo_ids_order":["1331768922","1331769091","1331769124","1331769127","1331769129","1331769130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3072226c8d5f066694554e1c767f5f26.jpg","text":"TemporaryFile(/tmp/multipartBody4312829411629794523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_20_59_32_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/26/737e8a92c96cad6316254cf307af582c.jpg","text":"TemporaryFile(/tmp/multipartBody512729281713201473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_20_59_52_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/26/4bbb63a4a3f0f9356bf32ba9f28cc15f.jpg","text":"TemporaryFile(/tmp/multipartBody6366290782992619612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_21_01_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/26/40d0f864a58a49cb998c4c0d0df900c2.jpg","text":"TemporaryFile(/tmp/multipartBody2136736581267205062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_20_59_42_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/26/368ecfee5599903bb2d8c40b8fcf7c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5189377421395560859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_21_01_14_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c23de8b702182a3b9783e1d3aabcb5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2132828388005099614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737922953277,"filename":"image_26012025_20_59_22_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331769124","file1":"1331769091","file0":"1331768922","file4":"1331769129","file5":"1331769130","file3":"1331769127"},"map_files_photo_id_array":[{"photo_id":"1331769130","filename":"file5"},{"photo_id":"1331769124","filename":"file2"},{"photo_id":"1331769129","filename":"file4"},{"photo_id":"1331769091","filename":"file1"},{"photo_id":"1331768922","filename":"file0"},{"photo_id":"1331769127","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331769091":["hashtag1","hashtag2"]},{"1331769127":["hashtag1","hashtag2"]},{"1331769130":["hashtag1","hashtag2"]},{"1331769124":["hashtag1","hashtag2"]},{"1331769129":["hashtag1","hashtag2"]},{"1331768922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331769091, 1331769127, 1331769130, 1331769124, 1331769129, 1331768922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.010034799575806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:22:32.561613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_35_10353.jpg', '/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_45_9408.jpg', '/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_55_10378.jpg', '/home/pi/Desktop/images/26012025/21/01/image_26012025_21_02_04_9421.jpg', '/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_15_10349.jpg', '/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_25_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_35_10353.jpg
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_45_9408.jpg
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_01_55_10378.jpg
/home/pi/Desktop/images/26012025/21/01/image_26012025_21_02_04_9421.jpg
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_15_10349.jpg
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331769373","1331769361","1331769505","1331769351","1331769368","1331769356"],"photo_ids_order":["1331769351","1331769356","1331769361","1331769368","1331769373","1331769505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/da664451c8525936e6b4155c24897431.jpg","text":"TemporaryFile(/tmp/multipartBody2893406106614641178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_02_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/26/6fdb64508ce13310f6cc66ae35742096.jpg","text":"TemporaryFile(/tmp/multipartBody8901933076889698784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_01_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1a775c051fd4c362abcd8ad2c84c32da.jpg","text":"TemporaryFile(/tmp/multipartBody3976865407205955653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_02_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc983c534d4ad1a40fab31c9fe0262e3.jpg","text":"TemporaryFile(/tmp/multipartBody2182882614512383555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_01_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e464b87a54f635a5b91295265528368.jpg","text":"TemporaryFile(/tmp/multipartBody303856084405417370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_02_04_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/87e924f7d445c97d6382ed955e63e90a.jpg","text":"TemporaryFile(/tmp/multipartBody7030909231228824028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923013486,"filename":"image_26012025_21_01_45_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331769361","file1":"1331769356","file0":"1331769351","file4":"1331769373","file5":"1331769505","file3":"1331769368"},"map_files_photo_id_array":[{"photo_id":"1331769505","filename":"file5"},{"photo_id":"1331769361","filename":"file2"},{"photo_id":"1331769373","filename":"file4"},{"photo_id":"1331769356","filename":"file1"},{"photo_id":"1331769351","filename":"file0"},{"photo_id":"1331769368","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331769373":["hashtag1","hashtag2"]},{"1331769361":["hashtag1","hashtag2"]},{"1331769505":["hashtag1","hashtag2"]},{"1331769351":["hashtag1","hashtag2"]},{"1331769368":["hashtag1","hashtag2"]},{"1331769356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331769373, 1331769361, 1331769505, 1331769351, 1331769368, 1331769356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.999698877334595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:23:32.785728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_34_9358.jpg', '/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_45_10423.jpg', '/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_55_10352.jpg', '/home/pi/Desktop/images/26012025/21/02/image_26012025_21_03_05_9456.jpg', '/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_15_10340.jpg', '/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_24_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_34_9358.jpg
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_45_10423.jpg
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_02_55_10352.jpg
/home/pi/Desktop/images/26012025/21/02/image_26012025_21_03_05_9456.jpg
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_15_10340.jpg
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_24_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":["1331769664","1331769675","1331769660","1331769668","1331769677","1331769671"],"photo_ids_order":["1331769660","1331769664","1331769668","1331769671","1331769675","1331769677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/21389e00eb43412ee8810281df52af53.jpg","text":"TemporaryFile(/tmp/multipartBody6259791153935208834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_02_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/26/7692ba5dadf37847e7276648c089349d.jpg","text":"TemporaryFile(/tmp/multipartBody3240398178873488902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_03_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dceced75053fbc42308da4b7147c74a0.jpg","text":"TemporaryFile(/tmp/multipartBody138116891307934059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_02_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/26/c94055ac3b0a8e8efce2be72248cf25d.jpg","text":"TemporaryFile(/tmp/multipartBody3055059605533305581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_02_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/26/f918ed85c1ff797b73194004a17ed8aa.jpg","text":"TemporaryFile(/tmp/multipartBody22571608911554396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_03_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/26/df1ba8bed2eb07482dd42c5798b6b9fa.jpg","text":"TemporaryFile(/tmp/multipartBody2235530849546343505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923073702,"filename":"image_26012025_21_03_05_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331769668","file1":"1331769664","file0":"1331769660","file4":"1331769675","file5":"1331769677","file3":"1331769671"},"map_files_photo_id_array":[{"photo_id":"1331769677","filename":"file5"},{"photo_id":"1331769668","filename":"file2"},{"photo_id":"1331769675","filename":"file4"},{"photo_id":"1331769664","filename":"file1"},{"photo_id":"1331769660","filename":"file0"},{"photo_id":"1331769671","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331769664":["hashtag1","hashtag2"]},{"1331769675":["hashtag1","hashtag2"]},{"1331769660":["hashtag1","hashtag2"]},{"1331769668":["hashtag1","hashtag2"]},{"1331769677":["hashtag1","hashtag2"]},{"1331769671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331769664, 1331769675, 1331769660, 1331769668, 1331769677, 1331769671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32963728904724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:24:33.083808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_35_10430.jpg', '/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_45_10367.jpg', '/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_55_9417.jpg', '/home/pi/Desktop/images/26012025/21/03/image_26012025_21_04_05_10345.jpg', '/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_14_9331.jpg', '/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_25_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_35_10430.jpg
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_45_10367.jpg
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_03_55_9417.jpg
/home/pi/Desktop/images/26012025/21/03/image_26012025_21_04_05_10345.jpg
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_14_9331.jpg
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_25_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331769707","1331769716","1331769693","1331769712","1331769700","1331769717"],"photo_ids_order":["1331769693","1331769700","1331769707","1331769712","1331769716","1331769717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e916bb6f3cab43d9803510b714ae4b8.jpg","text":"TemporaryFile(/tmp/multipartBody9080105478741363104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_03_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29a26bfc71fc78cc67930d67de93f692.jpg","text":"TemporaryFile(/tmp/multipartBody5678352888864549691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_04_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/26/f46f7868f86364e1367464fc0ec8bb1e.jpg","text":"TemporaryFile(/tmp/multipartBody7677711398004536763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_03_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/26/3ab5361e13ee17744814381a6412d728.jpg","text":"TemporaryFile(/tmp/multipartBody41075484924748877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_04_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/26/d10342b413fc70e263852a52148328fa.jpg","text":"TemporaryFile(/tmp/multipartBody8509387819028532022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_03_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/26/2215aac8ca0eaa9311203e4b4fdc9ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5800451381734958196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923134010,"filename":"image_26012025_21_04_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331769707","file1":"1331769700","file0":"1331769693","file4":"1331769716","file5":"1331769717","file3":"1331769712"},"map_files_photo_id_array":[{"photo_id":"1331769717","filename":"file5"},{"photo_id":"1331769707","filename":"file2"},{"photo_id":"1331769716","filename":"file4"},{"photo_id":"1331769700","filename":"file1"},{"photo_id":"1331769693","filename":"file0"},{"photo_id":"1331769712","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331769707":["hashtag1","hashtag2"]},{"1331769716":["hashtag1","hashtag2"]},{"1331769693":["hashtag1","hashtag2"]},{"1331769712":["hashtag1","hashtag2"]},{"1331769700":["hashtag1","hashtag2"]},{"1331769717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331769707, 1331769716, 1331769693, 1331769712, 1331769700, 1331769717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.867942333221436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:25:32.506179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_35_10347.jpg', '/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_44_9312.jpg', '/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_55_10373.jpg', '/home/pi/Desktop/images/26012025/21/04/image_26012025_21_05_05_10357.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_14_9328.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_25_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_35_10347.jpg
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_44_9312.jpg
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_04_55_10373.jpg
/home/pi/Desktop/images/26012025/21/04/image_26012025_21_05_05_10357.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_14_9328.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_25_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331769931","1331769769","1331769897","1331769984","1331769884","1331769953"],"photo_ids_order":["1331769769","1331769884","1331769897","1331769931","1331769953","1331769984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6d2f6c052c8028adcb26ac92cfefed28.jpg","text":"TemporaryFile(/tmp/multipartBody1829119455879140234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_05_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/26/f0a55f8e50ccd73b4cb262416fc4f452.jpg","text":"TemporaryFile(/tmp/multipartBody7326024943247561097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_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/26/e4058151b92ffb64884dd5b4dc4540cf.jpg","text":"TemporaryFile(/tmp/multipartBody2969280544381091315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_04_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/26/372c7cb343c4c4c3935df5992cb2421a.jpg","text":"TemporaryFile(/tmp/multipartBody8463019071260870449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_05_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c10b93a9195ad9e499a42383e7fea793.jpg","text":"TemporaryFile(/tmp/multipartBody8942408256290212659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_04_44_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/26/eaa9ebac92f1a3b5b99fed615962161c.jpg","text":"TemporaryFile(/tmp/multipartBody6497159519030585265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923193424,"filename":"image_26012025_21_05_14_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331769897","file1":"1331769884","file0":"1331769769","file4":"1331769953","file5":"1331769984","file3":"1331769931"},"map_files_photo_id_array":[{"photo_id":"1331769984","filename":"file5"},{"photo_id":"1331769897","filename":"file2"},{"photo_id":"1331769953","filename":"file4"},{"photo_id":"1331769884","filename":"file1"},{"photo_id":"1331769769","filename":"file0"},{"photo_id":"1331769931","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331769931":["hashtag1","hashtag2"]},{"1331769769":["hashtag1","hashtag2"]},{"1331769897":["hashtag1","hashtag2"]},{"1331769984":["hashtag1","hashtag2"]},{"1331769884":["hashtag1","hashtag2"]},{"1331769953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331769931, 1331769769, 1331769897, 1331769984, 1331769884, 1331769953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.13241696357727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:26:32.577159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_35_10352.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_45_9504.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_55_10373.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_06_04_9433.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_25_10369.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_35_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_35_10352.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_45_9504.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_55_10373.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_06_04_9433.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_25_10369.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_35_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.5279545783996582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:26:42.539897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_35_10352.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_45_9504.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_55_10373.jpg', '/home/pi/Desktop/images/26012025/21/05/image_26012025_21_06_04_9433.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_25_10369.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_35_9402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_35_10352.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_45_9504.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_05_55_10373.jpg
/home/pi/Desktop/images/26012025/21/05/image_26012025_21_06_04_9433.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_25_10369.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_35_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":["1331770025","1331770019","1331770012","1331770023","1331770032","1331770029"],"photo_ids_order":["1331770012","1331770019","1331770023","1331770025","1331770029","1331770032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9a3ee0f939320c0926d09821147a04a.jpg","text":"TemporaryFile(/tmp/multipartBody6498193689407101330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_06_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/26/657c7eeea3a554c7546a256b59aea798.jpg","text":"TemporaryFile(/tmp/multipartBody2286781926124466496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_05_45_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9913a0e09b2f93c295e3fa261e94bd98.jpg","text":"TemporaryFile(/tmp/multipartBody1828921314538289853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_05_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/26/e758677432f1719b6c23a0279c620ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1485768368866237468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_05_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c9da4a008155752ac3c4a61bea766f9.jpg","text":"TemporaryFile(/tmp/multipartBody3731272685933267666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_06_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/26/d621848ce119d8bd8c634b86fd685379.jpg","text":"TemporaryFile(/tmp/multipartBody4798547530024703100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923263478,"filename":"image_26012025_21_06_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770023","file1":"1331770019","file0":"1331770012","file4":"1331770029","file5":"1331770032","file3":"1331770025"},"map_files_photo_id_array":[{"photo_id":"1331770032","filename":"file5"},{"photo_id":"1331770023","filename":"file2"},{"photo_id":"1331770029","filename":"file4"},{"photo_id":"1331770019","filename":"file1"},{"photo_id":"1331770012","filename":"file0"},{"photo_id":"1331770025","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770025":["hashtag1","hashtag2"]},{"1331770019":["hashtag1","hashtag2"]},{"1331770012":["hashtag1","hashtag2"]},{"1331770023":["hashtag1","hashtag2"]},{"1331770032":["hashtag1","hashtag2"]},{"1331770029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770025, 1331770019, 1331770012, 1331770023, 1331770032, 1331770029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71992301940918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:27:32.756428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_45_10373.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_54_9349.jpg', '/home/pi/Desktop/images/26012025/21/06/image_26012025_21_07_05_10372.jpg', '/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_15_10343.jpg', '/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_24_9355.jpg', '/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_35_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_45_10373.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_06_54_9349.jpg
/home/pi/Desktop/images/26012025/21/06/image_26012025_21_07_05_10372.jpg
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_15_10343.jpg
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_24_9355.jpg
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_35_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331770061","1331770051","1331770056","1331770065","1331770059","1331770047"],"photo_ids_order":["1331770047","1331770051","1331770056","1331770059","1331770061","1331770065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2782a1f6d97282a69dec2564dfd141c3.jpg","text":"TemporaryFile(/tmp/multipartBody1006878821476237609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_07_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/26/86c9ba742a009a7d1ec0aada856fcf56.jpg","text":"TemporaryFile(/tmp/multipartBody7523559476079402186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_06_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/26/0d41c84fca7a29b64a56f438fdc4c233.jpg","text":"TemporaryFile(/tmp/multipartBody7308539509231462940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_07_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/26/954372cb3b24b7cfd57c78c00ed4dddf.jpg","text":"TemporaryFile(/tmp/multipartBody7541782774621147967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_07_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/26/a1cc96594198341e493339618d019406.jpg","text":"TemporaryFile(/tmp/multipartBody96640233054765018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_07_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9903e525a40ea3061fc43ec19b8be631.jpg","text":"TemporaryFile(/tmp/multipartBody8939629247540040816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923313677,"filename":"image_26012025_21_06_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770056","file1":"1331770051","file0":"1331770047","file4":"1331770061","file5":"1331770065","file3":"1331770059"},"map_files_photo_id_array":[{"photo_id":"1331770065","filename":"file5"},{"photo_id":"1331770056","filename":"file2"},{"photo_id":"1331770061","filename":"file4"},{"photo_id":"1331770051","filename":"file1"},{"photo_id":"1331770047","filename":"file0"},{"photo_id":"1331770059","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770061":["hashtag1","hashtag2"]},{"1331770051":["hashtag1","hashtag2"]},{"1331770056":["hashtag1","hashtag2"]},{"1331770065":["hashtag1","hashtag2"]},{"1331770059":["hashtag1","hashtag2"]},{"1331770047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770061, 1331770051, 1331770056, 1331770065, 1331770059, 1331770047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38674259185791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:28:33.037905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_45_10372.jpg', '/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_55_9416.jpg', '/home/pi/Desktop/images/26012025/21/07/image_26012025_21_08_05_10337.jpg', '/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_14_9347.jpg', '/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_25_10426.jpg', '/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_35_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_45_10372.jpg
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_07_55_9416.jpg
/home/pi/Desktop/images/26012025/21/07/image_26012025_21_08_05_10337.jpg
/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_14_9347.jpg
/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_25_10426.jpg
/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_35_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331770127","1331770130","1331770124","1331770132","1331770131","1331770119"],"photo_ids_order":["1331770119","1331770124","1331770127","1331770130","1331770131","1331770132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/439473203e7b45ec0c17d9cfa44fbb60.jpg","text":"TemporaryFile(/tmp/multipartBody6581720901936147671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_08_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/26/d79fbf22103d141bd6499bac5faa9098.jpg","text":"TemporaryFile(/tmp/multipartBody6438061537681651834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_08_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/26/3ebe39c5df4539480e45857e8fd75552.jpg","text":"TemporaryFile(/tmp/multipartBody3915513024884700191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_07_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/26/80d020ce314cf856539cb3b346c4aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody3843470424582720386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_08_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/26/e883735f90de75a1b75a407863f3bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody3933246291122881077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_08_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/26/d46e0a83c23dc7040a3b27ce836d61c6.jpg","text":"TemporaryFile(/tmp/multipartBody4908885399825251056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923373966,"filename":"image_26012025_21_07_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770127","file1":"1331770124","file0":"1331770119","file4":"1331770131","file5":"1331770132","file3":"1331770130"},"map_files_photo_id_array":[{"photo_id":"1331770132","filename":"file5"},{"photo_id":"1331770127","filename":"file2"},{"photo_id":"1331770131","filename":"file4"},{"photo_id":"1331770124","filename":"file1"},{"photo_id":"1331770119","filename":"file0"},{"photo_id":"1331770130","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770127":["hashtag1","hashtag2"]},{"1331770130":["hashtag1","hashtag2"]},{"1331770124":["hashtag1","hashtag2"]},{"1331770132":["hashtag1","hashtag2"]},{"1331770131":["hashtag1","hashtag2"]},{"1331770119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770127, 1331770130, 1331770124, 1331770132, 1331770131, 1331770119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.351229190826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:29:32.218811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_55_10382.jpg', '/home/pi/Desktop/images/26012025/21/08/image_26012025_21_09_04_9351.jpg', '/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_15_10443.jpg', '/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_25_10354.jpg', '/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_34_9328.jpg', '/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_45_10461.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/08/image_26012025_21_08_55_10382.jpg
/home/pi/Desktop/images/26012025/21/08/image_26012025_21_09_04_9351.jpg
/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_15_10443.jpg
/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_25_10354.jpg
/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_34_9328.jpg
/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_45_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331770172","1331770174","1331770156","1331770159","1331770167","1331770163"],"photo_ids_order":["1331770156","1331770159","1331770163","1331770167","1331770172","1331770174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4d2fd953148dacfed5549dc1d5fd7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7645066344287451046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_09_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4dbfdd7b21dc2be6a0077b5719a8a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3846461759660942300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_09_45_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3ede6a4ba04337822c0763130bc8d47e.jpg","text":"TemporaryFile(/tmp/multipartBody543111792941485730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_08_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef1cec46c886dcbefeef8cb6e9a1a652.jpg","text":"TemporaryFile(/tmp/multipartBody8667182870975700546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_09_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/26/bba90c63d561e0d2a806f545aa3c6dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2172291095977344805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_09_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/26/c4e6ea205373ae4d664c03e04b5120a6.jpg","text":"TemporaryFile(/tmp/multipartBody2753259901128528861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923433151,"filename":"image_26012025_21_09_15_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770163","file1":"1331770159","file0":"1331770156","file4":"1331770172","file5":"1331770174","file3":"1331770167"},"map_files_photo_id_array":[{"photo_id":"1331770174","filename":"file5"},{"photo_id":"1331770163","filename":"file2"},{"photo_id":"1331770172","filename":"file4"},{"photo_id":"1331770159","filename":"file1"},{"photo_id":"1331770156","filename":"file0"},{"photo_id":"1331770167","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770172":["hashtag1","hashtag2"]},{"1331770174":["hashtag1","hashtag2"]},{"1331770156":["hashtag1","hashtag2"]},{"1331770159":["hashtag1","hashtag2"]},{"1331770167":["hashtag1","hashtag2"]},{"1331770163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770172, 1331770174, 1331770156, 1331770159, 1331770167, 1331770163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31291723251343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:30:32.531585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_55_10360.jpg', '/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_15_10360.jpg', '/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_24_9365.jpg', '/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_35_10377.jpg', '/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_45_10363.jpg', '/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_54_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/09/image_26012025_21_09_55_10360.jpg
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_15_10360.jpg
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_24_9365.jpg
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_35_10377.jpg
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_45_10363.jpg
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_10_54_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331770186","1331770204","1331770194","1331770206","1331770199","1331770190"],"photo_ids_order":["1331770186","1331770190","1331770194","1331770199","1331770204","1331770206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/99eed6f7f203aa4d38807fb775a2aa10.jpg","text":"TemporaryFile(/tmp/multipartBody4313730235225756969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_09_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/26/826bceb45d6ed10a47cfcdc0a5630dd7.jpg","text":"TemporaryFile(/tmp/multipartBody8412270229432058542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_10_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/26/69cf2dc262819f725841cbb650ed8ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3352588417419661989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_10_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/585f0eec7c631c52b95602d4a0929c46.jpg","text":"TemporaryFile(/tmp/multipartBody5179315392565414719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_10_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c76edd9b7f96b0cecfa874c55e84ca49.jpg","text":"TemporaryFile(/tmp/multipartBody2906891990367171278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_10_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c48d6acb4f5d56f8236ac156941e660f.jpg","text":"TemporaryFile(/tmp/multipartBody4020920215915802292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923493457,"filename":"image_26012025_21_10_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770194","file1":"1331770190","file0":"1331770186","file4":"1331770204","file5":"1331770206","file3":"1331770199"},"map_files_photo_id_array":[{"photo_id":"1331770206","filename":"file5"},{"photo_id":"1331770194","filename":"file2"},{"photo_id":"1331770204","filename":"file4"},{"photo_id":"1331770190","filename":"file1"},{"photo_id":"1331770186","filename":"file0"},{"photo_id":"1331770199","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770186":["hashtag1","hashtag2"]},{"1331770204":["hashtag1","hashtag2"]},{"1331770194":["hashtag1","hashtag2"]},{"1331770206":["hashtag1","hashtag2"]},{"1331770199":["hashtag1","hashtag2"]},{"1331770190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770186, 1331770204, 1331770194, 1331770206, 1331770199, 1331770190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75969910621643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:31:32.697758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/10/image_26012025_21_11_05_10341.jpg', '/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_15_10336.jpg', '/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_24_9358.jpg', '/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_35_10351.jpg', '/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_45_10354.jpg', '/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_55_9397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/10/image_26012025_21_11_05_10341.jpg
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_15_10336.jpg
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_24_9358.jpg
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_35_10351.jpg
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_45_10354.jpg
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_11_55_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":["1331770775","1331770445","1331770274","1331770253","1331770267","1331770257"],"photo_ids_order":["1331770253","1331770257","1331770267","1331770274","1331770445","1331770775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c161c79110c82351913d661b455de73.jpg","text":"TemporaryFile(/tmp/multipartBody8888690331089459269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_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/26/2312f464fe1b6948cc91ffd08f8177e1.jpg","text":"TemporaryFile(/tmp/multipartBody3701404574354580459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_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/26/ce3e1a3c37d131f454f2ef314b7dcfa2.jpg","text":"TemporaryFile(/tmp/multipartBody6136933225469375039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_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/26/5ccafe5b6672663a768aaa98a8cbc0c7.jpg","text":"TemporaryFile(/tmp/multipartBody7298582438163888573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_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/26/f295a348c2897cc4d5219e20502b7c7e.jpg","text":"TemporaryFile(/tmp/multipartBody4311696486678610232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_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/26/cd4b9503f8302c412151a287c5916abd.jpg","text":"TemporaryFile(/tmp/multipartBody7569275531729998816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923553644,"filename":"image_26012025_21_11_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331770267","file1":"1331770257","file0":"1331770253","file4":"1331770445","file5":"1331770775","file3":"1331770274"},"map_files_photo_id_array":[{"photo_id":"1331770775","filename":"file5"},{"photo_id":"1331770267","filename":"file2"},{"photo_id":"1331770445","filename":"file4"},{"photo_id":"1331770257","filename":"file1"},{"photo_id":"1331770253","filename":"file0"},{"photo_id":"1331770274","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331770775":["hashtag1","hashtag2"]},{"1331770445":["hashtag1","hashtag2"]},{"1331770274":["hashtag1","hashtag2"]},{"1331770253":["hashtag1","hashtag2"]},{"1331770267":["hashtag1","hashtag2"]},{"1331770257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331770775, 1331770445, 1331770274, 1331770253, 1331770267, 1331770257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89001798629761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:32:32.987319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/11/image_26012025_21_12_05_10349.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_14_9336.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_25_10393.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_35_10347.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_44_9352.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_55_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_12_05_10349.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_14_9336.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_25_10393.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_35_10347.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_44_9352.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_55_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.5550057888031006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:32:42.901500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/11/image_26012025_21_12_05_10349.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_14_9336.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_25_10393.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_35_10347.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_44_9352.jpg', '/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_55_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/11/image_26012025_21_12_05_10349.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_14_9336.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_25_10393.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_35_10347.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_44_9352.jpg
/home/pi/Desktop/images/26012025/21/12/image_26012025_21_12_55_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":["1331771436","1331771604","1331771433","1331771415","1331771322","1331771435"],"photo_ids_order":["1331771322","1331771415","1331771433","1331771435","1331771436","1331771604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0b9f6ce64cccdb47a8b46b5cacec1bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6608730067568996412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_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/26/78bdf1350fbf70a17cc4fed90afc5e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6707422068600043002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_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/26/a075cd2578c9e0ecf4050e5e99816cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3949887725310620140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/97299537a1dc8165e46a48f36ecb186e.jpg","text":"TemporaryFile(/tmp/multipartBody1776732901441031647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f634f74d75af4c5b954a292d7f626b9.jpg","text":"TemporaryFile(/tmp/multipartBody7585193045855220396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_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/26/6d42694d756d1902d3a44bfca11b6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8038569964236967263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923623827,"filename":"image_26012025_21_12_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771433","file1":"1331771415","file0":"1331771322","file4":"1331771436","file5":"1331771604","file3":"1331771435"},"map_files_photo_id_array":[{"photo_id":"1331771604","filename":"file5"},{"photo_id":"1331771433","filename":"file2"},{"photo_id":"1331771436","filename":"file4"},{"photo_id":"1331771415","filename":"file1"},{"photo_id":"1331771322","filename":"file0"},{"photo_id":"1331771435","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771436":["hashtag1","hashtag2"]},{"1331771604":["hashtag1","hashtag2"]},{"1331771433":["hashtag1","hashtag2"]},{"1331771415":["hashtag1","hashtag2"]},{"1331771322":["hashtag1","hashtag2"]},{"1331771435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771436, 1331771604, 1331771433, 1331771415, 1331771322, 1331771435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.564295053482056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:33:33.127506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_15_9450.jpg', '/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_25_10399.jpg', '/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_34_9422.jpg', '/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_45_10367.jpg', '/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_55_10367.jpg', '/home/pi/Desktop/images/26012025/21/13/image_26012025_21_14_04_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_15_9450.jpg
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_25_10399.jpg
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_34_9422.jpg
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_45_10367.jpg
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_13_55_10367.jpg
/home/pi/Desktop/images/26012025/21/13/image_26012025_21_14_04_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":["1331771662","1331771655","1331771658","1331771651","1331771660","1331771648"],"photo_ids_order":["1331771648","1331771651","1331771655","1331771658","1331771660","1331771662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/339b365b977b5be0a5339fbffd655831.jpg","text":"TemporaryFile(/tmp/multipartBody8553375445028414140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_21_14_04_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/26/51a5e15adf6518f97dffab7333a6b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody4989066120088058870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_21_13_34_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/26/4a057edd2321b5cb4a2b47884bb6d5ea.jpg","text":"TemporaryFile(/tmp/multipartBody3115316796759377419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_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/26/2c7394c6a43041995d1c3db118701fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7230099152415591255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_21_13_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/26/3a8f55133f5af96931aac1bd58ca5409.jpg","text":"TemporaryFile(/tmp/multipartBody368763467439493245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_21_13_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/26/74c5c8dddbe663b4c99cbe0edf123005.jpg","text":"TemporaryFile(/tmp/multipartBody4508287601606263082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923674053,"filename":"image_26012025_21_13_15_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771655","file1":"1331771651","file0":"1331771648","file4":"1331771660","file5":"1331771662","file3":"1331771658"},"map_files_photo_id_array":[{"photo_id":"1331771662","filename":"file5"},{"photo_id":"1331771655","filename":"file2"},{"photo_id":"1331771660","filename":"file4"},{"photo_id":"1331771651","filename":"file1"},{"photo_id":"1331771648","filename":"file0"},{"photo_id":"1331771658","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771662":["hashtag1","hashtag2"]},{"1331771655":["hashtag1","hashtag2"]},{"1331771658":["hashtag1","hashtag2"]},{"1331771651":["hashtag1","hashtag2"]},{"1331771660":["hashtag1","hashtag2"]},{"1331771648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771662, 1331771655, 1331771658, 1331771651, 1331771660, 1331771648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29888916015625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:34:32.174421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_15_10396.jpg', '/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_24_9347.jpg', '/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_35_10404.jpg', '/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_45_10346.jpg', '/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_54_9343.jpg', '/home/pi/Desktop/images/26012025/21/14/image_26012025_21_15_05_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_15_10396.jpg
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_24_9347.jpg
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_35_10404.jpg
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_45_10346.jpg
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_14_54_9343.jpg
/home/pi/Desktop/images/26012025/21/14/image_26012025_21_15_05_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":["1331771723","1331771711","1331771725","1331771716","1331771721","1331771718"],"photo_ids_order":["1331771711","1331771716","1331771718","1331771721","1331771723","1331771725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fb0c2df2ca8fd3d09c400b03f8b7bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody3895631982724915774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_14_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/26/26e968795e1f099c61e96f261771edcc.jpg","text":"TemporaryFile(/tmp/multipartBody3798665724696589833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_14_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/26/b75678bdc5a6af81f4679bedf4b6396b.jpg","text":"TemporaryFile(/tmp/multipartBody1898836513610159078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_15_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/26/71293a6bb96d97670f368034c8594a4d.jpg","text":"TemporaryFile(/tmp/multipartBody9211023287810331734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_14_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/26/e8b89584571a682bc06da26288ff7632.jpg","text":"TemporaryFile(/tmp/multipartBody5451768202542242901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_14_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/26/27ac7958afac51a02ad422d877a7bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody6149405832144187182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923733107,"filename":"image_26012025_21_14_35_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771718","file1":"1331771716","file0":"1331771711","file4":"1331771723","file5":"1331771725","file3":"1331771721"},"map_files_photo_id_array":[{"photo_id":"1331771725","filename":"file5"},{"photo_id":"1331771718","filename":"file2"},{"photo_id":"1331771723","filename":"file4"},{"photo_id":"1331771716","filename":"file1"},{"photo_id":"1331771711","filename":"file0"},{"photo_id":"1331771721","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771723":["hashtag1","hashtag2"]},{"1331771711":["hashtag1","hashtag2"]},{"1331771725":["hashtag1","hashtag2"]},{"1331771716":["hashtag1","hashtag2"]},{"1331771721":["hashtag1","hashtag2"]},{"1331771718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771723, 1331771711, 1331771725, 1331771716, 1331771721, 1331771718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.57641363143921 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:35:32.364141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_15_10351.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_25_9441.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_35_10360.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_44_9384.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_55_10431.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_16_05_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_15_10351.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_25_9441.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_35_10360.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_44_9384.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_55_10431.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_16_05_10340.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5265743732452393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:35:42.407716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_15_10351.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_25_9441.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_35_10360.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_44_9384.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_55_10431.jpg', '/home/pi/Desktop/images/26012025/21/15/image_26012025_21_16_05_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_15_10351.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_25_9441.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_35_10360.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_44_9384.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_15_55_10431.jpg
/home/pi/Desktop/images/26012025/21/15/image_26012025_21_16_05_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":["1331771761","1331771770","1331771764","1331771766","1331771757","1331771753"],"photo_ids_order":["1331771753","1331771757","1331771761","1331771764","1331771766","1331771770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddce68b4027820ed891189fa68d72fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8647772221923753411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_15_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/26/64621212ddab0d7f1d74c64f7552e20e.jpg","text":"TemporaryFile(/tmp/multipartBody9210673967295775971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_16_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/26/6647b31903469438e3f61f2ab281da39.jpg","text":"TemporaryFile(/tmp/multipartBody1517581124207249463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_15_44_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/26/c392599ab81a749fede78967da7edb3f.jpg","text":"TemporaryFile(/tmp/multipartBody7299644269193338300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_15_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/26/316f52fc36edbfb1087ec0c32e775b82.jpg","text":"TemporaryFile(/tmp/multipartBody1725814981216340693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_15_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/26/15682d4316c732caeea4c0da92a91dce.jpg","text":"TemporaryFile(/tmp/multipartBody304832183508520682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923803344,"filename":"image_26012025_21_15_15_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771761","file1":"1331771757","file0":"1331771753","file4":"1331771766","file5":"1331771770","file3":"1331771764"},"map_files_photo_id_array":[{"photo_id":"1331771770","filename":"file5"},{"photo_id":"1331771761","filename":"file2"},{"photo_id":"1331771766","filename":"file4"},{"photo_id":"1331771757","filename":"file1"},{"photo_id":"1331771753","filename":"file0"},{"photo_id":"1331771764","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771761":["hashtag1","hashtag2"]},{"1331771770":["hashtag1","hashtag2"]},{"1331771764":["hashtag1","hashtag2"]},{"1331771766":["hashtag1","hashtag2"]},{"1331771757":["hashtag1","hashtag2"]},{"1331771753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771761, 1331771770, 1331771764, 1331771766, 1331771757, 1331771753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12990427017212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:36:32.663178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_15_9446.jpg', '/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_25_10368.jpg', '/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_34_9338.jpg', '/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_45_10389.jpg', '/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_55_10357.jpg', '/home/pi/Desktop/images/26012025/21/16/image_26012025_21_17_04_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_15_9446.jpg
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_25_10368.jpg
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_34_9338.jpg
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_45_10389.jpg
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_16_55_10357.jpg
/home/pi/Desktop/images/26012025/21/16/image_26012025_21_17_04_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":["1331771816","1331771804","1331771824","1331771812","1331771796","1331771820"],"photo_ids_order":["1331771796","1331771804","1331771812","1331771816","1331771820","1331771824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14c3be9c47ae3aad795db0209b3229c8.jpg","text":"TemporaryFile(/tmp/multipartBody5127269259150259874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_16_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/26/6c005b16f29fb1031dc0f24933bde94c.jpg","text":"TemporaryFile(/tmp/multipartBody4016887319238038341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_16_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/26/05a185cf422112af53528b3bcbcd3487.jpg","text":"TemporaryFile(/tmp/multipartBody1889014629778666314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_17_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f383b73ae7148b693026b5374f409fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3784744301144502650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_16_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/26/ab2a235fe42e4276f37d734c20609093.jpg","text":"TemporaryFile(/tmp/multipartBody8742246100494423419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_16_15_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3f3e55da9f46eff31df519e5798babe.jpg","text":"TemporaryFile(/tmp/multipartBody2338047407695653747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923853578,"filename":"image_26012025_21_16_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771812","file1":"1331771804","file0":"1331771796","file4":"1331771820","file5":"1331771824","file3":"1331771816"},"map_files_photo_id_array":[{"photo_id":"1331771824","filename":"file5"},{"photo_id":"1331771812","filename":"file2"},{"photo_id":"1331771820","filename":"file4"},{"photo_id":"1331771804","filename":"file1"},{"photo_id":"1331771796","filename":"file0"},{"photo_id":"1331771816","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771816":["hashtag1","hashtag2"]},{"1331771804":["hashtag1","hashtag2"]},{"1331771824":["hashtag1","hashtag2"]},{"1331771812":["hashtag1","hashtag2"]},{"1331771796":["hashtag1","hashtag2"]},{"1331771820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771816, 1331771804, 1331771824, 1331771812, 1331771796, 1331771820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.987590074539185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:37:32.845069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_15_10420.jpg', '/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_25_10349.jpg', '/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_35_9469.jpg', '/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_45_10356.jpg', '/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_54_9385.jpg', '/home/pi/Desktop/images/26012025/21/17/image_26012025_21_18_05_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_15_10420.jpg
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_25_10349.jpg
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_35_9469.jpg
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_45_10356.jpg
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_17_54_9385.jpg
/home/pi/Desktop/images/26012025/21/17/image_26012025_21_18_05_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331771920","1331771914","1331771916","1331771910","1331771907","1331771918"],"photo_ids_order":["1331771907","1331771910","1331771914","1331771916","1331771918","1331771920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a17f7652e36751521663b867210c3d14.jpg","text":"TemporaryFile(/tmp/multipartBody6884310473071557272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_18_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/26/79fd591dd808c4b6a7a6831dffe55e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4370011387181752952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_17_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/707ca6ba030eeafd169d300748639f32.jpg","text":"TemporaryFile(/tmp/multipartBody5014210020309357208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_17_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/26/44b3e08eab24c1246d0e547ef1395184.jpg","text":"TemporaryFile(/tmp/multipartBody83249361148557689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_17_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c5b1c62a11f80c71b614d3c9cc87a92.jpg","text":"TemporaryFile(/tmp/multipartBody7865492706169831358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_17_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/26/7ab7ed04772076628ac0fd4c27271a64.jpg","text":"TemporaryFile(/tmp/multipartBody23580269885158951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923913763,"filename":"image_26012025_21_17_54_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771914","file1":"1331771910","file0":"1331771907","file4":"1331771918","file5":"1331771920","file3":"1331771916"},"map_files_photo_id_array":[{"photo_id":"1331771920","filename":"file5"},{"photo_id":"1331771914","filename":"file2"},{"photo_id":"1331771918","filename":"file4"},{"photo_id":"1331771910","filename":"file1"},{"photo_id":"1331771907","filename":"file0"},{"photo_id":"1331771916","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771920":["hashtag1","hashtag2"]},{"1331771914":["hashtag1","hashtag2"]},{"1331771916":["hashtag1","hashtag2"]},{"1331771910":["hashtag1","hashtag2"]},{"1331771907":["hashtag1","hashtag2"]},{"1331771918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771920, 1331771914, 1331771916, 1331771910, 1331771907, 1331771918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30840826034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:38:33.045395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_15_10343.jpg', '/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_25_9538.jpg', '/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_35_10349.jpg', '/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_44_9344.jpg', '/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_55_10388.jpg', '/home/pi/Desktop/images/26012025/21/18/image_26012025_21_19_05_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_15_10343.jpg
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_25_9538.jpg
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_35_10349.jpg
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_44_9344.jpg
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_18_55_10388.jpg
/home/pi/Desktop/images/26012025/21/18/image_26012025_21_19_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331771947","1331771959","1331771958","1331771952","1331771955","1331771943"],"photo_ids_order":["1331771943","1331771947","1331771952","1331771955","1331771958","1331771959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/69b101af092e7afb2c26a2984c57a3a3.jpg","text":"TemporaryFile(/tmp/multipartBody5700749774091730895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_18_25_9538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6cda3b49e1a4fdefe54f4cd40a91461.jpg","text":"TemporaryFile(/tmp/multipartBody8414957660390640586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_19_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/26/b9ef8876320761bf1be0aae3022fad3d.jpg","text":"TemporaryFile(/tmp/multipartBody6743210545720759287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_18_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/26/b83ff44819e9362cce2f690dece3ea68.jpg","text":"TemporaryFile(/tmp/multipartBody3067010194678697166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_18_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/26/1766aaaf3964497ac4836622e4462038.jpg","text":"TemporaryFile(/tmp/multipartBody473130908121073809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_18_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c3dc8d2cf9ee5715ab1eb6c35f6b6c21.jpg","text":"TemporaryFile(/tmp/multipartBody3455772794666031512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737923973959,"filename":"image_26012025_21_18_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771952","file1":"1331771947","file0":"1331771943","file4":"1331771958","file5":"1331771959","file3":"1331771955"},"map_files_photo_id_array":[{"photo_id":"1331771959","filename":"file5"},{"photo_id":"1331771952","filename":"file2"},{"photo_id":"1331771958","filename":"file4"},{"photo_id":"1331771947","filename":"file1"},{"photo_id":"1331771943","filename":"file0"},{"photo_id":"1331771955","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771947":["hashtag1","hashtag2"]},{"1331771959":["hashtag1","hashtag2"]},{"1331771958":["hashtag1","hashtag2"]},{"1331771952":["hashtag1","hashtag2"]},{"1331771955":["hashtag1","hashtag2"]},{"1331771943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771947, 1331771959, 1331771958, 1331771952, 1331771955, 1331771943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.352049827575684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:39:32.372343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_14_9350.jpg', '/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_25_10357.jpg', '/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_45_9449.jpg', '/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_55_10355.jpg', '/home/pi/Desktop/images/26012025/21/19/image_26012025_21_20_04_9341.jpg', '/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_15_10491.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_14_9350.jpg
/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_25_10357.jpg
/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_45_9449.jpg
/home/pi/Desktop/images/26012025/21/19/image_26012025_21_19_55_10355.jpg
/home/pi/Desktop/images/26012025/21/19/image_26012025_21_20_04_9341.jpg
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_15_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":["1331771989","1331771987","1331771996","1331771981","1331771984","1331771978"],"photo_ids_order":["1331771978","1331771981","1331771984","1331771987","1331771989","1331771996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ab46bafab8a37d472e6fadb21427d06.jpg","text":"TemporaryFile(/tmp/multipartBody3310679087313514051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_20_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0a52adb5f93f5c61ba93ffbd8832757b.jpg","text":"TemporaryFile(/tmp/multipartBody463530509142595426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_19_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/26/03fc9d2aa7ff2356c4efa8f031306091.jpg","text":"TemporaryFile(/tmp/multipartBody4085974958905750527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_20_15_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/26/d264437e9616888aa8bbb4e50d8b56da.jpg","text":"TemporaryFile(/tmp/multipartBody8524022055335284735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_19_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/26/8930236825817f186934e5ed0ab95011.jpg","text":"TemporaryFile(/tmp/multipartBody5080150263522639421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_19_45_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/26/b617569a64861ef16e48fa1a2e8ff885.jpg","text":"TemporaryFile(/tmp/multipartBody5569047493574125757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924033315,"filename":"image_26012025_21_19_14_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331771984","file1":"1331771981","file0":"1331771978","file4":"1331771989","file5":"1331771996","file3":"1331771987"},"map_files_photo_id_array":[{"photo_id":"1331771996","filename":"file5"},{"photo_id":"1331771984","filename":"file2"},{"photo_id":"1331771989","filename":"file4"},{"photo_id":"1331771981","filename":"file1"},{"photo_id":"1331771978","filename":"file0"},{"photo_id":"1331771987","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331771989":["hashtag1","hashtag2"]},{"1331771987":["hashtag1","hashtag2"]},{"1331771996":["hashtag1","hashtag2"]},{"1331771981":["hashtag1","hashtag2"]},{"1331771984":["hashtag1","hashtag2"]},{"1331771978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331771989, 1331771987, 1331771996, 1331771981, 1331771984, 1331771978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21594285964966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:40:32.433280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_25_10369.jpg', '/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_35_9418.jpg', '/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_45_10355.jpg', '/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_55_10342.jpg', '/home/pi/Desktop/images/26012025/21/20/image_26012025_21_21_05_9362.jpg', '/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_15_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_25_10369.jpg
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_35_9418.jpg
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_45_10355.jpg
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_20_55_10342.jpg
/home/pi/Desktop/images/26012025/21/20/image_26012025_21_21_05_9362.jpg
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772080","1331772074","1331772077","1331772062","1331772082","1331772070"],"photo_ids_order":["1331772062","1331772070","1331772074","1331772077","1331772080","1331772082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29f910a232a295366588bbfd4706fe80.jpg","text":"TemporaryFile(/tmp/multipartBody7822597100322278667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_21_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/26/e5b2e70205488067c30a0c9669e1e8b6.jpg","text":"TemporaryFile(/tmp/multipartBody4127646602332587341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_20_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/26/c304461c031e5e1ec146580d66a6f89a.jpg","text":"TemporaryFile(/tmp/multipartBody7151452677623987276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_20_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/26/605cecf5c6ffa5f98623ed5b7cc15a35.jpg","text":"TemporaryFile(/tmp/multipartBody7976801801532667975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_20_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/26/af90e1e946f2301155749f5d3f430b38.jpg","text":"TemporaryFile(/tmp/multipartBody412333008075672183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_21_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b2e7a6d876c3b49dc33a6991c810c0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6416108890528633424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924093385,"filename":"image_26012025_21_20_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772074","file1":"1331772070","file0":"1331772062","file4":"1331772080","file5":"1331772082","file3":"1331772077"},"map_files_photo_id_array":[{"photo_id":"1331772082","filename":"file5"},{"photo_id":"1331772074","filename":"file2"},{"photo_id":"1331772080","filename":"file4"},{"photo_id":"1331772070","filename":"file1"},{"photo_id":"1331772062","filename":"file0"},{"photo_id":"1331772077","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772080":["hashtag1","hashtag2"]},{"1331772074":["hashtag1","hashtag2"]},{"1331772077":["hashtag1","hashtag2"]},{"1331772062":["hashtag1","hashtag2"]},{"1331772082":["hashtag1","hashtag2"]},{"1331772070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772080, 1331772074, 1331772077, 1331772062, 1331772082, 1331772070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9188277721405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:41:32.635457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_25_10123.jpg', '/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_35_9454.jpg', '/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_45_10362.jpg', '/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_54_9418.jpg', '/home/pi/Desktop/images/26012025/21/21/image_26012025_21_22_05_10361.jpg', '/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_15_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_25_10123.jpg
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_35_9454.jpg
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_45_10362.jpg
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_21_54_9418.jpg
/home/pi/Desktop/images/26012025/21/21/image_26012025_21_22_05_10361.jpg
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_15_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":["1331772109","1331772100","1331772102","1331772105","1331772107","1331772097"],"photo_ids_order":["1331772097","1331772100","1331772102","1331772105","1331772107","1331772109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d456028cdde5984ae5cf1e42966f0281.jpg","text":"TemporaryFile(/tmp/multipartBody5643401581126123885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_22_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/26/78e0616a2385bf9fcf40b9835aafe2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1514482047596359521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_21_35_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/38ff99e0ec185b4b397db3c722c82d99.jpg","text":"TemporaryFile(/tmp/multipartBody8443810565637817078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_21_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/26/28b1741aa59c566d8767bfa357979a6d.jpg","text":"TemporaryFile(/tmp/multipartBody1724134922172736270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_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/26/02c4ea8338379de90a142171227647d4.jpg","text":"TemporaryFile(/tmp/multipartBody5370003050930835134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_22_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/26/f75130f8c3c63769a84042a839865cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2539470619594576903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924153603,"filename":"image_26012025_21_21_25_10123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772102","file1":"1331772100","file0":"1331772097","file4":"1331772107","file5":"1331772109","file3":"1331772105"},"map_files_photo_id_array":[{"photo_id":"1331772109","filename":"file5"},{"photo_id":"1331772102","filename":"file2"},{"photo_id":"1331772107","filename":"file4"},{"photo_id":"1331772100","filename":"file1"},{"photo_id":"1331772097","filename":"file0"},{"photo_id":"1331772105","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772109":["hashtag1","hashtag2"]},{"1331772100":["hashtag1","hashtag2"]},{"1331772102":["hashtag1","hashtag2"]},{"1331772105":["hashtag1","hashtag2"]},{"1331772107":["hashtag1","hashtag2"]},{"1331772097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772109, 1331772100, 1331772102, 1331772105, 1331772107, 1331772097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38356065750122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:42:32.916653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_24_9354.jpg', '/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_35_10443.jpg', '/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_45_10381.jpg', '/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_55_9385.jpg', '/home/pi/Desktop/images/26012025/21/22/image_26012025_21_23_05_10360.jpg', '/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_14_9321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_24_9354.jpg
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_35_10443.jpg
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_45_10381.jpg
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_22_55_9385.jpg
/home/pi/Desktop/images/26012025/21/22/image_26012025_21_23_05_10360.jpg
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_14_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772166","1331772130","1331772150","1331772135","1331772182","1331772143"],"photo_ids_order":["1331772130","1331772135","1331772143","1331772150","1331772166","1331772182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f76a4ea63d7de5d90b5a4c71bc1f2743.jpg","text":"TemporaryFile(/tmp/multipartBody8807925896704214414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_23_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/26/99c139690ebbdf7a97fa2c200a8e387a.jpg","text":"TemporaryFile(/tmp/multipartBody9033679846728162038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_22_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/26/ea47c84613b4d5caacc1eee00b97b723.jpg","text":"TemporaryFile(/tmp/multipartBody5733512671003899377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_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/26/81c1a60cf6752c8bade93807476019e4.jpg","text":"TemporaryFile(/tmp/multipartBody9188531961241957888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_22_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/26/89b54deea66479d3cf55081755958f65.jpg","text":"TemporaryFile(/tmp/multipartBody3029815428518831144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_23_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/26/2cd03ec94b943e326e143b095d4d3b56.jpg","text":"TemporaryFile(/tmp/multipartBody614569810695330534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924214364,"filename":"image_26012025_21_22_45_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772143","file1":"1331772135","file0":"1331772130","file4":"1331772166","file5":"1331772182","file3":"1331772150"},"map_files_photo_id_array":[{"photo_id":"1331772182","filename":"file5"},{"photo_id":"1331772143","filename":"file2"},{"photo_id":"1331772166","filename":"file4"},{"photo_id":"1331772135","filename":"file1"},{"photo_id":"1331772130","filename":"file0"},{"photo_id":"1331772150","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772166":["hashtag1","hashtag2"]},{"1331772130":["hashtag1","hashtag2"]},{"1331772150":["hashtag1","hashtag2"]},{"1331772135":["hashtag1","hashtag2"]},{"1331772182":["hashtag1","hashtag2"]},{"1331772143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772166, 1331772130, 1331772150, 1331772135, 1331772182, 1331772143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7494421005249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:43:33.169339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_25_10367.jpg', '/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_35_10350.jpg', '/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_44_9350.jpg', '/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_55_10441.jpg', '/home/pi/Desktop/images/26012025/21/23/image_26012025_21_24_05_10399.jpg', '/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_15_9400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_25_10367.jpg
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_35_10350.jpg
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_44_9350.jpg
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_23_55_10441.jpg
/home/pi/Desktop/images/26012025/21/23/image_26012025_21_24_05_10399.jpg
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_15_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772205","1331772198","1331772204","1331772207","1331772201","1331772203"],"photo_ids_order":["1331772198","1331772201","1331772203","1331772204","1331772205","1331772207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62e525368f97848e73c021a034de486e.jpg","text":"TemporaryFile(/tmp/multipartBody6271807560460508602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_24_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/26/b407754f6f8aec648407b815a65dcd25.jpg","text":"TemporaryFile(/tmp/multipartBody3272094206137127831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_23_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/26/65cec78832544ca82b6ac2dc2658ff33.jpg","text":"TemporaryFile(/tmp/multipartBody4209387647490270749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_23_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/26/e2b791030830572ec53624d32170c380.jpg","text":"TemporaryFile(/tmp/multipartBody770537662562928338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_24_15_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1406143cc4a3a958afece25a84d2f0e.jpg","text":"TemporaryFile(/tmp/multipartBody7358889302774347671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_23_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/26/326df5e34906b837acf9ab5cf6154382.jpg","text":"TemporaryFile(/tmp/multipartBody4569476324380771934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924274094,"filename":"image_26012025_21_23_44_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772203","file1":"1331772201","file0":"1331772198","file4":"1331772205","file5":"1331772207","file3":"1331772204"},"map_files_photo_id_array":[{"photo_id":"1331772207","filename":"file5"},{"photo_id":"1331772203","filename":"file2"},{"photo_id":"1331772205","filename":"file4"},{"photo_id":"1331772201","filename":"file1"},{"photo_id":"1331772198","filename":"file0"},{"photo_id":"1331772204","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772205":["hashtag1","hashtag2"]},{"1331772198":["hashtag1","hashtag2"]},{"1331772204":["hashtag1","hashtag2"]},{"1331772207":["hashtag1","hashtag2"]},{"1331772201":["hashtag1","hashtag2"]},{"1331772203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772205, 1331772198, 1331772204, 1331772207, 1331772201, 1331772203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.500837087631226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:44:32.435714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_25_10363.jpg', '/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_34_9367.jpg', '/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_45_10355.jpg', '/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_55_10361.jpg', '/home/pi/Desktop/images/26012025/21/24/image_26012025_21_25_04_9352.jpg', '/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_15_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_25_10363.jpg
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_34_9367.jpg
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_45_10355.jpg
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_24_55_10361.jpg
/home/pi/Desktop/images/26012025/21/24/image_26012025_21_25_04_9352.jpg
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_15_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":["1331772238","1331772232","1331772249","1331772228","1331772248","1331772242"],"photo_ids_order":["1331772228","1331772232","1331772238","1331772242","1331772248","1331772249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a2c8a1814816943baf3be76cb537262.jpg","text":"TemporaryFile(/tmp/multipartBody6267531026714523707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_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/26/10d3b9f3efd18e84ee668b3501a01a48.jpg","text":"TemporaryFile(/tmp/multipartBody7360098857452579295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_24_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/26/9c505b94a1a2fa3f9d9a4daa26a61a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1060008647917328625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_25_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/26/90a058041386184c08b14ce7c0295ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5281274419770056268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_24_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/26/ab08185654386096dd6ae770a9bf4fe6.jpg","text":"TemporaryFile(/tmp/multipartBody416520994300200226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_25_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/26/9950d980339d9e265e365927c1adffde.jpg","text":"TemporaryFile(/tmp/multipartBody1821314616310307111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924333382,"filename":"image_26012025_21_24_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772238","file1":"1331772232","file0":"1331772228","file4":"1331772248","file5":"1331772249","file3":"1331772242"},"map_files_photo_id_array":[{"photo_id":"1331772249","filename":"file5"},{"photo_id":"1331772238","filename":"file2"},{"photo_id":"1331772248","filename":"file4"},{"photo_id":"1331772232","filename":"file1"},{"photo_id":"1331772228","filename":"file0"},{"photo_id":"1331772242","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772238":["hashtag1","hashtag2"]},{"1331772232":["hashtag1","hashtag2"]},{"1331772249":["hashtag1","hashtag2"]},{"1331772228":["hashtag1","hashtag2"]},{"1331772248":["hashtag1","hashtag2"]},{"1331772242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772238, 1331772232, 1331772249, 1331772228, 1331772248, 1331772242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56910276412964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:45:32.646450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_25_10363.jpg', '/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_34_9343.jpg', '/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_45_10403.jpg', '/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_55_10368.jpg', '/home/pi/Desktop/images/26012025/21/25/image_26012025_21_26_05_9457.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_15_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_25_10363.jpg
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_34_9343.jpg
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_45_10403.jpg
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_25_55_10368.jpg
/home/pi/Desktop/images/26012025/21/25/image_26012025_21_26_05_9457.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772556","1331772457","1331772466","1331772599","1331772461","1331772521"],"photo_ids_order":["1331772457","1331772461","1331772466","1331772521","1331772556","1331772599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/729c1c97dbf55361df2b7de33d9c74e2.jpg","text":"TemporaryFile(/tmp/multipartBody3046465643808361086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_26_05_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1cf824381a5ae49c899e6c18dd6c6351.jpg","text":"TemporaryFile(/tmp/multipartBody4109141375080344078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_25_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/26/38957d0160c52c0022c830666e51ec66.jpg","text":"TemporaryFile(/tmp/multipartBody190566686928422904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_25_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/142d5b3052455f38e4c4b2549d30d13c.jpg","text":"TemporaryFile(/tmp/multipartBody5268384189340794086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_26_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/26/74447c9ea2c6c0f2920d62cd4ecb3094.jpg","text":"TemporaryFile(/tmp/multipartBody5855078668134742043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_25_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/26/f1da51580f9b1a416751d3eb9571cb60.jpg","text":"TemporaryFile(/tmp/multipartBody4483882814475274081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924393601,"filename":"image_26012025_21_25_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772466","file1":"1331772461","file0":"1331772457","file4":"1331772556","file5":"1331772599","file3":"1331772521"},"map_files_photo_id_array":[{"photo_id":"1331772599","filename":"file5"},{"photo_id":"1331772466","filename":"file2"},{"photo_id":"1331772556","filename":"file4"},{"photo_id":"1331772461","filename":"file1"},{"photo_id":"1331772457","filename":"file0"},{"photo_id":"1331772521","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772556":["hashtag1","hashtag2"]},{"1331772457":["hashtag1","hashtag2"]},{"1331772466":["hashtag1","hashtag2"]},{"1331772599":["hashtag1","hashtag2"]},{"1331772461":["hashtag1","hashtag2"]},{"1331772521":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772556, 1331772457, 1331772466, 1331772599, 1331772461, 1331772521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26955723762512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:46:32.899630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_24_9413.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_35_10356.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_55_9407.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_27_05_10358.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_14_9348.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_25_10655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_24_9413.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_35_10356.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_55_9407.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_27_05_10358.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_14_9348.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_25_10655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8573892116546631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:46:42.919803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_24_9413.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_35_10356.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_55_9407.jpg', '/home/pi/Desktop/images/26012025/21/26/image_26012025_21_27_05_10358.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_14_9348.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_25_10655.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_24_9413.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_35_10356.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_26_55_9407.jpg
/home/pi/Desktop/images/26012025/21/26/image_26012025_21_27_05_10358.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_14_9348.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_25_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772721","1331772715","1331772726","1331772729","1331772731","1331772728"],"photo_ids_order":["1331772715","1331772721","1331772726","1331772728","1331772729","1331772731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db172564247f6275d04c35271a7d93b5.jpg","text":"TemporaryFile(/tmp/multipartBody5258979293479386305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_26_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/26/ff973e2bb5665c23b54c268014a36d64.jpg","text":"TemporaryFile(/tmp/multipartBody4632907072739801589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_26_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d39a4d14878bd56d2e687d4ed4cef02f.jpg","text":"TemporaryFile(/tmp/multipartBody8918234991717537141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_26_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/26/c749eeabb3dcf1dd38b5af221144e5ef.jpg","text":"TemporaryFile(/tmp/multipartBody6721770084461111632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_27_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/26/6141382dd6ae5c15b5644280329fc0e3.jpg","text":"TemporaryFile(/tmp/multipartBody3181723547628239178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_27_25_10655.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b792d4d60d0784ffcc4c064d62e9362.jpg","text":"TemporaryFile(/tmp/multipartBody943313746370892788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924463844,"filename":"image_26012025_21_27_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772726","file1":"1331772721","file0":"1331772715","file4":"1331772729","file5":"1331772731","file3":"1331772728"},"map_files_photo_id_array":[{"photo_id":"1331772731","filename":"file5"},{"photo_id":"1331772726","filename":"file2"},{"photo_id":"1331772729","filename":"file4"},{"photo_id":"1331772721","filename":"file1"},{"photo_id":"1331772715","filename":"file0"},{"photo_id":"1331772728","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772721":["hashtag1","hashtag2"]},{"1331772715":["hashtag1","hashtag2"]},{"1331772726":["hashtag1","hashtag2"]},{"1331772729":["hashtag1","hashtag2"]},{"1331772731":["hashtag1","hashtag2"]},{"1331772728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772721, 1331772715, 1331772726, 1331772729, 1331772731, 1331772728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60900664329529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:47:33.053506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_34_9333.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_45_10417.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_55_10383.jpg', '/home/pi/Desktop/images/26012025/21/27/image_26012025_21_28_05_9487.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_24_9363.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_35_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_34_9333.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_45_10417.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_27_55_10383.jpg
/home/pi/Desktop/images/26012025/21/27/image_26012025_21_28_05_9487.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_24_9363.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_35_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772760","1331772748","1331772757","1331772759","1331772755","1331772752"],"photo_ids_order":["1331772748","1331772752","1331772755","1331772757","1331772759","1331772760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45c855c140f347f8e551c835c3ec6aba.jpg","text":"TemporaryFile(/tmp/multipartBody3031757181732326912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_28_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bf7839936b41ab3517030e9ca1066622.jpg","text":"TemporaryFile(/tmp/multipartBody3596132537105660522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_27_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/26/bf2eecbe3bc24030e9733d5ae532fe10.jpg","text":"TemporaryFile(/tmp/multipartBody4990808137234555208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_28_05_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/26/5bbe935697c7566551e17d6c7286fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody3921235590279020251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_28_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/071da650e213c63ed54112ca7332a35c.jpg","text":"TemporaryFile(/tmp/multipartBody6045185198747044738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_27_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/26/889e28abc31d3c9b1dfe090e93890fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5106854456070836587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924513986,"filename":"image_26012025_21_27_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772755","file1":"1331772752","file0":"1331772748","file4":"1331772759","file5":"1331772760","file3":"1331772757"},"map_files_photo_id_array":[{"photo_id":"1331772760","filename":"file5"},{"photo_id":"1331772755","filename":"file2"},{"photo_id":"1331772759","filename":"file4"},{"photo_id":"1331772752","filename":"file1"},{"photo_id":"1331772748","filename":"file0"},{"photo_id":"1331772757","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772760":["hashtag1","hashtag2"]},{"1331772748":["hashtag1","hashtag2"]},{"1331772757":["hashtag1","hashtag2"]},{"1331772759":["hashtag1","hashtag2"]},{"1331772755":["hashtag1","hashtag2"]},{"1331772752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772760, 1331772748, 1331772757, 1331772759, 1331772755, 1331772752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.91856908798218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:48:32.290230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_45_10465.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_54_9351.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_29_05_10406.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_15_10342.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_25_9420.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_35_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_45_10465.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_54_9351.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_29_05_10406.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_15_10342.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_25_9420.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_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: 0.5261919498443604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:48:42.356714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_45_10465.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_54_9351.jpg', '/home/pi/Desktop/images/26012025/21/28/image_26012025_21_29_05_10406.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_15_10342.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_25_9420.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_35_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_45_10465.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_28_54_9351.jpg
/home/pi/Desktop/images/26012025/21/28/image_26012025_21_29_05_10406.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_15_10342.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_25_9420.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_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":["1331772792","1331772805","1331772780","1331772816","1331772827","1331772787"],"photo_ids_order":["1331772780","1331772787","1331772792","1331772805","1331772816","1331772827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60b01bb96a676e2b345655fb67a6678b.jpg","text":"TemporaryFile(/tmp/multipartBody1287769971975505178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_29_05_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3cf7c2b4edf459db586ce72bcf7556a3.jpg","text":"TemporaryFile(/tmp/multipartBody2886623840893329009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_29_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/26/32a63b531fdb9c079d8fcf704de36e16.jpg","text":"TemporaryFile(/tmp/multipartBody4299291626073311245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_28_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/26/57b592ba25d5a55b1ae6da47be7d85c0.jpg","text":"TemporaryFile(/tmp/multipartBody5587104129141415608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_29_25_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe63856f2875a0ed21fce4999db0a959.jpg","text":"TemporaryFile(/tmp/multipartBody6998593457751068967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_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/26/70c677727102142d4ab637180fd38bb8.jpg","text":"TemporaryFile(/tmp/multipartBody7171381620787734371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924583300,"filename":"image_26012025_21_28_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772792","file1":"1331772787","file0":"1331772780","file4":"1331772816","file5":"1331772827","file3":"1331772805"},"map_files_photo_id_array":[{"photo_id":"1331772827","filename":"file5"},{"photo_id":"1331772792","filename":"file2"},{"photo_id":"1331772816","filename":"file4"},{"photo_id":"1331772787","filename":"file1"},{"photo_id":"1331772780","filename":"file0"},{"photo_id":"1331772805","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772792":["hashtag1","hashtag2"]},{"1331772805":["hashtag1","hashtag2"]},{"1331772780":["hashtag1","hashtag2"]},{"1331772816":["hashtag1","hashtag2"]},{"1331772827":["hashtag1","hashtag2"]},{"1331772787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772792, 1331772805, 1331772780, 1331772816, 1331772827, 1331772787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.525007247924805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:49:32.625384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_44_9364.jpg', '/home/pi/Desktop/images/26012025/21/29/image_26012025_21_30_05_10362.jpg', '/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_14_9323.jpg', '/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_25_10434.jpg', '/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_35_10354.jpg', '/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_45_9409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_29_44_9364.jpg
/home/pi/Desktop/images/26012025/21/29/image_26012025_21_30_05_10362.jpg
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_14_9323.jpg
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_25_10434.jpg
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_35_10354.jpg
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_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":["1331772836","1331772851","1331772839","1331772833","1331772850","1331772844"],"photo_ids_order":["1331772833","1331772836","1331772839","1331772844","1331772850","1331772851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e56a978f2ac6843861993aefe21d0296.jpg","text":"TemporaryFile(/tmp/multipartBody2471039898648061833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_30_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/26/dd8298de7932eb98f403496b72679452.jpg","text":"TemporaryFile(/tmp/multipartBody2154696443970484217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_30_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/26/5f0a4598f9954d16a6cceeaaae2b699a.jpg","text":"TemporaryFile(/tmp/multipartBody215157418689664896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_30_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/26/c4ba17f96bd15e38a033184af4dc3959.jpg","text":"TemporaryFile(/tmp/multipartBody1649229479803009365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_29_44_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/26/03333afde03f797591478ae37ee47d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4931100291183122323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_30_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/26/654a748a5fc1e1418cd9ef4c91f3d27b.jpg","text":"TemporaryFile(/tmp/multipartBody2128940565138545185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924633558,"filename":"image_26012025_21_30_25_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772839","file1":"1331772836","file0":"1331772833","file4":"1331772850","file5":"1331772851","file3":"1331772844"},"map_files_photo_id_array":[{"photo_id":"1331772851","filename":"file5"},{"photo_id":"1331772839","filename":"file2"},{"photo_id":"1331772850","filename":"file4"},{"photo_id":"1331772836","filename":"file1"},{"photo_id":"1331772833","filename":"file0"},{"photo_id":"1331772844","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772836":["hashtag1","hashtag2"]},{"1331772851":["hashtag1","hashtag2"]},{"1331772839":["hashtag1","hashtag2"]},{"1331772833":["hashtag1","hashtag2"]},{"1331772850":["hashtag1","hashtag2"]},{"1331772844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772836, 1331772851, 1331772839, 1331772833, 1331772850, 1331772844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46269464492798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:50:32.811936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_55_10409.jpg', '/home/pi/Desktop/images/26012025/21/30/image_26012025_21_31_04_9331.jpg', '/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_15_10333.jpg', '/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_25_10346.jpg', '/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_34_9363.jpg', '/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_45_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_30_55_10409.jpg
/home/pi/Desktop/images/26012025/21/30/image_26012025_21_31_04_9331.jpg
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_15_10333.jpg
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_25_10346.jpg
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_34_9363.jpg
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_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":["1331772868","1331772879","1331772890","1331772884","1331772872","1331772889"],"photo_ids_order":["1331772868","1331772872","1331772879","1331772884","1331772889","1331772890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e320fe2e91ff9bc3a2580245fbe2a0db.jpg","text":"TemporaryFile(/tmp/multipartBody965668199771654876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_30_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/26/f571c378fd5000766b732ac229228c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3548217325072621355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_31_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a4b1e438767c14a7c36d2ecd582367bc.jpg","text":"TemporaryFile(/tmp/multipartBody1619342891555151003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_31_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/26/1511442d9c64c66051801ccae9d2b82d.jpg","text":"TemporaryFile(/tmp/multipartBody6791534838466045966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_31_25_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9cc38dbb430e5879ae7900b426bd1821.jpg","text":"TemporaryFile(/tmp/multipartBody2550996468329809793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_31_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/26/b29460b3d85f80ceb2df981a7352d0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7298955849357787879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924693803,"filename":"image_26012025_21_31_34_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772879","file1":"1331772872","file0":"1331772868","file4":"1331772889","file5":"1331772890","file3":"1331772884"},"map_files_photo_id_array":[{"photo_id":"1331772890","filename":"file5"},{"photo_id":"1331772879","filename":"file2"},{"photo_id":"1331772889","filename":"file4"},{"photo_id":"1331772872","filename":"file1"},{"photo_id":"1331772868","filename":"file0"},{"photo_id":"1331772884","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772868":["hashtag1","hashtag2"]},{"1331772879":["hashtag1","hashtag2"]},{"1331772890":["hashtag1","hashtag2"]},{"1331772884":["hashtag1","hashtag2"]},{"1331772872":["hashtag1","hashtag2"]},{"1331772889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772868, 1331772879, 1331772890, 1331772884, 1331772872, 1331772889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.650179862976074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:51:32.967539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_55_10385.jpg', '/home/pi/Desktop/images/26012025/21/31/image_26012025_21_32_04_9338.jpg', '/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_25_10368.jpg', '/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_45_10360.jpg', '/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_54_9447.jpg', '/home/pi/Desktop/images/26012025/21/32/image_26012025_21_33_05_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_31_55_10385.jpg
/home/pi/Desktop/images/26012025/21/31/image_26012025_21_32_04_9338.jpg
/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_25_10368.jpg
/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_45_10360.jpg
/home/pi/Desktop/images/26012025/21/32/image_26012025_21_32_54_9447.jpg
/home/pi/Desktop/images/26012025/21/32/image_26012025_21_33_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331772955","1331772936","1331772966","1331772933","1331772953","1331772929"],"photo_ids_order":["1331772929","1331772933","1331772936","1331772953","1331772955","1331772966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/331827cf1fe39f96ef56f3878740a547.jpg","text":"TemporaryFile(/tmp/multipartBody3846674420477420383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_32_54_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/424eab49c0d96c3bcd205c295c98aa0a.jpg","text":"TemporaryFile(/tmp/multipartBody420390920642962732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_32_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/26/d81f75aa027c9d000e7f035d869b5157.jpg","text":"TemporaryFile(/tmp/multipartBody5100526070624726721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_33_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/26/0acbab6d17f2f74b0d1634cde96b01dd.jpg","text":"TemporaryFile(/tmp/multipartBody6611620001815867774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_32_04_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8fd53e6e385eac82316180e8ddc13197.jpg","text":"TemporaryFile(/tmp/multipartBody3261018949799940926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_32_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/26/832b1aa493d036abf40c40c376fae3a3.jpg","text":"TemporaryFile(/tmp/multipartBody7395703010287546599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924753891,"filename":"image_26012025_21_31_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331772936","file1":"1331772933","file0":"1331772929","file4":"1331772955","file5":"1331772966","file3":"1331772953"},"map_files_photo_id_array":[{"photo_id":"1331772966","filename":"file5"},{"photo_id":"1331772936","filename":"file2"},{"photo_id":"1331772955","filename":"file4"},{"photo_id":"1331772933","filename":"file1"},{"photo_id":"1331772929","filename":"file0"},{"photo_id":"1331772953","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331772955":["hashtag1","hashtag2"]},{"1331772936":["hashtag1","hashtag2"]},{"1331772966":["hashtag1","hashtag2"]},{"1331772933":["hashtag1","hashtag2"]},{"1331772953":["hashtag1","hashtag2"]},{"1331772929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331772955, 1331772936, 1331772966, 1331772933, 1331772953, 1331772929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.11223268508911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:52:32.195888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_15_10363.jpg', '/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_25_9478.jpg', '/home/pi/Desktop/images/26012025/21/33/image_26012025_21_34_05_10353.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_15_9471.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_25_10375.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_34_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_15_10363.jpg
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_25_9478.jpg
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_34_05_10353.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_15_9471.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_25_10375.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_34_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.573714017868042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:52:42.226546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_15_10363.jpg', '/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_25_9478.jpg', '/home/pi/Desktop/images/26012025/21/33/image_26012025_21_34_05_10353.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_15_9471.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_25_10375.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_34_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_15_10363.jpg
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_33_25_9478.jpg
/home/pi/Desktop/images/26012025/21/33/image_26012025_21_34_05_10353.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_15_9471.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_25_10375.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_34_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":["1331773003","1331772996","1331773014","1331773008","1331773010","1331773013"],"photo_ids_order":["1331772996","1331773003","1331773008","1331773010","1331773013","1331773014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76c8823d8e33d6f046176f3cc5c8fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody1307738025166948072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_33_25_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/26/634fc9664b1ee88ed116cc79dc411541.jpg","text":"TemporaryFile(/tmp/multipartBody9145920166861056721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_33_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/26/1fa70e435c5d4c1494dc047cb1057b77.jpg","text":"TemporaryFile(/tmp/multipartBody8797310223319065396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_34_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/26/210cdcd81692c05d48f8a3b2863e4beb.jpg","text":"TemporaryFile(/tmp/multipartBody7943533255821361406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_34_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/26/c5800dde88b452a2fa302cac7f2213c3.jpg","text":"TemporaryFile(/tmp/multipartBody5451850108999003661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_34_15_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/26/7a00c0333415482d64d68e45a3d0cb40.jpg","text":"TemporaryFile(/tmp/multipartBody5913614198362745755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924823146,"filename":"image_26012025_21_34_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773008","file1":"1331773003","file0":"1331772996","file4":"1331773013","file5":"1331773014","file3":"1331773010"},"map_files_photo_id_array":[{"photo_id":"1331773014","filename":"file5"},{"photo_id":"1331773008","filename":"file2"},{"photo_id":"1331773013","filename":"file4"},{"photo_id":"1331773003","filename":"file1"},{"photo_id":"1331772996","filename":"file0"},{"photo_id":"1331773010","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773003":["hashtag1","hashtag2"]},{"1331772996":["hashtag1","hashtag2"]},{"1331773014":["hashtag1","hashtag2"]},{"1331773008":["hashtag1","hashtag2"]},{"1331773010":["hashtag1","hashtag2"]},{"1331773013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773003, 1331772996, 1331773014, 1331773008, 1331773010, 1331773013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88192296028137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:53:32.485368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_45_10467.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_55_10355.jpg', '/home/pi/Desktop/images/26012025/21/34/image_26012025_21_35_05_9407.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_15_10357.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_24_9350.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_35_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_45_10467.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_34_55_10355.jpg
/home/pi/Desktop/images/26012025/21/34/image_26012025_21_35_05_9407.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_15_10357.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_24_9350.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_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":["1331773035","1331773023","1331773026","1331773020","1331773034","1331773031"],"photo_ids_order":["1331773020","1331773023","1331773026","1331773031","1331773034","1331773035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/239263af7a68a9bf05efc0d1cda8b12a.jpg","text":"TemporaryFile(/tmp/multipartBody5450041080623047176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_35_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/26/915c37502be21888f7aaf191570cc31a.jpg","text":"TemporaryFile(/tmp/multipartBody1373807315025516179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_34_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/26/775581c648c461f2e6bfd25f5bd65222.jpg","text":"TemporaryFile(/tmp/multipartBody364504833883852498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_35_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4c38c7d406546e1d4f7387ed8cec612e.jpg","text":"TemporaryFile(/tmp/multipartBody429135264563710425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_34_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/26/1a7cf93e4371e4e12be5319b2fadb00a.jpg","text":"TemporaryFile(/tmp/multipartBody4845112297789378559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_35_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a98734dfbabc78f6600c8d6e016ebff.jpg","text":"TemporaryFile(/tmp/multipartBody8638876750147100989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924873421,"filename":"image_26012025_21_35_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773026","file1":"1331773023","file0":"1331773020","file4":"1331773034","file5":"1331773035","file3":"1331773031"},"map_files_photo_id_array":[{"photo_id":"1331773035","filename":"file5"},{"photo_id":"1331773026","filename":"file2"},{"photo_id":"1331773034","filename":"file4"},{"photo_id":"1331773023","filename":"file1"},{"photo_id":"1331773020","filename":"file0"},{"photo_id":"1331773031","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773035":["hashtag1","hashtag2"]},{"1331773023":["hashtag1","hashtag2"]},{"1331773026":["hashtag1","hashtag2"]},{"1331773020":["hashtag1","hashtag2"]},{"1331773034":["hashtag1","hashtag2"]},{"1331773031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773035, 1331773023, 1331773026, 1331773020, 1331773034, 1331773031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.2977659702301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:54:32.643068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_45_10367.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_54_9351.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_36_05_10348.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_15_10341.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_24_9339.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_35_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_45_10367.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_54_9351.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_36_05_10348.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_15_10341.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_24_9339.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_35_10422.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5223908424377441 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:54:42.666702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_45_10367.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_54_9351.jpg', '/home/pi/Desktop/images/26012025/21/35/image_26012025_21_36_05_10348.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_15_10341.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_24_9339.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_35_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_45_10367.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_35_54_9351.jpg
/home/pi/Desktop/images/26012025/21/35/image_26012025_21_36_05_10348.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_15_10341.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_24_9339.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_35_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331773102","1331773062","1331773110","1331773087","1331773106","1331773066"],"photo_ids_order":["1331773062","1331773066","1331773087","1331773102","1331773106","1331773110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7cc8650033c32527f847f9a4b129667c.jpg","text":"TemporaryFile(/tmp/multipartBody2329413504173351341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_36_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/26/19a3127c4c1c4cf6e76f1a00f45865f1.jpg","text":"TemporaryFile(/tmp/multipartBody3428633607774684539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_35_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/26/aae6972b9ac70af31773327e9717bd37.jpg","text":"TemporaryFile(/tmp/multipartBody1374200059713874894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_36_35_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/26/4caa608110d82fe2e29dce9b3bb86774.jpg","text":"TemporaryFile(/tmp/multipartBody3000077147111942144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_36_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/26/20fc7d2616eb3205ba98146b45f60aff.jpg","text":"TemporaryFile(/tmp/multipartBody5975938250018801358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_36_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8aaa4f27d20b88e7fb8098b2fbc28ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7028560829609513334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924943596,"filename":"image_26012025_21_35_54_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773087","file1":"1331773066","file0":"1331773062","file4":"1331773106","file5":"1331773110","file3":"1331773102"},"map_files_photo_id_array":[{"photo_id":"1331773110","filename":"file5"},{"photo_id":"1331773087","filename":"file2"},{"photo_id":"1331773106","filename":"file4"},{"photo_id":"1331773066","filename":"file1"},{"photo_id":"1331773062","filename":"file0"},{"photo_id":"1331773102","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773102":["hashtag1","hashtag2"]},{"1331773062":["hashtag1","hashtag2"]},{"1331773110":["hashtag1","hashtag2"]},{"1331773087":["hashtag1","hashtag2"]},{"1331773106":["hashtag1","hashtag2"]},{"1331773066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773102, 1331773062, 1331773110, 1331773087, 1331773106, 1331773066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.914738178253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:55:32.919997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_55_9403.jpg', '/home/pi/Desktop/images/26012025/21/36/image_26012025_21_37_05_10351.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_14_9358.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_25_10378.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_35_10351.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_44_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_36_55_9403.jpg
/home/pi/Desktop/images/26012025/21/36/image_26012025_21_37_05_10351.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_14_9358.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_25_10378.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_35_10351.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_44_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":["1331773129","1331773134","1331773131","1331773133","1331773127","1331773123"],"photo_ids_order":["1331773123","1331773127","1331773129","1331773131","1331773133","1331773134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e69438fc9dfadfca9fe2bde04661f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2371214903115788282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_37_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/26/b7c067bd650228aa30ebf98084553d87.jpg","text":"TemporaryFile(/tmp/multipartBody4949159854708873596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_37_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a053c7261623a6ac0fcd0bd3a65f5f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4204485963565886494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_37_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/26/3c12d2f702090d210b499c39b4c26f82.jpg","text":"TemporaryFile(/tmp/multipartBody6734910696582497421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_37_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/26/0a226890f6114bdb9c84cc1c143eb3f0.jpg","text":"TemporaryFile(/tmp/multipartBody1112823213930225348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_37_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/26/6728bb823d32dc38efef8e5cff7c83b1.jpg","text":"TemporaryFile(/tmp/multipartBody5994028548325670674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737924993841,"filename":"image_26012025_21_36_55_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773129","file1":"1331773127","file0":"1331773123","file4":"1331773133","file5":"1331773134","file3":"1331773131"},"map_files_photo_id_array":[{"photo_id":"1331773134","filename":"file5"},{"photo_id":"1331773129","filename":"file2"},{"photo_id":"1331773133","filename":"file4"},{"photo_id":"1331773127","filename":"file1"},{"photo_id":"1331773123","filename":"file0"},{"photo_id":"1331773131","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773129":["hashtag1","hashtag2"]},{"1331773134":["hashtag1","hashtag2"]},{"1331773131":["hashtag1","hashtag2"]},{"1331773133":["hashtag1","hashtag2"]},{"1331773127":["hashtag1","hashtag2"]},{"1331773123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773129, 1331773134, 1331773131, 1331773133, 1331773127, 1331773123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36821508407593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:56:33.226643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_55_10364.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_38_05_10372.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_14_9331.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_25_10385.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_45_10433.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_55_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_55_10364.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_38_05_10372.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_14_9331.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_25_10385.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_45_10433.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_55_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.52413010597229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 21:56:43.141162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_55_10364.jpg', '/home/pi/Desktop/images/26012025/21/37/image_26012025_21_38_05_10372.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_14_9331.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_25_10385.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_45_10433.jpg', '/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_55_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_37_55_10364.jpg
/home/pi/Desktop/images/26012025/21/37/image_26012025_21_38_05_10372.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_14_9331.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_25_10385.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_45_10433.jpg
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_38_55_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":["1331773164","1331773166","1331773160","1331773154","1331773192","1331773174"],"photo_ids_order":["1331773154","1331773160","1331773164","1331773166","1331773174","1331773192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7267cefc9f129d35ba66b2241d8a91d6.jpg","text":"TemporaryFile(/tmp/multipartBody3735439718915246003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_38_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/26/33efc4bb3bddb098d66583e116a1fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody4845874899802128398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_38_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/60059ee386764aa50dc8df28a8c7ef29.jpg","text":"TemporaryFile(/tmp/multipartBody3207632193422234729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_38_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/26/934b4d2c7b7fa365f9d8fa6ced3f6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2190585153077313112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_37_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/26/240f61a3b7ff80d5841c39990b9674dc.jpg","text":"TemporaryFile(/tmp/multipartBody1744756461772148919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_38_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/26/e6d08750e386d723a789fc0f8bf74699.jpg","text":"TemporaryFile(/tmp/multipartBody8537163194582844918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925064059,"filename":"image_26012025_21_38_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773164","file1":"1331773160","file0":"1331773154","file4":"1331773174","file5":"1331773192","file3":"1331773166"},"map_files_photo_id_array":[{"photo_id":"1331773192","filename":"file5"},{"photo_id":"1331773164","filename":"file2"},{"photo_id":"1331773174","filename":"file4"},{"photo_id":"1331773160","filename":"file1"},{"photo_id":"1331773154","filename":"file0"},{"photo_id":"1331773166","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773164":["hashtag1","hashtag2"]},{"1331773166":["hashtag1","hashtag2"]},{"1331773160":["hashtag1","hashtag2"]},{"1331773154":["hashtag1","hashtag2"]},{"1331773192":["hashtag1","hashtag2"]},{"1331773174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773164, 1331773166, 1331773160, 1331773154, 1331773192, 1331773174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97434449195862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 21:57:32.504414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/38/image_26012025_21_39_04_9342.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_15_10356.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_25_10372.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_45_10462.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_54_9355.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_40_05_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_39_04_9342.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_15_10356.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_25_10372.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_45_10462.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_54_9355.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_40_05_10431.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-26 21:59:04.198685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/38/image_26012025_21_39_04_9342.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_15_10356.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_25_10372.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_45_10462.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_54_9355.jpg', '/home/pi/Desktop/images/26012025/21/39/image_26012025_21_40_05_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/38/image_26012025_21_39_04_9342.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_15_10356.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_25_10372.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_45_10462.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_39_54_9355.jpg
/home/pi/Desktop/images/26012025/21/39/image_26012025_21_40_05_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":["1331773275","1331773269","1331773236","1331773305","1331773301","1331773231"],"photo_ids_order":["1331773231","1331773236","1331773269","1331773275","1331773301","1331773305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f95870b968181de16a7ebbd6e77ed2af.jpg","text":"TemporaryFile(/tmp/multipartBody8052047267154914266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_21_39_45_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/26/1bfb7177d307acc31db92052ca9cfc06.jpg","text":"TemporaryFile(/tmp/multipartBody2772089039163475714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_21_39_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/26/6fadc5ea7245b75b1ff6f21c13f76441.jpg","text":"TemporaryFile(/tmp/multipartBody5538554065902547363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_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/26/66d3fc9f3cd426ee1ccac7f558ef139e.jpg","text":"TemporaryFile(/tmp/multipartBody1717903923470143000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_21_40_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d2c8a34733ddb22fa20734248d16748a.jpg","text":"TemporaryFile(/tmp/multipartBody6673199509141300069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_21_39_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/26/a0104361b9d08519f505a36bb6f13b38.jpg","text":"TemporaryFile(/tmp/multipartBody7053667984205601963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925205169,"filename":"image_26012025_21_39_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773269","file1":"1331773236","file0":"1331773231","file4":"1331773301","file5":"1331773305","file3":"1331773275"},"map_files_photo_id_array":[{"photo_id":"1331773305","filename":"file5"},{"photo_id":"1331773269","filename":"file2"},{"photo_id":"1331773301","filename":"file4"},{"photo_id":"1331773236","filename":"file1"},{"photo_id":"1331773231","filename":"file0"},{"photo_id":"1331773275","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773275":["hashtag1","hashtag2"]},{"1331773269":["hashtag1","hashtag2"]},{"1331773236":["hashtag1","hashtag2"]},{"1331773305":["hashtag1","hashtag2"]},{"1331773301":["hashtag1","hashtag2"]},{"1331773231":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773275, 1331773269, 1331773236, 1331773305, 1331773301, 1331773231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92753767967224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 21:59:53.032281
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_36_9496.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_46_10357.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_57_10361.jpg', '/home/pi/Desktop/images/23012025/22/19/image_23012025_22_20_06_9344.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_16_10341.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_26_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_36_9496.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_46_10357.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_19_57_10361.jpg
/home/pi/Desktop/images/23012025/22/19/image_23012025_22_20_06_9344.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_16_10341.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_26_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331773405","1331773408","1331773314","1331773316","1331773321","1331773318"],"photo_ids_order":["1331773314","1331773316","1331773318","1331773321","1331773405","1331773408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e5bf07afb6d48b0550e2b34ca6658387.jpg","text":"TemporaryFile(/tmp/multipartBody3669003661302494306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_20_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ff0e4197ad3b7e7100ca074fa05c6b04.jpg","text":"TemporaryFile(/tmp/multipartBody8200212815283785769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_20_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/26/353c8df766bf0ebc947643c552605048.jpg","text":"TemporaryFile(/tmp/multipartBody341892377383224703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_19_36_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/26/55087eb2fc2debfe7e96c961393901d4.jpg","text":"TemporaryFile(/tmp/multipartBody8836988908078681576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_19_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/26/57a607a8e668d2936733c1893f817876.jpg","text":"TemporaryFile(/tmp/multipartBody8313785575042624548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_20_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/26/dab81f131f14303dbfbfa4801ff76004.jpg","text":"TemporaryFile(/tmp/multipartBody2282408221716159322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925255392,"filename":"image_23012025_22_19_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773318","file1":"1331773316","file0":"1331773314","file4":"1331773405","file5":"1331773408","file3":"1331773321"},"map_files_photo_id_array":[{"photo_id":"1331773408","filename":"file5"},{"photo_id":"1331773318","filename":"file2"},{"photo_id":"1331773405","filename":"file4"},{"photo_id":"1331773316","filename":"file1"},{"photo_id":"1331773314","filename":"file0"},{"photo_id":"1331773321","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331773405":["hashtag1","hashtag2"]},{"1331773408":["hashtag1","hashtag2"]},{"1331773314":["hashtag1","hashtag2"]},{"1331773316":["hashtag1","hashtag2"]},{"1331773321":["hashtag1","hashtag2"]},{"1331773318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331773405, 1331773408, 1331773314, 1331773316, 1331773321, 1331773318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23398971557617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:00:42.216545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_15_10339.jpg', '/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_25_9425.jpg', '/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_44_9353.jpg', '/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_55_10449.jpg', '/home/pi/Desktop/images/26012025/21/40/image_26012025_21_41_05_10428.jpg', '/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_25_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_15_10339.jpg
/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_25_9425.jpg
/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_44_9353.jpg
/home/pi/Desktop/images/26012025/21/40/image_26012025_21_40_55_10449.jpg
/home/pi/Desktop/images/26012025/21/40/image_26012025_21_41_05_10428.jpg
/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_25_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331773479","1331773473","1331773472","1331773469","1331773430","1331773477"],"photo_ids_order":["1331773430","1331773469","1331773472","1331773473","1331773477","1331773479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/43b2fb483eb4026f9a9da31451728270.jpg","text":"TemporaryFile(/tmp/multipartBody8718601173260652662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_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/26/87ccc2bb1a76cb97dbaa0fa0b0f18b15.jpg","text":"TemporaryFile(/tmp/multipartBody833204063820931764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_40_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e9eb409b6329442b8cb1cb0cb52e796.jpg","text":"TemporaryFile(/tmp/multipartBody7905593204526981782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_40_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fab34766b837ada73253819db8922afe.jpg","text":"TemporaryFile(/tmp/multipartBody2539835758340744022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_40_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/26/9d63c4055f5b6d16eeaa155760a929f5.jpg","text":"TemporaryFile(/tmp/multipartBody5477997850331421735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_40_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/26/15cad76151c038a2bcf870bf5d51e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody439673079173793072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925303141,"filename":"image_26012025_21_41_05_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773472","file1":"1331773469","file0":"1331773430","file4":"1331773477","file5":"1331773479","file3":"1331773473"},"map_files_photo_id_array":[{"photo_id":"1331773479","filename":"file5"},{"photo_id":"1331773472","filename":"file2"},{"photo_id":"1331773477","filename":"file4"},{"photo_id":"1331773469","filename":"file1"},{"photo_id":"1331773430","filename":"file0"},{"photo_id":"1331773473","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773479":["hashtag1","hashtag2"]},{"1331773473":["hashtag1","hashtag2"]},{"1331773472":["hashtag1","hashtag2"]},{"1331773469":["hashtag1","hashtag2"]},{"1331773430":["hashtag1","hashtag2"]},{"1331773477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773479, 1331773473, 1331773472, 1331773469, 1331773430, 1331773477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.323524475097656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:01:32.392041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_34_9368.jpg', '/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_55_10356.jpg', '/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_15_10347.jpg', '/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_25_10362.jpg', '/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_35_9361.jpg', '/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_45_10408.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_34_9368.jpg
/home/pi/Desktop/images/26012025/21/41/image_26012025_21_41_55_10356.jpg
/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_15_10347.jpg
/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_25_10362.jpg
/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_35_9361.jpg
/home/pi/Desktop/images/26012025/21/42/image_26012025_21_42_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":["1331773992","1331773513","1331773507","1331773509","1331773670","1331773511"],"photo_ids_order":["1331773507","1331773509","1331773511","1331773513","1331773670","1331773992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45bac5572b1086462bbef4eb92d5bfc8.jpg","text":"TemporaryFile(/tmp/multipartBody5095538295308081437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_42_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/26/326941990000026cb7bf5359d21364da.jpg","text":"TemporaryFile(/tmp/multipartBody4638390842539150487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_42_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/26/3bbb98b757b507e00011147ea905bc5e.jpg","text":"TemporaryFile(/tmp/multipartBody3425005729216079832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_41_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/20d4a9eb8fa6c04119bd58825d7ed816.jpg","text":"TemporaryFile(/tmp/multipartBody4200267896879955390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_41_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/26/40872452ea12e41a4343d8738fb0b0bc.jpg","text":"TemporaryFile(/tmp/multipartBody3788623539707677452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_42_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/26/a45cdc28fd586e07f7df8c78d8972823.jpg","text":"TemporaryFile(/tmp/multipartBody1337456167434669089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925353296,"filename":"image_26012025_21_42_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331773511","file1":"1331773509","file0":"1331773507","file4":"1331773670","file5":"1331773992","file3":"1331773513"},"map_files_photo_id_array":[{"photo_id":"1331773992","filename":"file5"},{"photo_id":"1331773511","filename":"file2"},{"photo_id":"1331773670","filename":"file4"},{"photo_id":"1331773509","filename":"file1"},{"photo_id":"1331773507","filename":"file0"},{"photo_id":"1331773513","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331773992":["hashtag1","hashtag2"]},{"1331773513":["hashtag1","hashtag2"]},{"1331773507":["hashtag1","hashtag2"]},{"1331773509":["hashtag1","hashtag2"]},{"1331773670":["hashtag1","hashtag2"]},{"1331773511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331773992, 1331773513, 1331773507, 1331773509, 1331773670, 1331773511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85971474647522 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:02:32.652562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/42/image_26012025_21_43_05_10467.jpg', '/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_15_10335.jpg', '/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_25_9410.jpg', '/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_35_10365.jpg', '/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_44_9358.jpg', '/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_55_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/42/image_26012025_21_43_05_10467.jpg
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_15_10335.jpg
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_25_9410.jpg
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_35_10365.jpg
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_44_9358.jpg
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_43_55_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":["1331774715","1331774162","1331774006","1331774368","1331774083","1331774716"],"photo_ids_order":["1331774006","1331774083","1331774162","1331774368","1331774715","1331774716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cafec27ae4bf932b81774cc008284a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3368065083119923436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_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/26/b1491a6c3ea148c4283a147f0b054359.jpg","text":"TemporaryFile(/tmp/multipartBody1186456505000396908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_25_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ee1f5793700a9440e04c78088b2ec00.jpg","text":"TemporaryFile(/tmp/multipartBody5452215058332177461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_05_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/26/8f1b6745422c75a75ec05aba6813e421.jpg","text":"TemporaryFile(/tmp/multipartBody1316897976880664396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_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/26/6dfb04d8da487259c441bf4bd6cc23fe.jpg","text":"TemporaryFile(/tmp/multipartBody6428224918574318802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_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/26/cc3a90060ce53d8b313738e05bb76426.jpg","text":"TemporaryFile(/tmp/multipartBody2334467010864439757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925413586,"filename":"image_26012025_21_43_55_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331774162","file1":"1331774083","file0":"1331774006","file4":"1331774715","file5":"1331774716","file3":"1331774368"},"map_files_photo_id_array":[{"photo_id":"1331774716","filename":"file5"},{"photo_id":"1331774162","filename":"file2"},{"photo_id":"1331774715","filename":"file4"},{"photo_id":"1331774083","filename":"file1"},{"photo_id":"1331774006","filename":"file0"},{"photo_id":"1331774368","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331774715":["hashtag1","hashtag2"]},{"1331774162":["hashtag1","hashtag2"]},{"1331774006":["hashtag1","hashtag2"]},{"1331774368":["hashtag1","hashtag2"]},{"1331774083":["hashtag1","hashtag2"]},{"1331774716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331774715, 1331774162, 1331774006, 1331774368, 1331774083, 1331774716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17349648475647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:03:32.968570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/43/image_26012025_21_44_05_10353.jpg', '/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_14_9336.jpg', '/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_25_10445.jpg', '/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_35_10368.jpg', '/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_45_9402.jpg', '/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_55_10372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/43/image_26012025_21_44_05_10353.jpg
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_14_9336.jpg
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_25_10445.jpg
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_35_10368.jpg
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_45_9402.jpg
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_44_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331776649","1331776577","1331776619","1331776415","1331776524","1331776349"],"photo_ids_order":["1331776349","1331776415","1331776524","1331776577","1331776619","1331776649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83c1516dda23bbe44a6336f1ae243580.jpg","text":"TemporaryFile(/tmp/multipartBody1959178429138333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_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/26/ff5ff47b55f77d788f937040afe4304a.jpg","text":"TemporaryFile(/tmp/multipartBody6648525348356378600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_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/26/8fd0fd22292b57ccbd312963db31b70d.jpg","text":"TemporaryFile(/tmp/multipartBody6227155190208769233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_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/26/f384f8fb932c838e46942348afb623f2.jpg","text":"TemporaryFile(/tmp/multipartBody7277033920902831801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/908b34ad7fa12a9833d3d0c1f6793917.jpg","text":"TemporaryFile(/tmp/multipartBody6671511817873986343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_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/26/11489be23d2696b45ee159ee94934297.jpg","text":"TemporaryFile(/tmp/multipartBody1099289761173465381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925473905,"filename":"image_26012025_21_44_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331776524","file1":"1331776415","file0":"1331776349","file4":"1331776619","file5":"1331776649","file3":"1331776577"},"map_files_photo_id_array":[{"photo_id":"1331776649","filename":"file5"},{"photo_id":"1331776524","filename":"file2"},{"photo_id":"1331776619","filename":"file4"},{"photo_id":"1331776415","filename":"file1"},{"photo_id":"1331776349","filename":"file0"},{"photo_id":"1331776577","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331776649":["hashtag1","hashtag2"]},{"1331776577":["hashtag1","hashtag2"]},{"1331776619":["hashtag1","hashtag2"]},{"1331776415":["hashtag1","hashtag2"]},{"1331776524":["hashtag1","hashtag2"]},{"1331776349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331776649, 1331776577, 1331776619, 1331776415, 1331776524, 1331776349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.946274518966675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:04:32.222126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/44/image_26012025_21_45_04_9377.jpg', '/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_15_10464.jpg', '/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_25_10360.jpg', '/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_35_9401.jpg', '/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_45_10359.jpg', '/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_54_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/44/image_26012025_21_45_04_9377.jpg
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_15_10464.jpg
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_25_10360.jpg
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_35_9401.jpg
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_45_10359.jpg
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_45_54_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331776671","1331776674","1331776683","1331776682","1331776679","1331776667"],"photo_ids_order":["1331776667","1331776671","1331776674","1331776679","1331776682","1331776683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2ad93621cf07bb1afbb7b781308a50f1.jpg","text":"TemporaryFile(/tmp/multipartBody1739319170754257478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_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/26/fdaec44c30ce95a95aecc9b68ab24cc7.jpg","text":"TemporaryFile(/tmp/multipartBody7438444811672412555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5eba42dab06e43744ff3c29be65d39e1.jpg","text":"TemporaryFile(/tmp/multipartBody1391423041914207732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_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/26/183555d6dfe615a36591bc062dcdf1f9.jpg","text":"TemporaryFile(/tmp/multipartBody7080755295448968287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_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/26/549cc5d7b6b3b942116e67b34533152b.jpg","text":"TemporaryFile(/tmp/multipartBody5442098471773231082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_35_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5fd1e7572e0adf619b097a16de6e3ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1932519925595520663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925533129,"filename":"image_26012025_21_45_04_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331776674","file1":"1331776671","file0":"1331776667","file4":"1331776682","file5":"1331776683","file3":"1331776679"},"map_files_photo_id_array":[{"photo_id":"1331776683","filename":"file5"},{"photo_id":"1331776674","filename":"file2"},{"photo_id":"1331776682","filename":"file4"},{"photo_id":"1331776671","filename":"file1"},{"photo_id":"1331776667","filename":"file0"},{"photo_id":"1331776679","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331776671":["hashtag1","hashtag2"]},{"1331776674":["hashtag1","hashtag2"]},{"1331776683":["hashtag1","hashtag2"]},{"1331776682":["hashtag1","hashtag2"]},{"1331776679":["hashtag1","hashtag2"]},{"1331776667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331776671, 1331776674, 1331776683, 1331776682, 1331776679, 1331776667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.10435438156128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:05:32.438889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/45/image_26012025_21_46_05_10354.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_15_10346.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_24_9366.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_35_10352.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_45_10379.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_54_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_46_05_10354.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_15_10346.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_24_9366.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_35_10352.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_45_10379.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_54_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.5543935298919678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:05:42.567215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/45/image_26012025_21_46_05_10354.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_15_10346.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_24_9366.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_35_10352.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_45_10379.jpg', '/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_54_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/45/image_26012025_21_46_05_10354.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_15_10346.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_24_9366.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_35_10352.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_45_10379.jpg
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_46_54_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":["1331777350","1331777251","1331777354","1331777264","1331777303","1331777246"],"photo_ids_order":["1331777246","1331777251","1331777264","1331777303","1331777350","1331777354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33cbace6707597c3eaf6e94f5d13e994.jpg","text":"TemporaryFile(/tmp/multipartBody2882757604866189270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_45_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/26/aab032536f173a5bdd62985cdc7d7bba.jpg","text":"TemporaryFile(/tmp/multipartBody3962659399568972928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_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/26/d434aed63b6f4b37425f0b4bbf302b6c.jpg","text":"TemporaryFile(/tmp/multipartBody767355447982937019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4e566ad7a3e23d58f5de3cb198c717d9.jpg","text":"TemporaryFile(/tmp/multipartBody4321615503079602822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91a94fb07aeeb8c28d2e6b9e68638e95.jpg","text":"TemporaryFile(/tmp/multipartBody3311628911882224479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/817fef49fa470cc45ebe7da0477f9a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6743131500609492013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925603473,"filename":"image_26012025_21_46_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777264","file1":"1331777251","file0":"1331777246","file4":"1331777350","file5":"1331777354","file3":"1331777303"},"map_files_photo_id_array":[{"photo_id":"1331777354","filename":"file5"},{"photo_id":"1331777264","filename":"file2"},{"photo_id":"1331777350","filename":"file4"},{"photo_id":"1331777251","filename":"file1"},{"photo_id":"1331777246","filename":"file0"},{"photo_id":"1331777303","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777350":["hashtag1","hashtag2"]},{"1331777251":["hashtag1","hashtag2"]},{"1331777354":["hashtag1","hashtag2"]},{"1331777264":["hashtag1","hashtag2"]},{"1331777303":["hashtag1","hashtag2"]},{"1331777246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777350, 1331777251, 1331777354, 1331777264, 1331777303, 1331777246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.093119382858276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:06:32.687223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/46/image_26012025_21_47_05_10399.jpg', '/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_15_10349.jpg', '/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_25_9463.jpg', '/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_35_10414.jpg', '/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_55_10463.jpg', '/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_25_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/46/image_26012025_21_47_05_10399.jpg
/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_15_10349.jpg
/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_25_9463.jpg
/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_35_10414.jpg
/home/pi/Desktop/images/26012025/21/47/image_26012025_21_47_55_10463.jpg
/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_25_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":["1331777405","1331777395","1331777408","1331777401","1331777391","1331777410"],"photo_ids_order":["1331777391","1331777395","1331777401","1331777405","1331777408","1331777410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/508690091a8bc2a435c8966cf4ccf361.jpg","text":"TemporaryFile(/tmp/multipartBody6244965426728461706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_47_35_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d836dc327caa190d30840834d8f856e.jpg","text":"TemporaryFile(/tmp/multipartBody3428017190771123196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_47_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/26/902c298760093620be8d26320cb2ad12.jpg","text":"TemporaryFile(/tmp/multipartBody7949081614494424934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_47_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/26/367b766d0f738f5570db7113520ba7ca.jpg","text":"TemporaryFile(/tmp/multipartBody5956773547284367263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_47_25_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd550e5651eddd9a35dfa5b8479f2297.jpg","text":"TemporaryFile(/tmp/multipartBody18216205896802935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_47_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/26/383dc18aad21eaab5b6e0703bd6d1e93.jpg","text":"TemporaryFile(/tmp/multipartBody4128444587368963338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925653598,"filename":"image_26012025_21_48_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777401","file1":"1331777395","file0":"1331777391","file4":"1331777408","file5":"1331777410","file3":"1331777405"},"map_files_photo_id_array":[{"photo_id":"1331777410","filename":"file5"},{"photo_id":"1331777401","filename":"file2"},{"photo_id":"1331777408","filename":"file4"},{"photo_id":"1331777395","filename":"file1"},{"photo_id":"1331777391","filename":"file0"},{"photo_id":"1331777405","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777405":["hashtag1","hashtag2"]},{"1331777395":["hashtag1","hashtag2"]},{"1331777408":["hashtag1","hashtag2"]},{"1331777401":["hashtag1","hashtag2"]},{"1331777391":["hashtag1","hashtag2"]},{"1331777410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777405, 1331777395, 1331777408, 1331777401, 1331777391, 1331777410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.287304639816284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:07:32.978897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_34_9362.jpg', '/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_45_10433.jpg', '/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_55_10351.jpg', '/home/pi/Desktop/images/26012025/21/48/image_26012025_21_49_05_9448.jpg', '/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_15_10432.jpg', '/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_24_9338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_34_9362.jpg
/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_45_10433.jpg
/home/pi/Desktop/images/26012025/21/48/image_26012025_21_48_55_10351.jpg
/home/pi/Desktop/images/26012025/21/48/image_26012025_21_49_05_9448.jpg
/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_15_10432.jpg
/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_24_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":["1331777426","1331777437","1331777434","1331777429","1331777438","1331777423"],"photo_ids_order":["1331777423","1331777426","1331777429","1331777434","1331777437","1331777438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bbdfecd4c5178824bfdeb9eedbae2dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5039178414704130921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_48_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/26/c06af7c015da2fbc44ac2f0018b9725f.jpg","text":"TemporaryFile(/tmp/multipartBody5819738478150129043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_49_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/26/948183e8d7eff45c548e5bfb6904b868.jpg","text":"TemporaryFile(/tmp/multipartBody3212694675612765171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_49_05_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd4841208a34bf5ccee7eb904c4a7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody653298575905237032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_48_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/26/643bc6227369db4fe1b9101aef4c3287.jpg","text":"TemporaryFile(/tmp/multipartBody1464273448053217049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_49_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/26/2b1b42ab4a962ec5ca23824f197ba947.jpg","text":"TemporaryFile(/tmp/multipartBody9035488380848469715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925713917,"filename":"image_26012025_21_48_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777429","file1":"1331777426","file0":"1331777423","file4":"1331777437","file5":"1331777438","file3":"1331777434"},"map_files_photo_id_array":[{"photo_id":"1331777438","filename":"file5"},{"photo_id":"1331777429","filename":"file2"},{"photo_id":"1331777437","filename":"file4"},{"photo_id":"1331777426","filename":"file1"},{"photo_id":"1331777423","filename":"file0"},{"photo_id":"1331777434","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777426":["hashtag1","hashtag2"]},{"1331777437":["hashtag1","hashtag2"]},{"1331777434":["hashtag1","hashtag2"]},{"1331777429":["hashtag1","hashtag2"]},{"1331777438":["hashtag1","hashtag2"]},{"1331777423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777426, 1331777437, 1331777434, 1331777429, 1331777438, 1331777423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.941078424453735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:08:32.181171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_35_10363.jpg', '/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_45_10360.jpg', '/home/pi/Desktop/images/26012025/21/49/image_26012025_21_50_05_10388.jpg', '/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_14_9337.jpg', '/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_25_10353.jpg', '/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_44_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_35_10363.jpg
/home/pi/Desktop/images/26012025/21/49/image_26012025_21_49_45_10360.jpg
/home/pi/Desktop/images/26012025/21/49/image_26012025_21_50_05_10388.jpg
/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_14_9337.jpg
/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_25_10353.jpg
/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_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":["1331777446","1331777460","1331777448","1331777451","1331777459","1331777456"],"photo_ids_order":["1331777446","1331777448","1331777451","1331777456","1331777459","1331777460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b753d435f63befd55a386be9abbdee4.jpg","text":"TemporaryFile(/tmp/multipartBody734047598118283339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_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/26/fa5554b0592d1b2dba2475acdb14c893.jpg","text":"TemporaryFile(/tmp/multipartBody7885015858931921352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_50_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/26/4d4b30f17497dd101d792c7b5cc14897.jpg","text":"TemporaryFile(/tmp/multipartBody5231034425670117390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_49_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/26/3e1c3a99067c390bfa1e51f5df28f693.jpg","text":"TemporaryFile(/tmp/multipartBody4154970864162617916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_50_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/26/cfb3916afd5582b45c3061a2ad322098.jpg","text":"TemporaryFile(/tmp/multipartBody7192256386130321375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_50_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/26/79d2dcf1e6c6ed9a7495ba410ec9588f.jpg","text":"TemporaryFile(/tmp/multipartBody4801837010952492127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925773095,"filename":"image_26012025_21_50_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777451","file1":"1331777448","file0":"1331777446","file4":"1331777459","file5":"1331777460","file3":"1331777456"},"map_files_photo_id_array":[{"photo_id":"1331777460","filename":"file5"},{"photo_id":"1331777451","filename":"file2"},{"photo_id":"1331777459","filename":"file4"},{"photo_id":"1331777448","filename":"file1"},{"photo_id":"1331777446","filename":"file0"},{"photo_id":"1331777456","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777446":["hashtag1","hashtag2"]},{"1331777460":["hashtag1","hashtag2"]},{"1331777448":["hashtag1","hashtag2"]},{"1331777451":["hashtag1","hashtag2"]},{"1331777459":["hashtag1","hashtag2"]},{"1331777456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777446, 1331777460, 1331777448, 1331777451, 1331777459, 1331777456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26803636550903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:09:32.436651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_55_10472.jpg', '/home/pi/Desktop/images/26012025/21/50/image_26012025_21_51_04_9468.jpg', '/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_15_10350.jpg', '/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_25_10362.jpg', '/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_34_9347.jpg', '/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_45_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/50/image_26012025_21_50_55_10472.jpg
/home/pi/Desktop/images/26012025/21/50/image_26012025_21_51_04_9468.jpg
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_15_10350.jpg
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_25_10362.jpg
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_34_9347.jpg
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_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":["1331777473","1331777482","1331777467","1331777477","1331777492","1331777471"],"photo_ids_order":["1331777467","1331777471","1331777473","1331777477","1331777482","1331777492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27c97f8cd0028e114f413688bd8ad05e.jpg","text":"TemporaryFile(/tmp/multipartBody227136717293615041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_51_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/26/a20c5737d2dacb54b1fe9499f17c6d61.jpg","text":"TemporaryFile(/tmp/multipartBody6988924588075709887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_51_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/26/5f1b045d3a40f217982e349d3812c596.jpg","text":"TemporaryFile(/tmp/multipartBody423333547769862897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_50_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/26/dd4de583a5de74fac4588916b5a1340e.jpg","text":"TemporaryFile(/tmp/multipartBody7458822904316026874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_51_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/26/1073ed9f9e0d099ccda8b1e7a514471a.jpg","text":"TemporaryFile(/tmp/multipartBody1493676040985361895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_51_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/26/1fe27e77b5dfe325ad276515a17450f3.jpg","text":"TemporaryFile(/tmp/multipartBody243697453511807985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925833392,"filename":"image_26012025_21_51_04_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777473","file1":"1331777471","file0":"1331777467","file4":"1331777482","file5":"1331777492","file3":"1331777477"},"map_files_photo_id_array":[{"photo_id":"1331777492","filename":"file5"},{"photo_id":"1331777473","filename":"file2"},{"photo_id":"1331777482","filename":"file4"},{"photo_id":"1331777471","filename":"file1"},{"photo_id":"1331777467","filename":"file0"},{"photo_id":"1331777477","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777473":["hashtag1","hashtag2"]},{"1331777482":["hashtag1","hashtag2"]},{"1331777467":["hashtag1","hashtag2"]},{"1331777477":["hashtag1","hashtag2"]},{"1331777492":["hashtag1","hashtag2"]},{"1331777471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777473, 1331777482, 1331777467, 1331777477, 1331777492, 1331777471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92280721664429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:10:32.688913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_55_10358.jpg', '/home/pi/Desktop/images/26012025/21/51/image_26012025_21_52_05_9399.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_15_10361.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_24_9358.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_35_10418.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_45_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_51_55_10358.jpg
/home/pi/Desktop/images/26012025/21/51/image_26012025_21_52_05_9399.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_15_10361.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_24_9358.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_35_10418.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_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":["1331777915","1331778036","1331777931","1331777919","1331778058","1331777912"],"photo_ids_order":["1331777912","1331777915","1331777919","1331777931","1331778036","1331778058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b55c88a65e497de7f4f14fe3d722d49.jpg","text":"TemporaryFile(/tmp/multipartBody4280986409384201509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_52_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/26/27476bafb382dfc832c8a3ae16509f9d.jpg","text":"TemporaryFile(/tmp/multipartBody7199394596249003707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_52_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/26/9e7f683ac03f3f9e66b1bf4b78bcc99e.jpg","text":"TemporaryFile(/tmp/multipartBody7195194273113290339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_52_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/26/553e72716ca8292a92ad1b6abe58843b.jpg","text":"TemporaryFile(/tmp/multipartBody5737164891489986424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_52_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/26/21a1953090690a124db55c6e62cf6adb.jpg","text":"TemporaryFile(/tmp/multipartBody289938715407644435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_52_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/26/0236dab1690b343e4aa0d12fc5679e73.jpg","text":"TemporaryFile(/tmp/multipartBody6208026457408453235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925893626,"filename":"image_26012025_21_51_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331777919","file1":"1331777915","file0":"1331777912","file4":"1331778036","file5":"1331778058","file3":"1331777931"},"map_files_photo_id_array":[{"photo_id":"1331778058","filename":"file5"},{"photo_id":"1331777919","filename":"file2"},{"photo_id":"1331778036","filename":"file4"},{"photo_id":"1331777915","filename":"file1"},{"photo_id":"1331777912","filename":"file0"},{"photo_id":"1331777931","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331777915":["hashtag1","hashtag2"]},{"1331778036":["hashtag1","hashtag2"]},{"1331777931":["hashtag1","hashtag2"]},{"1331777919":["hashtag1","hashtag2"]},{"1331778058":["hashtag1","hashtag2"]},{"1331777912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331777915, 1331778036, 1331777931, 1331777919, 1331778058, 1331777912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37686109542847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:11:32.904624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_54_9354.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_53_05_10338.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_15_10341.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_24_9361.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_35_10427.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_44_9496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_54_9354.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_53_05_10338.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_15_10341.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_24_9361.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_35_10427.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_44_9496.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5175380706787109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:11:42.888722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_54_9354.jpg', '/home/pi/Desktop/images/26012025/21/52/image_26012025_21_53_05_10338.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_15_10341.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_24_9361.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_35_10427.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_44_9496.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_52_54_9354.jpg
/home/pi/Desktop/images/26012025/21/52/image_26012025_21_53_05_10338.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_15_10341.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_24_9361.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_35_10427.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_44_9496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331778384","1331778378","1331778336","1331778380","1331778373","1331778376"],"photo_ids_order":["1331778336","1331778373","1331778376","1331778378","1331778380","1331778384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0226f1a4ffe79e8698996098a01616f3.jpg","text":"TemporaryFile(/tmp/multipartBody5339962014417460807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_53_44_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/686dc5a4e4fee408f34b4c56354d3109.jpg","text":"TemporaryFile(/tmp/multipartBody1675582131879666773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_53_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f304b84a3df0d87dbab68ea3b15b69c.jpg","text":"TemporaryFile(/tmp/multipartBody7418148875445104718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_52_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/26/271fdfda3c9dc819c3a01fb7bc39c97c.jpg","text":"TemporaryFile(/tmp/multipartBody899317775869913446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_53_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/26/ab625a0a430db3ca8e6f6fa2fb8a9145.jpg","text":"TemporaryFile(/tmp/multipartBody1722562430684285608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_53_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/26/22cfa92479e6b6f6234968b83ff348c3.jpg","text":"TemporaryFile(/tmp/multipartBody611553647540931267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737925963797,"filename":"image_26012025_21_53_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331778376","file1":"1331778373","file0":"1331778336","file4":"1331778380","file5":"1331778384","file3":"1331778378"},"map_files_photo_id_array":[{"photo_id":"1331778384","filename":"file5"},{"photo_id":"1331778376","filename":"file2"},{"photo_id":"1331778380","filename":"file4"},{"photo_id":"1331778373","filename":"file1"},{"photo_id":"1331778336","filename":"file0"},{"photo_id":"1331778378","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331778384":["hashtag1","hashtag2"]},{"1331778378":["hashtag1","hashtag2"]},{"1331778336":["hashtag1","hashtag2"]},{"1331778380":["hashtag1","hashtag2"]},{"1331778373":["hashtag1","hashtag2"]},{"1331778376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331778384, 1331778378, 1331778336, 1331778380, 1331778373, 1331778376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18668532371521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:12:33.147144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_55_10234.jpg', '/home/pi/Desktop/images/26012025/21/53/image_26012025_21_54_05_10431.jpg', '/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_14_9313.jpg', '/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_25_10374.jpg', '/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_34_9718.jpg', '/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_45_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_53_55_10234.jpg
/home/pi/Desktop/images/26012025/21/53/image_26012025_21_54_05_10431.jpg
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_14_9313.jpg
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_25_10374.jpg
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_34_9718.jpg
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_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":["1331778562","1331778642","1331778639","1331778573","1331778575","1331778641"],"photo_ids_order":["1331778562","1331778573","1331778575","1331778639","1331778641","1331778642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a44064fc44144a22a50c5a1c33d8ed49.jpg","text":"TemporaryFile(/tmp/multipartBody2875289395245557312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_53_55_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/26/afde7699159ad49fffc83419b1e1debb.jpg","text":"TemporaryFile(/tmp/multipartBody3276986503067182219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_54_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/26/892f43904e9510b59580c2bb06f86f97.jpg","text":"TemporaryFile(/tmp/multipartBody4496083777191037755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_54_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/26/7b97fec3c154f053078e0ec9a1eca374.jpg","text":"TemporaryFile(/tmp/multipartBody4095994872015972199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_54_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/043545abc915a2a3703f6b89f9686dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7328332841597463824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_54_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/26/6ed3093b7ee0e68249128682f5d491c1.jpg","text":"TemporaryFile(/tmp/multipartBody2008396250878288021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926014099,"filename":"image_26012025_21_54_34_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331778575","file1":"1331778573","file0":"1331778562","file4":"1331778641","file5":"1331778642","file3":"1331778639"},"map_files_photo_id_array":[{"photo_id":"1331778642","filename":"file5"},{"photo_id":"1331778575","filename":"file2"},{"photo_id":"1331778641","filename":"file4"},{"photo_id":"1331778573","filename":"file1"},{"photo_id":"1331778562","filename":"file0"},{"photo_id":"1331778639","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331778562":["hashtag1","hashtag2"]},{"1331778642":["hashtag1","hashtag2"]},{"1331778639":["hashtag1","hashtag2"]},{"1331778573":["hashtag1","hashtag2"]},{"1331778575":["hashtag1","hashtag2"]},{"1331778641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331778562, 1331778642, 1331778639, 1331778573, 1331778575, 1331778641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4579873085022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:13:32.495399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_55_10364.jpg', '/home/pi/Desktop/images/26012025/21/54/image_26012025_21_55_05_9456.jpg', '/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_15_10332.jpg', '/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_24_9338.jpg', '/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_35_10353.jpg', '/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_45_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_54_55_10364.jpg
/home/pi/Desktop/images/26012025/21/54/image_26012025_21_55_05_9456.jpg
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_15_10332.jpg
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_24_9338.jpg
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_35_10353.jpg
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_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":["1331778693","1331778699","1331778684","1331778686","1331778689","1331778691"],"photo_ids_order":["1331778684","1331778686","1331778689","1331778691","1331778693","1331778699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0f7711304f9b991d6d01235f3999d85f.jpg","text":"TemporaryFile(/tmp/multipartBody5628099676394736767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_55_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7204511f43a3e6caa3c950bee2482214.jpg","text":"TemporaryFile(/tmp/multipartBody804801357728117313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_55_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/26/e45cade0a535d3ce64a487a90aaf160d.jpg","text":"TemporaryFile(/tmp/multipartBody3240327239514719153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_54_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/26/9ce89df0f42e6b9a6c276ecdf03db2e8.jpg","text":"TemporaryFile(/tmp/multipartBody6804225597729351774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_55_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/26/4c678ba8e004330ab2ece54e2b4b80b7.jpg","text":"TemporaryFile(/tmp/multipartBody108937062639156896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_55_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/26/35a5bd17139d6803613189d31487ac61.jpg","text":"TemporaryFile(/tmp/multipartBody4876621542599856979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926073406,"filename":"image_26012025_21_55_24_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331778689","file1":"1331778686","file0":"1331778684","file4":"1331778693","file5":"1331778699","file3":"1331778691"},"map_files_photo_id_array":[{"photo_id":"1331778699","filename":"file5"},{"photo_id":"1331778689","filename":"file2"},{"photo_id":"1331778693","filename":"file4"},{"photo_id":"1331778686","filename":"file1"},{"photo_id":"1331778684","filename":"file0"},{"photo_id":"1331778691","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331778693":["hashtag1","hashtag2"]},{"1331778699":["hashtag1","hashtag2"]},{"1331778684":["hashtag1","hashtag2"]},{"1331778686":["hashtag1","hashtag2"]},{"1331778689":["hashtag1","hashtag2"]},{"1331778691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331778693, 1331778699, 1331778684, 1331778686, 1331778689, 1331778691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.75681757926941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:14:32.519193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_55_9468.jpg', '/home/pi/Desktop/images/26012025/21/55/image_26012025_21_56_05_10351.jpg', '/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_15_10343.jpg', '/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_25_9429.jpg', '/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_44_9353.jpg', '/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_55_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_55_55_9468.jpg
/home/pi/Desktop/images/26012025/21/55/image_26012025_21_56_05_10351.jpg
/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_15_10343.jpg
/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_25_9429.jpg
/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_44_9353.jpg
/home/pi/Desktop/images/26012025/21/56/image_26012025_21_56_55_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":["1331778721","1331778715","1331778718","1331778706","1331778711","1331778708"],"photo_ids_order":["1331778706","1331778708","1331778711","1331778715","1331778718","1331778721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e2069c4d82177fcf3fbd178b0cd865cb.jpg","text":"TemporaryFile(/tmp/multipartBody3020616206018515353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_56_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/26/f183945eca0e5d469a84963b28fb7291.jpg","text":"TemporaryFile(/tmp/multipartBody9137981868581522429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_56_25_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/26/1b239a119790b75cdfab45521faa83fe.jpg","text":"TemporaryFile(/tmp/multipartBody5272224454764036561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_56_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/55f3aab96a4ddb17f36c51cdbb2d643f.jpg","text":"TemporaryFile(/tmp/multipartBody5508296383856004102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_55_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/26/1c659250a7b7ebfc1f9a944e38610c90.jpg","text":"TemporaryFile(/tmp/multipartBody6831242339509121002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_56_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/26/52e4f3816fb7477376119dca2c44c13c.jpg","text":"TemporaryFile(/tmp/multipartBody8715850432222356156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926133435,"filename":"image_26012025_21_56_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331778711","file1":"1331778708","file0":"1331778706","file4":"1331778718","file5":"1331778721","file3":"1331778715"},"map_files_photo_id_array":[{"photo_id":"1331778721","filename":"file5"},{"photo_id":"1331778711","filename":"file2"},{"photo_id":"1331778718","filename":"file4"},{"photo_id":"1331778708","filename":"file1"},{"photo_id":"1331778706","filename":"file0"},{"photo_id":"1331778715","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331778721":["hashtag1","hashtag2"]},{"1331778715":["hashtag1","hashtag2"]},{"1331778718":["hashtag1","hashtag2"]},{"1331778706":["hashtag1","hashtag2"]},{"1331778711":["hashtag1","hashtag2"]},{"1331778708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331778721, 1331778715, 1331778718, 1331778706, 1331778711, 1331778708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.396790504455566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:15:32.713837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/56/image_26012025_21_57_05_10332.jpg', '/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_14_9341.jpg', '/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_25_10361.jpg', '/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_35_10332.jpg', '/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_45_9415.jpg', '/home/pi/Desktop/images/26012025/21/57/image_26012025_21_58_04_9370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/56/image_26012025_21_57_05_10332.jpg
/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_14_9341.jpg
/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_25_10361.jpg
/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_35_10332.jpg
/home/pi/Desktop/images/26012025/21/57/image_26012025_21_57_45_9415.jpg
/home/pi/Desktop/images/26012025/21/57/image_26012025_21_58_04_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":["1331779021","1331779179","1331778928","1331779113","1331779133","1331779111"],"photo_ids_order":["1331778928","1331779021","1331779111","1331779113","1331779133","1331779179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ef1aa7638d651cb9295ed003e5042c8d.jpg","text":"TemporaryFile(/tmp/multipartBody38975998497213386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_57_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/26/e4845f84aa116618d34c4476c230e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody6219968095569003430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_58_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/26/d003ec5ae29201a7135278ee4f893485.jpg","text":"TemporaryFile(/tmp/multipartBody982674238572348628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_57_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbd3aed5d1b5ecda77bda1db4b716616.jpg","text":"TemporaryFile(/tmp/multipartBody6059686953339387528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_57_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/26/613b89a9adbf9049a3dde596841dc1ba.jpg","text":"TemporaryFile(/tmp/multipartBody9006145004175839111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_57_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/26/81a973c2f6ba71d9a4a56439bac07923.jpg","text":"TemporaryFile(/tmp/multipartBody813620426677379971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926193631,"filename":"image_26012025_21_57_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779111","file1":"1331779021","file0":"1331778928","file4":"1331779133","file5":"1331779179","file3":"1331779113"},"map_files_photo_id_array":[{"photo_id":"1331779179","filename":"file5"},{"photo_id":"1331779111","filename":"file2"},{"photo_id":"1331779133","filename":"file4"},{"photo_id":"1331779021","filename":"file1"},{"photo_id":"1331778928","filename":"file0"},{"photo_id":"1331779113","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779021":["hashtag1","hashtag2"]},{"1331779179":["hashtag1","hashtag2"]},{"1331778928":["hashtag1","hashtag2"]},{"1331779113":["hashtag1","hashtag2"]},{"1331779133":["hashtag1","hashtag2"]},{"1331779111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779021, 1331779179, 1331778928, 1331779113, 1331779133, 1331779111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.014415979385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:16:33.136061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_15_10347.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_25_10364.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_34_9353.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_45_10445.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_55_10405.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_59_05_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_15_10347.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_25_10364.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_34_9353.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_45_10445.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_55_10405.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_59_05_9423.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5547423362731934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:16:43.135510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_15_10347.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_25_10364.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_34_9353.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_45_10445.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_55_10405.jpg', '/home/pi/Desktop/images/26012025/21/58/image_26012025_21_59_05_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_15_10347.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_25_10364.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_34_9353.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_45_10445.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_58_55_10405.jpg
/home/pi/Desktop/images/26012025/21/58/image_26012025_21_59_05_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331779287","1331779295","1331779289","1331779283","1331779291","1331779279"],"photo_ids_order":["1331779279","1331779283","1331779287","1331779289","1331779291","1331779295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b8a835f061e3ef7157a1dc1cbf8597f9.jpg","text":"TemporaryFile(/tmp/multipartBody532328434877796257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_58_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/26/cf59afaa573298776a5391741adebe78.jpg","text":"TemporaryFile(/tmp/multipartBody4832675264393387500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_59_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/26/f74da33a0d108f8dfb7d9ba093f7b3b6.jpg","text":"TemporaryFile(/tmp/multipartBody7189770112736603838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_58_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/26/85c2259740269374214447396562b13b.jpg","text":"TemporaryFile(/tmp/multipartBody927584337820708581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_58_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae66b6c708146c769c274b043d7a9db2.jpg","text":"TemporaryFile(/tmp/multipartBody6980619969783194870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_58_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/26/6cdcc3e7f092275b49bf53150d50923a.jpg","text":"TemporaryFile(/tmp/multipartBody8105745048085833447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926264041,"filename":"image_26012025_21_58_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779287","file1":"1331779283","file0":"1331779279","file4":"1331779291","file5":"1331779295","file3":"1331779289"},"map_files_photo_id_array":[{"photo_id":"1331779295","filename":"file5"},{"photo_id":"1331779287","filename":"file2"},{"photo_id":"1331779291","filename":"file4"},{"photo_id":"1331779283","filename":"file1"},{"photo_id":"1331779279","filename":"file0"},{"photo_id":"1331779289","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779287":["hashtag1","hashtag2"]},{"1331779295":["hashtag1","hashtag2"]},{"1331779289":["hashtag1","hashtag2"]},{"1331779283":["hashtag1","hashtag2"]},{"1331779291":["hashtag1","hashtag2"]},{"1331779279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779287, 1331779295, 1331779289, 1331779283, 1331779291, 1331779279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.355583906173706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:17:32.317223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_15_10403.jpg', '/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_24_9345.jpg', '/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_35_10435.jpg', '/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_45_10348.jpg', '/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_55_9453.jpg', '/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_14_10080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_15_10403.jpg
/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_24_9345.jpg
/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_35_10435.jpg
/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_45_10348.jpg
/home/pi/Desktop/images/26012025/21/59/image_26012025_21_59_55_9453.jpg
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_14_10080.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331779312","1331779656","1331779638","1331779314","1331779317","1331779309"],"photo_ids_order":["1331779309","1331779312","1331779314","1331779317","1331779638","1331779656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e72d934c119a016ac26d362ba35e323a.jpg","text":"TemporaryFile(/tmp/multipartBody2574453454256973292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_21_59_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a870ecb0d419f75c5b3866e7fc28fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3184625624979993199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_22_01_14_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/26/e941d824f7b4b047c265a203133fe9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1197017858877354578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_21_59_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9287b8a6733315046f07cb6b99982af5.jpg","text":"TemporaryFile(/tmp/multipartBody5559403232776958931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_21_59_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/26/0faabe1241521c814b98ac3faaa88be9.jpg","text":"TemporaryFile(/tmp/multipartBody1161499661207095757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_21_59_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/720e0f91c629c739b659b0193cc23a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1669712114611754664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926313222,"filename":"image_26012025_21_59_15_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779314","file1":"1331779312","file0":"1331779309","file4":"1331779638","file5":"1331779656","file3":"1331779317"},"map_files_photo_id_array":[{"photo_id":"1331779656","filename":"file5"},{"photo_id":"1331779314","filename":"file2"},{"photo_id":"1331779638","filename":"file4"},{"photo_id":"1331779312","filename":"file1"},{"photo_id":"1331779309","filename":"file0"},{"photo_id":"1331779317","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779312":["hashtag1","hashtag2"]},{"1331779656":["hashtag1","hashtag2"]},{"1331779638":["hashtag1","hashtag2"]},{"1331779314":["hashtag1","hashtag2"]},{"1331779317":["hashtag1","hashtag2"]},{"1331779309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779312, 1331779656, 1331779638, 1331779314, 1331779317, 1331779309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.827592611312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:18:32.497393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_24_10386.jpg', '/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_35_10437.jpg', '/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_44_9332.jpg', '/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_54_10337.jpg', '/home/pi/Desktop/images/26012025/22/01/image_26012025_22_02_04_9426.jpg', '/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_14_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_24_10386.jpg
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_35_10437.jpg
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_44_9332.jpg
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_01_54_10337.jpg
/home/pi/Desktop/images/26012025/22/01/image_26012025_22_02_04_9426.jpg
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_14_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":["1331779788","1331779784","1331779786","1331779789","1331779780","1331779782"],"photo_ids_order":["1331779780","1331779782","1331779784","1331779786","1331779788","1331779789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cd1a0b4f8e25a8160c4f62385d9e0b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5322357432398439713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_02_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/26/bb6d9dbd789cbb99dae146e41e4eaad7.jpg","text":"TemporaryFile(/tmp/multipartBody4506424854189137180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_01_44_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22c2504d883191c03678127af5d16dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3322996256304720906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_01_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/26/dc2eacf5d197bdbc7ee40c711fe5de7f.jpg","text":"TemporaryFile(/tmp/multipartBody694157058377000119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_02_14_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a1bee85962500863a59a5b21a4b45fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8832304757500096075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_01_24_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/26/0bbd348caf88115a27ed367ee4b9c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody4907116337089669271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926373443,"filename":"image_26012025_22_01_35_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779784","file1":"1331779782","file0":"1331779780","file4":"1331779788","file5":"1331779789","file3":"1331779786"},"map_files_photo_id_array":[{"photo_id":"1331779789","filename":"file5"},{"photo_id":"1331779784","filename":"file2"},{"photo_id":"1331779788","filename":"file4"},{"photo_id":"1331779782","filename":"file1"},{"photo_id":"1331779780","filename":"file0"},{"photo_id":"1331779786","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779788":["hashtag1","hashtag2"]},{"1331779784":["hashtag1","hashtag2"]},{"1331779786":["hashtag1","hashtag2"]},{"1331779789":["hashtag1","hashtag2"]},{"1331779780":["hashtag1","hashtag2"]},{"1331779782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779788, 1331779784, 1331779786, 1331779789, 1331779780, 1331779782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46180534362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:19:32.669272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_25_10442.jpg', '/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_34_9358.jpg', '/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_44_10397.jpg', '/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_55_10378.jpg', '/home/pi/Desktop/images/26012025/22/02/image_26012025_22_03_04_9355.jpg', '/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_14_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_25_10442.jpg
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_34_9358.jpg
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_44_10397.jpg
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_02_55_10378.jpg
/home/pi/Desktop/images/26012025/22/02/image_26012025_22_03_04_9355.jpg
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_14_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":["1331779830","1331779832","1331779855","1331779834","1331779837","1331779828"],"photo_ids_order":["1331779828","1331779830","1331779832","1331779834","1331779837","1331779855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9d02ae2a9e9acfc651196ec37c107fd.jpg","text":"TemporaryFile(/tmp/multipartBody7891910168066575890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_02_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/26/a6459f6c56c4957376e4e589f294141b.jpg","text":"TemporaryFile(/tmp/multipartBody8380370855924435216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_02_44_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/26/a3dc0ed409ad1f916ddabe75d64eb166.jpg","text":"TemporaryFile(/tmp/multipartBody5770719207816120696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_03_14_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/04c86e7d87fdf5c9fcb1b4f22709e091.jpg","text":"TemporaryFile(/tmp/multipartBody2975040261833397442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_02_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0f7e7fc34a305a21786e8f8331c2c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3012497976345623259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_03_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/26/ba40c00b7d6cad17cfe4ab996b3bf1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5645527763879107723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926433584,"filename":"image_26012025_22_02_25_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779832","file1":"1331779830","file0":"1331779828","file4":"1331779837","file5":"1331779855","file3":"1331779834"},"map_files_photo_id_array":[{"photo_id":"1331779855","filename":"file5"},{"photo_id":"1331779832","filename":"file2"},{"photo_id":"1331779837","filename":"file4"},{"photo_id":"1331779830","filename":"file1"},{"photo_id":"1331779828","filename":"file0"},{"photo_id":"1331779834","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779830":["hashtag1","hashtag2"]},{"1331779832":["hashtag1","hashtag2"]},{"1331779855":["hashtag1","hashtag2"]},{"1331779834":["hashtag1","hashtag2"]},{"1331779837":["hashtag1","hashtag2"]},{"1331779828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779830, 1331779832, 1331779855, 1331779834, 1331779837, 1331779828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.141074419021606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:20:32.880155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_24_9384.jpg', '/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_34_10343.jpg', '/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_45_10420.jpg', '/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_54_9358.jpg', '/home/pi/Desktop/images/26012025/22/03/image_26012025_22_04_04_10363.jpg', '/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_15_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_24_9384.jpg
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_34_10343.jpg
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_45_10420.jpg
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_03_54_9358.jpg
/home/pi/Desktop/images/26012025/22/03/image_26012025_22_04_04_10363.jpg
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_15_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":["1331779920","1331779914","1331779917","1331779902","1331779910","1331779922"],"photo_ids_order":["1331779902","1331779910","1331779914","1331779917","1331779920","1331779922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bffebcc02756874df725dd16dcde90fa.jpg","text":"TemporaryFile(/tmp/multipartBody8335455726425718197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_04_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/26/2bd161ab9ae2f3204548898c91d049a3.jpg","text":"TemporaryFile(/tmp/multipartBody3024488138663636271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_03_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/26/6e1d9cb73b7366bb55f1421d6788ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody3065043427698077207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_03_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/26/ab95c8658404b5bac5fce770dca3ed63.jpg","text":"TemporaryFile(/tmp/multipartBody2197445685805756664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_03_24_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6c0f6b0bd16f26c3850e00e2d5f99573.jpg","text":"TemporaryFile(/tmp/multipartBody8967777779837681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_03_34_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/26/f224e2c09110d52675d148e84dda4bf2.jpg","text":"TemporaryFile(/tmp/multipartBody1607391810758874869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926493897,"filename":"image_26012025_22_04_15_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779914","file1":"1331779910","file0":"1331779902","file4":"1331779920","file5":"1331779922","file3":"1331779917"},"map_files_photo_id_array":[{"photo_id":"1331779922","filename":"file5"},{"photo_id":"1331779914","filename":"file2"},{"photo_id":"1331779920","filename":"file4"},{"photo_id":"1331779910","filename":"file1"},{"photo_id":"1331779902","filename":"file0"},{"photo_id":"1331779917","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779920":["hashtag1","hashtag2"]},{"1331779914":["hashtag1","hashtag2"]},{"1331779917":["hashtag1","hashtag2"]},{"1331779902":["hashtag1","hashtag2"]},{"1331779910":["hashtag1","hashtag2"]},{"1331779922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779920, 1331779914, 1331779917, 1331779902, 1331779910, 1331779922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3688223361969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:21:33.220319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_24_9357.jpg', '/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_34_10373.jpg', '/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_44_9386.jpg', '/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_54_10356.jpg', '/home/pi/Desktop/images/26012025/22/04/image_26012025_22_05_05_10470.jpg', '/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_14_9360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_24_9357.jpg
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_34_10373.jpg
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_44_9386.jpg
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_04_54_10356.jpg
/home/pi/Desktop/images/26012025/22/04/image_26012025_22_05_05_10470.jpg
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_14_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331779944","1331779935","1331779937","1331779942","1331779945","1331779939"],"photo_ids_order":["1331779935","1331779937","1331779939","1331779942","1331779944","1331779945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/17100876f1f158e5fc9a901dd03cc977.jpg","text":"TemporaryFile(/tmp/multipartBody25016745712058694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_05_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/26/cc829f96a4cb4550166cdf75a860ecc8.jpg","text":"TemporaryFile(/tmp/multipartBody395312486112244310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_04_24_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/df2a4a11f506ab6e789253ada0651520.jpg","text":"TemporaryFile(/tmp/multipartBody9104129477657793793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_04_34_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/26/5d961e0ee41ad6f43c3a949900f6cf61.jpg","text":"TemporaryFile(/tmp/multipartBody4760323226516270949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_04_54_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/26/cc90b502103a3ec1cea06ecc84ca9e96.jpg","text":"TemporaryFile(/tmp/multipartBody4491648665318308117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_05_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3af3088d4a2247f0b5004ff82ef21113.jpg","text":"TemporaryFile(/tmp/multipartBody3684799794360670183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926554139,"filename":"image_26012025_22_04_44_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779939","file1":"1331779937","file0":"1331779935","file4":"1331779944","file5":"1331779945","file3":"1331779942"},"map_files_photo_id_array":[{"photo_id":"1331779945","filename":"file5"},{"photo_id":"1331779939","filename":"file2"},{"photo_id":"1331779944","filename":"file4"},{"photo_id":"1331779937","filename":"file1"},{"photo_id":"1331779935","filename":"file0"},{"photo_id":"1331779942","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779944":["hashtag1","hashtag2"]},{"1331779935":["hashtag1","hashtag2"]},{"1331779937":["hashtag1","hashtag2"]},{"1331779942":["hashtag1","hashtag2"]},{"1331779945":["hashtag1","hashtag2"]},{"1331779939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779944, 1331779935, 1331779937, 1331779942, 1331779945, 1331779939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78110098838806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:22:32.403156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_25_10550.jpg', '/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_34_9378.jpg', '/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_44_10356.jpg', '/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_55_10418.jpg', '/home/pi/Desktop/images/26012025/22/05/image_26012025_22_06_04_9343.jpg', '/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_14_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_25_10550.jpg
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_34_9378.jpg
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_44_10356.jpg
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_05_55_10418.jpg
/home/pi/Desktop/images/26012025/22/05/image_26012025_22_06_04_9343.jpg
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_14_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":["1331779986","1331779996","1331779999","1331779990","1331779993","1331780000"],"photo_ids_order":["1331779986","1331779990","1331779993","1331779996","1331779999","1331780000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/51aeaef3e00b6d14e3b274d8a01adc54.jpg","text":"TemporaryFile(/tmp/multipartBody507687089922180502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_05_25_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/26/dbf50fc2aac541ea111faf8c0994571a.jpg","text":"TemporaryFile(/tmp/multipartBody9033376773783303230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_05_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/26/e1d01022a059d6d98e0ab09a596b7702.jpg","text":"TemporaryFile(/tmp/multipartBody899834111476320247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_06_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/26/a1ff01f0a49722ca11d027c416c0d8be.jpg","text":"TemporaryFile(/tmp/multipartBody5764729128020881209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_05_34_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/26/58bc1292dc90e48acc65c8afef67b344.jpg","text":"TemporaryFile(/tmp/multipartBody3584218509018311542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_05_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b5f33c30e65d0ff75851571192b7fc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8574659369708656279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926613323,"filename":"image_26012025_22_06_14_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331779993","file1":"1331779990","file0":"1331779986","file4":"1331779999","file5":"1331780000","file3":"1331779996"},"map_files_photo_id_array":[{"photo_id":"1331780000","filename":"file5"},{"photo_id":"1331779993","filename":"file2"},{"photo_id":"1331779999","filename":"file4"},{"photo_id":"1331779990","filename":"file1"},{"photo_id":"1331779986","filename":"file0"},{"photo_id":"1331779996","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331779986":["hashtag1","hashtag2"]},{"1331779996":["hashtag1","hashtag2"]},{"1331779999":["hashtag1","hashtag2"]},{"1331779990":["hashtag1","hashtag2"]},{"1331779993":["hashtag1","hashtag2"]},{"1331780000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331779986, 1331779996, 1331779999, 1331779990, 1331779993, 1331780000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.77293395996094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:23:33.735671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_25_10382.jpg', '/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_34_9361.jpg', '/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_45_10435.jpg', '/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_54_9361.jpg', '/home/pi/Desktop/images/26012025/22/06/image_26012025_22_07_04_10355.jpg', '/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_15_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_25_10382.jpg
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_34_9361.jpg
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_45_10435.jpg
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_06_54_9361.jpg
/home/pi/Desktop/images/26012025/22/06/image_26012025_22_07_04_10355.jpg
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_15_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":["1331780521","1331780247","1331780106","1331780651","1331780402","1331780641"],"photo_ids_order":["1331780106","1331780247","1331780402","1331780521","1331780641","1331780651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0bdfaecf94ef0010e775351f8d50e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody6419694352615088227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_06_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3c283a2d16a7329298fbbc63dc15ff3b.jpg","text":"TemporaryFile(/tmp/multipartBody7971043089933779398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_06_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/26/a04332f543977d4a90343483a71b9515.jpg","text":"TemporaryFile(/tmp/multipartBody634693844668345285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_06_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/26/85bbab6f1606b3e80d8a1e7f94ea408e.jpg","text":"TemporaryFile(/tmp/multipartBody6934229301523425912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_07_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eea447c10429242dff5cecfed4464f73.jpg","text":"TemporaryFile(/tmp/multipartBody7409330390504617590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_06_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/26/bbee2671b5f8e5e34e91559ab62df085.jpg","text":"TemporaryFile(/tmp/multipartBody4486993245906403990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926674644,"filename":"image_26012025_22_07_04_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331780402","file1":"1331780247","file0":"1331780106","file4":"1331780641","file5":"1331780651","file3":"1331780521"},"map_files_photo_id_array":[{"photo_id":"1331780651","filename":"file5"},{"photo_id":"1331780402","filename":"file2"},{"photo_id":"1331780641","filename":"file4"},{"photo_id":"1331780247","filename":"file1"},{"photo_id":"1331780106","filename":"file0"},{"photo_id":"1331780521","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331780521":["hashtag1","hashtag2"]},{"1331780247":["hashtag1","hashtag2"]},{"1331780106":["hashtag1","hashtag2"]},{"1331780651":["hashtag1","hashtag2"]},{"1331780402":["hashtag1","hashtag2"]},{"1331780641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331780521, 1331780247, 1331780106, 1331780651, 1331780402, 1331780641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.98865866661072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:24:32.943297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_24_9349.jpg', '/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_35_10421.jpg', '/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_44_9373.jpg', '/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_54_10376.jpg', '/home/pi/Desktop/images/26012025/22/07/image_26012025_22_08_05_10423.jpg', '/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_25_10521.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_24_9349.jpg
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_35_10421.jpg
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_44_9373.jpg
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_07_54_10376.jpg
/home/pi/Desktop/images/26012025/22/07/image_26012025_22_08_05_10423.jpg
/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_25_10521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331780920","1331780664","1331780667","1331780661","1331780786","1331780671"],"photo_ids_order":["1331780661","1331780664","1331780667","1331780671","1331780786","1331780920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14e66c904375437033596070d5d7fd79.jpg","text":"TemporaryFile(/tmp/multipartBody425147786261571406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_08_25_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1ed8a3a558b0cafb036f34f9db56a238.jpg","text":"TemporaryFile(/tmp/multipartBody3586043017279399419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_07_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9bdec9f266a6409e7f6a7404226f3583.jpg","text":"TemporaryFile(/tmp/multipartBody853416972167608910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_07_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/26/a0d9f907e434889816a2e6c2f50f0063.jpg","text":"TemporaryFile(/tmp/multipartBody6698421215317172891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_07_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/26/096796ae232b482f6ebd370395d9be25.jpg","text":"TemporaryFile(/tmp/multipartBody2586261179961097337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_08_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/26/8538ea64c71914161781f2843fe6b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8129300108400380715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926733883,"filename":"image_26012025_22_07_54_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331780667","file1":"1331780664","file0":"1331780661","file4":"1331780786","file5":"1331780920","file3":"1331780671"},"map_files_photo_id_array":[{"photo_id":"1331780920","filename":"file5"},{"photo_id":"1331780667","filename":"file2"},{"photo_id":"1331780786","filename":"file4"},{"photo_id":"1331780664","filename":"file1"},{"photo_id":"1331780661","filename":"file0"},{"photo_id":"1331780671","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331780920":["hashtag1","hashtag2"]},{"1331780664":["hashtag1","hashtag2"]},{"1331780667":["hashtag1","hashtag2"]},{"1331780661":["hashtag1","hashtag2"]},{"1331780786":["hashtag1","hashtag2"]},{"1331780671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331780920, 1331780664, 1331780667, 1331780661, 1331780786, 1331780671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.976046085357666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:25:32.281366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_34_9468.jpg', '/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_44_10372.jpg', '/home/pi/Desktop/images/26012025/22/08/image_26012025_22_09_04_9343.jpg', '/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_15_10413.jpg', '/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_24_9369.jpg', '/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_34_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_34_9468.jpg
/home/pi/Desktop/images/26012025/22/08/image_26012025_22_08_44_10372.jpg
/home/pi/Desktop/images/26012025/22/08/image_26012025_22_09_04_9343.jpg
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_15_10413.jpg
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_24_9369.jpg
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_34_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":["1331781177","1331781057","1331781408","1331781251","1331781053","1331781353"],"photo_ids_order":["1331781053","1331781057","1331781177","1331781251","1331781353","1331781408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9105455efd69ef6d77db0ede435320a9.jpg","text":"TemporaryFile(/tmp/multipartBody8085684525962332724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_09_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/26/6d6a1ca85bbf77ea06cdd8608107c21e.jpg","text":"TemporaryFile(/tmp/multipartBody4671329566167587686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_08_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f23c5d169a39c49bd3ff6d93c340c578.jpg","text":"TemporaryFile(/tmp/multipartBody4660306900508150122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_09_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/26/96767d0b84a269e9a0bf888cc6cf87cd.jpg","text":"TemporaryFile(/tmp/multipartBody5971483737936592957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_09_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f5ef8e69f9efc6b750dcc94d988848e8.jpg","text":"TemporaryFile(/tmp/multipartBody5919290604629240546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_08_34_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/26/19f6b50117cd49d62a94f5a397003e47.jpg","text":"TemporaryFile(/tmp/multipartBody4975592248005108154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926793192,"filename":"image_26012025_22_09_24_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331781177","file1":"1331781057","file0":"1331781053","file4":"1331781353","file5":"1331781408","file3":"1331781251"},"map_files_photo_id_array":[{"photo_id":"1331781408","filename":"file5"},{"photo_id":"1331781177","filename":"file2"},{"photo_id":"1331781353","filename":"file4"},{"photo_id":"1331781057","filename":"file1"},{"photo_id":"1331781053","filename":"file0"},{"photo_id":"1331781251","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331781177":["hashtag1","hashtag2"]},{"1331781057":["hashtag1","hashtag2"]},{"1331781408":["hashtag1","hashtag2"]},{"1331781251":["hashtag1","hashtag2"]},{"1331781053":["hashtag1","hashtag2"]},{"1331781353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331781177, 1331781057, 1331781408, 1331781251, 1331781053, 1331781353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1405713558197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:26:32.456150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_45_10355.jpg', '/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_54_9348.jpg', '/home/pi/Desktop/images/26012025/22/09/image_26012025_22_10_04_10345.jpg', '/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_15_10394.jpg', '/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_24_9341.jpg', '/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_34_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_45_10355.jpg
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_09_54_9348.jpg
/home/pi/Desktop/images/26012025/22/09/image_26012025_22_10_04_10345.jpg
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_15_10394.jpg
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_24_9341.jpg
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_34_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":["1331781986","1331781982","1331782000","1331781996","1331781999","1331781990"],"photo_ids_order":["1331781982","1331781986","1331781990","1331781996","1331781999","1331782000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9a9bb7fad306ff581566712d413c8e6d.jpg","text":"TemporaryFile(/tmp/multipartBody8904526909031835622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_09_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/26/9b65afb81b90d8e0cd9d39c9397bf0c6.jpg","text":"TemporaryFile(/tmp/multipartBody2491700702594461126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_09_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5814ad9817dee2ed146afaf65a5b64aa.jpg","text":"TemporaryFile(/tmp/multipartBody8122788557720696647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_10_34_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/26/6c1c1caa2b947f1efb80ec1d81028719.jpg","text":"TemporaryFile(/tmp/multipartBody6312383549630593953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_10_15_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/26/c0786ac38439adc5f21ec118f3d8355c.jpg","text":"TemporaryFile(/tmp/multipartBody7778188809724499726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_10_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a33e7c318a6b98c75e36396e8c310457.jpg","text":"TemporaryFile(/tmp/multipartBody2254035922521494471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926853366,"filename":"image_26012025_22_10_04_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331781990","file1":"1331781986","file0":"1331781982","file4":"1331781999","file5":"1331782000","file3":"1331781996"},"map_files_photo_id_array":[{"photo_id":"1331782000","filename":"file5"},{"photo_id":"1331781990","filename":"file2"},{"photo_id":"1331781999","filename":"file4"},{"photo_id":"1331781986","filename":"file1"},{"photo_id":"1331781982","filename":"file0"},{"photo_id":"1331781996","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331781986":["hashtag1","hashtag2"]},{"1331781982":["hashtag1","hashtag2"]},{"1331782000":["hashtag1","hashtag2"]},{"1331781996":["hashtag1","hashtag2"]},{"1331781999":["hashtag1","hashtag2"]},{"1331781990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331781986, 1331781982, 1331782000, 1331781996, 1331781999, 1331781990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.819164514541626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:27:32.678445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_45_10370.jpg', '/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_54_9338.jpg', '/home/pi/Desktop/images/26012025/22/10/image_26012025_22_11_05_10415.jpg', '/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_14_9347.jpg', '/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_24_10372.jpg', '/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_35_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_45_10370.jpg
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_10_54_9338.jpg
/home/pi/Desktop/images/26012025/22/10/image_26012025_22_11_05_10415.jpg
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_14_9347.jpg
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_24_10372.jpg
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_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":["1331782149","1331782142","1331782151","1331782144","1331782147","1331782152"],"photo_ids_order":["1331782142","1331782144","1331782147","1331782149","1331782151","1331782152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/66fbe3d77fa74987720ce2e51fbc270d.jpg","text":"TemporaryFile(/tmp/multipartBody8333107566321366201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_11_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/26/6abbb0473bd528dd135c4910e1832fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8456345392143553102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_10_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/26/a5a4185dba58a3d860ad2818bd0a4a05.jpg","text":"TemporaryFile(/tmp/multipartBody4178939769332154952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_11_24_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/26/7edada6c9dbb285a0fe4d75d0d456de8.jpg","text":"TemporaryFile(/tmp/multipartBody4691246325010262231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_10_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/26/b5ba4c03a7cc78739717b0ac1b4ed66a.jpg","text":"TemporaryFile(/tmp/multipartBody258128604346056623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_11_05_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/05ab9873864444589d9cb6727d3e9096.jpg","text":"TemporaryFile(/tmp/multipartBody7529803089326092857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926913586,"filename":"image_26012025_22_11_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331782147","file1":"1331782144","file0":"1331782142","file4":"1331782151","file5":"1331782152","file3":"1331782149"},"map_files_photo_id_array":[{"photo_id":"1331782152","filename":"file5"},{"photo_id":"1331782147","filename":"file2"},{"photo_id":"1331782151","filename":"file4"},{"photo_id":"1331782144","filename":"file1"},{"photo_id":"1331782142","filename":"file0"},{"photo_id":"1331782149","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331782149":["hashtag1","hashtag2"]},{"1331782142":["hashtag1","hashtag2"]},{"1331782151":["hashtag1","hashtag2"]},{"1331782144":["hashtag1","hashtag2"]},{"1331782147":["hashtag1","hashtag2"]},{"1331782152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331782149, 1331782142, 1331782151, 1331782144, 1331782147, 1331782152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.49175238609314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:28:32.894131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_44_9360.jpg', '/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_54_10358.jpg', '/home/pi/Desktop/images/26012025/22/11/image_26012025_22_12_05_10359.jpg', '/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_14_9357.jpg', '/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_34_9368.jpg', '/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_44_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_44_9360.jpg
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_11_54_10358.jpg
/home/pi/Desktop/images/26012025/22/11/image_26012025_22_12_05_10359.jpg
/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_14_9357.jpg
/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_34_9368.jpg
/home/pi/Desktop/images/26012025/22/12/image_26012025_22_12_44_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":["1331782221","1331782203","1331782212","1331782217","1331782222","1331782207"],"photo_ids_order":["1331782203","1331782207","1331782212","1331782217","1331782221","1331782222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d6d2340355a288b7c5368fe2c8ed1651.jpg","text":"TemporaryFile(/tmp/multipartBody3948276249986160484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_12_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/db30a02513249adf21f147c729b25b63.jpg","text":"TemporaryFile(/tmp/multipartBody2250425430539619904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_11_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/26/e45eadf3500ecfb177e51b6f7ed9ad46.jpg","text":"TemporaryFile(/tmp/multipartBody4868908245952141371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_12_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/26/27f6ffa052c84f520672f4e94ae37f58.jpg","text":"TemporaryFile(/tmp/multipartBody3951109990132024432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_12_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/26/7f68568d25c39bba5010f47679ecedb2.jpg","text":"TemporaryFile(/tmp/multipartBody7993722182274722503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_12_44_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/26/6a6c2982d1fe25f8180028dcb0355100.jpg","text":"TemporaryFile(/tmp/multipartBody295385642537315530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737926974257,"filename":"image_26012025_22_11_54_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331782212","file1":"1331782207","file0":"1331782203","file4":"1331782221","file5":"1331782222","file3":"1331782217"},"map_files_photo_id_array":[{"photo_id":"1331782222","filename":"file5"},{"photo_id":"1331782212","filename":"file2"},{"photo_id":"1331782221","filename":"file4"},{"photo_id":"1331782207","filename":"file1"},{"photo_id":"1331782203","filename":"file0"},{"photo_id":"1331782217","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331782221":["hashtag1","hashtag2"]},{"1331782203":["hashtag1","hashtag2"]},{"1331782212":["hashtag1","hashtag2"]},{"1331782217":["hashtag1","hashtag2"]},{"1331782222":["hashtag1","hashtag2"]},{"1331782207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331782221, 1331782203, 1331782212, 1331782217, 1331782222, 1331782207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91110968589783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:29:32.984467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/12/image_26012025_22_13_04_9359.jpg', '/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_14_10354.jpg', '/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_25_10380.jpg', '/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_34_9336.jpg', '/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_44_10434.jpg', '/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_54_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/12/image_26012025_22_13_04_9359.jpg
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_14_10354.jpg
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_25_10380.jpg
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_34_9336.jpg
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_44_10434.jpg
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_13_54_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":["1331782254","1331782256","1331782226","1331782249","1331782257","1331782251"],"photo_ids_order":["1331782226","1331782249","1331782251","1331782254","1331782256","1331782257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8c60b5d8d99338e4ea6c5225c0f68567.jpg","text":"TemporaryFile(/tmp/multipartBody1525506727837344819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_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/26/47d7323af54730d944febaad8b9cc3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1256434867030841053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_44_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ce3f6dd3467402a386dee1553d87925b.jpg","text":"TemporaryFile(/tmp/multipartBody4795896244679634275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/44b0fadd7797828b6b5dc7a37d470ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8391783171288492743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_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/26/0b423b31892db364626482dcd1bb42e9.jpg","text":"TemporaryFile(/tmp/multipartBody9217817504502990526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_54_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/26/8d61d8b0b1b300a213523c7b1686ea99.jpg","text":"TemporaryFile(/tmp/multipartBody2509073263112230931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927033919,"filename":"image_26012025_22_13_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331782251","file1":"1331782249","file0":"1331782226","file4":"1331782256","file5":"1331782257","file3":"1331782254"},"map_files_photo_id_array":[{"photo_id":"1331782257","filename":"file5"},{"photo_id":"1331782251","filename":"file2"},{"photo_id":"1331782256","filename":"file4"},{"photo_id":"1331782249","filename":"file1"},{"photo_id":"1331782226","filename":"file0"},{"photo_id":"1331782254","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331782254":["hashtag1","hashtag2"]},{"1331782256":["hashtag1","hashtag2"]},{"1331782226":["hashtag1","hashtag2"]},{"1331782249":["hashtag1","hashtag2"]},{"1331782257":["hashtag1","hashtag2"]},{"1331782251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331782254, 1331782256, 1331782226, 1331782249, 1331782257, 1331782251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.585769176483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:30:32.180459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/13/image_26012025_22_14_04_10369.jpg', '/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_14_9657.jpg', '/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_24_10357.jpg', '/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_35_10464.jpg', '/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_44_9354.jpg', '/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_54_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/13/image_26012025_22_14_04_10369.jpg
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_14_9657.jpg
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_24_10357.jpg
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_35_10464.jpg
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_44_9354.jpg
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_14_54_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":["1331782269","1331782428","1331782286","1331782483","1331782432","1331782392"],"photo_ids_order":["1331782269","1331782286","1331782392","1331782428","1331782432","1331782483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e848c702a1415ac0e25db0bc5ea6d684.jpg","text":"TemporaryFile(/tmp/multipartBody5841198775249091630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_04_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/26/f1241f868716df44293f139cc4fd606c.jpg","text":"TemporaryFile(/tmp/multipartBody8545348330252350554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8e29c1b5203f3c9e721dda99ade99031.jpg","text":"TemporaryFile(/tmp/multipartBody5235397324365911793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_14_9657.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/12113b19518fc4d7faeb63ecedc1e50d.jpg","text":"TemporaryFile(/tmp/multipartBody2311520683527315446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/07829d60c1a0eba7f4b7951f93696208.jpg","text":"TemporaryFile(/tmp/multipartBody5320940599922626874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/acda55dea96fa5cccf25abc30394f35c.jpg","text":"TemporaryFile(/tmp/multipartBody3376056135279177010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927093085,"filename":"image_26012025_22_14_24_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331782392","file1":"1331782286","file0":"1331782269","file4":"1331782432","file5":"1331782483","file3":"1331782428"},"map_files_photo_id_array":[{"photo_id":"1331782483","filename":"file5"},{"photo_id":"1331782392","filename":"file2"},{"photo_id":"1331782432","filename":"file4"},{"photo_id":"1331782286","filename":"file1"},{"photo_id":"1331782269","filename":"file0"},{"photo_id":"1331782428","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331782269":["hashtag1","hashtag2"]},{"1331782428":["hashtag1","hashtag2"]},{"1331782286":["hashtag1","hashtag2"]},{"1331782483":["hashtag1","hashtag2"]},{"1331782432":["hashtag1","hashtag2"]},{"1331782392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331782269, 1331782428, 1331782286, 1331782483, 1331782432, 1331782392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67908024787903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:31:32.400912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/14/image_26012025_22_15_05_10398.jpg', '/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_14_9352.jpg', '/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_25_10482.jpg', '/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_34_9357.jpg', '/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_44_10414.jpg', '/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_54_9442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/14/image_26012025_22_15_05_10398.jpg
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_14_9352.jpg
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_25_10482.jpg
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_34_9357.jpg
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_44_10414.jpg
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_15_54_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":["1331783075","1331782685","1331783077","1331783076","1331782581","1331782578"],"photo_ids_order":["1331782578","1331782581","1331782685","1331783075","1331783076","1331783077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a7d36f3adb9b1a288d498e0f69e5f36.jpg","text":"TemporaryFile(/tmp/multipartBody4358165096885551927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_34_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/26/b892224c5047be4cd8ebbd203188beed.jpg","text":"TemporaryFile(/tmp/multipartBody2832907604646338520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_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/26/9739c18e6ceb67313412d0a1c3b04f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8413395406875900492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_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/26/02bca7438309706df36615093f7c539a.jpg","text":"TemporaryFile(/tmp/multipartBody1364853526537758760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_44_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4d1aded16ae3ccdade1dca52719518de.jpg","text":"TemporaryFile(/tmp/multipartBody2198524794052301966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_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/26/54c23186bb1f1fb858c9a17858c9c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody7934224774671509544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927153330,"filename":"image_26012025_22_15_05_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331782685","file1":"1331782581","file0":"1331782578","file4":"1331783076","file5":"1331783077","file3":"1331783075"},"map_files_photo_id_array":[{"photo_id":"1331783077","filename":"file5"},{"photo_id":"1331782685","filename":"file2"},{"photo_id":"1331783076","filename":"file4"},{"photo_id":"1331782581","filename":"file1"},{"photo_id":"1331782578","filename":"file0"},{"photo_id":"1331783075","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331783075":["hashtag1","hashtag2"]},{"1331782685":["hashtag1","hashtag2"]},{"1331783077":["hashtag1","hashtag2"]},{"1331783076":["hashtag1","hashtag2"]},{"1331782581":["hashtag1","hashtag2"]},{"1331782578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331783075, 1331782685, 1331783077, 1331783076, 1331782581, 1331782578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.821070194244385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:32:32.659431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/15/image_26012025_22_16_04_10374.jpg', '/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_15_10418.jpg', '/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_24_9346.jpg', '/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_34_10401.jpg', '/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_44_9433.jpg', '/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_54_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/15/image_26012025_22_16_04_10374.jpg
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_15_10418.jpg
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_24_9346.jpg
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_34_10401.jpg
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_44_9433.jpg
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_16_54_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331783252","1331783243","1331783257","1331783260","1331783262","1331783247"],"photo_ids_order":["1331783243","1331783247","1331783252","1331783257","1331783260","1331783262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/931c652deb435c6ce614a7cbc82d5c45.jpg","text":"TemporaryFile(/tmp/multipartBody4453818692259393669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_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/26/55a27f3f629665e0d0bb021be7eb2e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4795494801390462616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_04_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/26/b55fe0b706163d693dd5111678d34521.jpg","text":"TemporaryFile(/tmp/multipartBody5319271202798659215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_34_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/82f30d9f1ceb815458b39f17fcd3032f.jpg","text":"TemporaryFile(/tmp/multipartBody7186136360007521245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_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/26/2ca1f9ad6355f63da799bd48fb984b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5022899767327347113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_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/26/bbd0b825e77f2c962c4d93acc3376561.jpg","text":"TemporaryFile(/tmp/multipartBody7457591918860186550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927213584,"filename":"image_26012025_22_16_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331783252","file1":"1331783247","file0":"1331783243","file4":"1331783260","file5":"1331783262","file3":"1331783257"},"map_files_photo_id_array":[{"photo_id":"1331783262","filename":"file5"},{"photo_id":"1331783252","filename":"file2"},{"photo_id":"1331783260","filename":"file4"},{"photo_id":"1331783247","filename":"file1"},{"photo_id":"1331783243","filename":"file0"},{"photo_id":"1331783257","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331783252":["hashtag1","hashtag2"]},{"1331783243":["hashtag1","hashtag2"]},{"1331783257":["hashtag1","hashtag2"]},{"1331783260":["hashtag1","hashtag2"]},{"1331783262":["hashtag1","hashtag2"]},{"1331783247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331783252, 1331783243, 1331783257, 1331783260, 1331783262, 1331783247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.782758712768555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:33:32.891038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/16/image_26012025_22_17_05_10436.jpg', '/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_14_9340.jpg', '/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_24_10375.jpg', '/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_35_10345.jpg', '/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_44_9342.jpg', '/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_54_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/16/image_26012025_22_17_05_10436.jpg
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_14_9340.jpg
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_24_10375.jpg
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_35_10345.jpg
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_44_9342.jpg
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_17_54_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":["1331783279","1331783276","1331783303","1331783272","1331783274","1331783283"],"photo_ids_order":["1331783272","1331783274","1331783276","1331783279","1331783283","1331783303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4f40a79187cc5defa0496aa7d62bfc54.jpg","text":"TemporaryFile(/tmp/multipartBody1191316075795743838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_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/26/1e273e1d8e19efc54cb5482059726f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8219892387563730023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_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/26/64fde341bfe7e28a8ff85f66123d1f1f.jpg","text":"TemporaryFile(/tmp/multipartBody504079921306936817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/685856b6b36ec516be3781c377e22785.jpg","text":"TemporaryFile(/tmp/multipartBody6433391505796870081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_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/26/1c03de021a20c40edffb229ed7a4ba04.jpg","text":"TemporaryFile(/tmp/multipartBody1766564375995278170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_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/26/efc565c2b6c951d25643ebcc1d92ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody5966884663308250451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927273801,"filename":"image_26012025_22_17_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331783276","file1":"1331783274","file0":"1331783272","file4":"1331783283","file5":"1331783303","file3":"1331783279"},"map_files_photo_id_array":[{"photo_id":"1331783303","filename":"file5"},{"photo_id":"1331783276","filename":"file2"},{"photo_id":"1331783283","filename":"file4"},{"photo_id":"1331783274","filename":"file1"},{"photo_id":"1331783272","filename":"file0"},{"photo_id":"1331783279","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331783279":["hashtag1","hashtag2"]},{"1331783276":["hashtag1","hashtag2"]},{"1331783303":["hashtag1","hashtag2"]},{"1331783272":["hashtag1","hashtag2"]},{"1331783274":["hashtag1","hashtag2"]},{"1331783283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331783279, 1331783276, 1331783303, 1331783272, 1331783274, 1331783283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.895936012268066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:34:33.088946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/17/image_26012025_22_18_04_9442.jpg', '/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_14_10360.jpg', '/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_25_10450.jpg', '/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_44_10338.jpg', '/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_55_10485.jpg', '/home/pi/Desktop/images/26012025/22/18/image_26012025_22_19_04_9346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/17/image_26012025_22_18_04_9442.jpg
/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_14_10360.jpg
/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_25_10450.jpg
/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_44_10338.jpg
/home/pi/Desktop/images/26012025/22/18/image_26012025_22_18_55_10485.jpg
/home/pi/Desktop/images/26012025/22/18/image_26012025_22_19_04_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":["1331783759","1331783828","1331783767","1331783932","1331783905","1331783763"],"photo_ids_order":["1331783759","1331783763","1331783767","1331783828","1331783905","1331783932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4bcdfc19805551022d384c35debd9eba.jpg","text":"TemporaryFile(/tmp/multipartBody2891375816128307157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_18_04_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f9ba694af2c72200afdff5ecee4710e5.jpg","text":"TemporaryFile(/tmp/multipartBody1521818482875192079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_18_44_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/508b0ae81bb19ee5aa0a4e77e024e3f1.jpg","text":"TemporaryFile(/tmp/multipartBody1033021879562461714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_18_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/26/d6ac02d9e3c818bc3c104fc586a15888.jpg","text":"TemporaryFile(/tmp/multipartBody200121500280973501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_19_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/26/430131a636d62e41ccbe0e95992d7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3365985359982780044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_18_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/26/340bc242705723e9e01ea551e8972470.jpg","text":"TemporaryFile(/tmp/multipartBody3622779597252433966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927333999,"filename":"image_26012025_22_18_14_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331783767","file1":"1331783763","file0":"1331783759","file4":"1331783905","file5":"1331783932","file3":"1331783828"},"map_files_photo_id_array":[{"photo_id":"1331783932","filename":"file5"},{"photo_id":"1331783767","filename":"file2"},{"photo_id":"1331783905","filename":"file4"},{"photo_id":"1331783763","filename":"file1"},{"photo_id":"1331783759","filename":"file0"},{"photo_id":"1331783828","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331783759":["hashtag1","hashtag2"]},{"1331783828":["hashtag1","hashtag2"]},{"1331783767":["hashtag1","hashtag2"]},{"1331783932":["hashtag1","hashtag2"]},{"1331783905":["hashtag1","hashtag2"]},{"1331783763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331783759, 1331783828, 1331783767, 1331783932, 1331783905, 1331783763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42877125740051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:35:32.441347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/19/image_26012025_22_19_15_10413.jpg', '/home/pi/Desktop/images/26012025/22/19/image_26012025_22_19_24_9345.jpg', '/home/pi/Desktop/images/26012025/22/19/image_26012025_22_20_04_10368.jpg', '/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_15_10391.jpg', '/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_24_9354.jpg', '/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_35_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/19/image_26012025_22_19_15_10413.jpg
/home/pi/Desktop/images/26012025/22/19/image_26012025_22_19_24_9345.jpg
/home/pi/Desktop/images/26012025/22/19/image_26012025_22_20_04_10368.jpg
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_15_10391.jpg
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_24_9354.jpg
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_35_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":["1331784101","1331783948","1331784104","1331784011","1331784157","1331783952"],"photo_ids_order":["1331783948","1331783952","1331784011","1331784101","1331784104","1331784157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/efe74876e1531fd373956f3aa2d27981.jpg","text":"TemporaryFile(/tmp/multipartBody8279222218918581628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_20_15_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/26/653946515c3fcbf6149e4413bb9eb730.jpg","text":"TemporaryFile(/tmp/multipartBody205182416442298665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_19_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/26/614b290acf17bdb79a8710f860128d69.jpg","text":"TemporaryFile(/tmp/multipartBody2001847476711396209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_20_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/26/a52f827ddf2a22ff7f43e5c61a002bb8.jpg","text":"TemporaryFile(/tmp/multipartBody734005448271800024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_20_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/26/2e2d2f45b98cdf7a5749f56b8607dc14.jpg","text":"TemporaryFile(/tmp/multipartBody2756297395663663102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_20_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/26/91f307e33f7a2ec5f1e3f7eaa534c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody794598346993332993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927393352,"filename":"image_26012025_22_19_24_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784011","file1":"1331783952","file0":"1331783948","file4":"1331784104","file5":"1331784157","file3":"1331784101"},"map_files_photo_id_array":[{"photo_id":"1331784157","filename":"file5"},{"photo_id":"1331784011","filename":"file2"},{"photo_id":"1331784104","filename":"file4"},{"photo_id":"1331783952","filename":"file1"},{"photo_id":"1331783948","filename":"file0"},{"photo_id":"1331784101","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784101":["hashtag1","hashtag2"]},{"1331783948":["hashtag1","hashtag2"]},{"1331784104":["hashtag1","hashtag2"]},{"1331784011":["hashtag1","hashtag2"]},{"1331784157":["hashtag1","hashtag2"]},{"1331783952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784101, 1331783948, 1331784104, 1331784011, 1331784157, 1331783952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19154167175293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:36:32.680049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_44_9344.jpg', '/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_54_10359.jpg', '/home/pi/Desktop/images/26012025/22/20/image_26012025_22_21_05_10453.jpg', '/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_14_9323.jpg', '/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_24_10354.jpg', '/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_35_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_44_9344.jpg
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_20_54_10359.jpg
/home/pi/Desktop/images/26012025/22/20/image_26012025_22_21_05_10453.jpg
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_14_9323.jpg
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_24_10354.jpg
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_35_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":["1331784212","1331784215","1331784226","1331784222","1331784225","1331784219"],"photo_ids_order":["1331784212","1331784215","1331784219","1331784222","1331784225","1331784226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c911741e8afdaf21ad1c31ea648cef42.jpg","text":"TemporaryFile(/tmp/multipartBody8880797156372959479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_20_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f41ded9fccc7845e92506436a5c43b63.jpg","text":"TemporaryFile(/tmp/multipartBody5785802019380640247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_20_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/408fbf14f0235d35af8c5e7b1c5cc42a.jpg","text":"TemporaryFile(/tmp/multipartBody7306362239313383310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_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/26/93534a97208738c923530db05323ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody4303044442165876620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_21_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/26/fd527ac6344e0bffc473f726f09838e4.jpg","text":"TemporaryFile(/tmp/multipartBody7966261659019629977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_21_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/26/11e5a76aeb2b3a77a83bbc2077ca6dab.jpg","text":"TemporaryFile(/tmp/multipartBody6595088589656538579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927453594,"filename":"image_26012025_22_21_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784219","file1":"1331784215","file0":"1331784212","file4":"1331784225","file5":"1331784226","file3":"1331784222"},"map_files_photo_id_array":[{"photo_id":"1331784226","filename":"file5"},{"photo_id":"1331784219","filename":"file2"},{"photo_id":"1331784225","filename":"file4"},{"photo_id":"1331784215","filename":"file1"},{"photo_id":"1331784212","filename":"file0"},{"photo_id":"1331784222","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784212":["hashtag1","hashtag2"]},{"1331784215":["hashtag1","hashtag2"]},{"1331784226":["hashtag1","hashtag2"]},{"1331784222":["hashtag1","hashtag2"]},{"1331784225":["hashtag1","hashtag2"]},{"1331784219":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784212, 1331784215, 1331784226, 1331784222, 1331784225, 1331784219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.99124026298523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:37:32.875315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_44_9353.jpg', '/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_54_10357.jpg', '/home/pi/Desktop/images/26012025/22/21/image_26012025_22_22_04_9414.jpg', '/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_14_10347.jpg', '/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_25_10492.jpg', '/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_34_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_44_9353.jpg
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_21_54_10357.jpg
/home/pi/Desktop/images/26012025/22/21/image_26012025_22_22_04_9414.jpg
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_14_10347.jpg
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_25_10492.jpg
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_34_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":["1331784269","1331784268","1331784271","1331784270","1331784273","1331784272"],"photo_ids_order":["1331784268","1331784269","1331784270","1331784271","1331784272","1331784273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f56228ac4383bfcaf2ba3910db185cde.jpg","text":"TemporaryFile(/tmp/multipartBody249162969229417016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_21_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/26/83c4013bcf26f55bc93220b0ab1ed7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3562414989010692395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_21_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f20d46742d2dc98ef85c5019d2817db8.jpg","text":"TemporaryFile(/tmp/multipartBody7026487639033069610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_22_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8564558257f71731f72a1de108004f43.jpg","text":"TemporaryFile(/tmp/multipartBody8388299813700131687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_22_04_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/84dd100fab4a1ffa8085d8688975d58e.jpg","text":"TemporaryFile(/tmp/multipartBody7569737888344487819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_22_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/26/83852a1ed2ba35b846fbbbc150bed6a4.jpg","text":"TemporaryFile(/tmp/multipartBody2527040062577780872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927513788,"filename":"image_26012025_22_22_25_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784270","file1":"1331784269","file0":"1331784268","file4":"1331784272","file5":"1331784273","file3":"1331784271"},"map_files_photo_id_array":[{"photo_id":"1331784273","filename":"file5"},{"photo_id":"1331784270","filename":"file2"},{"photo_id":"1331784272","filename":"file4"},{"photo_id":"1331784269","filename":"file1"},{"photo_id":"1331784268","filename":"file0"},{"photo_id":"1331784271","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784269":["hashtag1","hashtag2"]},{"1331784268":["hashtag1","hashtag2"]},{"1331784271":["hashtag1","hashtag2"]},{"1331784270":["hashtag1","hashtag2"]},{"1331784273":["hashtag1","hashtag2"]},{"1331784272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784269, 1331784268, 1331784271, 1331784270, 1331784273, 1331784272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71783113479614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:38:33.107184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_44_10366.jpg', '/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_54_9439.jpg', '/home/pi/Desktop/images/26012025/22/22/image_26012025_22_23_04_10349.jpg', '/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_15_10421.jpg', '/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_24_9354.jpg', '/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_34_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_44_10366.jpg
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_22_54_9439.jpg
/home/pi/Desktop/images/26012025/22/22/image_26012025_22_23_04_10349.jpg
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_15_10421.jpg
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_24_9354.jpg
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_34_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":["1331784292","1331784295","1331784289","1331784283","1331784297","1331784287"],"photo_ids_order":["1331784283","1331784287","1331784289","1331784292","1331784295","1331784297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/70c405ad509cc381adf1f3251ee4f239.jpg","text":"TemporaryFile(/tmp/multipartBody3157075580456461602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_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/26/73a1485cab53268a0cf958809c863b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3755354221306820824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_23_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/26/fac84cfb6029c018fec6ed5c7e29810f.jpg","text":"TemporaryFile(/tmp/multipartBody3239280109864882449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_23_04_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/26/33644104ef29e30c6d25c2c299948254.jpg","text":"TemporaryFile(/tmp/multipartBody6209598234138327411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_22_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/26/d89af063da024d5ccd268e3663eb7954.jpg","text":"TemporaryFile(/tmp/multipartBody2766348372232039727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_23_34_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/35cc5df2d5058f506592b3ed8aec803b.jpg","text":"TemporaryFile(/tmp/multipartBody1516811091813838487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927574014,"filename":"image_26012025_22_22_54_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784289","file1":"1331784287","file0":"1331784283","file4":"1331784295","file5":"1331784297","file3":"1331784292"},"map_files_photo_id_array":[{"photo_id":"1331784297","filename":"file5"},{"photo_id":"1331784289","filename":"file2"},{"photo_id":"1331784295","filename":"file4"},{"photo_id":"1331784287","filename":"file1"},{"photo_id":"1331784283","filename":"file0"},{"photo_id":"1331784292","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784292":["hashtag1","hashtag2"]},{"1331784295":["hashtag1","hashtag2"]},{"1331784289":["hashtag1","hashtag2"]},{"1331784283":["hashtag1","hashtag2"]},{"1331784297":["hashtag1","hashtag2"]},{"1331784287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784292, 1331784295, 1331784289, 1331784283, 1331784297, 1331784287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.513997077941895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:39:32.403740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_45_10349.jpg', '/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_54_9347.jpg', '/home/pi/Desktop/images/26012025/22/23/image_26012025_22_24_05_10424.jpg', '/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_14_9334.jpg', '/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_24_10613.jpg', '/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_34_9445.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_45_10349.jpg
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_23_54_9347.jpg
/home/pi/Desktop/images/26012025/22/23/image_26012025_22_24_05_10424.jpg
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_14_9334.jpg
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_24_10613.jpg
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_34_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331784311","1331784314","1331784322","1331784316","1331784325","1331784327"],"photo_ids_order":["1331784311","1331784314","1331784316","1331784322","1331784325","1331784327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/549e95e614be8f6e70c351b5593621f9.jpg","text":"TemporaryFile(/tmp/multipartBody6047622650165763507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_23_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/26/959c80cfaf54e0f3667ed5b5e70f9e43.jpg","text":"TemporaryFile(/tmp/multipartBody263108334983663594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_23_54_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/26/9ace0ab751dec455628191fc73d381e0.jpg","text":"TemporaryFile(/tmp/multipartBody6134050840897313298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_24_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/26/2544ecbdacddcbc999c2add806071e73.jpg","text":"TemporaryFile(/tmp/multipartBody1139577230912317594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_24_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/26/5b29f020863ac442336d746b8f30ad31.jpg","text":"TemporaryFile(/tmp/multipartBody4250345102872044487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_24_24_10613.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d5daa027091b2e55cb745f5c3f237475.jpg","text":"TemporaryFile(/tmp/multipartBody156421542361709369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927633319,"filename":"image_26012025_22_24_34_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784316","file1":"1331784314","file0":"1331784311","file4":"1331784325","file5":"1331784327","file3":"1331784322"},"map_files_photo_id_array":[{"photo_id":"1331784327","filename":"file5"},{"photo_id":"1331784316","filename":"file2"},{"photo_id":"1331784325","filename":"file4"},{"photo_id":"1331784314","filename":"file1"},{"photo_id":"1331784311","filename":"file0"},{"photo_id":"1331784322","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784311":["hashtag1","hashtag2"]},{"1331784314":["hashtag1","hashtag2"]},{"1331784322":["hashtag1","hashtag2"]},{"1331784316":["hashtag1","hashtag2"]},{"1331784325":["hashtag1","hashtag2"]},{"1331784327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784311, 1331784314, 1331784322, 1331784316, 1331784325, 1331784327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.07182574272156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:40:32.751912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_44_10355.jpg', '/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_55_10370.jpg', '/home/pi/Desktop/images/26012025/22/24/image_26012025_22_25_04_9398.jpg', '/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_14_10357.jpg', '/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_25_10358.jpg', '/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_34_9350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_44_10355.jpg
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_24_55_10370.jpg
/home/pi/Desktop/images/26012025/22/24/image_26012025_22_25_04_9398.jpg
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_14_10357.jpg
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_25_10358.jpg
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_34_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":["1331784511","1331784505","1331784363","1331784558","1331784420","1331784575"],"photo_ids_order":["1331784363","1331784420","1331784505","1331784511","1331784558","1331784575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f680cb3010092a4337a9201448b70e29.jpg","text":"TemporaryFile(/tmp/multipartBody4276255569740961265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_25_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/26/0e74a0da3d76dcbffee611337e53d8c5.jpg","text":"TemporaryFile(/tmp/multipartBody4520615969600685731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_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/26/ff092086c6fb1d92b24e9f9c5f7b54b1.jpg","text":"TemporaryFile(/tmp/multipartBody2793085364184172677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_24_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3119f3e6b3225549f7e44bf1f9f56ed9.jpg","text":"TemporaryFile(/tmp/multipartBody927570074179952612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_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/26/14e4960bd20799a15829655d5acd7af7.jpg","text":"TemporaryFile(/tmp/multipartBody8269449550995966060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_24_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/26/f601ed3e63451e87210504ee6bc0502a.jpg","text":"TemporaryFile(/tmp/multipartBody2893850323911419769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927693695,"filename":"image_26012025_22_25_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784505","file1":"1331784420","file0":"1331784363","file4":"1331784558","file5":"1331784575","file3":"1331784511"},"map_files_photo_id_array":[{"photo_id":"1331784575","filename":"file5"},{"photo_id":"1331784505","filename":"file2"},{"photo_id":"1331784558","filename":"file4"},{"photo_id":"1331784420","filename":"file1"},{"photo_id":"1331784363","filename":"file0"},{"photo_id":"1331784511","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784511":["hashtag1","hashtag2"]},{"1331784505":["hashtag1","hashtag2"]},{"1331784363":["hashtag1","hashtag2"]},{"1331784558":["hashtag1","hashtag2"]},{"1331784420":["hashtag1","hashtag2"]},{"1331784575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784511, 1331784505, 1331784363, 1331784558, 1331784420, 1331784575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1657190322876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:41:32.966820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_45_10431.jpg', '/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_54_9368.jpg', '/home/pi/Desktop/images/26012025/22/25/image_26012025_22_26_04_10367.jpg', '/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_15_10353.jpg', '/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_24_9369.jpg', '/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_34_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_45_10431.jpg
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_25_54_9368.jpg
/home/pi/Desktop/images/26012025/22/25/image_26012025_22_26_04_10367.jpg
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_15_10353.jpg
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_24_9369.jpg
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_34_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331784608","1331784613","1331784610","1331784612","1331784606","1331784603"],"photo_ids_order":["1331784603","1331784606","1331784608","1331784610","1331784612","1331784613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/578b39ee7dd78d43d56bcd2f17c78079.jpg","text":"TemporaryFile(/tmp/multipartBody3661647035249482767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_26_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58a2ce36e68c51133a51f9fe7fd6a1eb.jpg","text":"TemporaryFile(/tmp/multipartBody8249571852011148666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_26_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/26/5c7e0cf0455f21371c97b08999fb10bc.jpg","text":"TemporaryFile(/tmp/multipartBody2399677223244823504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_26_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1515cf5519c35471a141754b3ad4abf0.jpg","text":"TemporaryFile(/tmp/multipartBody4830033605639324720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_26_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1e5846fadc23df1d166a0473d858dd8a.jpg","text":"TemporaryFile(/tmp/multipartBody6620481041184460236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_25_54_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/26/ade1f218a074e60980f381a9e4f5691a.jpg","text":"TemporaryFile(/tmp/multipartBody2187271740239535704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927753872,"filename":"image_26012025_22_25_45_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784608","file1":"1331784606","file0":"1331784603","file4":"1331784612","file5":"1331784613","file3":"1331784610"},"map_files_photo_id_array":[{"photo_id":"1331784613","filename":"file5"},{"photo_id":"1331784608","filename":"file2"},{"photo_id":"1331784612","filename":"file4"},{"photo_id":"1331784606","filename":"file1"},{"photo_id":"1331784603","filename":"file0"},{"photo_id":"1331784610","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784608":["hashtag1","hashtag2"]},{"1331784613":["hashtag1","hashtag2"]},{"1331784610":["hashtag1","hashtag2"]},{"1331784612":["hashtag1","hashtag2"]},{"1331784606":["hashtag1","hashtag2"]},{"1331784603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784608, 1331784613, 1331784610, 1331784612, 1331784606, 1331784603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.1261248588562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:42:32.167431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_45_10364.jpg', '/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_54_9351.jpg', '/home/pi/Desktop/images/26012025/22/26/image_26012025_22_27_04_10368.jpg', '/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_14_9374.jpg', '/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_24_10348.jpg', '/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_35_10449.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_45_10364.jpg
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_26_54_9351.jpg
/home/pi/Desktop/images/26012025/22/26/image_26012025_22_27_04_10368.jpg
/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_14_9374.jpg
/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_24_10348.jpg
/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_35_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331784638","1331784649","1331784628","1331784624","1331784633","1331784620"],"photo_ids_order":["1331784620","1331784624","1331784628","1331784633","1331784638","1331784649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8511f3611db9cbd0f46c692f8395c102.jpg","text":"TemporaryFile(/tmp/multipartBody6728464750700771115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_27_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/26/b33c25ae0726823769df80af1bb960ed.jpg","text":"TemporaryFile(/tmp/multipartBody8707735482456592234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_27_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/26/1df0c5d647e3961b323b950606757744.jpg","text":"TemporaryFile(/tmp/multipartBody8256956843589525876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_27_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/26/1ad4c8f69e16173672043284e58acd59.jpg","text":"TemporaryFile(/tmp/multipartBody6111425949261087065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_26_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/26/aecbd237cf9a4c854134df528c55c725.jpg","text":"TemporaryFile(/tmp/multipartBody7696913877851936787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_27_14_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5186051c63c6c1f71218f8addfa2e939.jpg","text":"TemporaryFile(/tmp/multipartBody2016325750051734340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927813108,"filename":"image_26012025_22_26_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331784628","file1":"1331784624","file0":"1331784620","file4":"1331784638","file5":"1331784649","file3":"1331784633"},"map_files_photo_id_array":[{"photo_id":"1331784649","filename":"file5"},{"photo_id":"1331784628","filename":"file2"},{"photo_id":"1331784638","filename":"file4"},{"photo_id":"1331784624","filename":"file1"},{"photo_id":"1331784620","filename":"file0"},{"photo_id":"1331784633","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331784638":["hashtag1","hashtag2"]},{"1331784649":["hashtag1","hashtag2"]},{"1331784628":["hashtag1","hashtag2"]},{"1331784624":["hashtag1","hashtag2"]},{"1331784633":["hashtag1","hashtag2"]},{"1331784620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331784638, 1331784649, 1331784628, 1331784624, 1331784633, 1331784620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20607352256775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:43:32.579482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_44_9350.jpg', '/home/pi/Desktop/images/26012025/22/27/image_26012025_22_28_05_10429.jpg', '/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_14_9384.jpg', '/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_25_10463.jpg', '/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_34_9348.jpg', '/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_44_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/27/image_26012025_22_27_44_9350.jpg
/home/pi/Desktop/images/26012025/22/27/image_26012025_22_28_05_10429.jpg
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_14_9384.jpg
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_25_10463.jpg
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_34_9348.jpg
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_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":["1331785374","1331785362","1331785365","1331785359","1331785370","1331785373"],"photo_ids_order":["1331785359","1331785362","1331785365","1331785370","1331785373","1331785374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ddd0828dbe11338b59f5af55ce224419.jpg","text":"TemporaryFile(/tmp/multipartBody4798639907934215666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_28_44_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22f13f384a64f5c511106e1f33770e69.jpg","text":"TemporaryFile(/tmp/multipartBody3356916667522189292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_28_05_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6bace8d6c69696ca9cf41d5563e28f27.jpg","text":"TemporaryFile(/tmp/multipartBody8558517897893313134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_28_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ca6027d8530f16848dbe55461386ab99.jpg","text":"TemporaryFile(/tmp/multipartBody3437781174530562045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_27_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/85463f8ebbaf79f447fbbb0c263e3140.jpg","text":"TemporaryFile(/tmp/multipartBody305129137704275442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_28_25_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/34ac38bb3265871440e8c9759491fbf7.jpg","text":"TemporaryFile(/tmp/multipartBody1177324676526111087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927873492,"filename":"image_26012025_22_28_34_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331785365","file1":"1331785362","file0":"1331785359","file4":"1331785373","file5":"1331785374","file3":"1331785370"},"map_files_photo_id_array":[{"photo_id":"1331785374","filename":"file5"},{"photo_id":"1331785365","filename":"file2"},{"photo_id":"1331785373","filename":"file4"},{"photo_id":"1331785362","filename":"file1"},{"photo_id":"1331785359","filename":"file0"},{"photo_id":"1331785370","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331785374":["hashtag1","hashtag2"]},{"1331785362":["hashtag1","hashtag2"]},{"1331785365":["hashtag1","hashtag2"]},{"1331785359":["hashtag1","hashtag2"]},{"1331785370":["hashtag1","hashtag2"]},{"1331785373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331785374, 1331785362, 1331785365, 1331785359, 1331785370, 1331785373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72735261917114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:44:32.564357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_55_10467.jpg', '/home/pi/Desktop/images/26012025/22/28/image_26012025_22_29_04_9341.jpg', '/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_15_10405.jpg', '/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_24_9421.jpg', '/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_45_10358.jpg', '/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_54_9352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_28_55_10467.jpg
/home/pi/Desktop/images/26012025/22/28/image_26012025_22_29_04_9341.jpg
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_15_10405.jpg
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_24_9421.jpg
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_45_10358.jpg
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_29_54_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331785621","1331785609","1331785620","1331785617","1331785605","1331785613"],"photo_ids_order":["1331785605","1331785609","1331785613","1331785617","1331785620","1331785621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7d12c3910191fe45ec4ecb0b3c356eb3.jpg","text":"TemporaryFile(/tmp/multipartBody2341301775103415223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_29_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c234b0da2a7d6c903052ccc95aa4e82b.jpg","text":"TemporaryFile(/tmp/multipartBody473439431904843404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_29_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/4779fb1d5cfc36cec95bc3da5f43c2da.jpg","text":"TemporaryFile(/tmp/multipartBody466901247980243171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_29_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8267aa78fe11cd7e6ca1050aa691013d.jpg","text":"TemporaryFile(/tmp/multipartBody7511092999805977897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_29_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/26/7420c8426412c176f33de6302cf880d8.jpg","text":"TemporaryFile(/tmp/multipartBody2478081991692242396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_28_55_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/be8c1bc788debbdad733b41bd722f840.jpg","text":"TemporaryFile(/tmp/multipartBody4460351208980776465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737927933508,"filename":"image_26012025_22_29_15_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331785613","file1":"1331785609","file0":"1331785605","file4":"1331785620","file5":"1331785621","file3":"1331785617"},"map_files_photo_id_array":[{"photo_id":"1331785621","filename":"file5"},{"photo_id":"1331785613","filename":"file2"},{"photo_id":"1331785620","filename":"file4"},{"photo_id":"1331785609","filename":"file1"},{"photo_id":"1331785605","filename":"file0"},{"photo_id":"1331785617","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331785621":["hashtag1","hashtag2"]},{"1331785609":["hashtag1","hashtag2"]},{"1331785620":["hashtag1","hashtag2"]},{"1331785617":["hashtag1","hashtag2"]},{"1331785605":["hashtag1","hashtag2"]},{"1331785613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331785621, 1331785609, 1331785620, 1331785617, 1331785605, 1331785613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76230239868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:45:32.868976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/29/image_26012025_22_30_05_10421.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_14_9353.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_24_10358.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_35_10398.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_44_9347.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_54_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_30_05_10421.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_14_9353.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_24_10358.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_35_10398.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_44_9347.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_54_10378.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5144240856170654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:45:42.908328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/29/image_26012025_22_30_05_10421.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_14_9353.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_24_10358.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_35_10398.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_44_9347.jpg', '/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_54_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/29/image_26012025_22_30_05_10421.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_14_9353.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_24_10358.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_35_10398.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_44_9347.jpg
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_30_54_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":["1331786073","1331786184","1331786244","1331786205","1331785766","1331785771"],"photo_ids_order":["1331785766","1331785771","1331786073","1331786184","1331786205","1331786244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9c755f054d8e258229877c18ccd15931.jpg","text":"TemporaryFile(/tmp/multipartBody7622817314848914744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_30_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/26/ea47caff35db2ef5dcb05ab969990d33.jpg","text":"TemporaryFile(/tmp/multipartBody564465823480096094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_30_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/26/373fc1d9b7d5819228c9421ee96a48ac.jpg","text":"TemporaryFile(/tmp/multipartBody1054984695277254306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_30_54_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/26/1c1e39df2aa9469eecc62c9b6a89edaa.jpg","text":"TemporaryFile(/tmp/multipartBody3290766168418833780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_30_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/26/7499198c5c55264e6be2f0943cf742c3.jpg","text":"TemporaryFile(/tmp/multipartBody8268226110945947662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_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/26/d48c9cfdeca4076c34947f5a6332675c.jpg","text":"TemporaryFile(/tmp/multipartBody6905972339906731094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928003813,"filename":"image_26012025_22_30_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331786073","file1":"1331785771","file0":"1331785766","file4":"1331786205","file5":"1331786244","file3":"1331786184"},"map_files_photo_id_array":[{"photo_id":"1331786244","filename":"file5"},{"photo_id":"1331786073","filename":"file2"},{"photo_id":"1331786205","filename":"file4"},{"photo_id":"1331785771","filename":"file1"},{"photo_id":"1331785766","filename":"file0"},{"photo_id":"1331786184","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331786073":["hashtag1","hashtag2"]},{"1331786184":["hashtag1","hashtag2"]},{"1331786244":["hashtag1","hashtag2"]},{"1331786205":["hashtag1","hashtag2"]},{"1331785766":["hashtag1","hashtag2"]},{"1331785771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331786073, 1331786184, 1331786244, 1331786205, 1331785766, 1331785771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61780309677124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:46:33.160270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/30/image_26012025_22_31_05_10345.jpg', '/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_14_9354.jpg', '/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_25_10454.jpg', '/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_34_9460.jpg', '/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_44_10361.jpg', '/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_55_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/30/image_26012025_22_31_05_10345.jpg
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_14_9354.jpg
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_25_10454.jpg
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_34_9460.jpg
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_44_10361.jpg
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_31_55_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":["1331786393","1331786396","1331786400","1331786399","1331786390","1331786386"],"photo_ids_order":["1331786386","1331786390","1331786393","1331786396","1331786399","1331786400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5619075352e2261f34a4b9deb3eebd8b.jpg","text":"TemporaryFile(/tmp/multipartBody4773456204825726514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_25_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/26/67be692a3d507819e1b6524cec2668b3.jpg","text":"TemporaryFile(/tmp/multipartBody1870620322817059666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_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/26/5f7e0b957e2fe6362f420184f947460e.jpg","text":"TemporaryFile(/tmp/multipartBody363251655842938942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/472fe68f55ab9a2c78be54eff0f05c59.jpg","text":"TemporaryFile(/tmp/multipartBody1292761248196744386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_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/26/f972240413376ef4f77562e1163e69ee.jpg","text":"TemporaryFile(/tmp/multipartBody157831980924724649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f7e0f6c0912b0e1867e87d117faa5721.jpg","text":"TemporaryFile(/tmp/multipartBody8331848477023802915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928054075,"filename":"image_26012025_22_31_05_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331786393","file1":"1331786390","file0":"1331786386","file4":"1331786399","file5":"1331786400","file3":"1331786396"},"map_files_photo_id_array":[{"photo_id":"1331786400","filename":"file5"},{"photo_id":"1331786393","filename":"file2"},{"photo_id":"1331786399","filename":"file4"},{"photo_id":"1331786390","filename":"file1"},{"photo_id":"1331786386","filename":"file0"},{"photo_id":"1331786396","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331786393":["hashtag1","hashtag2"]},{"1331786396":["hashtag1","hashtag2"]},{"1331786400":["hashtag1","hashtag2"]},{"1331786399":["hashtag1","hashtag2"]},{"1331786390":["hashtag1","hashtag2"]},{"1331786386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331786393, 1331786396, 1331786400, 1331786399, 1331786390, 1331786386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32916736602783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:47:32.285923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/31/image_26012025_22_32_04_9360.jpg', '/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_15_10398.jpg', '/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_24_9360.jpg', '/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_34_10428.jpg', '/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_45_10366.jpg', '/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_54_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/31/image_26012025_22_32_04_9360.jpg
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_15_10398.jpg
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_24_9360.jpg
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_34_10428.jpg
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_45_10366.jpg
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_32_54_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331786419","1331786410","1331786413","1331786421","1331786415","1331786418"],"photo_ids_order":["1331786410","1331786413","1331786415","1331786418","1331786419","1331786421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e6f7c1640e56cdf2b8a01b3f96b74d3.jpg","text":"TemporaryFile(/tmp/multipartBody1879520919881570594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_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/26/88be88156b5e128636d79b1aa91fc020.jpg","text":"TemporaryFile(/tmp/multipartBody6856131393886011449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_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/26/3a69501a637cb05d4bc7866ae0a613e7.jpg","text":"TemporaryFile(/tmp/multipartBody8069976235188802656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_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/26/8dd3537ba4c3de6e5d5b846e323c2036.jpg","text":"TemporaryFile(/tmp/multipartBody2768802320821380378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_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/26/bac952f6295ac667bc8ccdf5a93abf65.jpg","text":"TemporaryFile(/tmp/multipartBody6356796178180489880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_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/26/38474652196b3f7ab1ef1ea18b1dbb37.jpg","text":"TemporaryFile(/tmp/multipartBody1780480063305193315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928113206,"filename":"image_26012025_22_32_34_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331786415","file1":"1331786413","file0":"1331786410","file4":"1331786419","file5":"1331786421","file3":"1331786418"},"map_files_photo_id_array":[{"photo_id":"1331786421","filename":"file5"},{"photo_id":"1331786415","filename":"file2"},{"photo_id":"1331786419","filename":"file4"},{"photo_id":"1331786413","filename":"file1"},{"photo_id":"1331786410","filename":"file0"},{"photo_id":"1331786418","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331786419":["hashtag1","hashtag2"]},{"1331786410":["hashtag1","hashtag2"]},{"1331786413":["hashtag1","hashtag2"]},{"1331786421":["hashtag1","hashtag2"]},{"1331786415":["hashtag1","hashtag2"]},{"1331786418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331786419, 1331786410, 1331786413, 1331786421, 1331786415, 1331786418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.240721225738525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:48:32.575557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/32/image_26012025_22_33_05_10413.jpg', '/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_14_9339.jpg', '/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_24_10426.jpg', '/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_35_10454.jpg', '/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_44_9353.jpg', '/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_54_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/32/image_26012025_22_33_05_10413.jpg
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_14_9339.jpg
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_24_10426.jpg
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_35_10454.jpg
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_44_9353.jpg
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_33_54_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":["1331786462","1331786450","1331786444","1331786438","1331786447","1331786441"],"photo_ids_order":["1331786438","1331786441","1331786444","1331786447","1331786450","1331786462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f61bf3870c41202b20a470956bdcaa7f.jpg","text":"TemporaryFile(/tmp/multipartBody9086517098144318013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1d53fd4ef0a9e0c480ebf9e4b8e5df7c.jpg","text":"TemporaryFile(/tmp/multipartBody3295379009590110627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_44_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/03fb80954aeb060da2d38506c920e4a4.jpg","text":"TemporaryFile(/tmp/multipartBody7947856368429870245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_24_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f1cfdac3f4d65587913b9eb6b2be8fc0.jpg","text":"TemporaryFile(/tmp/multipartBody961701812380545801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_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/26/6d04328870938519605cfbd6c67edb58.jpg","text":"TemporaryFile(/tmp/multipartBody2594053274692343240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_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/26/07e5f4bf636d7abb5134d8a20c427329.jpg","text":"TemporaryFile(/tmp/multipartBody1930384527131147779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928173560,"filename":"image_26012025_22_33_14_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331786444","file1":"1331786441","file0":"1331786438","file4":"1331786450","file5":"1331786462","file3":"1331786447"},"map_files_photo_id_array":[{"photo_id":"1331786462","filename":"file5"},{"photo_id":"1331786444","filename":"file2"},{"photo_id":"1331786450","filename":"file4"},{"photo_id":"1331786441","filename":"file1"},{"photo_id":"1331786438","filename":"file0"},{"photo_id":"1331786447","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331786462":["hashtag1","hashtag2"]},{"1331786450":["hashtag1","hashtag2"]},{"1331786444":["hashtag1","hashtag2"]},{"1331786438":["hashtag1","hashtag2"]},{"1331786447":["hashtag1","hashtag2"]},{"1331786441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331786462, 1331786450, 1331786444, 1331786438, 1331786447, 1331786441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64221906661987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:49:32.889594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/33/image_26012025_22_34_04_9430.jpg', '/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_14_10381.jpg', '/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_25_10430.jpg', '/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_34_9408.jpg', '/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_45_10458.jpg', '/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_54_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/33/image_26012025_22_34_04_9430.jpg
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_14_10381.jpg
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_25_10430.jpg
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_34_9408.jpg
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_45_10458.jpg
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_34_54_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":["1331786638","1331786512","1331786506","1331786511","1331786508","1331786504"],"photo_ids_order":["1331786504","1331786506","1331786508","1331786511","1331786512","1331786638"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/88401d1e7c752a498c8c49f1bfd11400.jpg","text":"TemporaryFile(/tmp/multipartBody8704137420880479113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_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/26/9efe5c30eac00e0f15aabbe875b05d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2882465519143597394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_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/26/80c15d8909814fb5d59990a011ca4997.jpg","text":"TemporaryFile(/tmp/multipartBody82784374708167968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_14_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/26/ba31ee5ad918323c806741bf2df8e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody450387375661285928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7c4ab1a7b3a922a75bf37e0778092f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5406121376139756803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8a6e777cb264e1e8a17de52c55faa223.jpg","text":"TemporaryFile(/tmp/multipartBody1524852238975904025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928233829,"filename":"image_26012025_22_34_04_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331786508","file1":"1331786506","file0":"1331786504","file4":"1331786512","file5":"1331786638","file3":"1331786511"},"map_files_photo_id_array":[{"photo_id":"1331786638","filename":"file5"},{"photo_id":"1331786508","filename":"file2"},{"photo_id":"1331786512","filename":"file4"},{"photo_id":"1331786506","filename":"file1"},{"photo_id":"1331786504","filename":"file0"},{"photo_id":"1331786511","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331786638":["hashtag1","hashtag2"]},{"1331786512":["hashtag1","hashtag2"]},{"1331786506":["hashtag1","hashtag2"]},{"1331786511":["hashtag1","hashtag2"]},{"1331786508":["hashtag1","hashtag2"]},{"1331786504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331786638, 1331786512, 1331786506, 1331786511, 1331786508, 1331786504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2219774723053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:50:33.148509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/34/image_26012025_22_35_04_10355.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_15_10362.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_24_9357.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_34_10391.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_45_10420.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_54_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_35_04_10355.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_15_10362.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_24_9357.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_34_10391.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_45_10420.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_54_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.5326120853424072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 22:50:43.143425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/34/image_26012025_22_35_04_10355.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_15_10362.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_24_9357.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_34_10391.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_45_10420.jpg', '/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_54_9375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/34/image_26012025_22_35_04_10355.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_15_10362.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_24_9357.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_34_10391.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_45_10420.jpg
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_35_54_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":["1331787131","1331787268","1331787181","1331787256","1331787244","1331787183"],"photo_ids_order":["1331787131","1331787181","1331787183","1331787244","1331787256","1331787268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/29118e5c7b4619a8d717d31ee5bbd14c.jpg","text":"TemporaryFile(/tmp/multipartBody2916531962529886034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_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/26/c857b25bee6ad75ff52f054e4811c430.jpg","text":"TemporaryFile(/tmp/multipartBody7791900975533753796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/89d4e602623ead0f52fa11e6c48034f0.jpg","text":"TemporaryFile(/tmp/multipartBody6531119020661954729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_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/26/8c1b81b5f24fa6cbd86890fd08f489bf.jpg","text":"TemporaryFile(/tmp/multipartBody5842229849002200878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_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/26/10010c0029add76d07b152bf55092a47.jpg","text":"TemporaryFile(/tmp/multipartBody8674525996085283467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_34_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/26/1d6b9c06066123f3b1065bec80dc876e.jpg","text":"TemporaryFile(/tmp/multipartBody9080314723899038039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928304064,"filename":"image_26012025_22_35_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787183","file1":"1331787181","file0":"1331787131","file4":"1331787256","file5":"1331787268","file3":"1331787244"},"map_files_photo_id_array":[{"photo_id":"1331787268","filename":"file5"},{"photo_id":"1331787183","filename":"file2"},{"photo_id":"1331787256","filename":"file4"},{"photo_id":"1331787181","filename":"file1"},{"photo_id":"1331787131","filename":"file0"},{"photo_id":"1331787244","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787131":["hashtag1","hashtag2"]},{"1331787268":["hashtag1","hashtag2"]},{"1331787181":["hashtag1","hashtag2"]},{"1331787256":["hashtag1","hashtag2"]},{"1331787244":["hashtag1","hashtag2"]},{"1331787183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787131, 1331787268, 1331787181, 1331787256, 1331787244, 1331787183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.017961502075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:51:32.511414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/35/image_26012025_22_36_05_10384.jpg', '/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_14_9330.jpg', '/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_24_10352.jpg', '/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_35_10357.jpg', '/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_44_9351.jpg', '/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_54_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/35/image_26012025_22_36_05_10384.jpg
/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_14_9330.jpg
/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_24_10352.jpg
/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_35_10357.jpg
/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_44_9351.jpg
/home/pi/Desktop/images/26012025/22/36/image_26012025_22_36_54_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331787312","1331787309","1331787300","1331787323","1331787326","1331787328"],"photo_ids_order":["1331787300","1331787309","1331787312","1331787323","1331787326","1331787328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d1b86c595b0f90819aad4464916954b.jpg","text":"TemporaryFile(/tmp/multipartBody4857365497410923769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_24_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/26/cf3da31c591e3b558315185cbd1a5546.jpg","text":"TemporaryFile(/tmp/multipartBody5572665344902816371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_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/26/f931b377157099d4abdc075ca7d84ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3835115791914944942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_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/26/9f760e949fc46785adddb3a81430fa5c.jpg","text":"TemporaryFile(/tmp/multipartBody5005206263511413458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_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/26/0815712051f338164454b02b42723204.jpg","text":"TemporaryFile(/tmp/multipartBody5584485758798544616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_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/26/d6cd709247caf5e1b3448e460b1f8732.jpg","text":"TemporaryFile(/tmp/multipartBody8498020629634326045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928353468,"filename":"image_26012025_22_36_54_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787312","file1":"1331787309","file0":"1331787300","file4":"1331787326","file5":"1331787328","file3":"1331787323"},"map_files_photo_id_array":[{"photo_id":"1331787328","filename":"file5"},{"photo_id":"1331787312","filename":"file2"},{"photo_id":"1331787326","filename":"file4"},{"photo_id":"1331787309","filename":"file1"},{"photo_id":"1331787300","filename":"file0"},{"photo_id":"1331787323","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787312":["hashtag1","hashtag2"]},{"1331787309":["hashtag1","hashtag2"]},{"1331787300":["hashtag1","hashtag2"]},{"1331787323":["hashtag1","hashtag2"]},{"1331787326":["hashtag1","hashtag2"]},{"1331787328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787312, 1331787309, 1331787300, 1331787323, 1331787326, 1331787328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28864574432373 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:52:32.651947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_14_9343.jpg', '/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_25_10414.jpg', '/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_34_9344.jpg', '/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_44_10350.jpg', '/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_55_10382.jpg', '/home/pi/Desktop/images/26012025/22/37/image_26012025_22_38_04_9362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_14_9343.jpg
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_25_10414.jpg
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_34_9344.jpg
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_44_10350.jpg
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_37_55_10382.jpg
/home/pi/Desktop/images/26012025/22/37/image_26012025_22_38_04_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":["1331787390","1331787398","1331787397","1331787385","1331787394","1331787382"],"photo_ids_order":["1331787382","1331787385","1331787390","1331787394","1331787397","1331787398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f59a90ecc3c88ae06dbe6c22e3696e4.jpg","text":"TemporaryFile(/tmp/multipartBody4806080142882075153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_37_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/26/b16f8bb765a8ee7f32ca60dc84217681.jpg","text":"TemporaryFile(/tmp/multipartBody1247671115940004614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_38_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/26/9d55b14af1771bcf390ebc2c544e8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody7483106206620743421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_37_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/614ab1e0b488ae215d680a53ac7a574a.jpg","text":"TemporaryFile(/tmp/multipartBody6074658341644512110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_37_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/26/3c25ac8313988d090e49d9588697e19b.jpg","text":"TemporaryFile(/tmp/multipartBody4249634824831303622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_37_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c4b7f2659c17f8e1aa669de9871e750c.jpg","text":"TemporaryFile(/tmp/multipartBody2330841946031907693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928413583,"filename":"image_26012025_22_37_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787390","file1":"1331787385","file0":"1331787382","file4":"1331787397","file5":"1331787398","file3":"1331787394"},"map_files_photo_id_array":[{"photo_id":"1331787398","filename":"file5"},{"photo_id":"1331787390","filename":"file2"},{"photo_id":"1331787397","filename":"file4"},{"photo_id":"1331787385","filename":"file1"},{"photo_id":"1331787382","filename":"file0"},{"photo_id":"1331787394","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787390":["hashtag1","hashtag2"]},{"1331787398":["hashtag1","hashtag2"]},{"1331787397":["hashtag1","hashtag2"]},{"1331787385":["hashtag1","hashtag2"]},{"1331787394":["hashtag1","hashtag2"]},{"1331787382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787390, 1331787398, 1331787397, 1331787385, 1331787394, 1331787382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.31504416465759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:53:32.848897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_14_10343.jpg', '/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_25_10424.jpg', '/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_34_9335.jpg', '/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_44_10350.jpg', '/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_55_10369.jpg', '/home/pi/Desktop/images/26012025/22/38/image_26012025_22_39_04_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_14_10343.jpg
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_25_10424.jpg
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_34_9335.jpg
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_44_10350.jpg
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_38_55_10369.jpg
/home/pi/Desktop/images/26012025/22/38/image_26012025_22_39_04_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":["1331787411","1331787408","1331787417","1331787413","1331787415","1331787418"],"photo_ids_order":["1331787408","1331787411","1331787413","1331787415","1331787417","1331787418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/180ead305c86b8a65adaef6bcf9bc6ba.jpg","text":"TemporaryFile(/tmp/multipartBody8146861721916958484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_38_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/26/9d40d1e40b4049dc69f0785cbfeaf069.jpg","text":"TemporaryFile(/tmp/multipartBody5194546604518306855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_38_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/39a8982775102a6f6de7b783382a90e0.jpg","text":"TemporaryFile(/tmp/multipartBody2489330001760916287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_38_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/500fe5b6f38f872cb081d78bf244c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody5282778628674957311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_38_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/26/02ae78294ea21a7c0e915d0ffb021df3.jpg","text":"TemporaryFile(/tmp/multipartBody3374096248878791711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_38_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7fbc3bb0a2f47bc7574b999c33ac5a49.jpg","text":"TemporaryFile(/tmp/multipartBody7176994279839135960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928473755,"filename":"image_26012025_22_39_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787413","file1":"1331787411","file0":"1331787408","file4":"1331787417","file5":"1331787418","file3":"1331787415"},"map_files_photo_id_array":[{"photo_id":"1331787418","filename":"file5"},{"photo_id":"1331787413","filename":"file2"},{"photo_id":"1331787417","filename":"file4"},{"photo_id":"1331787411","filename":"file1"},{"photo_id":"1331787408","filename":"file0"},{"photo_id":"1331787415","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787411":["hashtag1","hashtag2"]},{"1331787408":["hashtag1","hashtag2"]},{"1331787417":["hashtag1","hashtag2"]},{"1331787413":["hashtag1","hashtag2"]},{"1331787415":["hashtag1","hashtag2"]},{"1331787418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787411, 1331787408, 1331787417, 1331787413, 1331787415, 1331787418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25930643081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:54:33.116525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_15_10441.jpg', '/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_24_9428.jpg', '/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_34_10351.jpg', '/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_45_10463.jpg', '/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_54_9360.jpg', '/home/pi/Desktop/images/26012025/22/39/image_26012025_22_40_05_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_15_10441.jpg
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_24_9428.jpg
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_34_10351.jpg
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_45_10463.jpg
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_39_54_9360.jpg
/home/pi/Desktop/images/26012025/22/39/image_26012025_22_40_05_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":["1331787444","1331787447","1331787441","1331787437","1331787434","1331787448"],"photo_ids_order":["1331787434","1331787437","1331787441","1331787444","1331787447","1331787448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e33a74f3ca1b6be42a69cd4bbf29b45e.jpg","text":"TemporaryFile(/tmp/multipartBody8722052959929969846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_39_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/26/7de13c1d14d9c9befeae3c1f5e1f3edc.jpg","text":"TemporaryFile(/tmp/multipartBody8470054158714155776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_39_54_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/26/09a276291853582a2658a53c39bc2037.jpg","text":"TemporaryFile(/tmp/multipartBody3972286043770366281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_39_34_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b41bbcebbe9e8bdef5acfd8a8553949e.jpg","text":"TemporaryFile(/tmp/multipartBody6726269596270547006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_39_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/26/4c8ac39ed56c93b3d8199b7e12b8ce11.jpg","text":"TemporaryFile(/tmp/multipartBody4524920592934994496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_39_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/26/d65fcb08b27f7838f41946c3dbf7b152.jpg","text":"TemporaryFile(/tmp/multipartBody927385233359297793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928534045,"filename":"image_26012025_22_40_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787441","file1":"1331787437","file0":"1331787434","file4":"1331787447","file5":"1331787448","file3":"1331787444"},"map_files_photo_id_array":[{"photo_id":"1331787448","filename":"file5"},{"photo_id":"1331787441","filename":"file2"},{"photo_id":"1331787447","filename":"file4"},{"photo_id":"1331787437","filename":"file1"},{"photo_id":"1331787434","filename":"file0"},{"photo_id":"1331787444","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787444":["hashtag1","hashtag2"]},{"1331787447":["hashtag1","hashtag2"]},{"1331787441":["hashtag1","hashtag2"]},{"1331787437":["hashtag1","hashtag2"]},{"1331787434":["hashtag1","hashtag2"]},{"1331787448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787444, 1331787447, 1331787441, 1331787437, 1331787434, 1331787448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05515003204346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:55:32.370960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_14_9394.jpg', '/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_24_10373.jpg', '/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_35_10431.jpg', '/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_44_9361.jpg', '/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_55_10446.jpg', '/home/pi/Desktop/images/26012025/22/40/image_26012025_22_41_04_9342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_14_9394.jpg
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_24_10373.jpg
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_35_10431.jpg
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_44_9361.jpg
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_40_55_10446.jpg
/home/pi/Desktop/images/26012025/22/40/image_26012025_22_41_04_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331787498","1331787501","1331787479","1331787503","1331787529","1331787505"],"photo_ids_order":["1331787479","1331787498","1331787501","1331787503","1331787505","1331787529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2b4fd34497d387e6d9b39a417275c49a.jpg","text":"TemporaryFile(/tmp/multipartBody2619337740485962526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_40_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/26/b13f07acb4f501d7502e604a2c8e7f70.jpg","text":"TemporaryFile(/tmp/multipartBody8686194565195178035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_40_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/26/e0af66cce40654e636931816aec385df.jpg","text":"TemporaryFile(/tmp/multipartBody4006262814804484355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_40_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/26/766d46d4823f3340fe6b40a857ad4664.jpg","text":"TemporaryFile(/tmp/multipartBody6463269420966793121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_40_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/26/c7f811bc7e4bb04928eddd29d7be5b93.jpg","text":"TemporaryFile(/tmp/multipartBody1797941008742968092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_41_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/26/51f5164a5430114dca1409867ffdb405.jpg","text":"TemporaryFile(/tmp/multipartBody1796778488349851597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928593286,"filename":"image_26012025_22_40_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787501","file1":"1331787498","file0":"1331787479","file4":"1331787505","file5":"1331787529","file3":"1331787503"},"map_files_photo_id_array":[{"photo_id":"1331787529","filename":"file5"},{"photo_id":"1331787501","filename":"file2"},{"photo_id":"1331787505","filename":"file4"},{"photo_id":"1331787498","filename":"file1"},{"photo_id":"1331787479","filename":"file0"},{"photo_id":"1331787503","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787498":["hashtag1","hashtag2"]},{"1331787501":["hashtag1","hashtag2"]},{"1331787479":["hashtag1","hashtag2"]},{"1331787503":["hashtag1","hashtag2"]},{"1331787529":["hashtag1","hashtag2"]},{"1331787505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787498, 1331787501, 1331787479, 1331787503, 1331787529, 1331787505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.103585720062256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:56:32.499928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_14_10338.jpg', '/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_25_10444.jpg', '/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_34_9380.jpg', '/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_45_10502.jpg', '/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_54_9350.jpg', '/home/pi/Desktop/images/26012025/22/41/image_26012025_22_42_04_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_14_10338.jpg
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_25_10444.jpg
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_34_9380.jpg
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_45_10502.jpg
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_41_54_9350.jpg
/home/pi/Desktop/images/26012025/22/41/image_26012025_22_42_04_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":["1331787747","1331787822","1331787726","1331787857","1331787809","1331787835"],"photo_ids_order":["1331787726","1331787747","1331787809","1331787822","1331787835","1331787857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c6858e7fda5498e1a9f7f80cb38f9c04.jpg","text":"TemporaryFile(/tmp/multipartBody6087332856902210553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_41_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5dad6a99a61f355760e9ed3a409dbdfb.jpg","text":"TemporaryFile(/tmp/multipartBody1698095158063646845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_41_45_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/26/220da99a6ed174611bf7dbb778c0527a.jpg","text":"TemporaryFile(/tmp/multipartBody4818893157014935249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_41_14_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3413d798a6f33b7260456fb234008676.jpg","text":"TemporaryFile(/tmp/multipartBody2054553599630048232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_42_04_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/26/92603fd53ae3c97c39951b1d5943fbe6.jpg","text":"TemporaryFile(/tmp/multipartBody2397795287066395492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_41_34_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/26/0589d88afbbcec65fc6a68d4be450123.jpg","text":"TemporaryFile(/tmp/multipartBody8356263313205607934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928653429,"filename":"image_26012025_22_41_54_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331787809","file1":"1331787747","file0":"1331787726","file4":"1331787835","file5":"1331787857","file3":"1331787822"},"map_files_photo_id_array":[{"photo_id":"1331787857","filename":"file5"},{"photo_id":"1331787809","filename":"file2"},{"photo_id":"1331787835","filename":"file4"},{"photo_id":"1331787747","filename":"file1"},{"photo_id":"1331787726","filename":"file0"},{"photo_id":"1331787822","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331787747":["hashtag1","hashtag2"]},{"1331787822":["hashtag1","hashtag2"]},{"1331787726":["hashtag1","hashtag2"]},{"1331787857":["hashtag1","hashtag2"]},{"1331787809":["hashtag1","hashtag2"]},{"1331787835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331787747, 1331787822, 1331787726, 1331787857, 1331787809, 1331787835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.41259455680847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 22:57:32.799714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_15_10340.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_24_9335.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_35_10498.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_44_9410.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_54_10347.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_43_05_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_15_10340.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_24_9335.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_35_10498.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_44_9410.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_54_10347.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_43_05_10458.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-26 22:59:03.825319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_15_10340.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_24_9335.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_35_10498.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_44_9410.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_54_10347.jpg', '/home/pi/Desktop/images/26012025/22/42/image_26012025_22_43_05_10458.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_15_10340.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_24_9335.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_35_10498.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_44_9410.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_42_54_10347.jpg
/home/pi/Desktop/images/26012025/22/42/image_26012025_22_43_05_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":["1331788545","1331788550","1331788253","1331788553","1331788541","1331788549"],"photo_ids_order":["1331788253","1331788541","1331788545","1331788549","1331788550","1331788553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/007ad85e26c34a565c2cd488dd5cedbb.jpg","text":"TemporaryFile(/tmp/multipartBody3822196908313149594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_42_35_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1730be7585360c2514d77a309efa5a1c.jpg","text":"TemporaryFile(/tmp/multipartBody8739497094216382028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_42_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/26/949ab7840d594be14242695c59f284d4.jpg","text":"TemporaryFile(/tmp/multipartBody503845281638190484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_42_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/26/8a8b3955f458e792bc909d240f356c81.jpg","text":"TemporaryFile(/tmp/multipartBody2578022539081626341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_43_05_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/eb237f299e6232f1bcec5b236a6fabee.jpg","text":"TemporaryFile(/tmp/multipartBody7788725520879010804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_42_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/26/12b150d10042ad4d92e7c137db8b8731.jpg","text":"TemporaryFile(/tmp/multipartBody1452091533178558567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928804844,"filename":"image_26012025_22_42_44_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331788545","file1":"1331788541","file0":"1331788253","file4":"1331788550","file5":"1331788553","file3":"1331788549"},"map_files_photo_id_array":[{"photo_id":"1331788553","filename":"file5"},{"photo_id":"1331788545","filename":"file2"},{"photo_id":"1331788550","filename":"file4"},{"photo_id":"1331788541","filename":"file1"},{"photo_id":"1331788253","filename":"file0"},{"photo_id":"1331788549","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331788545":["hashtag1","hashtag2"]},{"1331788550":["hashtag1","hashtag2"]},{"1331788253":["hashtag1","hashtag2"]},{"1331788553":["hashtag1","hashtag2"]},{"1331788541":["hashtag1","hashtag2"]},{"1331788549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331788545, 1331788550, 1331788253, 1331788553, 1331788541, 1331788549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19622325897217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-01-26 22:59:52.234989
SELECT 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 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250123 ORDER BY id_local ASC LIMIT 6;
  port_id : 19839053
  datou_current_id : 2505709
in upload_from_sqlite, uploading in 19839053
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_36_10454.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_47_10353.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_56_9394.jpg', '/home/pi/Desktop/images/23012025/22/20/image_23012025_22_21_06_10339.jpg', '/home/pi/Desktop/images/23012025/22/21/image_23012025_22_21_16_9408.jpg', '/home/pi/Desktop/images/23012025/22/21/image_23012025_22_21_26_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2505709&datou=0
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_36_10454.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_47_10353.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_20_56_9394.jpg
/home/pi/Desktop/images/23012025/22/20/image_23012025_22_21_06_10339.jpg
/home/pi/Desktop/images/23012025/22/21/image_23012025_22_21_16_9408.jpg
/home/pi/Desktop/images/23012025/22/21/image_23012025_22_21_26_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":["1331788796","1331788760","1331788823","1331788820","1331788759","1331788827"],"photo_ids_order":["1331788759","1331788760","1331788796","1331788820","1331788823","1331788827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/07b02999cbab8b5b6e87eee5145caa13.jpg","text":"TemporaryFile(/tmp/multipartBody6724704619971422051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_20_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1f08f512fc569172b6176848f4459172.jpg","text":"TemporaryFile(/tmp/multipartBody2608883458665488211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_20_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/26/f61b5b42f4667dce6ea92750e933fbac.jpg","text":"TemporaryFile(/tmp/multipartBody374402999174799167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_21_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2e1621295dc0a5cc5b97f57a86778e3.jpg","text":"TemporaryFile(/tmp/multipartBody6767594931464153352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_21_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/766c4e64c281f6e1620c983ade1a40c3.jpg","text":"TemporaryFile(/tmp/multipartBody1508116050764412781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_20_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/26/4754d83c33f684dfe549d08bcc37f5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2280676859138617208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928854592,"filename":"image_23012025_22_21_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331788796","file1":"1331788760","file0":"1331788759","file4":"1331788823","file5":"1331788827","file3":"1331788820"},"map_files_photo_id_array":[{"photo_id":"1331788827","filename":"file5"},{"photo_id":"1331788796","filename":"file2"},{"photo_id":"1331788823","filename":"file4"},{"photo_id":"1331788760","filename":"file1"},{"photo_id":"1331788759","filename":"file0"},{"photo_id":"1331788820","filename":"file3"}],"portfolio_id":19839053,"hashtag_by_photo_ids":[{"1331788796":["hashtag1","hashtag2"]},{"1331788760":["hashtag1","hashtag2"]},{"1331788823":["hashtag1","hashtag2"]},{"1331788820":["hashtag1","hashtag2"]},{"1331788759":["hashtag1","hashtag2"]},{"1331788827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19839053 used, photo_id : ArrayBuffer(1331788796, 1331788760, 1331788823, 1331788820, 1331788759, 1331788827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17594909667969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 23:00:42.471494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_14_9349.jpg', '/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_25_10415.jpg', '/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_34_9416.jpg', '/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_44_10350.jpg', '/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_55_10406.jpg', '/home/pi/Desktop/images/26012025/22/43/image_26012025_22_44_04_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_14_9349.jpg
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_25_10415.jpg
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_34_9416.jpg
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_44_10350.jpg
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_43_55_10406.jpg
/home/pi/Desktop/images/26012025/22/43/image_26012025_22_44_04_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331789060","1331789006","1331788882","1331788984","1331788986","1331789043"],"photo_ids_order":["1331788882","1331788984","1331788986","1331789006","1331789043","1331789060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/120a6a59625b45f6fb5875ab74e3db1d.jpg","text":"TemporaryFile(/tmp/multipartBody3588484767579716331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_44_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/26/9c9fc2fce454aeb3ac21afdae7a71035.jpg","text":"TemporaryFile(/tmp/multipartBody3748382912932016882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_43_44_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d4ac64a402c97c73c59d1719a87a8fd0.jpg","text":"TemporaryFile(/tmp/multipartBody499034323384090204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_43_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/26/44ddfd5ff37aadc85a54c99b09ce2924.jpg","text":"TemporaryFile(/tmp/multipartBody3395741516786922875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_43_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/26/0737cfd6ac1a460bbcb20eb0f74aef2b.jpg","text":"TemporaryFile(/tmp/multipartBody4887015341245821819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_43_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/22da14a42dab224451687b11b167bd3d.jpg","text":"TemporaryFile(/tmp/multipartBody1835482090710888906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928903747,"filename":"image_26012025_22_43_55_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331788986","file1":"1331788984","file0":"1331788882","file4":"1331789043","file5":"1331789060","file3":"1331789006"},"map_files_photo_id_array":[{"photo_id":"1331789060","filename":"file5"},{"photo_id":"1331788986","filename":"file2"},{"photo_id":"1331789043","filename":"file4"},{"photo_id":"1331788984","filename":"file1"},{"photo_id":"1331788882","filename":"file0"},{"photo_id":"1331789006","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331789060":["hashtag1","hashtag2"]},{"1331789006":["hashtag1","hashtag2"]},{"1331788882":["hashtag1","hashtag2"]},{"1331788984":["hashtag1","hashtag2"]},{"1331788986":["hashtag1","hashtag2"]},{"1331789043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331789060, 1331789006, 1331788882, 1331788984, 1331788986, 1331789043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29716873168945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:01:32.668509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_14_10344.jpg', '/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_24_9470.jpg', '/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_34_10355.jpg', '/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_45_10353.jpg', '/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_54_9370.jpg', '/home/pi/Desktop/images/26012025/22/44/image_26012025_22_45_04_10414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_14_10344.jpg
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_24_9470.jpg
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_34_10355.jpg
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_45_10353.jpg
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_44_54_9370.jpg
/home/pi/Desktop/images/26012025/22/44/image_26012025_22_45_04_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331789434","1331789437","1331789131","1331789229","1331789439","1331789133"],"photo_ids_order":["1331789131","1331789133","1331789229","1331789434","1331789437","1331789439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9e967e207fbca340977abba903469b56.jpg","text":"TemporaryFile(/tmp/multipartBody3196072851959722946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_44_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/26/89e24bb53873e0bf291969729f1b6dee.jpg","text":"TemporaryFile(/tmp/multipartBody2488099176057418148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_44_54_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/26/90908775f6efab68adfa97ef6e2b932e.jpg","text":"TemporaryFile(/tmp/multipartBody3596097460582378887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_44_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/26/699a0595a00a67ee68a9a252407daf3d.jpg","text":"TemporaryFile(/tmp/multipartBody1941934046839238411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_44_34_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/26/a12004a949e0e8fc8393010423ca8448.jpg","text":"TemporaryFile(/tmp/multipartBody2195454743252919470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_45_04_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/313dbfe4b04d180b5f776b39cacf9ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8525972792340803746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737928953573,"filename":"image_26012025_22_44_24_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331789229","file1":"1331789133","file0":"1331789131","file4":"1331789437","file5":"1331789439","file3":"1331789434"},"map_files_photo_id_array":[{"photo_id":"1331789439","filename":"file5"},{"photo_id":"1331789229","filename":"file2"},{"photo_id":"1331789437","filename":"file4"},{"photo_id":"1331789133","filename":"file1"},{"photo_id":"1331789131","filename":"file0"},{"photo_id":"1331789434","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331789434":["hashtag1","hashtag2"]},{"1331789437":["hashtag1","hashtag2"]},{"1331789131":["hashtag1","hashtag2"]},{"1331789229":["hashtag1","hashtag2"]},{"1331789439":["hashtag1","hashtag2"]},{"1331789133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331789434, 1331789437, 1331789131, 1331789229, 1331789439, 1331789133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81427311897278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:02:32.909575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_15_10416.jpg', '/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_24_9402.jpg', '/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_35_10404.jpg', '/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_44_9473.jpg', '/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_55_10479.jpg', '/home/pi/Desktop/images/26012025/22/45/image_26012025_22_46_04_9343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_15_10416.jpg
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_24_9402.jpg
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_35_10404.jpg
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_44_9473.jpg
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_45_55_10479.jpg
/home/pi/Desktop/images/26012025/22/45/image_26012025_22_46_04_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331790146","1331790172","1331790151","1331789994","1331790148","1331790147"],"photo_ids_order":["1331789994","1331790146","1331790147","1331790148","1331790151","1331790172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/96a0914e3a072d268682fd660624bbe7.jpg","text":"TemporaryFile(/tmp/multipartBody6512701919177143891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_45_24_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/26/d9420205efc32bd2b00fc39f82473474.jpg","text":"TemporaryFile(/tmp/multipartBody6862798062394552071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_46_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/26/7583648359c9f0aa2e9721c4c82d4120.jpg","text":"TemporaryFile(/tmp/multipartBody5444799963903291596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_45_55_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/26/0b751b997be13a4c6b8afe174f0b352c.jpg","text":"TemporaryFile(/tmp/multipartBody1010759364408086285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_45_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e4f1cd17582e53867c659760a49ecaab.jpg","text":"TemporaryFile(/tmp/multipartBody4824800175438686820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_45_44_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/26/eb7d111eb69324456c8815a88e505a3b.jpg","text":"TemporaryFile(/tmp/multipartBody853618092842430768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929013822,"filename":"image_26012025_22_45_35_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790147","file1":"1331790146","file0":"1331789994","file4":"1331790151","file5":"1331790172","file3":"1331790148"},"map_files_photo_id_array":[{"photo_id":"1331790172","filename":"file5"},{"photo_id":"1331790147","filename":"file2"},{"photo_id":"1331790151","filename":"file4"},{"photo_id":"1331790146","filename":"file1"},{"photo_id":"1331789994","filename":"file0"},{"photo_id":"1331790148","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790146":["hashtag1","hashtag2"]},{"1331790172":["hashtag1","hashtag2"]},{"1331790151":["hashtag1","hashtag2"]},{"1331789994":["hashtag1","hashtag2"]},{"1331790148":["hashtag1","hashtag2"]},{"1331790147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790146, 1331790172, 1331790151, 1331789994, 1331790148, 1331790147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62767243385315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:03:32.332022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_14_10450.jpg', '/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_25_10468.jpg', '/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_34_9346.jpg', '/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_45_10413.jpg', '/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_54_9351.jpg', '/home/pi/Desktop/images/26012025/22/46/image_26012025_22_47_04_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_14_10450.jpg
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_25_10468.jpg
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_34_9346.jpg
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_45_10413.jpg
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_46_54_9351.jpg
/home/pi/Desktop/images/26012025/22/46/image_26012025_22_47_04_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":["1331790324","1331790338","1331790334","1331790337","1331790331","1331790327"],"photo_ids_order":["1331790324","1331790327","1331790331","1331790334","1331790337","1331790338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7ccb211f2c85c6a90069407cb4ac4505.jpg","text":"TemporaryFile(/tmp/multipartBody3141786188566280705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_46_14_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/26/d825271f0e0650b8281e23bb5ef1aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody633713761869783560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_47_04_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/26/ba8ea8f96091c6753bb40c5f33bf8061.jpg","text":"TemporaryFile(/tmp/multipartBody4742338594188899621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_46_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/26/bc358a723ac6c0305ba92c0bb8ef4c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8033143016871071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_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/26/f2099261630dc82d36e371de64733da0.jpg","text":"TemporaryFile(/tmp/multipartBody5105874141976452962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_46_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/26/99ba72cf42a6978037597ac57667fa71.jpg","text":"TemporaryFile(/tmp/multipartBody6694459281813360697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929073238,"filename":"image_26012025_22_46_25_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790331","file1":"1331790327","file0":"1331790324","file4":"1331790337","file5":"1331790338","file3":"1331790334"},"map_files_photo_id_array":[{"photo_id":"1331790338","filename":"file5"},{"photo_id":"1331790331","filename":"file2"},{"photo_id":"1331790337","filename":"file4"},{"photo_id":"1331790327","filename":"file1"},{"photo_id":"1331790324","filename":"file0"},{"photo_id":"1331790334","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790324":["hashtag1","hashtag2"]},{"1331790338":["hashtag1","hashtag2"]},{"1331790334":["hashtag1","hashtag2"]},{"1331790337":["hashtag1","hashtag2"]},{"1331790331":["hashtag1","hashtag2"]},{"1331790327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790324, 1331790338, 1331790334, 1331790337, 1331790331, 1331790327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8511688709259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:04:32.559489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_15_10370.jpg', '/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_24_9414.jpg', '/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_35_10428.jpg', '/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_54_10353.jpg', '/home/pi/Desktop/images/26012025/22/47/image_26012025_22_48_05_10351.jpg', '/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_14_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_15_10370.jpg
/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_24_9414.jpg
/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_35_10428.jpg
/home/pi/Desktop/images/26012025/22/47/image_26012025_22_47_54_10353.jpg
/home/pi/Desktop/images/26012025/22/47/image_26012025_22_48_05_10351.jpg
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_14_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":["1331790356","1331790352","1331790358","1331790351","1331790360","1331790354"],"photo_ids_order":["1331790351","1331790352","1331790354","1331790356","1331790358","1331790360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/27115e25f94b34c57b8e9761d2e03d14.jpg","text":"TemporaryFile(/tmp/multipartBody1205130140974824928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_47_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f9722ef3313530901b6fe86647b59dd2.jpg","text":"TemporaryFile(/tmp/multipartBody2072121615181298521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_47_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c002e17b407abef2d940510193a2fea6.jpg","text":"TemporaryFile(/tmp/multipartBody2332861929291317341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_48_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/26/a933d143f8a542c39e796f1fc386d6ae.jpg","text":"TemporaryFile(/tmp/multipartBody1414826422520505423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_47_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/26/bd750fe922a23cfd9b8e732b88e6054c.jpg","text":"TemporaryFile(/tmp/multipartBody4461774987009017118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_48_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/362803ca994eec0ec77f5b15f8c7ced5.jpg","text":"TemporaryFile(/tmp/multipartBody7865654380409852090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929133495,"filename":"image_26012025_22_47_35_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790354","file1":"1331790352","file0":"1331790351","file4":"1331790358","file5":"1331790360","file3":"1331790356"},"map_files_photo_id_array":[{"photo_id":"1331790360","filename":"file5"},{"photo_id":"1331790354","filename":"file2"},{"photo_id":"1331790358","filename":"file4"},{"photo_id":"1331790352","filename":"file1"},{"photo_id":"1331790351","filename":"file0"},{"photo_id":"1331790356","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790356":["hashtag1","hashtag2"]},{"1331790352":["hashtag1","hashtag2"]},{"1331790358":["hashtag1","hashtag2"]},{"1331790351":["hashtag1","hashtag2"]},{"1331790360":["hashtag1","hashtag2"]},{"1331790354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790356, 1331790352, 1331790358, 1331790351, 1331790360, 1331790354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51936960220337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:05:32.648379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_24_10369.jpg', '/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_35_10424.jpg', '/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_44_9375.jpg', '/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_55_10480.jpg', '/home/pi/Desktop/images/26012025/22/48/image_26012025_22_49_04_9329.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_14_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_24_10369.jpg
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_35_10424.jpg
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_44_9375.jpg
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_48_55_10480.jpg
/home/pi/Desktop/images/26012025/22/48/image_26012025_22_49_04_9329.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_14_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":["1331790540","1331790380","1331790493","1331790376","1331790378","1331790537"],"photo_ids_order":["1331790376","1331790378","1331790380","1331790493","1331790537","1331790540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3bc83402b852f20b25f5698a90ba6ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3509172170265212202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_49_14_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c494baa7ad4b3abff4c0b1c6898262dc.jpg","text":"TemporaryFile(/tmp/multipartBody3076654719686166768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_48_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/886d20c4ad377e89c1d10015824d3787.jpg","text":"TemporaryFile(/tmp/multipartBody5229026996217248304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_48_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/26/9808372929994c6c94dcdb59998a21ac.jpg","text":"TemporaryFile(/tmp/multipartBody263930583664748182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_48_24_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/26/408d35f69f221203c6b43fc883c99c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7167269154592550052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_48_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/26/f2da686321d30513b9eca8bae7c63e43.jpg","text":"TemporaryFile(/tmp/multipartBody1496297141964700118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929193553,"filename":"image_26012025_22_49_04_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790380","file1":"1331790378","file0":"1331790376","file4":"1331790537","file5":"1331790540","file3":"1331790493"},"map_files_photo_id_array":[{"photo_id":"1331790540","filename":"file5"},{"photo_id":"1331790380","filename":"file2"},{"photo_id":"1331790537","filename":"file4"},{"photo_id":"1331790378","filename":"file1"},{"photo_id":"1331790376","filename":"file0"},{"photo_id":"1331790493","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790540":["hashtag1","hashtag2"]},{"1331790380":["hashtag1","hashtag2"]},{"1331790493":["hashtag1","hashtag2"]},{"1331790376":["hashtag1","hashtag2"]},{"1331790378":["hashtag1","hashtag2"]},{"1331790537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790540, 1331790380, 1331790493, 1331790376, 1331790378, 1331790537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1568717956543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:06:32.816965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_25_10441.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_34_9342.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_45_10475.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_54_9413.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_50_04_10379.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_14_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_25_10441.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_34_9342.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_45_10475.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_54_9413.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_50_04_10379.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_14_9440.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5726439952850342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 23:06:42.865595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_25_10441.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_34_9342.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_45_10475.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_54_9413.jpg', '/home/pi/Desktop/images/26012025/22/49/image_26012025_22_50_04_10379.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_14_9440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_25_10441.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_34_9342.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_45_10475.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_49_54_9413.jpg
/home/pi/Desktop/images/26012025/22/49/image_26012025_22_50_04_10379.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_14_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":["1331790686","1331790689","1331790674","1331790687","1331790684","1331790678"],"photo_ids_order":["1331790674","1331790678","1331790684","1331790686","1331790687","1331790689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/83af1f2d631291ba235ea67dd9446ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8310258749197331903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_49_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/18912ae5f5fe02c478ab4cbf688934c9.jpg","text":"TemporaryFile(/tmp/multipartBody8822880104433233921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_50_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/869ba07df8408c5b7bbbb27fca107b41.jpg","text":"TemporaryFile(/tmp/multipartBody7668946407408891044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_49_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/26/72c3e2e61f03589de31a069bbaa3fbc2.jpg","text":"TemporaryFile(/tmp/multipartBody7249598007515559420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_50_04_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/26/6406d5c7ea9c4800b6443cc9319cc414.jpg","text":"TemporaryFile(/tmp/multipartBody3848591862120058289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_49_45_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/48e004b7f5830161fc19f32361f5f913.jpg","text":"TemporaryFile(/tmp/multipartBody751216426106533369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929263786,"filename":"image_26012025_22_49_34_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790684","file1":"1331790678","file0":"1331790674","file4":"1331790687","file5":"1331790689","file3":"1331790686"},"map_files_photo_id_array":[{"photo_id":"1331790689","filename":"file5"},{"photo_id":"1331790684","filename":"file2"},{"photo_id":"1331790687","filename":"file4"},{"photo_id":"1331790678","filename":"file1"},{"photo_id":"1331790674","filename":"file0"},{"photo_id":"1331790686","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790686":["hashtag1","hashtag2"]},{"1331790689":["hashtag1","hashtag2"]},{"1331790674":["hashtag1","hashtag2"]},{"1331790687":["hashtag1","hashtag2"]},{"1331790684":["hashtag1","hashtag2"]},{"1331790678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790686, 1331790689, 1331790674, 1331790687, 1331790684, 1331790678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66969108581543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:07:33.062209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_24_10353.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_35_10477.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_44_9350.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_54_10369.jpg', '/home/pi/Desktop/images/26012025/22/50/image_26012025_22_51_05_10404.jpg', '/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_14_9327.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_24_10353.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_35_10477.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_44_9350.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_50_54_10369.jpg
/home/pi/Desktop/images/26012025/22/50/image_26012025_22_51_05_10404.jpg
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_14_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":["1331790729","1331790720","1331790740","1331790734","1331790724","1331790738"],"photo_ids_order":["1331790720","1331790724","1331790729","1331790734","1331790738","1331790740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e9cd0e2565c3a53a6d71f7f1db7a8d67.jpg","text":"TemporaryFile(/tmp/multipartBody2457381536050576740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_50_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8fa18da5cd50796298421bd4f65cf9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8302594540960938265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_50_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/26/6a510f6dd74e5f1cd35eb9c1543240e6.jpg","text":"TemporaryFile(/tmp/multipartBody1001381250442357797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_51_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/26/4fac2247e14bed1625b351f17e8c5dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8591943491510568147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_50_54_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b1737de7eb7fc4b662c21cc625928d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2716844250682468083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_50_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/26/57ef24fb55993531c5bc36a40cf55a38.jpg","text":"TemporaryFile(/tmp/multipartBody1320328943911199513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929313977,"filename":"image_26012025_22_51_05_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790729","file1":"1331790724","file0":"1331790720","file4":"1331790738","file5":"1331790740","file3":"1331790734"},"map_files_photo_id_array":[{"photo_id":"1331790740","filename":"file5"},{"photo_id":"1331790729","filename":"file2"},{"photo_id":"1331790738","filename":"file4"},{"photo_id":"1331790724","filename":"file1"},{"photo_id":"1331790720","filename":"file0"},{"photo_id":"1331790734","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790729":["hashtag1","hashtag2"]},{"1331790720":["hashtag1","hashtag2"]},{"1331790740":["hashtag1","hashtag2"]},{"1331790734":["hashtag1","hashtag2"]},{"1331790724":["hashtag1","hashtag2"]},{"1331790738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790729, 1331790720, 1331790740, 1331790734, 1331790724, 1331790738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.61279892921448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:08:32.276804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_25_10470.jpg', '/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_34_9348.jpg', '/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_44_10351.jpg', '/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_55_10426.jpg', '/home/pi/Desktop/images/26012025/22/51/image_26012025_22_52_04_9412.jpg', '/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_15_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_25_10470.jpg
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_34_9348.jpg
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_44_10351.jpg
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_51_55_10426.jpg
/home/pi/Desktop/images/26012025/22/51/image_26012025_22_52_04_9412.jpg
/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_15_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":["1331790760","1331790751","1331790748","1331790756","1331790759","1331790744"],"photo_ids_order":["1331790744","1331790748","1331790751","1331790756","1331790759","1331790760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d177c52d9d344bb21ad590219435860f.jpg","text":"TemporaryFile(/tmp/multipartBody1124835137292531375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_52_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/26/182581ddfd8b39474673489185a57334.jpg","text":"TemporaryFile(/tmp/multipartBody4704102102919989067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_51_44_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/26/e3082b58fd6e7479814bb3ae94876564.jpg","text":"TemporaryFile(/tmp/multipartBody3242556833592440614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_51_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/567c35a6acb2b1c86bfdc4867cc41304.jpg","text":"TemporaryFile(/tmp/multipartBody2787031933057967253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_51_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/26/7e75a715eef6ffc1de2dfae4e1e90a57.jpg","text":"TemporaryFile(/tmp/multipartBody8094682389566894872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_52_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/26/ce5134903345868d0fea5b72843db424.jpg","text":"TemporaryFile(/tmp/multipartBody8139127473547773247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929373185,"filename":"image_26012025_22_51_25_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790751","file1":"1331790748","file0":"1331790744","file4":"1331790759","file5":"1331790760","file3":"1331790756"},"map_files_photo_id_array":[{"photo_id":"1331790760","filename":"file5"},{"photo_id":"1331790751","filename":"file2"},{"photo_id":"1331790759","filename":"file4"},{"photo_id":"1331790748","filename":"file1"},{"photo_id":"1331790744","filename":"file0"},{"photo_id":"1331790756","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790760":["hashtag1","hashtag2"]},{"1331790751":["hashtag1","hashtag2"]},{"1331790748":["hashtag1","hashtag2"]},{"1331790756":["hashtag1","hashtag2"]},{"1331790759":["hashtag1","hashtag2"]},{"1331790744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790760, 1331790751, 1331790748, 1331790756, 1331790759, 1331790744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6448769569397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:09:32.481617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_24_9346.jpg', '/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_34_10432.jpg', '/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_54_9351.jpg', '/home/pi/Desktop/images/26012025/22/52/image_26012025_22_53_05_10434.jpg', '/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_14_9345.jpg', '/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_35_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_24_9346.jpg
/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_34_10432.jpg
/home/pi/Desktop/images/26012025/22/52/image_26012025_22_52_54_9351.jpg
/home/pi/Desktop/images/26012025/22/52/image_26012025_22_53_05_10434.jpg
/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_14_9345.jpg
/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_35_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":["1331790779","1331790775","1331790769","1331790784","1331790783","1331790765"],"photo_ids_order":["1331790765","1331790769","1331790775","1331790779","1331790783","1331790784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e09f426dd82d5d27b6c81620eb392570.jpg","text":"TemporaryFile(/tmp/multipartBody7438073968829706054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_53_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5d9f57878bbcfe774cdeaf8617393a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8054995187852941878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_52_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac91d36522746cad3a54e0db3b10743b.jpg","text":"TemporaryFile(/tmp/multipartBody3411870929555952100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_52_34_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f91fdc49aa3861d2a393d91621e68ef2.jpg","text":"TemporaryFile(/tmp/multipartBody1868687842783078172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_53_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/26/5b258d093973ec8d9d9b719bdd1800bb.jpg","text":"TemporaryFile(/tmp/multipartBody5746917236482986039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_53_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/26/31bb55d212afaf8ffdd70c3e52b5742a.jpg","text":"TemporaryFile(/tmp/multipartBody8253504617063744934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929433420,"filename":"image_26012025_22_52_24_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331790775","file1":"1331790769","file0":"1331790765","file4":"1331790783","file5":"1331790784","file3":"1331790779"},"map_files_photo_id_array":[{"photo_id":"1331790784","filename":"file5"},{"photo_id":"1331790775","filename":"file2"},{"photo_id":"1331790783","filename":"file4"},{"photo_id":"1331790769","filename":"file1"},{"photo_id":"1331790765","filename":"file0"},{"photo_id":"1331790779","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331790779":["hashtag1","hashtag2"]},{"1331790775":["hashtag1","hashtag2"]},{"1331790769":["hashtag1","hashtag2"]},{"1331790784":["hashtag1","hashtag2"]},{"1331790783":["hashtag1","hashtag2"]},{"1331790765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331790779, 1331790775, 1331790769, 1331790784, 1331790783, 1331790765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59022903442383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:10:32.780959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_44_9356.jpg', '/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_54_10358.jpg', '/home/pi/Desktop/images/26012025/22/53/image_26012025_22_54_05_10438.jpg', '/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_14_9337.jpg', '/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_25_10421.jpg', '/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_34_9700.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_44_9356.jpg
/home/pi/Desktop/images/26012025/22/53/image_26012025_22_53_54_10358.jpg
/home/pi/Desktop/images/26012025/22/53/image_26012025_22_54_05_10438.jpg
/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_14_9337.jpg
/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_25_10421.jpg
/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_34_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331791280","1331791277","1331791337","1331791393","1331791390","1331791284"],"photo_ids_order":["1331791277","1331791280","1331791284","1331791337","1331791390","1331791393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/506b61485226e3c58a1456634f632ace.jpg","text":"TemporaryFile(/tmp/multipartBody4841886147458031303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_53_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/26/cb125c53bb127c6715f93f4ab7fee00b.jpg","text":"TemporaryFile(/tmp/multipartBody8498452516394486048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_53_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/26/ddee3ab4d3f6acc4107915f759566cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4395498022214263834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_54_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/26/73f6bb2aa88590ad95dd44fa9045a753.jpg","text":"TemporaryFile(/tmp/multipartBody8790689323612806545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_54_34_9700.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dc66e1f3b5a093f55f7b17ed74d2eb45.jpg","text":"TemporaryFile(/tmp/multipartBody6233398685913829541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_54_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/26/89f526ef5c7e970ec16f10d85af27b27.jpg","text":"TemporaryFile(/tmp/multipartBody3293294025141920798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929493721,"filename":"image_26012025_22_54_05_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791284","file1":"1331791280","file0":"1331791277","file4":"1331791390","file5":"1331791393","file3":"1331791337"},"map_files_photo_id_array":[{"photo_id":"1331791393","filename":"file5"},{"photo_id":"1331791284","filename":"file2"},{"photo_id":"1331791390","filename":"file4"},{"photo_id":"1331791280","filename":"file1"},{"photo_id":"1331791277","filename":"file0"},{"photo_id":"1331791337","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791280":["hashtag1","hashtag2"]},{"1331791277":["hashtag1","hashtag2"]},{"1331791337":["hashtag1","hashtag2"]},{"1331791393":["hashtag1","hashtag2"]},{"1331791390":["hashtag1","hashtag2"]},{"1331791284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791280, 1331791277, 1331791337, 1331791393, 1331791390, 1331791284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.015952348709106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:11:32.879763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_45_10463.jpg', '/home/pi/Desktop/images/26012025/22/54/image_26012025_22_55_04_10356.jpg', '/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_14_9496.jpg', '/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_24_10349.jpg', '/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_35_10348.jpg', '/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_44_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/54/image_26012025_22_54_45_10463.jpg
/home/pi/Desktop/images/26012025/22/54/image_26012025_22_55_04_10356.jpg
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_14_9496.jpg
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_24_10349.jpg
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_35_10348.jpg
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_44_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331791451","1331791448","1331791442","1331791444","1331791443","1331791446"],"photo_ids_order":["1331791442","1331791443","1331791444","1331791446","1331791448","1331791451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/00870e8e3de87a5314e8f84b12025df3.jpg","text":"TemporaryFile(/tmp/multipartBody482764287082608209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_55_44_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2a6aa3e06832de065184cbac3a0fb354.jpg","text":"TemporaryFile(/tmp/multipartBody7982272257911116511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_55_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/26/57c1b2db4ffcc4d3fcb57abce6b457b2.jpg","text":"TemporaryFile(/tmp/multipartBody1900126030313608440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_54_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/26/6955eb8792b9c763044603e17e9d48e8.jpg","text":"TemporaryFile(/tmp/multipartBody2900034692258574476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_55_14_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/26/4b1f5ca1c3a5d80e2491971fad7127c8.jpg","text":"TemporaryFile(/tmp/multipartBody4625393441245676565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_55_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/48af0405c1861cc7e7a93a8b47683bab.jpg","text":"TemporaryFile(/tmp/multipartBody4459819307356409371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929553794,"filename":"image_26012025_22_55_24_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791444","file1":"1331791443","file0":"1331791442","file4":"1331791448","file5":"1331791451","file3":"1331791446"},"map_files_photo_id_array":[{"photo_id":"1331791451","filename":"file5"},{"photo_id":"1331791444","filename":"file2"},{"photo_id":"1331791448","filename":"file4"},{"photo_id":"1331791443","filename":"file1"},{"photo_id":"1331791442","filename":"file0"},{"photo_id":"1331791446","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791451":["hashtag1","hashtag2"]},{"1331791448":["hashtag1","hashtag2"]},{"1331791442":["hashtag1","hashtag2"]},{"1331791444":["hashtag1","hashtag2"]},{"1331791443":["hashtag1","hashtag2"]},{"1331791446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791451, 1331791448, 1331791442, 1331791444, 1331791443, 1331791446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.313474893569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:12:32.209563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_54_10371.jpg', '/home/pi/Desktop/images/26012025/22/55/image_26012025_22_56_05_10349.jpg', '/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_14_9393.jpg', '/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_25_10398.jpg', '/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_34_9389.jpg', '/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_44_10407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_55_54_10371.jpg
/home/pi/Desktop/images/26012025/22/55/image_26012025_22_56_05_10349.jpg
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_14_9393.jpg
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_25_10398.jpg
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_34_9389.jpg
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_44_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":["1331791492","1331791495","1331791491","1331791488","1331791473","1331791496"],"photo_ids_order":["1331791473","1331791488","1331791491","1331791492","1331791495","1331791496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2896fc333a43779253b7c800b8a2546.jpg","text":"TemporaryFile(/tmp/multipartBody4052756263617034038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_56_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/26/6beb87ac26aaec72bed5a429553a2e28.jpg","text":"TemporaryFile(/tmp/multipartBody1636353240049867862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_56_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/26/0f6307e8dc9267a8492a57e1349581ca.jpg","text":"TemporaryFile(/tmp/multipartBody475025715601562369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_56_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/26/1a2d0f80b1ba6b2a4d3b777a25407ce1.jpg","text":"TemporaryFile(/tmp/multipartBody7652899423924861495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_56_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/26/5f80cb4a78eca80c5834a4ed988d2d23.jpg","text":"TemporaryFile(/tmp/multipartBody3250434106905124030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_55_54_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/26/be03594e7c66ee83f9bea48a518e9193.jpg","text":"TemporaryFile(/tmp/multipartBody35447851074295723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929613130,"filename":"image_26012025_22_56_44_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791491","file1":"1331791488","file0":"1331791473","file4":"1331791495","file5":"1331791496","file3":"1331791492"},"map_files_photo_id_array":[{"photo_id":"1331791496","filename":"file5"},{"photo_id":"1331791491","filename":"file2"},{"photo_id":"1331791495","filename":"file4"},{"photo_id":"1331791488","filename":"file1"},{"photo_id":"1331791473","filename":"file0"},{"photo_id":"1331791492","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791492":["hashtag1","hashtag2"]},{"1331791495":["hashtag1","hashtag2"]},{"1331791491":["hashtag1","hashtag2"]},{"1331791488":["hashtag1","hashtag2"]},{"1331791473":["hashtag1","hashtag2"]},{"1331791496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791492, 1331791495, 1331791491, 1331791488, 1331791473, 1331791496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.43006348609924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:13:32.502581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_55_10425.jpg', '/home/pi/Desktop/images/26012025/22/56/image_26012025_22_57_04_9352.jpg', '/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_15_10442.jpg', '/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_24_9354.jpg', '/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_34_10358.jpg', '/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_45_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_56_55_10425.jpg
/home/pi/Desktop/images/26012025/22/56/image_26012025_22_57_04_9352.jpg
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_15_10442.jpg
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_24_9354.jpg
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_34_10358.jpg
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_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":["1331791574","1331791570","1331791546","1331791540","1331791572","1331791577"],"photo_ids_order":["1331791540","1331791546","1331791570","1331791572","1331791574","1331791577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a2fbfcbf24b708d3472f8152103ba019.jpg","text":"TemporaryFile(/tmp/multipartBody5659778601569177850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_57_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/26/e00a335a7358392ebd773a11ce0d8e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7673991174979801019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_57_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/26/42b47b3eb227825bb08fd92bd41b4006.jpg","text":"TemporaryFile(/tmp/multipartBody9202760819505953880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_57_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/26/e4dacd84845d59269ad3dab11e1b8dad.jpg","text":"TemporaryFile(/tmp/multipartBody8963220039937063192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_56_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/26/e13e5729e6859f719f8b1b4285b2d0de.jpg","text":"TemporaryFile(/tmp/multipartBody7575947960344611281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_57_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/26/71727ee3f51939c71baa194b66269078.jpg","text":"TemporaryFile(/tmp/multipartBody8248369188416038586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929673439,"filename":"image_26012025_22_57_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791570","file1":"1331791546","file0":"1331791540","file4":"1331791574","file5":"1331791577","file3":"1331791572"},"map_files_photo_id_array":[{"photo_id":"1331791577","filename":"file5"},{"photo_id":"1331791570","filename":"file2"},{"photo_id":"1331791574","filename":"file4"},{"photo_id":"1331791546","filename":"file1"},{"photo_id":"1331791540","filename":"file0"},{"photo_id":"1331791572","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791574":["hashtag1","hashtag2"]},{"1331791570":["hashtag1","hashtag2"]},{"1331791546":["hashtag1","hashtag2"]},{"1331791540":["hashtag1","hashtag2"]},{"1331791572":["hashtag1","hashtag2"]},{"1331791577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791574, 1331791570, 1331791546, 1331791540, 1331791572, 1331791577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.99253988265991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:14:32.620671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_54_9426.jpg', '/home/pi/Desktop/images/26012025/22/57/image_26012025_22_58_05_10462.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_14_9352.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_24_10363.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_35_10452.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_44_9339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_57_54_9426.jpg
/home/pi/Desktop/images/26012025/22/57/image_26012025_22_58_05_10462.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_14_9352.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_24_10363.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_35_10452.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_44_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":["1331791592","1331791597","1331791599","1331791590","1331791602","1331791595"],"photo_ids_order":["1331791590","1331791592","1331791595","1331791597","1331791599","1331791602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/191e7727d51f9a80858df69dec823086.jpg","text":"TemporaryFile(/tmp/multipartBody8338328044069027191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_58_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/26/b76581b5f7ea09a2f899f9775019cb31.jpg","text":"TemporaryFile(/tmp/multipartBody4532157174796509576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_58_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/26/5e23219a372f9384425401698902faed.jpg","text":"TemporaryFile(/tmp/multipartBody5472170415801585968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_58_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9075b87c4b389ddaf537bdad8ca5d9ba.jpg","text":"TemporaryFile(/tmp/multipartBody6949485825326872877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_57_54_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f0b4887683af32b7792a53aed289be1b.jpg","text":"TemporaryFile(/tmp/multipartBody4372655441868068589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_58_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c5249e76c029680934210a59f8e7d367.jpg","text":"TemporaryFile(/tmp/multipartBody3476252697343279315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929733541,"filename":"image_26012025_22_58_14_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791595","file1":"1331791592","file0":"1331791590","file4":"1331791599","file5":"1331791602","file3":"1331791597"},"map_files_photo_id_array":[{"photo_id":"1331791602","filename":"file5"},{"photo_id":"1331791595","filename":"file2"},{"photo_id":"1331791599","filename":"file4"},{"photo_id":"1331791592","filename":"file1"},{"photo_id":"1331791590","filename":"file0"},{"photo_id":"1331791597","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791592":["hashtag1","hashtag2"]},{"1331791597":["hashtag1","hashtag2"]},{"1331791599":["hashtag1","hashtag2"]},{"1331791590":["hashtag1","hashtag2"]},{"1331791602":["hashtag1","hashtag2"]},{"1331791595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791592, 1331791597, 1331791599, 1331791590, 1331791602, 1331791595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.235313177108765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:15:32.876726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_54_10352.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_59_04_9402.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_14_10367.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_25_10387.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_34_9350.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_44_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_54_10352.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_59_04_9402.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_14_10367.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_25_10387.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_34_9350.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_44_10365.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5199689865112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 23:15:42.792704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_54_10352.jpg', '/home/pi/Desktop/images/26012025/22/58/image_26012025_22_59_04_9402.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_14_10367.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_25_10387.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_34_9350.jpg', '/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_44_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_58_54_10352.jpg
/home/pi/Desktop/images/26012025/22/58/image_26012025_22_59_04_9402.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_14_10367.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_25_10387.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_34_9350.jpg
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_44_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":["1331791784","1331791655","1331791693","1331791791","1331791799","1331791787"],"photo_ids_order":["1331791655","1331791693","1331791784","1331791787","1331791791","1331791799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a14815ccf22531e93b5208cfb7d90fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4616808716960888072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_59_14_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/26/353983380f44ab5a2408e714a489eddc.jpg","text":"TemporaryFile(/tmp/multipartBody706636836808899001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_58_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/26/ae05951c9b6c7b5d12ea1142e04bbfa8.jpg","text":"TemporaryFile(/tmp/multipartBody7681302283572963651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_59_04_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/26/a933a2476b4036ea8427b4df4c46b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3258815428399090977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_59_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/98ac05e550c5d14532aa7c0952f42a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6562236526792338164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_59_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5da48a620bd2a041374feeefcd25a8ef.jpg","text":"TemporaryFile(/tmp/multipartBody6463050927989752815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929803699,"filename":"image_26012025_22_59_25_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331791784","file1":"1331791693","file0":"1331791655","file4":"1331791791","file5":"1331791799","file3":"1331791787"},"map_files_photo_id_array":[{"photo_id":"1331791799","filename":"file5"},{"photo_id":"1331791784","filename":"file2"},{"photo_id":"1331791791","filename":"file4"},{"photo_id":"1331791693","filename":"file1"},{"photo_id":"1331791655","filename":"file0"},{"photo_id":"1331791787","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791784":["hashtag1","hashtag2"]},{"1331791655":["hashtag1","hashtag2"]},{"1331791693":["hashtag1","hashtag2"]},{"1331791791":["hashtag1","hashtag2"]},{"1331791799":["hashtag1","hashtag2"]},{"1331791787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791784, 1331791655, 1331791693, 1331791791, 1331791799, 1331791787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.4176971912384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:16:33.109745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_55_10354.jpg', '/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_15_10078.jpg', '/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_26_10377.jpg', '/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_36_10351.jpg', '/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_45_9353.jpg', '/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_56_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/22/59/image_26012025_22_59_55_10354.jpg
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_15_10078.jpg
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_26_10377.jpg
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_36_10351.jpg
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_45_9353.jpg
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_00_56_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":["1331791928","1331792343","1331792322","1331792316","1331792319","1331792267"],"photo_ids_order":["1331791928","1331792267","1331792316","1331792319","1331792322","1331792343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/728f9ded1c99841d960043033677489a.jpg","text":"TemporaryFile(/tmp/multipartBody672530462000790573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_22_59_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/26/5a0487104ea777da8f2540e831ffda29.jpg","text":"TemporaryFile(/tmp/multipartBody7338220694385066813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_23_00_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58a926ae17f86826b1759103553ddb0f.jpg","text":"TemporaryFile(/tmp/multipartBody3590805103715378217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_23_00_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/26/104e41c51137fe19d3bb8420bb731e27.jpg","text":"TemporaryFile(/tmp/multipartBody3230810335734471663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_23_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/26/aa5da3ada581bcd7c2cf058070c5615e.jpg","text":"TemporaryFile(/tmp/multipartBody8707556218653815760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_23_00_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/26/b457723907ebd82485ff116e36c6747c.jpg","text":"TemporaryFile(/tmp/multipartBody4186433566828085862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929854020,"filename":"image_26012025_23_00_15_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331792316","file1":"1331792267","file0":"1331791928","file4":"1331792322","file5":"1331792343","file3":"1331792319"},"map_files_photo_id_array":[{"photo_id":"1331792343","filename":"file5"},{"photo_id":"1331792316","filename":"file2"},{"photo_id":"1331792322","filename":"file4"},{"photo_id":"1331792267","filename":"file1"},{"photo_id":"1331791928","filename":"file0"},{"photo_id":"1331792319","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331791928":["hashtag1","hashtag2"]},{"1331792343":["hashtag1","hashtag2"]},{"1331792322":["hashtag1","hashtag2"]},{"1331792316":["hashtag1","hashtag2"]},{"1331792319":["hashtag1","hashtag2"]},{"1331792267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331791928, 1331792343, 1331792322, 1331792316, 1331792319, 1331792267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84978461265564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:17:32.248146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/00/image_26012025_23_01_06_10351.jpg', '/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_16_9394.jpg', '/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_26_10430.jpg', '/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_35_9424.jpg', '/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_46_10423.jpg', '/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_56_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/00/image_26012025_23_01_06_10351.jpg
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_16_9394.jpg
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_26_10430.jpg
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_35_9424.jpg
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_46_10423.jpg
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_01_56_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331792485","1331792482","1331792476","1331792478","1331792480","1331792486"],"photo_ids_order":["1331792476","1331792478","1331792480","1331792482","1331792485","1331792486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c71426da29c57c4bb512829c40620ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3560147441135221326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_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/26/dfdaab2f173842330e462ac3fe05991e.jpg","text":"TemporaryFile(/tmp/multipartBody9182394752426050532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_35_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e86ae63409a4cda581034ece1318ccc6.jpg","text":"TemporaryFile(/tmp/multipartBody1247344188247701884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_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/26/768e9c3351a06d3398d6eb4a3e98c95d.jpg","text":"TemporaryFile(/tmp/multipartBody1158972480846703506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_16_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/26/2d87eedf2f74ab616dca8555d7538c8f.jpg","text":"TemporaryFile(/tmp/multipartBody4940907633679312296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_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/26/cce2477e3b14a5b850f5bcd88fb70835.jpg","text":"TemporaryFile(/tmp/multipartBody8242698564805648670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929913166,"filename":"image_26012025_23_01_56_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331792480","file1":"1331792478","file0":"1331792476","file4":"1331792485","file5":"1331792486","file3":"1331792482"},"map_files_photo_id_array":[{"photo_id":"1331792486","filename":"file5"},{"photo_id":"1331792480","filename":"file2"},{"photo_id":"1331792485","filename":"file4"},{"photo_id":"1331792478","filename":"file1"},{"photo_id":"1331792476","filename":"file0"},{"photo_id":"1331792482","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331792485":["hashtag1","hashtag2"]},{"1331792482":["hashtag1","hashtag2"]},{"1331792476":["hashtag1","hashtag2"]},{"1331792478":["hashtag1","hashtag2"]},{"1331792480":["hashtag1","hashtag2"]},{"1331792486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331792485, 1331792482, 1331792476, 1331792478, 1331792480, 1331792486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02054810523987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:18:32.458416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/01/image_26012025_23_02_06_9405.jpg', '/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_25_9360.jpg', '/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_36_10365.jpg', '/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_46_10349.jpg', '/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_55_9345.jpg', '/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_16_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/01/image_26012025_23_02_06_9405.jpg
/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_25_9360.jpg
/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_36_10365.jpg
/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_46_10349.jpg
/home/pi/Desktop/images/26012025/23/02/image_26012025_23_02_55_9345.jpg
/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_16_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":["1331792513","1331792501","1331792569","1331792503","1331792499","1331792670"],"photo_ids_order":["1331792499","1331792501","1331792503","1331792513","1331792569","1331792670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a80223bbc36ee3e019ff023d5b1b3a9f.jpg","text":"TemporaryFile(/tmp/multipartBody224388404370404141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_02_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/26/d19e9974d99590ebc7f9b3e4b2a132f3.jpg","text":"TemporaryFile(/tmp/multipartBody7318252133419927041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_02_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/26/88f7fbf51267bd37b18e1d91213d2e08.jpg","text":"TemporaryFile(/tmp/multipartBody8366341115891866674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_02_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/26/cf2cf4014807606941ef7fc05f77e293.jpg","text":"TemporaryFile(/tmp/multipartBody9088800382406365025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_02_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/26/ead3f7a7e1f1ce8515f28eb8d877de18.jpg","text":"TemporaryFile(/tmp/multipartBody4714699061100678108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_02_06_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/365e1fbaa65a53f6b12d6a7404825f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1940042078231987532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737929973382,"filename":"image_26012025_23_03_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331792503","file1":"1331792501","file0":"1331792499","file4":"1331792569","file5":"1331792670","file3":"1331792513"},"map_files_photo_id_array":[{"photo_id":"1331792670","filename":"file5"},{"photo_id":"1331792503","filename":"file2"},{"photo_id":"1331792569","filename":"file4"},{"photo_id":"1331792501","filename":"file1"},{"photo_id":"1331792499","filename":"file0"},{"photo_id":"1331792513","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331792513":["hashtag1","hashtag2"]},{"1331792501":["hashtag1","hashtag2"]},{"1331792569":["hashtag1","hashtag2"]},{"1331792503":["hashtag1","hashtag2"]},{"1331792499":["hashtag1","hashtag2"]},{"1331792670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331792513, 1331792501, 1331792569, 1331792503, 1331792499, 1331792670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23636078834534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:19:32.628631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_26_9409.jpg', '/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_36_10371.jpg', '/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_45_9354.jpg', '/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_15_9345.jpg', '/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_36_10348.jpg', '/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_46_9453.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_26_9409.jpg
/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_36_10371.jpg
/home/pi/Desktop/images/26012025/23/03/image_26012025_23_03_45_9354.jpg
/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_15_9345.jpg
/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_36_10348.jpg
/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_46_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":["1331793259","1331793226","1331793112","1331793318","1331793314","1331793286"],"photo_ids_order":["1331793112","1331793226","1331793259","1331793286","1331793314","1331793318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/53a25ca34754128bca24a3f95b0b483b.jpg","text":"TemporaryFile(/tmp/multipartBody959728074920149786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_03_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/26/c90d74ce32fc3af75d39cb80a1f669e8.jpg","text":"TemporaryFile(/tmp/multipartBody5129893408113774006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_03_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/26/1981f2dc37ceb49826c6647acee34a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2211302952078149062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_03_26_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbbfb2f890aa94a9816606b9ea93ad48.jpg","text":"TemporaryFile(/tmp/multipartBody893724824563468608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_04_46_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/26/4141ec9db54dce20eaba63040c3ba2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8662824777863697235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_04_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/26/d55056c9e9f79b37a563091082575d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5734807295205747861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930033625,"filename":"image_26012025_23_04_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793259","file1":"1331793226","file0":"1331793112","file4":"1331793314","file5":"1331793318","file3":"1331793286"},"map_files_photo_id_array":[{"photo_id":"1331793318","filename":"file5"},{"photo_id":"1331793259","filename":"file2"},{"photo_id":"1331793314","filename":"file4"},{"photo_id":"1331793226","filename":"file1"},{"photo_id":"1331793112","filename":"file0"},{"photo_id":"1331793286","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793259":["hashtag1","hashtag2"]},{"1331793226":["hashtag1","hashtag2"]},{"1331793112":["hashtag1","hashtag2"]},{"1331793318":["hashtag1","hashtag2"]},{"1331793314":["hashtag1","hashtag2"]},{"1331793286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793259, 1331793226, 1331793112, 1331793318, 1331793314, 1331793286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.24940085411072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:20:32.973339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_56_10369.jpg', '/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_16_10360.jpg', '/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_25_9454.jpg', '/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_36_10508.jpg', '/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_46_10412.jpg', '/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_56_9474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/04/image_26012025_23_04_56_10369.jpg
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_16_10360.jpg
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_25_9454.jpg
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_36_10508.jpg
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_46_10412.jpg
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_05_56_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":["1331793328","1331793337","1331793324","1331793335","1331793332","1331793326"],"photo_ids_order":["1331793324","1331793326","1331793328","1331793332","1331793335","1331793337"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d9dbd55d18f0d4ce9cfffe3b70b09cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8191920568175012270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_05_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/26/f64c3c6ba6f8455c7a3c78aeedefaa52.jpg","text":"TemporaryFile(/tmp/multipartBody2237004507395756828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_05_56_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/26/4f98d029d9153fc7c80f1cfd495094b9.jpg","text":"TemporaryFile(/tmp/multipartBody5121525158337388357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_04_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/26/0d7b4b24834ff9ec3c9bf8034f172964.jpg","text":"TemporaryFile(/tmp/multipartBody4610107390473200172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_05_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/26/73935ded816659bd6d136ca6e6d8b41f.jpg","text":"TemporaryFile(/tmp/multipartBody8613773224194435099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_05_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/26/d810d584b2f6162b84145eaa113001a9.jpg","text":"TemporaryFile(/tmp/multipartBody1194501021818409405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930093888,"filename":"image_26012025_23_05_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793328","file1":"1331793326","file0":"1331793324","file4":"1331793335","file5":"1331793337","file3":"1331793332"},"map_files_photo_id_array":[{"photo_id":"1331793337","filename":"file5"},{"photo_id":"1331793328","filename":"file2"},{"photo_id":"1331793335","filename":"file4"},{"photo_id":"1331793326","filename":"file1"},{"photo_id":"1331793324","filename":"file0"},{"photo_id":"1331793332","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793328":["hashtag1","hashtag2"]},{"1331793337":["hashtag1","hashtag2"]},{"1331793324":["hashtag1","hashtag2"]},{"1331793335":["hashtag1","hashtag2"]},{"1331793332":["hashtag1","hashtag2"]},{"1331793326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793328, 1331793337, 1331793324, 1331793335, 1331793332, 1331793326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.760278940200806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:21:32.214709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/05/image_26012025_23_06_06_10408.jpg', '/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_15_9338.jpg', '/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_36_10366.jpg', '/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_46_9456.jpg', '/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_56_10355.jpg', '/home/pi/Desktop/images/26012025/23/06/image_26012025_23_07_05_9423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/05/image_26012025_23_06_06_10408.jpg
/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_15_9338.jpg
/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_36_10366.jpg
/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_46_9456.jpg
/home/pi/Desktop/images/26012025/23/06/image_26012025_23_06_56_10355.jpg
/home/pi/Desktop/images/26012025/23/06/image_26012025_23_07_05_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331793376","1331793357","1331793360","1331793353","1331793350","1331793364"],"photo_ids_order":["1331793350","1331793353","1331793357","1331793360","1331793364","1331793376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/dd9b4e0628b23a6303ed2536d387bbdb.jpg","text":"TemporaryFile(/tmp/multipartBody464679854481331463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_07_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/26/9d73a3279ed243a513cb74dab0be5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody2571865183178935213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_06_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/26/54a6a85e3eb8a9045d45124e5653a88b.jpg","text":"TemporaryFile(/tmp/multipartBody82100978960654199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_06_46_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b7395e531ac796cb11cfb455712c643.jpg","text":"TemporaryFile(/tmp/multipartBody2740177191820276491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_06_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/26/fb29033b1e3b6a0a448d328a3ea55a17.jpg","text":"TemporaryFile(/tmp/multipartBody2473175377054710735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_06_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d3425266695b6d78b556f7ab058e52c7.jpg","text":"TemporaryFile(/tmp/multipartBody1050232173947865137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930153122,"filename":"image_26012025_23_06_56_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793357","file1":"1331793353","file0":"1331793350","file4":"1331793364","file5":"1331793376","file3":"1331793360"},"map_files_photo_id_array":[{"photo_id":"1331793376","filename":"file5"},{"photo_id":"1331793357","filename":"file2"},{"photo_id":"1331793364","filename":"file4"},{"photo_id":"1331793353","filename":"file1"},{"photo_id":"1331793350","filename":"file0"},{"photo_id":"1331793360","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793376":["hashtag1","hashtag2"]},{"1331793357":["hashtag1","hashtag2"]},{"1331793360":["hashtag1","hashtag2"]},{"1331793353":["hashtag1","hashtag2"]},{"1331793350":["hashtag1","hashtag2"]},{"1331793364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793376, 1331793357, 1331793360, 1331793353, 1331793350, 1331793364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5594117641449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:22:32.512538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_16_10416.jpg', '/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_26_10360.jpg', '/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_36_9459.jpg', '/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_46_10412.jpg', '/home/pi/Desktop/images/26012025/23/07/image_26012025_23_08_06_10449.jpg', '/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_16_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_16_10416.jpg
/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_26_10360.jpg
/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_36_9459.jpg
/home/pi/Desktop/images/26012025/23/07/image_26012025_23_07_46_10412.jpg
/home/pi/Desktop/images/26012025/23/07/image_26012025_23_08_06_10449.jpg
/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_16_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":["1331793445","1331793440","1331793422","1331793416","1331793425","1331793419"],"photo_ids_order":["1331793416","1331793419","1331793422","1331793425","1331793440","1331793445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cc82991b8cda099a7037d340523f51b2.jpg","text":"TemporaryFile(/tmp/multipartBody8011413165290491816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_08_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/26/90cda47e68d622107d67a02e809aa5b7.jpg","text":"TemporaryFile(/tmp/multipartBody4282675836187372933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_08_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/26/bf940c0b19007e22b4bd0dbfae5966e3.jpg","text":"TemporaryFile(/tmp/multipartBody4227214828115780354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_07_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/26/4d4e48fa04141c8074a737e003b64d71.jpg","text":"TemporaryFile(/tmp/multipartBody1563992666197893377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_07_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/26/6fb8c2820dedb9732f52c1d696d44237.jpg","text":"TemporaryFile(/tmp/multipartBody7216691680339719943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_07_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/26/78e1009bf6875868cdaff928f07ac3b1.jpg","text":"TemporaryFile(/tmp/multipartBody4644743023789823490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930213443,"filename":"image_26012025_23_07_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793422","file1":"1331793419","file0":"1331793416","file4":"1331793440","file5":"1331793445","file3":"1331793425"},"map_files_photo_id_array":[{"photo_id":"1331793445","filename":"file5"},{"photo_id":"1331793422","filename":"file2"},{"photo_id":"1331793440","filename":"file4"},{"photo_id":"1331793419","filename":"file1"},{"photo_id":"1331793416","filename":"file0"},{"photo_id":"1331793425","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793445":["hashtag1","hashtag2"]},{"1331793440":["hashtag1","hashtag2"]},{"1331793422":["hashtag1","hashtag2"]},{"1331793416":["hashtag1","hashtag2"]},{"1331793425":["hashtag1","hashtag2"]},{"1331793419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793445, 1331793440, 1331793422, 1331793416, 1331793425, 1331793419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47584629058838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:23:32.697975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_26_9486.jpg', '/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_36_10378.jpg', '/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_45_9359.jpg', '/home/pi/Desktop/images/26012025/23/08/image_26012025_23_09_06_10372.jpg', '/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_16_9392.jpg', '/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_26_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_26_9486.jpg
/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_36_10378.jpg
/home/pi/Desktop/images/26012025/23/08/image_26012025_23_08_45_9359.jpg
/home/pi/Desktop/images/26012025/23/08/image_26012025_23_09_06_10372.jpg
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_16_9392.jpg
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_26_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331793472","1331793469","1331793473","1331793461","1331793464","1331793458"],"photo_ids_order":["1331793458","1331793461","1331793464","1331793469","1331793472","1331793473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/50bd9ea16088d996cfb5fc7c3ccfd228.jpg","text":"TemporaryFile(/tmp/multipartBody6568224525049844636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_09_16_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/789a546cd5418b11a91699f6b46ff42e.jpg","text":"TemporaryFile(/tmp/multipartBody6032331830300997260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_09_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/26/214e1966649c8115b88e269ece6fae29.jpg","text":"TemporaryFile(/tmp/multipartBody482707051167340620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_09_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/26/f8ff7c1df739b4cee3688a4263306315.jpg","text":"TemporaryFile(/tmp/multipartBody1807565365146418003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_08_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bb5375a80f1a26bd4a4baf5fa136d4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1130827035215085205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_08_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/26/fed10e5847def4ad4db1f3cfe525a52b.jpg","text":"TemporaryFile(/tmp/multipartBody7183032432082372567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930273620,"filename":"image_26012025_23_08_26_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793464","file1":"1331793461","file0":"1331793458","file4":"1331793472","file5":"1331793473","file3":"1331793469"},"map_files_photo_id_array":[{"photo_id":"1331793473","filename":"file5"},{"photo_id":"1331793464","filename":"file2"},{"photo_id":"1331793472","filename":"file4"},{"photo_id":"1331793461","filename":"file1"},{"photo_id":"1331793458","filename":"file0"},{"photo_id":"1331793469","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793472":["hashtag1","hashtag2"]},{"1331793469":["hashtag1","hashtag2"]},{"1331793473":["hashtag1","hashtag2"]},{"1331793461":["hashtag1","hashtag2"]},{"1331793464":["hashtag1","hashtag2"]},{"1331793458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793472, 1331793469, 1331793473, 1331793461, 1331793464, 1331793458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.0116765499115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:24:33.107918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_35_9358.jpg', '/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_46_10496.jpg', '/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_55_9399.jpg', '/home/pi/Desktop/images/26012025/23/09/image_26012025_23_10_06_10477.jpg', '/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_16_10355.jpg', '/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_25_9361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_35_9358.jpg
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_46_10496.jpg
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_09_55_9399.jpg
/home/pi/Desktop/images/26012025/23/09/image_26012025_23_10_06_10477.jpg
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_16_10355.jpg
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_25_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331793529","1331793540","1331793507","1331793504","1331793481","1331793478"],"photo_ids_order":["1331793478","1331793481","1331793504","1331793507","1331793529","1331793540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/01dd1aaac6db8af2e23896295ffcb4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7820532251667497744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_10_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/26/36954329eca8a3d74ec9bc0e2ce070bf.jpg","text":"TemporaryFile(/tmp/multipartBody8759552372312293365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_10_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/26/bd3d53995d1df20339ee4bff41d7217a.jpg","text":"TemporaryFile(/tmp/multipartBody3771202433092542218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_10_06_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/58498b610988d60cae8988ceff57f158.jpg","text":"TemporaryFile(/tmp/multipartBody6613812812612235942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_09_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/26/edbeb1e48b63fbed7994a822d76b43c8.jpg","text":"TemporaryFile(/tmp/multipartBody1438145234403412902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_09_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/26/2d661f2573b30f6713d0af24e787c703.jpg","text":"TemporaryFile(/tmp/multipartBody8711487701325939531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930334018,"filename":"image_26012025_23_09_35_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793504","file1":"1331793481","file0":"1331793478","file4":"1331793529","file5":"1331793540","file3":"1331793507"},"map_files_photo_id_array":[{"photo_id":"1331793540","filename":"file5"},{"photo_id":"1331793504","filename":"file2"},{"photo_id":"1331793529","filename":"file4"},{"photo_id":"1331793481","filename":"file1"},{"photo_id":"1331793478","filename":"file0"},{"photo_id":"1331793507","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793529":["hashtag1","hashtag2"]},{"1331793540":["hashtag1","hashtag2"]},{"1331793507":["hashtag1","hashtag2"]},{"1331793504":["hashtag1","hashtag2"]},{"1331793481":["hashtag1","hashtag2"]},{"1331793478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793529, 1331793540, 1331793507, 1331793504, 1331793481, 1331793478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.941543102264404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:25:32.268098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_36_10426.jpg', '/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_46_10357.jpg', '/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_56_9480.jpg', '/home/pi/Desktop/images/26012025/23/10/image_26012025_23_11_06_10345.jpg', '/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_15_9331.jpg', '/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_26_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_36_10426.jpg
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_46_10357.jpg
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_10_56_9480.jpg
/home/pi/Desktop/images/26012025/23/10/image_26012025_23_11_06_10345.jpg
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_15_9331.jpg
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_26_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":["1331793559","1331793544","1331793556","1331793558","1331793546","1331793551"],"photo_ids_order":["1331793544","1331793546","1331793551","1331793556","1331793558","1331793559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d0d990e60bba2c80f0021219057b386b.jpg","text":"TemporaryFile(/tmp/multipartBody5112636239974070043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_11_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/26/a976bce87c9e33c2a36d706ce03cc4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5361055135987284349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_10_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/26/43e652edf2a687efb5b3dfe74b7e8b49.jpg","text":"TemporaryFile(/tmp/multipartBody8934665797116337374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_11_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/26/7c21165b502c88695d93271c41092f72.jpg","text":"TemporaryFile(/tmp/multipartBody3163228285546387012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_11_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/26/7e35aa9b1eb878f55b6baf946f26347b.jpg","text":"TemporaryFile(/tmp/multipartBody6539721774526982350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_10_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/26/8b1eb4fd131ea0b27bab82822df2d987.jpg","text":"TemporaryFile(/tmp/multipartBody7745560284744073092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930393174,"filename":"image_26012025_23_10_56_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793551","file1":"1331793546","file0":"1331793544","file4":"1331793558","file5":"1331793559","file3":"1331793556"},"map_files_photo_id_array":[{"photo_id":"1331793559","filename":"file5"},{"photo_id":"1331793551","filename":"file2"},{"photo_id":"1331793558","filename":"file4"},{"photo_id":"1331793546","filename":"file1"},{"photo_id":"1331793544","filename":"file0"},{"photo_id":"1331793556","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793559":["hashtag1","hashtag2"]},{"1331793544":["hashtag1","hashtag2"]},{"1331793556":["hashtag1","hashtag2"]},{"1331793558":["hashtag1","hashtag2"]},{"1331793546":["hashtag1","hashtag2"]},{"1331793551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793559, 1331793544, 1331793556, 1331793558, 1331793546, 1331793551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.763338565826416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:26:32.624168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_36_10361.jpg', '/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_46_9432.jpg', '/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_56_10408.jpg', '/home/pi/Desktop/images/26012025/23/11/image_26012025_23_12_05_9372.jpg', '/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_16_10394.jpg', '/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_26_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_36_10361.jpg
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_46_9432.jpg
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_11_56_10408.jpg
/home/pi/Desktop/images/26012025/23/11/image_26012025_23_12_05_9372.jpg
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_16_10394.jpg
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_26_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331793573","1331793566","1331793575","1331793569","1331793580","1331793577"],"photo_ids_order":["1331793566","1331793569","1331793573","1331793575","1331793577","1331793580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d83cd219587d8558281d9323d1ed4bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2264165664621498718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_11_56_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f2555348340a24a6379d9887c4ed8403.jpg","text":"TemporaryFile(/tmp/multipartBody8924182223080172944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_11_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/311ea0e8ccfef1cad7b3996702e8b587.jpg","text":"TemporaryFile(/tmp/multipartBody8115021162862811407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_12_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/26/681826e0e4e72cc4c35a4f6be0aced21.jpg","text":"TemporaryFile(/tmp/multipartBody7217894488213031998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_11_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/26/6a6ca00e34ef50d37406a74c88941b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5574834235463235448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_12_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/26/56b4ed0e5efc1b3bdfcd1be2f7179ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6619832392484540754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930453560,"filename":"image_26012025_23_12_16_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331793573","file1":"1331793569","file0":"1331793566","file4":"1331793577","file5":"1331793580","file3":"1331793575"},"map_files_photo_id_array":[{"photo_id":"1331793580","filename":"file5"},{"photo_id":"1331793573","filename":"file2"},{"photo_id":"1331793577","filename":"file4"},{"photo_id":"1331793569","filename":"file1"},{"photo_id":"1331793566","filename":"file0"},{"photo_id":"1331793575","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331793573":["hashtag1","hashtag2"]},{"1331793566":["hashtag1","hashtag2"]},{"1331793575":["hashtag1","hashtag2"]},{"1331793569":["hashtag1","hashtag2"]},{"1331793580":["hashtag1","hashtag2"]},{"1331793577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331793573, 1331793566, 1331793575, 1331793569, 1331793580, 1331793577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.43744444847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:27:32.802961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_36_9410.jpg', '/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_46_10380.jpg', '/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_55_9344.jpg', '/home/pi/Desktop/images/26012025/23/12/image_26012025_23_13_06_10451.jpg', '/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_16_10356.jpg', '/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_26_9587.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_36_9410.jpg
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_46_10380.jpg
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_12_55_9344.jpg
/home/pi/Desktop/images/26012025/23/12/image_26012025_23_13_06_10451.jpg
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_16_10356.jpg
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_26_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331794030","1331794362","1331794326","1331794349","1331794337","1331794363"],"photo_ids_order":["1331794030","1331794326","1331794337","1331794349","1331794362","1331794363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6e0887076ddd1af91ef9465ee8b7cc75.jpg","text":"TemporaryFile(/tmp/multipartBody6722185485248385325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_12_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0d15f7e5145ddaf2555bc7874b1605f2.jpg","text":"TemporaryFile(/tmp/multipartBody7302907520769970485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_13_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/26/03500f292b84864342cfce0fb5262fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3921610501996675885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_12_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/26/9286b93e1bb88d3d9baddd4ebc267367.jpg","text":"TemporaryFile(/tmp/multipartBody5288935573984861009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_13_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bbacd2064ca33d05f77fd93de5920602.jpg","text":"TemporaryFile(/tmp/multipartBody2610361922076654486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_12_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/26/3edae6982588e12e2ac3b4a92857e799.jpg","text":"TemporaryFile(/tmp/multipartBody6225577873012222183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930513707,"filename":"image_26012025_23_13_26_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331794337","file1":"1331794326","file0":"1331794030","file4":"1331794362","file5":"1331794363","file3":"1331794349"},"map_files_photo_id_array":[{"photo_id":"1331794363","filename":"file5"},{"photo_id":"1331794337","filename":"file2"},{"photo_id":"1331794362","filename":"file4"},{"photo_id":"1331794326","filename":"file1"},{"photo_id":"1331794030","filename":"file0"},{"photo_id":"1331794349","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331794030":["hashtag1","hashtag2"]},{"1331794362":["hashtag1","hashtag2"]},{"1331794326":["hashtag1","hashtag2"]},{"1331794349":["hashtag1","hashtag2"]},{"1331794337":["hashtag1","hashtag2"]},{"1331794363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331794030, 1331794362, 1331794326, 1331794349, 1331794337, 1331794363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86799454689026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:28:33.044542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_36_10372.jpg', '/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_45_9363.jpg', '/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_56_10366.jpg', '/home/pi/Desktop/images/26012025/23/13/image_26012025_23_14_06_10353.jpg', '/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_16_9447.jpg', '/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_26_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_36_10372.jpg
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_45_9363.jpg
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_13_56_10366.jpg
/home/pi/Desktop/images/26012025/23/13/image_26012025_23_14_06_10353.jpg
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_16_9447.jpg
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_26_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331794653","1331794652","1331794646","1331794649","1331794622","1331794642"],"photo_ids_order":["1331794622","1331794642","1331794646","1331794649","1331794652","1331794653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/092a6dc9b2eda37be0127971ff1f9139.jpg","text":"TemporaryFile(/tmp/multipartBody5771460921157891002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_14_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/26/4e62c945a0a59753fa9c512515ac7659.jpg","text":"TemporaryFile(/tmp/multipartBody9163090497277981181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_14_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/26/f1b58555c01c0f8b529cb262f3c5f446.jpg","text":"TemporaryFile(/tmp/multipartBody1866860586597527472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_13_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/26/16a60c919361130ebb1bfc0fcd7f860b.jpg","text":"TemporaryFile(/tmp/multipartBody4838307012292382304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_14_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f7d03e8990c2847444cdec8299c773d.jpg","text":"TemporaryFile(/tmp/multipartBody9035776371488552637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_13_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/26/2b593b67aef800cf6bf61dcd204a3296.jpg","text":"TemporaryFile(/tmp/multipartBody7938993932501611776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930573960,"filename":"image_26012025_23_13_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331794646","file1":"1331794642","file0":"1331794622","file4":"1331794652","file5":"1331794653","file3":"1331794649"},"map_files_photo_id_array":[{"photo_id":"1331794653","filename":"file5"},{"photo_id":"1331794646","filename":"file2"},{"photo_id":"1331794652","filename":"file4"},{"photo_id":"1331794642","filename":"file1"},{"photo_id":"1331794622","filename":"file0"},{"photo_id":"1331794649","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331794653":["hashtag1","hashtag2"]},{"1331794652":["hashtag1","hashtag2"]},{"1331794646":["hashtag1","hashtag2"]},{"1331794649":["hashtag1","hashtag2"]},{"1331794622":["hashtag1","hashtag2"]},{"1331794642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331794653, 1331794652, 1331794646, 1331794649, 1331794622, 1331794642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.412596464157104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:29:32.747224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_35_9344.jpg', '/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_46_10458.jpg', '/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_56_10367.jpg', '/home/pi/Desktop/images/26012025/23/14/image_26012025_23_15_05_9368.jpg', '/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_16_10383.jpg', '/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_25_9358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_35_9344.jpg
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_46_10458.jpg
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_14_56_10367.jpg
/home/pi/Desktop/images/26012025/23/14/image_26012025_23_15_05_9368.jpg
/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_16_10383.jpg
/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_25_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":["1331794755","1331794793","1331794769","1331794760","1331794763","1331794766"],"photo_ids_order":["1331794755","1331794760","1331794763","1331794766","1331794769","1331794793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d1ca3bf6f568a520c0da5dc02ab13cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4482018224367763309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_14_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/26/3070f3cb70d2bbf43f253df50b773af4.jpg","text":"TemporaryFile(/tmp/multipartBody6634265749908981205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_15_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/26/62f8efaedb69a7893518fa369b804ea2.jpg","text":"TemporaryFile(/tmp/multipartBody768912506788059961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_15_16_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2cd5a0be4583d9dc7df7a6bc49f68f38.jpg","text":"TemporaryFile(/tmp/multipartBody692894020274514150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_14_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/26/bc1ef49d3017397dc2553885732f6f99.jpg","text":"TemporaryFile(/tmp/multipartBody7479073532943228136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_14_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/26/9e08e26b366fcd04dae7851e022ba2c0.jpg","text":"TemporaryFile(/tmp/multipartBody3765433876884726055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930633661,"filename":"image_26012025_23_15_05_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331794763","file1":"1331794760","file0":"1331794755","file4":"1331794769","file5":"1331794793","file3":"1331794766"},"map_files_photo_id_array":[{"photo_id":"1331794793","filename":"file5"},{"photo_id":"1331794763","filename":"file2"},{"photo_id":"1331794769","filename":"file4"},{"photo_id":"1331794760","filename":"file1"},{"photo_id":"1331794755","filename":"file0"},{"photo_id":"1331794766","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331794755":["hashtag1","hashtag2"]},{"1331794793":["hashtag1","hashtag2"]},{"1331794769":["hashtag1","hashtag2"]},{"1331794760":["hashtag1","hashtag2"]},{"1331794763":["hashtag1","hashtag2"]},{"1331794766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331794755, 1331794793, 1331794769, 1331794760, 1331794763, 1331794766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.781009912490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:30:32.893504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_46_10451.jpg', '/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_56_9460.jpg', '/home/pi/Desktop/images/26012025/23/15/image_26012025_23_16_06_10361.jpg', '/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_15_9392.jpg', '/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_26_10356.jpg', '/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_36_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_46_10451.jpg
/home/pi/Desktop/images/26012025/23/15/image_26012025_23_15_56_9460.jpg
/home/pi/Desktop/images/26012025/23/15/image_26012025_23_16_06_10361.jpg
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_15_9392.jpg
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_26_10356.jpg
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_36_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331795247","1331795246","1331795242","1331795143","1331795014","1331795221"],"photo_ids_order":["1331795014","1331795143","1331795221","1331795242","1331795246","1331795247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/33a0e2a1958d7e277540d590d3090ed8.jpg","text":"TemporaryFile(/tmp/multipartBody3694360281334125497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_16_36_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8f4a341a041e01a7060d2709fea565b7.jpg","text":"TemporaryFile(/tmp/multipartBody4929452665991483061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_16_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/26/7bc30995bb0e1cac5416f97769c548b6.jpg","text":"TemporaryFile(/tmp/multipartBody2051710946981841279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_16_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/26/d0aeba57269a1a5d4567ec929c5bf659.jpg","text":"TemporaryFile(/tmp/multipartBody2309507773930564032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_15_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/26/5361f5e78ad6fe619b61fb8ad33b7ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7521121532085804625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_15_46_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/6b5fcfecc391a442f438a4a86b2543de.jpg","text":"TemporaryFile(/tmp/multipartBody5173842164918370672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930693832,"filename":"image_26012025_23_16_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795221","file1":"1331795143","file0":"1331795014","file4":"1331795246","file5":"1331795247","file3":"1331795242"},"map_files_photo_id_array":[{"photo_id":"1331795247","filename":"file5"},{"photo_id":"1331795221","filename":"file2"},{"photo_id":"1331795246","filename":"file4"},{"photo_id":"1331795143","filename":"file1"},{"photo_id":"1331795014","filename":"file0"},{"photo_id":"1331795242","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795247":["hashtag1","hashtag2"]},{"1331795246":["hashtag1","hashtag2"]},{"1331795242":["hashtag1","hashtag2"]},{"1331795143":["hashtag1","hashtag2"]},{"1331795014":["hashtag1","hashtag2"]},{"1331795221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795247, 1331795246, 1331795242, 1331795143, 1331795014, 1331795221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.355963468551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:31:32.153262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_45_9343.jpg', '/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_56_10422.jpg', '/home/pi/Desktop/images/26012025/23/16/image_26012025_23_17_05_9346.jpg', '/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_16_10486.jpg', '/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_26_10372.jpg', '/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_36_9494.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_45_9343.jpg
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_16_56_10422.jpg
/home/pi/Desktop/images/26012025/23/16/image_26012025_23_17_05_9346.jpg
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_16_10486.jpg
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_26_10372.jpg
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_36_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":["1331795301","1331795264","1331795300","1331795293","1331795272","1331795296"],"photo_ids_order":["1331795264","1331795272","1331795293","1331795296","1331795300","1331795301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/67907dd5e79a7b3d0504e27953eec0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4014002923769308997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_17_36_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/26/19003bc54702cbc7295f436f9d938838.jpg","text":"TemporaryFile(/tmp/multipartBody3889679691971008302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_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/26/d08f657a2fb199fa95a0c5bdbbcb920d.jpg","text":"TemporaryFile(/tmp/multipartBody2630009674481461893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_17_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/c0bfdf08268b93a235f0b623f702dbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5427663455100543321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_17_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/5a0604b80221bbd93a67495a85f4bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody162127149119604779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_16_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/26/260479e77abdeab9194bc04cacf5b0fa.jpg","text":"TemporaryFile(/tmp/multipartBody8294637651493572830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930753064,"filename":"image_26012025_23_17_16_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795293","file1":"1331795272","file0":"1331795264","file4":"1331795300","file5":"1331795301","file3":"1331795296"},"map_files_photo_id_array":[{"photo_id":"1331795301","filename":"file5"},{"photo_id":"1331795293","filename":"file2"},{"photo_id":"1331795300","filename":"file4"},{"photo_id":"1331795272","filename":"file1"},{"photo_id":"1331795264","filename":"file0"},{"photo_id":"1331795296","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795301":["hashtag1","hashtag2"]},{"1331795264":["hashtag1","hashtag2"]},{"1331795300":["hashtag1","hashtag2"]},{"1331795293":["hashtag1","hashtag2"]},{"1331795272":["hashtag1","hashtag2"]},{"1331795296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795301, 1331795264, 1331795300, 1331795293, 1331795272, 1331795296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.03395891189575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:32:32.391239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_46_10376.jpg', '/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_55_9373.jpg', '/home/pi/Desktop/images/26012025/23/17/image_26012025_23_18_06_10477.jpg', '/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_15_9437.jpg', '/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_26_10464.jpg', '/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_36_10359.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_46_10376.jpg
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_17_55_9373.jpg
/home/pi/Desktop/images/26012025/23/17/image_26012025_23_18_06_10477.jpg
/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_15_9437.jpg
/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_26_10464.jpg
/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_36_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331795334","1331795316","1331795325","1331795330","1331795417","1331795320"],"photo_ids_order":["1331795316","1331795320","1331795325","1331795330","1331795334","1331795417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f76053856a9caa28408d61c49d7e7997.jpg","text":"TemporaryFile(/tmp/multipartBody6752706741754950750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_18_26_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/26eecb28979448f8d607316c5b125ffa.jpg","text":"TemporaryFile(/tmp/multipartBody6332191408185421024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_17_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/26/557452af6d58119d8625832bffc86958.jpg","text":"TemporaryFile(/tmp/multipartBody6069727819006669183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_18_06_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3cbd1ab6160b205341530aa0dccc1221.jpg","text":"TemporaryFile(/tmp/multipartBody10142371609271458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_18_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/26/87ad09c95b4ad70fa4aa0268af9ae394.jpg","text":"TemporaryFile(/tmp/multipartBody1548892559681102467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_18_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/26/49b3c4fd7a8b409e3bfd01099fa68f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4821170901583786423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930813323,"filename":"image_26012025_23_17_55_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795325","file1":"1331795320","file0":"1331795316","file4":"1331795334","file5":"1331795417","file3":"1331795330"},"map_files_photo_id_array":[{"photo_id":"1331795417","filename":"file5"},{"photo_id":"1331795325","filename":"file2"},{"photo_id":"1331795334","filename":"file4"},{"photo_id":"1331795320","filename":"file1"},{"photo_id":"1331795316","filename":"file0"},{"photo_id":"1331795330","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795334":["hashtag1","hashtag2"]},{"1331795316":["hashtag1","hashtag2"]},{"1331795325":["hashtag1","hashtag2"]},{"1331795330":["hashtag1","hashtag2"]},{"1331795417":["hashtag1","hashtag2"]},{"1331795320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795334, 1331795316, 1331795325, 1331795330, 1331795417, 1331795320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.488038778305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:33:32.570550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_56_10405.jpg', '/home/pi/Desktop/images/26012025/23/18/image_26012025_23_19_06_10352.jpg', '/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_16_9394.jpg', '/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_26_10381.jpg', '/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_35_9346.jpg', '/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_46_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/18/image_26012025_23_18_56_10405.jpg
/home/pi/Desktop/images/26012025/23/18/image_26012025_23_19_06_10352.jpg
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_16_9394.jpg
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_26_10381.jpg
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_35_9346.jpg
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_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":["1331795576","1331795584","1331795572","1331795569","1331795580","1331795583"],"photo_ids_order":["1331795569","1331795572","1331795576","1331795580","1331795583","1331795584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/8746d1db07282d8c29b4d961e42b2f0a.jpg","text":"TemporaryFile(/tmp/multipartBody8115470975317430568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_19_16_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/26/b7b938d01e2f48cbb7cdc54139974b56.jpg","text":"TemporaryFile(/tmp/multipartBody8503177559752224734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_19_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/26/d18c645256f9d6a2c7a5e3e9efbd06a8.jpg","text":"TemporaryFile(/tmp/multipartBody6891155756690729539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_19_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/26/81f7388a3aa3667406b3d155b2975fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5005347613511067310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_18_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/26/01674b46266d62a701ad4bd7c5e8f636.jpg","text":"TemporaryFile(/tmp/multipartBody6028642462235699858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_19_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/26/05b317b46de8b4738d0d1647ae4d5d39.jpg","text":"TemporaryFile(/tmp/multipartBody923503038006389963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930873483,"filename":"image_26012025_23_19_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795576","file1":"1331795572","file0":"1331795569","file4":"1331795583","file5":"1331795584","file3":"1331795580"},"map_files_photo_id_array":[{"photo_id":"1331795584","filename":"file5"},{"photo_id":"1331795576","filename":"file2"},{"photo_id":"1331795583","filename":"file4"},{"photo_id":"1331795572","filename":"file1"},{"photo_id":"1331795569","filename":"file0"},{"photo_id":"1331795580","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795576":["hashtag1","hashtag2"]},{"1331795584":["hashtag1","hashtag2"]},{"1331795572":["hashtag1","hashtag2"]},{"1331795569":["hashtag1","hashtag2"]},{"1331795580":["hashtag1","hashtag2"]},{"1331795583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795576, 1331795584, 1331795572, 1331795569, 1331795580, 1331795583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37664175033569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:34:32.853597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_56_10455.jpg', '/home/pi/Desktop/images/26012025/23/19/image_26012025_23_20_06_9497.jpg', '/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_16_10369.jpg', '/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_25_9325.jpg', '/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_36_10471.jpg', '/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_46_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_19_56_10455.jpg
/home/pi/Desktop/images/26012025/23/19/image_26012025_23_20_06_9497.jpg
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_16_10369.jpg
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_25_9325.jpg
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_36_10471.jpg
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_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":["1331795652","1331795646","1331795636","1331795656","1331795641","1331795655"],"photo_ids_order":["1331795636","1331795641","1331795646","1331795652","1331795655","1331795656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/02b122f988110aa47b24918c3208f650.jpg","text":"TemporaryFile(/tmp/multipartBody5203645904052493079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_20_25_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/26/837274b3d253def05bb9bd9d0a82fe25.jpg","text":"TemporaryFile(/tmp/multipartBody6027078785645537002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_20_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/26/4d9121d3ce4b4cb6cd972f8652a76ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8546895289708602263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_19_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/26/978d348430c6533fc5193fcb83191f45.jpg","text":"TemporaryFile(/tmp/multipartBody1531881637915189808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_20_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/76b6e085dc178896bfacd46cd10583c8.jpg","text":"TemporaryFile(/tmp/multipartBody1207084330333674664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_20_06_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/26/5a302c9e1ecd0492a98c568d763942c3.jpg","text":"TemporaryFile(/tmp/multipartBody1840737151881623446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930933925,"filename":"image_26012025_23_20_36_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795646","file1":"1331795641","file0":"1331795636","file4":"1331795655","file5":"1331795656","file3":"1331795652"},"map_files_photo_id_array":[{"photo_id":"1331795656","filename":"file5"},{"photo_id":"1331795646","filename":"file2"},{"photo_id":"1331795655","filename":"file4"},{"photo_id":"1331795641","filename":"file1"},{"photo_id":"1331795636","filename":"file0"},{"photo_id":"1331795652","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795652":["hashtag1","hashtag2"]},{"1331795646":["hashtag1","hashtag2"]},{"1331795636":["hashtag1","hashtag2"]},{"1331795656":["hashtag1","hashtag2"]},{"1331795641":["hashtag1","hashtag2"]},{"1331795655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795652, 1331795646, 1331795636, 1331795656, 1331795641, 1331795655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.30170178413391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:35:33.123910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_56_9456.jpg', '/home/pi/Desktop/images/26012025/23/20/image_26012025_23_21_06_10349.jpg', '/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_15_9346.jpg', '/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_26_10428.jpg', '/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_36_10345.jpg', '/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_46_9444.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_20_56_9456.jpg
/home/pi/Desktop/images/26012025/23/20/image_26012025_23_21_06_10349.jpg
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_15_9346.jpg
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_26_10428.jpg
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_36_10345.jpg
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_46_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331795699","1331795831","1331795834","1331795743","1331795833","1331795701"],"photo_ids_order":["1331795699","1331795701","1331795743","1331795831","1331795833","1331795834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/28de647abd15dbd4c42c7c6ca5efc293.jpg","text":"TemporaryFile(/tmp/multipartBody6264366523364799352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_20_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/baf7eac0fb9e25466ee81f92a8b0cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody5985153660707485908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_21_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/26/cf9613e2b30782bb98d9ae8fbfa6174b.jpg","text":"TemporaryFile(/tmp/multipartBody1838388497570300757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_21_46_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/166b2be1536b0da122e3b4c06b9115d1.jpg","text":"TemporaryFile(/tmp/multipartBody5322365872463752011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_21_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/26/c91dd7871d53518bd21113cee6e7f685.jpg","text":"TemporaryFile(/tmp/multipartBody5729579781661757378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_21_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/26/73fd3a144d7a3d089da3cf626420db79.jpg","text":"TemporaryFile(/tmp/multipartBody8006759570610271851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737930994052,"filename":"image_26012025_23_21_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795743","file1":"1331795701","file0":"1331795699","file4":"1331795833","file5":"1331795834","file3":"1331795831"},"map_files_photo_id_array":[{"photo_id":"1331795834","filename":"file5"},{"photo_id":"1331795743","filename":"file2"},{"photo_id":"1331795833","filename":"file4"},{"photo_id":"1331795701","filename":"file1"},{"photo_id":"1331795699","filename":"file0"},{"photo_id":"1331795831","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795699":["hashtag1","hashtag2"]},{"1331795831":["hashtag1","hashtag2"]},{"1331795834":["hashtag1","hashtag2"]},{"1331795743":["hashtag1","hashtag2"]},{"1331795833":["hashtag1","hashtag2"]},{"1331795701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795699, 1331795831, 1331795834, 1331795743, 1331795833, 1331795701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46699380874634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:36:32.303217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_56_10444.jpg', '/home/pi/Desktop/images/26012025/23/21/image_26012025_23_22_05_9352.jpg', '/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_16_10339.jpg', '/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_26_10389.jpg', '/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_35_9360.jpg', '/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_46_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_21_56_10444.jpg
/home/pi/Desktop/images/26012025/23/21/image_26012025_23_22_05_9352.jpg
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_16_10339.jpg
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_26_10389.jpg
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_35_9360.jpg
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_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":["1331795856","1331795858","1331795849","1331795843","1331795839","1331795853"],"photo_ids_order":["1331795839","1331795843","1331795849","1331795853","1331795856","1331795858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/10d2ef2bb0530239021032a1cf3eb173.jpg","text":"TemporaryFile(/tmp/multipartBody5858036109208518107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_22_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/26/f2da2285d31d67aae3bb62c9851bc6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4575901113632133281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_22_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/26/3feb6544df168f32030ad4ef7551e982.jpg","text":"TemporaryFile(/tmp/multipartBody8317760209841398367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_22_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/26/e700330f648531d824a2676d7c7279a3.jpg","text":"TemporaryFile(/tmp/multipartBody5047897897732964018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_22_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/26/bd201c1a7f59e4dd832a082d1ede5d0c.jpg","text":"TemporaryFile(/tmp/multipartBody5653035111355544582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_21_56_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/26/63d35bb0cfa9adb89c2659a6cd08a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8286936546569696611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931053254,"filename":"image_26012025_23_22_26_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331795849","file1":"1331795843","file0":"1331795839","file4":"1331795856","file5":"1331795858","file3":"1331795853"},"map_files_photo_id_array":[{"photo_id":"1331795858","filename":"file5"},{"photo_id":"1331795849","filename":"file2"},{"photo_id":"1331795856","filename":"file4"},{"photo_id":"1331795843","filename":"file1"},{"photo_id":"1331795839","filename":"file0"},{"photo_id":"1331795853","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331795856":["hashtag1","hashtag2"]},{"1331795858":["hashtag1","hashtag2"]},{"1331795849":["hashtag1","hashtag2"]},{"1331795843":["hashtag1","hashtag2"]},{"1331795839":["hashtag1","hashtag2"]},{"1331795853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331795856, 1331795858, 1331795849, 1331795843, 1331795839, 1331795853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.67973804473877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:37:32.651427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_56_10360.jpg', '/home/pi/Desktop/images/26012025/23/22/image_26012025_23_23_06_9478.jpg', '/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_16_10354.jpg', '/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_25_9356.jpg', '/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_36_10446.jpg', '/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_46_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_22_56_10360.jpg
/home/pi/Desktop/images/26012025/23/22/image_26012025_23_23_06_9478.jpg
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_16_10354.jpg
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_25_9356.jpg
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_36_10446.jpg
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_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":["1331796204","1331796199","1331796193","1331796202","1331796205","1331796120"],"photo_ids_order":["1331796120","1331796193","1331796199","1331796202","1331796204","1331796205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/2234fa006520935d0b9b6387336454e8.jpg","text":"TemporaryFile(/tmp/multipartBody4146646306136294785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_23_36_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/26/b480b00706d5c73bb317517b8e2e6233.jpg","text":"TemporaryFile(/tmp/multipartBody8952525909954064760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_23_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/26/69ebf2d743233da994d1fb9670822c86.jpg","text":"TemporaryFile(/tmp/multipartBody7958082949693272500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_23_06_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7372c4569159bf7765277199cc4d96c7.jpg","text":"TemporaryFile(/tmp/multipartBody540838908796807902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_23_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/26/5ea97ae87c593d32d0683bf0279921f8.jpg","text":"TemporaryFile(/tmp/multipartBody2137607358180690149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_23_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/26/26c1372f4450d9448771a9a53ec2d7ae.jpg","text":"TemporaryFile(/tmp/multipartBody844400223534245277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931113592,"filename":"image_26012025_23_22_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796199","file1":"1331796193","file0":"1331796120","file4":"1331796204","file5":"1331796205","file3":"1331796202"},"map_files_photo_id_array":[{"photo_id":"1331796205","filename":"file5"},{"photo_id":"1331796199","filename":"file2"},{"photo_id":"1331796204","filename":"file4"},{"photo_id":"1331796193","filename":"file1"},{"photo_id":"1331796120","filename":"file0"},{"photo_id":"1331796202","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796204":["hashtag1","hashtag2"]},{"1331796199":["hashtag1","hashtag2"]},{"1331796193":["hashtag1","hashtag2"]},{"1331796202":["hashtag1","hashtag2"]},{"1331796205":["hashtag1","hashtag2"]},{"1331796120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796204, 1331796199, 1331796193, 1331796202, 1331796205, 1331796120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82691836357117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:38:32.771600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_56_9430.jpg', '/home/pi/Desktop/images/26012025/23/23/image_26012025_23_24_06_10344.jpg', '/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_15_9340.jpg', '/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_26_10381.jpg', '/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_36_10403.jpg', '/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_46_9469.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_23_56_9430.jpg
/home/pi/Desktop/images/26012025/23/23/image_26012025_23_24_06_10344.jpg
/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_15_9340.jpg
/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_26_10381.jpg
/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_36_10403.jpg
/home/pi/Desktop/images/26012025/23/24/image_26012025_23_24_46_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331796383","1331796376","1331796367","1331796381","1331796363","1331796372"],"photo_ids_order":["1331796363","1331796367","1331796372","1331796376","1331796381","1331796383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ac3064ffeaa20edfd7544aa32aee903a.jpg","text":"TemporaryFile(/tmp/multipartBody8459565430202473840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_24_46_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/26/f1edef92680effcffe19d4faaf7cbfe3.jpg","text":"TemporaryFile(/tmp/multipartBody935744929032687500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_24_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/26/1e102249f4ae14199146553c0257bde9.jpg","text":"TemporaryFile(/tmp/multipartBody2086664083218153442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_24_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/26/2221f4e14127917dff9dc921bf352448.jpg","text":"TemporaryFile(/tmp/multipartBody7982675761333135355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_24_36_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/26/617d1a78a86a0758ed079e0638ff865c.jpg","text":"TemporaryFile(/tmp/multipartBody6348119458663097832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_23_56_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d84e46485d4caca2fe48f9db9742e892.jpg","text":"TemporaryFile(/tmp/multipartBody7733021356618674235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931173707,"filename":"image_26012025_23_24_15_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796372","file1":"1331796367","file0":"1331796363","file4":"1331796381","file5":"1331796383","file3":"1331796376"},"map_files_photo_id_array":[{"photo_id":"1331796383","filename":"file5"},{"photo_id":"1331796372","filename":"file2"},{"photo_id":"1331796381","filename":"file4"},{"photo_id":"1331796367","filename":"file1"},{"photo_id":"1331796363","filename":"file0"},{"photo_id":"1331796376","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796383":["hashtag1","hashtag2"]},{"1331796376":["hashtag1","hashtag2"]},{"1331796367":["hashtag1","hashtag2"]},{"1331796381":["hashtag1","hashtag2"]},{"1331796363":["hashtag1","hashtag2"]},{"1331796372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796383, 1331796376, 1331796367, 1331796381, 1331796363, 1331796372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.87325429916382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:39:33.122203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/24/image_26012025_23_25_05_9336.jpg', '/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_16_10338.jpg', '/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_26_10409.jpg', '/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_35_9364.jpg', '/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_46_10359.jpg', '/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_56_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/24/image_26012025_23_25_05_9336.jpg
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_16_10338.jpg
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_26_10409.jpg
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_35_9364.jpg
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_46_10359.jpg
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_25_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331796394","1331796397","1331796391","1331796403","1331796406","1331796405"],"photo_ids_order":["1331796391","1331796394","1331796397","1331796403","1331796405","1331796406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a7dcb727baeaee12779102d4c82b1159.jpg","text":"TemporaryFile(/tmp/multipartBody4676008537741794396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_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/26/a5ad0b127890255ab88906dc493a6528.jpg","text":"TemporaryFile(/tmp/multipartBody6837407047866945324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_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/26/8fd09a1b4116f66d2466c89ac7b06d81.jpg","text":"TemporaryFile(/tmp/multipartBody6154334090607599346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_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/26/55e2b106ec0a46d3d1c7daffd1ca607e.jpg","text":"TemporaryFile(/tmp/multipartBody7176229788527929272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_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/26/64bc4a66e28a2ffc603663076bf6f331.jpg","text":"TemporaryFile(/tmp/multipartBody645785058815937992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_56_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b3761fb39fe96db88fc160d834fec09c.jpg","text":"TemporaryFile(/tmp/multipartBody4426135256197607299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931234077,"filename":"image_26012025_23_25_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796397","file1":"1331796394","file0":"1331796391","file4":"1331796405","file5":"1331796406","file3":"1331796403"},"map_files_photo_id_array":[{"photo_id":"1331796406","filename":"file5"},{"photo_id":"1331796397","filename":"file2"},{"photo_id":"1331796405","filename":"file4"},{"photo_id":"1331796394","filename":"file1"},{"photo_id":"1331796391","filename":"file0"},{"photo_id":"1331796403","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796394":["hashtag1","hashtag2"]},{"1331796397":["hashtag1","hashtag2"]},{"1331796391":["hashtag1","hashtag2"]},{"1331796403":["hashtag1","hashtag2"]},{"1331796406":["hashtag1","hashtag2"]},{"1331796405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796394, 1331796397, 1331796391, 1331796403, 1331796406, 1331796405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40757703781128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:40:32.295895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/25/image_26012025_23_26_06_9429.jpg', '/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_16_10339.jpg', '/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_25_9345.jpg', '/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_36_10385.jpg', '/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_46_10363.jpg', '/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_55_9356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/25/image_26012025_23_26_06_9429.jpg
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_16_10339.jpg
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_25_9345.jpg
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_36_10385.jpg
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_46_10363.jpg
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_26_55_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":["1331796485","1331796479","1331796488","1331796512","1331796475","1331796451"],"photo_ids_order":["1331796451","1331796475","1331796479","1331796485","1331796488","1331796512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/584e45344d7119c11e0df23bb6b7dd60.jpg","text":"TemporaryFile(/tmp/multipartBody9108468430832628678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_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/26/8465a15b155b3b369a767b5624fffb64.jpg","text":"TemporaryFile(/tmp/multipartBody7510371058148361468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_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/26/c534dee698441526dde51341289c6939.jpg","text":"TemporaryFile(/tmp/multipartBody7361347884228941171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_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/26/e0e2fc747b8d32b87101c40bc504feea.jpg","text":"TemporaryFile(/tmp/multipartBody7778852252669297396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_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/26/88d9cf0afe2c8c12db34c7d99166cd16.jpg","text":"TemporaryFile(/tmp/multipartBody5059959267609521558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_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/26/fa8002bdd4a739af7b7c61441e31d757.jpg","text":"TemporaryFile(/tmp/multipartBody7803219725652782117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931293216,"filename":"image_26012025_23_26_06_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796479","file1":"1331796475","file0":"1331796451","file4":"1331796488","file5":"1331796512","file3":"1331796485"},"map_files_photo_id_array":[{"photo_id":"1331796512","filename":"file5"},{"photo_id":"1331796479","filename":"file2"},{"photo_id":"1331796488","filename":"file4"},{"photo_id":"1331796475","filename":"file1"},{"photo_id":"1331796451","filename":"file0"},{"photo_id":"1331796485","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796485":["hashtag1","hashtag2"]},{"1331796479":["hashtag1","hashtag2"]},{"1331796488":["hashtag1","hashtag2"]},{"1331796512":["hashtag1","hashtag2"]},{"1331796475":["hashtag1","hashtag2"]},{"1331796451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796485, 1331796479, 1331796488, 1331796512, 1331796475, 1331796451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77501130104065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:41:32.569031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/26/image_26012025_23_27_06_10410.jpg', '/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_16_10349.jpg', '/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_25_9367.jpg', '/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_36_10336.jpg', '/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_45_9410.jpg', '/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_56_10450.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/26/image_26012025_23_27_06_10410.jpg
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_16_10349.jpg
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_25_9367.jpg
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_36_10336.jpg
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_45_9410.jpg
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_27_56_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":["1331796592","1331796595","1331796655","1331796646","1331796654","1331796651"],"photo_ids_order":["1331796592","1331796595","1331796646","1331796651","1331796654","1331796655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/837b1866345e4024bfe50cd30b2dc457.jpg","text":"TemporaryFile(/tmp/multipartBody1385712767235013855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_06_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/23984426ea76fbe89a3ba0bac012b083.jpg","text":"TemporaryFile(/tmp/multipartBody7135294497138631121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1cab5a3f6690177aa81b8258fb67f3dd.jpg","text":"TemporaryFile(/tmp/multipartBody6595854294058518613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_56_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/26/9f5cca4ad09c501f337fe4612cce523f.jpg","text":"TemporaryFile(/tmp/multipartBody5036346649679936506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_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/26/d347293643f81d367e974d4d411506fe.jpg","text":"TemporaryFile(/tmp/multipartBody6672132007678552692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_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/26/5fb901681e2043f70854ec7946105961.jpg","text":"TemporaryFile(/tmp/multipartBody7002237004370888137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931353495,"filename":"image_26012025_23_27_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796646","file1":"1331796595","file0":"1331796592","file4":"1331796654","file5":"1331796655","file3":"1331796651"},"map_files_photo_id_array":[{"photo_id":"1331796655","filename":"file5"},{"photo_id":"1331796646","filename":"file2"},{"photo_id":"1331796654","filename":"file4"},{"photo_id":"1331796595","filename":"file1"},{"photo_id":"1331796592","filename":"file0"},{"photo_id":"1331796651","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796592":["hashtag1","hashtag2"]},{"1331796595":["hashtag1","hashtag2"]},{"1331796655":["hashtag1","hashtag2"]},{"1331796646":["hashtag1","hashtag2"]},{"1331796654":["hashtag1","hashtag2"]},{"1331796651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796592, 1331796595, 1331796655, 1331796646, 1331796654, 1331796651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.268226623535156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:42:32.831340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/27/image_26012025_23_28_06_10417.jpg', '/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_15_9346.jpg', '/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_26_10430.jpg', '/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_35_9386.jpg', '/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_46_10491.jpg', '/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_56_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/27/image_26012025_23_28_06_10417.jpg
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_15_9346.jpg
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_26_10430.jpg
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_35_9386.jpg
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_46_10491.jpg
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_28_56_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":["1331796683","1331796677","1331796671","1331796701","1331796988","1331796667"],"photo_ids_order":["1331796667","1331796671","1331796677","1331796683","1331796701","1331796988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9222f679863f3869541ddb43f29aee3f.jpg","text":"TemporaryFile(/tmp/multipartBody2702604423833085990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_35_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e3002db2d26cc0ce8df38792932da270.jpg","text":"TemporaryFile(/tmp/multipartBody2204616786652990483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_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/26/bed45a93218e5817ce46e4832ae2f717.jpg","text":"TemporaryFile(/tmp/multipartBody757475112544356761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_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/26/7f2e69911a7e5bd065b3664c736b9c7e.jpg","text":"TemporaryFile(/tmp/multipartBody717043976378250671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_46_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/26/23b8a337706517181b503af8af697fe7.jpg","text":"TemporaryFile(/tmp/multipartBody457589269153898875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_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/26/02dc2d01e2de3190ea92034594f3006a.jpg","text":"TemporaryFile(/tmp/multipartBody6093975904897610348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931413801,"filename":"image_26012025_23_28_06_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331796677","file1":"1331796671","file0":"1331796667","file4":"1331796701","file5":"1331796988","file3":"1331796683"},"map_files_photo_id_array":[{"photo_id":"1331796988","filename":"file5"},{"photo_id":"1331796677","filename":"file2"},{"photo_id":"1331796701","filename":"file4"},{"photo_id":"1331796671","filename":"file1"},{"photo_id":"1331796667","filename":"file0"},{"photo_id":"1331796683","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331796683":["hashtag1","hashtag2"]},{"1331796677":["hashtag1","hashtag2"]},{"1331796671":["hashtag1","hashtag2"]},{"1331796701":["hashtag1","hashtag2"]},{"1331796988":["hashtag1","hashtag2"]},{"1331796667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331796683, 1331796677, 1331796671, 1331796701, 1331796988, 1331796667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97671341896057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:43:33.130336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/28/image_26012025_23_29_05_9367.jpg', '/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_16_10358.jpg', '/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_26_10375.jpg', '/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_36_9460.jpg', '/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_46_10427.jpg', '/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_55_9353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/28/image_26012025_23_29_05_9367.jpg
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_16_10358.jpg
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_26_10375.jpg
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_36_9460.jpg
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_46_10427.jpg
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_29_55_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":["1331797526","1331797459","1331797519","1331797528","1331797428","1331797530"],"photo_ids_order":["1331797428","1331797459","1331797519","1331797526","1331797528","1331797530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/bda2a480fa933c2cfd8aea2b9aed4c49.jpg","text":"TemporaryFile(/tmp/multipartBody7265129905900940098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_36_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/542f31b3f3e6757bf27b9e92e9be160a.jpg","text":"TemporaryFile(/tmp/multipartBody425242144513115877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_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/26/b383593746a0e22a697a57a3a053c4d8.jpg","text":"TemporaryFile(/tmp/multipartBody6695652695226733463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_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/26/831651d2992492baf59ad0c3059b340b.jpg","text":"TemporaryFile(/tmp/multipartBody1879633813732051467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_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/26/a7bebd52b2fde45b97f3cd867a4ccfa8.jpg","text":"TemporaryFile(/tmp/multipartBody8867028204589003085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_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/26/4de3280787d558e6f7343bdf475be5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3058918666296574139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931474075,"filename":"image_26012025_23_29_55_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331797519","file1":"1331797459","file0":"1331797428","file4":"1331797528","file5":"1331797530","file3":"1331797526"},"map_files_photo_id_array":[{"photo_id":"1331797530","filename":"file5"},{"photo_id":"1331797519","filename":"file2"},{"photo_id":"1331797528","filename":"file4"},{"photo_id":"1331797459","filename":"file1"},{"photo_id":"1331797428","filename":"file0"},{"photo_id":"1331797526","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331797526":["hashtag1","hashtag2"]},{"1331797459":["hashtag1","hashtag2"]},{"1331797519":["hashtag1","hashtag2"]},{"1331797528":["hashtag1","hashtag2"]},{"1331797428":["hashtag1","hashtag2"]},{"1331797530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331797526, 1331797459, 1331797519, 1331797528, 1331797428, 1331797530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.85535383224487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:44:32.293683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/29/image_26012025_23_30_06_10506.jpg', '/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_15_9325.jpg', '/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_36_10362.jpg', '/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_45_9352.jpg', '/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_56_10455.jpg', '/home/pi/Desktop/images/26012025/23/30/image_26012025_23_31_05_9340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/29/image_26012025_23_30_06_10506.jpg
/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_15_9325.jpg
/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_36_10362.jpg
/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_45_9352.jpg
/home/pi/Desktop/images/26012025/23/30/image_26012025_23_30_56_10455.jpg
/home/pi/Desktop/images/26012025/23/30/image_26012025_23_31_05_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":["1331797547","1331797552","1331797549","1331797551","1331797554","1331797556"],"photo_ids_order":["1331797547","1331797549","1331797551","1331797552","1331797554","1331797556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9376ff06c8587b7d5d83512c86df4d06.jpg","text":"TemporaryFile(/tmp/multipartBody1420052724220983798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_30_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/26/e9c4cc8238d4183f14ec3856ecea2612.jpg","text":"TemporaryFile(/tmp/multipartBody478173225122658896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_30_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/26/4e9279dbd3df21f55a4bfe6d30b5b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody7723909518142265177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_30_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/26/2a8c1f769d3bd460183340d9877266a1.jpg","text":"TemporaryFile(/tmp/multipartBody3028581249083299830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_30_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/26/171a9edd91c9b474f314987df8784ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3939168676891716478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_30_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/26/7cb9315c24ee2f505825dcf53cbf44ab.jpg","text":"TemporaryFile(/tmp/multipartBody5998225571076403214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931533215,"filename":"image_26012025_23_31_05_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331797551","file1":"1331797549","file0":"1331797547","file4":"1331797554","file5":"1331797556","file3":"1331797552"},"map_files_photo_id_array":[{"photo_id":"1331797556","filename":"file5"},{"photo_id":"1331797551","filename":"file2"},{"photo_id":"1331797554","filename":"file4"},{"photo_id":"1331797549","filename":"file1"},{"photo_id":"1331797547","filename":"file0"},{"photo_id":"1331797552","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331797547":["hashtag1","hashtag2"]},{"1331797552":["hashtag1","hashtag2"]},{"1331797549":["hashtag1","hashtag2"]},{"1331797551":["hashtag1","hashtag2"]},{"1331797554":["hashtag1","hashtag2"]},{"1331797556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331797547, 1331797552, 1331797549, 1331797551, 1331797554, 1331797556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30918526649475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:45:32.598045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_16_10486.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_26_10373.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_35_9354.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_46_10439.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_55_9341.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_32_06_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_16_10486.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_26_10373.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_35_9354.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_46_10439.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_55_9341.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_32_06_10421.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.550377368927002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-01-26 23:45:42.581296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_16_10486.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_26_10373.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_35_9354.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_46_10439.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_55_9341.jpg', '/home/pi/Desktop/images/26012025/23/31/image_26012025_23_32_06_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_16_10486.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_26_10373.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_35_9354.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_46_10439.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_31_55_9341.jpg
/home/pi/Desktop/images/26012025/23/31/image_26012025_23_32_06_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331797579","1331797604","1331797582","1331797624","1331797575","1331797598"],"photo_ids_order":["1331797575","1331797579","1331797582","1331797598","1331797604","1331797624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/d208dd9262770d6aadd83314e7922a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6112550768663614034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_31_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/26/0d36a38d5d895e18a72c4877c92b2df0.jpg","text":"TemporaryFile(/tmp/multipartBody2705364723686762256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_31_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/26/8fb247222997c17179bfedb9308000d5.jpg","text":"TemporaryFile(/tmp/multipartBody7034603927999267596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_31_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/26/7eb4ac8edc0caa1a46de7ee0cd0b8d62.jpg","text":"TemporaryFile(/tmp/multipartBody4855645995210506361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_32_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/26/40ad14481a4545c2559bea5a6be8ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody8375033976781790564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_31_16_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/26/6ead929ae5d5ec2b730e691e5cf5c272.jpg","text":"TemporaryFile(/tmp/multipartBody3617385241381993592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931603518,"filename":"image_26012025_23_31_46_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331797582","file1":"1331797579","file0":"1331797575","file4":"1331797604","file5":"1331797624","file3":"1331797598"},"map_files_photo_id_array":[{"photo_id":"1331797624","filename":"file5"},{"photo_id":"1331797582","filename":"file2"},{"photo_id":"1331797604","filename":"file4"},{"photo_id":"1331797579","filename":"file1"},{"photo_id":"1331797575","filename":"file0"},{"photo_id":"1331797598","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331797579":["hashtag1","hashtag2"]},{"1331797604":["hashtag1","hashtag2"]},{"1331797582":["hashtag1","hashtag2"]},{"1331797624":["hashtag1","hashtag2"]},{"1331797575":["hashtag1","hashtag2"]},{"1331797598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331797579, 1331797604, 1331797582, 1331797624, 1331797575, 1331797598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.642011404037476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:46:32.884979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_16_10461.jpg', '/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_25_9358.jpg', '/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_36_10411.jpg', '/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_45_9375.jpg', '/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_56_10499.jpg', '/home/pi/Desktop/images/26012025/23/32/image_26012025_23_33_06_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_16_10461.jpg
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_25_9358.jpg
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_36_10411.jpg
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_45_9375.jpg
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_32_56_10499.jpg
/home/pi/Desktop/images/26012025/23/32/image_26012025_23_33_06_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":["1331797634","1331797636","1331797702","1331797630","1331797632","1331797803"],"photo_ids_order":["1331797630","1331797632","1331797634","1331797636","1331797702","1331797803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/805ba00e062dd7a93e65074627c5fb58.jpg","text":"TemporaryFile(/tmp/multipartBody2447596314246654205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_32_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/77d6af281ab50e12a42bfdd2907d7df3.jpg","text":"TemporaryFile(/tmp/multipartBody773921254553418974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_32_45_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/a3b9ae85bbaf4d8f22add6526737df0f.jpg","text":"TemporaryFile(/tmp/multipartBody429120590509816751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_32_56_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/26/4351f1a0f1c8ef414ffb8acd4bd228b9.jpg","text":"TemporaryFile(/tmp/multipartBody994524964314957422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_32_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/91044db9aa89df7ff9b4581d3fc9054b.jpg","text":"TemporaryFile(/tmp/multipartBody805582264380230807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_32_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/26/210830f0e17c99968db3fde1d7f63bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1421655849646384033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931654193,"filename":"image_26012025_23_33_06_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331797634","file1":"1331797632","file0":"1331797630","file4":"1331797702","file5":"1331797803","file3":"1331797636"},"map_files_photo_id_array":[{"photo_id":"1331797803","filename":"file5"},{"photo_id":"1331797634","filename":"file2"},{"photo_id":"1331797702","filename":"file4"},{"photo_id":"1331797632","filename":"file1"},{"photo_id":"1331797630","filename":"file0"},{"photo_id":"1331797636","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331797634":["hashtag1","hashtag2"]},{"1331797636":["hashtag1","hashtag2"]},{"1331797702":["hashtag1","hashtag2"]},{"1331797630":["hashtag1","hashtag2"]},{"1331797632":["hashtag1","hashtag2"]},{"1331797803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331797634, 1331797636, 1331797702, 1331797630, 1331797632, 1331797803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.06666445732117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:47:33.054624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_16_9402.jpg', '/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_26_10388.jpg', '/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_35_9403.jpg', '/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_46_10367.jpg', '/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_56_10380.jpg', '/home/pi/Desktop/images/26012025/23/34/image_26012025_23_34_25_9414.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_16_9402.jpg
/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_26_10388.jpg
/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_35_9403.jpg
/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_46_10367.jpg
/home/pi/Desktop/images/26012025/23/33/image_26012025_23_33_56_10380.jpg
/home/pi/Desktop/images/26012025/23/34/image_26012025_23_34_25_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":["1331798188","1331798199","1331798190","1331798193","1331798334","1331798099"],"photo_ids_order":["1331798099","1331798188","1331798190","1331798193","1331798199","1331798334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e73b6d240bb222bf37a5122c56a98e40.jpg","text":"TemporaryFile(/tmp/multipartBody2896693150284666189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_33_26_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/26/fad860748f9ccba7616b8d7413c31830.jpg","text":"TemporaryFile(/tmp/multipartBody2107348258940826950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_33_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/26/ee02e67d1117dc97c4e6ac2ef57639db.jpg","text":"TemporaryFile(/tmp/multipartBody437137906706252096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_33_35_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/26/0bcddaa3662f16737730f4ccb0b81a28.jpg","text":"TemporaryFile(/tmp/multipartBody3393038337648261729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_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/26/52ca8fff51746af68bd2998c9844e7be.jpg","text":"TemporaryFile(/tmp/multipartBody1595123490076460012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_34_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/26/93fe6879fffd503d33bf85271c5cc88f.jpg","text":"TemporaryFile(/tmp/multipartBody1914602006590381941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931713981,"filename":"image_26012025_23_33_16_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331798190","file1":"1331798188","file0":"1331798099","file4":"1331798199","file5":"1331798334","file3":"1331798193"},"map_files_photo_id_array":[{"photo_id":"1331798334","filename":"file5"},{"photo_id":"1331798190","filename":"file2"},{"photo_id":"1331798199","filename":"file4"},{"photo_id":"1331798188","filename":"file1"},{"photo_id":"1331798099","filename":"file0"},{"photo_id":"1331798193","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331798188":["hashtag1","hashtag2"]},{"1331798199":["hashtag1","hashtag2"]},{"1331798190":["hashtag1","hashtag2"]},{"1331798193":["hashtag1","hashtag2"]},{"1331798334":["hashtag1","hashtag2"]},{"1331798099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331798188, 1331798199, 1331798190, 1331798193, 1331798334, 1331798099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.89397883415222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:48:32.201990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/34/image_26012025_23_34_56_9457.jpg', '/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_26_10400.jpg', '/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_36_10367.jpg', '/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_45_9353.jpg', '/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_56_10472.jpg', '/home/pi/Desktop/images/26012025/23/35/image_26012025_23_36_05_9407.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/34/image_26012025_23_34_56_9457.jpg
/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_26_10400.jpg
/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_36_10367.jpg
/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_45_9353.jpg
/home/pi/Desktop/images/26012025/23/35/image_26012025_23_35_56_10472.jpg
/home/pi/Desktop/images/26012025/23/35/image_26012025_23_36_05_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":["1331798398","1331798392","1331798394","1331798388","1331798390","1331798396"],"photo_ids_order":["1331798388","1331798390","1331798392","1331798394","1331798396","1331798398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7b1934940dd49647c688677d9b5dbcdb.jpg","text":"TemporaryFile(/tmp/multipartBody2487206226680943922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_36_05_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3a5c85e36f88db3b368158c633d6ec65.jpg","text":"TemporaryFile(/tmp/multipartBody3173447439980512632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_35_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/26/c97c3c46b2a25f9264f6f25120a44d68.jpg","text":"TemporaryFile(/tmp/multipartBody5013802610745380253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_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/26/6eeffa93b8a05834676be2927cc4c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody661433396006629826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_34_56_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e8a81c9f38177fef95d49545cb854273.jpg","text":"TemporaryFile(/tmp/multipartBody1126754086489187048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_35_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/26/5500b7d466a404754cd36e5843918dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7077972858639127924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931773123,"filename":"image_26012025_23_35_56_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331798392","file1":"1331798390","file0":"1331798388","file4":"1331798396","file5":"1331798398","file3":"1331798394"},"map_files_photo_id_array":[{"photo_id":"1331798398","filename":"file5"},{"photo_id":"1331798392","filename":"file2"},{"photo_id":"1331798396","filename":"file4"},{"photo_id":"1331798390","filename":"file1"},{"photo_id":"1331798388","filename":"file0"},{"photo_id":"1331798394","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331798398":["hashtag1","hashtag2"]},{"1331798392":["hashtag1","hashtag2"]},{"1331798394":["hashtag1","hashtag2"]},{"1331798388":["hashtag1","hashtag2"]},{"1331798390":["hashtag1","hashtag2"]},{"1331798396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331798398, 1331798392, 1331798394, 1331798388, 1331798390, 1331798396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.273926734924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:49:32.545336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_16_10365.jpg', '/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_26_10391.jpg', '/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_35_9414.jpg', '/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_46_10374.jpg', '/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_56_10364.jpg', '/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_16_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_16_10365.jpg
/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_26_10391.jpg
/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_35_9414.jpg
/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_46_10374.jpg
/home/pi/Desktop/images/26012025/23/36/image_26012025_23_36_56_10364.jpg
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_16_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331798470","1331798461","1331798431","1331798463","1331798466","1331798468"],"photo_ids_order":["1331798431","1331798461","1331798463","1331798466","1331798468","1331798470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/62fd8aa4f3218ea35bace651bd345e91.jpg","text":"TemporaryFile(/tmp/multipartBody1149471261260509507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_37_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/26/575d7a7577b466db35e383b9b4247f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8100288082436173922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_36_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/26/95f2191bc4580a8ebfa68422e2a6a37e.jpg","text":"TemporaryFile(/tmp/multipartBody2953236393966961310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_36_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/59f839fca851af2bebc0f72f102a6877.jpg","text":"TemporaryFile(/tmp/multipartBody8335447161209618745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_36_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/26/099966efed9e1aba1b565d27c6af6af9.jpg","text":"TemporaryFile(/tmp/multipartBody6228927861319741410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_36_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/26/36e152f2c5d518d69a8ac5093aff7af9.jpg","text":"TemporaryFile(/tmp/multipartBody3948667234795898211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931833476,"filename":"image_26012025_23_36_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331798463","file1":"1331798461","file0":"1331798431","file4":"1331798468","file5":"1331798470","file3":"1331798466"},"map_files_photo_id_array":[{"photo_id":"1331798470","filename":"file5"},{"photo_id":"1331798463","filename":"file2"},{"photo_id":"1331798468","filename":"file4"},{"photo_id":"1331798461","filename":"file1"},{"photo_id":"1331798431","filename":"file0"},{"photo_id":"1331798466","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331798470":["hashtag1","hashtag2"]},{"1331798461":["hashtag1","hashtag2"]},{"1331798431":["hashtag1","hashtag2"]},{"1331798463":["hashtag1","hashtag2"]},{"1331798466":["hashtag1","hashtag2"]},{"1331798468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331798470, 1331798461, 1331798431, 1331798463, 1331798466, 1331798468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.68081212043762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:50:32.896098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_25_9351.jpg', '/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_36_10421.jpg', '/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_46_10362.jpg', '/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_55_9351.jpg', '/home/pi/Desktop/images/26012025/23/37/image_26012025_23_38_06_10352.jpg', '/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_15_9594.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_25_9351.jpg
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_36_10421.jpg
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_46_10362.jpg
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_37_55_9351.jpg
/home/pi/Desktop/images/26012025/23/37/image_26012025_23_38_06_10352.jpg
/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_15_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331798491","1331798485","1331798487","1331798492","1331798489","1331798483"],"photo_ids_order":["1331798483","1331798485","1331798487","1331798489","1331798491","1331798492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/f1a26f303ca376534d0b599ced321340.jpg","text":"TemporaryFile(/tmp/multipartBody4941509173913515970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_38_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/26/a69ba5a7c0283ca05c6715f676ff2bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5881016242793305711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_37_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/26/8a5ed7eb38d00038bc5fbd589378912e.jpg","text":"TemporaryFile(/tmp/multipartBody3788059491376348413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_37_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/26/f5fb72ecab882b0be235fea0ae642337.jpg","text":"TemporaryFile(/tmp/multipartBody2699076940775384624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_38_15_9594.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9b0cff84285eb8a052e4a114b3ecf1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7399383106533417145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_37_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/ae8724fcca7beee18b84990e6a9dd854.jpg","text":"TemporaryFile(/tmp/multipartBody6290344641577312280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931894096,"filename":"image_26012025_23_37_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331798487","file1":"1331798485","file0":"1331798483","file4":"1331798491","file5":"1331798492","file3":"1331798489"},"map_files_photo_id_array":[{"photo_id":"1331798492","filename":"file5"},{"photo_id":"1331798487","filename":"file2"},{"photo_id":"1331798491","filename":"file4"},{"photo_id":"1331798485","filename":"file1"},{"photo_id":"1331798483","filename":"file0"},{"photo_id":"1331798489","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331798491":["hashtag1","hashtag2"]},{"1331798485":["hashtag1","hashtag2"]},{"1331798487":["hashtag1","hashtag2"]},{"1331798492":["hashtag1","hashtag2"]},{"1331798489":["hashtag1","hashtag2"]},{"1331798483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331798491, 1331798485, 1331798487, 1331798492, 1331798489, 1331798483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.184064865112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:51:33.003127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_26_10416.jpg', '/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_36_10360.jpg', '/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_56_10365.jpg', '/home/pi/Desktop/images/26012025/23/38/image_26012025_23_39_05_9348.jpg', '/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_16_10328.jpg', '/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_26_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_26_10416.jpg
/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_36_10360.jpg
/home/pi/Desktop/images/26012025/23/38/image_26012025_23_38_56_10365.jpg
/home/pi/Desktop/images/26012025/23/38/image_26012025_23_39_05_9348.jpg
/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_16_10328.jpg
/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_26_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":["1331798515","1331798509","1331798506","1331798745","1331798511","1331798514"],"photo_ids_order":["1331798506","1331798509","1331798511","1331798514","1331798515","1331798745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/541aa985b9e583b3387511d1afe2b324.jpg","text":"TemporaryFile(/tmp/multipartBody4851706053306694682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_39_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/26/2fec8ae6bbdc7dc2a87f5ca5ef14391c.jpg","text":"TemporaryFile(/tmp/multipartBody1369459134784676167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_38_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/7e3c2c4ac4b06f692157f79ea6e422d2.jpg","text":"TemporaryFile(/tmp/multipartBody1017216279942227063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_38_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/26/39cc8ce4eec17f8a898af569f263d695.jpg","text":"TemporaryFile(/tmp/multipartBody1529908505800694521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_39_26_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/324d2a755ab43322dba8182ebace8634.jpg","text":"TemporaryFile(/tmp/multipartBody4960271636083468226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_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/26/5e3dab9311ea47fefefabdb941d5e26c.jpg","text":"TemporaryFile(/tmp/multipartBody7028898223869380889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737931953928,"filename":"image_26012025_23_39_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331798511","file1":"1331798509","file0":"1331798506","file4":"1331798515","file5":"1331798745","file3":"1331798514"},"map_files_photo_id_array":[{"photo_id":"1331798745","filename":"file5"},{"photo_id":"1331798511","filename":"file2"},{"photo_id":"1331798515","filename":"file4"},{"photo_id":"1331798509","filename":"file1"},{"photo_id":"1331798506","filename":"file0"},{"photo_id":"1331798514","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331798515":["hashtag1","hashtag2"]},{"1331798509":["hashtag1","hashtag2"]},{"1331798506":["hashtag1","hashtag2"]},{"1331798745":["hashtag1","hashtag2"]},{"1331798511":["hashtag1","hashtag2"]},{"1331798514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331798515, 1331798509, 1331798506, 1331798745, 1331798511, 1331798514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.24790334701538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:52:32.222344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_35_9341.jpg', '/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_56_10370.jpg', '/home/pi/Desktop/images/26012025/23/39/image_26012025_23_40_06_9406.jpg', '/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_16_10342.jpg', '/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_25_9355.jpg', '/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_36_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_35_9341.jpg
/home/pi/Desktop/images/26012025/23/39/image_26012025_23_39_56_10370.jpg
/home/pi/Desktop/images/26012025/23/39/image_26012025_23_40_06_9406.jpg
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_16_10342.jpg
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_25_9355.jpg
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_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":["1331799372","1331799378","1331799380","1331799374","1331799382","1331799376"],"photo_ids_order":["1331799372","1331799374","1331799376","1331799378","1331799380","1331799382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/cbabbbb82ff42ef0a2e20c79f5989064.jpg","text":"TemporaryFile(/tmp/multipartBody3709831613695886229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_39_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/26/d5649eed9986952e99f3d0118e23ffda.jpg","text":"TemporaryFile(/tmp/multipartBody5351945978135101903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_40_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/26/fb6001c3f24e4fc8f7db10e1e33e6b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4493780213542996280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_40_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/26/f0b79d2af61c2b9d20bf197a4912c4b9.jpg","text":"TemporaryFile(/tmp/multipartBody8756872518180329884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_39_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/26/4792f9d2c6382ab96bf370258dda443f.jpg","text":"TemporaryFile(/tmp/multipartBody3000071546956309696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_40_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/26/3da111ea98729b1a440b9ea378654c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7163404483076278806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932013161,"filename":"image_26012025_23_40_06_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331799376","file1":"1331799374","file0":"1331799372","file4":"1331799380","file5":"1331799382","file3":"1331799378"},"map_files_photo_id_array":[{"photo_id":"1331799382","filename":"file5"},{"photo_id":"1331799376","filename":"file2"},{"photo_id":"1331799380","filename":"file4"},{"photo_id":"1331799374","filename":"file1"},{"photo_id":"1331799372","filename":"file0"},{"photo_id":"1331799378","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331799372":["hashtag1","hashtag2"]},{"1331799378":["hashtag1","hashtag2"]},{"1331799380":["hashtag1","hashtag2"]},{"1331799374":["hashtag1","hashtag2"]},{"1331799382":["hashtag1","hashtag2"]},{"1331799376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331799372, 1331799378, 1331799380, 1331799374, 1331799382, 1331799376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.083640575408936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:53:32.351369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_46_10350.jpg', '/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_55_9357.jpg', '/home/pi/Desktop/images/26012025/23/40/image_26012025_23_41_06_10395.jpg', '/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_16_10368.jpg', '/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_26_9477.jpg', '/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_36_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_46_10350.jpg
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_40_55_9357.jpg
/home/pi/Desktop/images/26012025/23/40/image_26012025_23_41_06_10395.jpg
/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_16_10368.jpg
/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_26_9477.jpg
/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_36_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331799658","1331799651","1331799660","1331799663","1331799653","1331799655"],"photo_ids_order":["1331799651","1331799653","1331799655","1331799658","1331799660","1331799663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/1b2cd7fe69f061505bf06b282b4b260e.jpg","text":"TemporaryFile(/tmp/multipartBody2539370180073298593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_41_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/26/d63f32dd3709b0f2ea62ab48ca101c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7103852193111670931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_40_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/fe137fb83c7e5945a93416326c18ae0b.jpg","text":"TemporaryFile(/tmp/multipartBody6116571232041236483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_41_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/26/acf449af184abcf5339a36bd1f7f4ba1.jpg","text":"TemporaryFile(/tmp/multipartBody7426844123808293788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_41_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/134969245558efbb16bac15ab8f57061.jpg","text":"TemporaryFile(/tmp/multipartBody6033852386198209906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_40_55_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/b4bc16ad97d1322f02acc9e3a5a7589d.jpg","text":"TemporaryFile(/tmp/multipartBody3720847674082905326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932073262,"filename":"image_26012025_23_41_06_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331799655","file1":"1331799653","file0":"1331799651","file4":"1331799660","file5":"1331799663","file3":"1331799658"},"map_files_photo_id_array":[{"photo_id":"1331799663","filename":"file5"},{"photo_id":"1331799655","filename":"file2"},{"photo_id":"1331799660","filename":"file4"},{"photo_id":"1331799653","filename":"file1"},{"photo_id":"1331799651","filename":"file0"},{"photo_id":"1331799658","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331799658":["hashtag1","hashtag2"]},{"1331799651":["hashtag1","hashtag2"]},{"1331799660":["hashtag1","hashtag2"]},{"1331799663":["hashtag1","hashtag2"]},{"1331799653":["hashtag1","hashtag2"]},{"1331799655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331799658, 1331799651, 1331799660, 1331799663, 1331799653, 1331799655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.73972463607788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:54:32.699606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_45_9421.jpg', '/home/pi/Desktop/images/26012025/23/41/image_26012025_23_42_06_10347.jpg', '/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_16_9457.jpg', '/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_26_10356.jpg', '/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_35_9344.jpg', '/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_46_10485.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/41/image_26012025_23_41_45_9421.jpg
/home/pi/Desktop/images/26012025/23/41/image_26012025_23_42_06_10347.jpg
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_16_9457.jpg
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_26_10356.jpg
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_35_9344.jpg
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_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":["1331799670","1331799700","1331799687","1331799672","1331799674","1331799708"],"photo_ids_order":["1331799670","1331799672","1331799674","1331799687","1331799700","1331799708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/93a7d932f05623e2fa8bdd25f551c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody1522131055409491017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_41_45_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/e49b09fbbcc8e77b2fb1dbc644a87e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1318755054667622707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_42_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/26/3303e73455d0232ad0cdedfff41a8f20.jpg","text":"TemporaryFile(/tmp/multipartBody2529146786696455008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_42_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/26/b958606c1f3e3067757583414a9a4809.jpg","text":"TemporaryFile(/tmp/multipartBody7983591791481302886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_42_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/26/398805bc842bebc7eb4dc5800a63d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7558032420444811910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_42_16_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/14e28fe7ab7cabeacce9d2e4db649d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8334932313198429923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932133634,"filename":"image_26012025_23_42_46_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331799674","file1":"1331799672","file0":"1331799670","file4":"1331799700","file5":"1331799708","file3":"1331799687"},"map_files_photo_id_array":[{"photo_id":"1331799708","filename":"file5"},{"photo_id":"1331799674","filename":"file2"},{"photo_id":"1331799700","filename":"file4"},{"photo_id":"1331799672","filename":"file1"},{"photo_id":"1331799670","filename":"file0"},{"photo_id":"1331799687","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331799670":["hashtag1","hashtag2"]},{"1331799700":["hashtag1","hashtag2"]},{"1331799687":["hashtag1","hashtag2"]},{"1331799672":["hashtag1","hashtag2"]},{"1331799674":["hashtag1","hashtag2"]},{"1331799708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331799670, 1331799700, 1331799687, 1331799672, 1331799674, 1331799708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.19205904006958 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:55:32.920383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_56_10361.jpg', '/home/pi/Desktop/images/26012025/23/42/image_26012025_23_43_06_9464.jpg', '/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_16_10407.jpg', '/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_25_9402.jpg', '/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_36_10405.jpg', '/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_45_9426.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_42_56_10361.jpg
/home/pi/Desktop/images/26012025/23/42/image_26012025_23_43_06_9464.jpg
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_16_10407.jpg
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_25_9402.jpg
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_36_10405.jpg
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_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":["1331799742","1331799733","1331799735","1331799743","1331799737","1331799740"],"photo_ids_order":["1331799733","1331799735","1331799737","1331799740","1331799742","1331799743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/deb33ef4f0b0bc3f9489b1ee113523b2.jpg","text":"TemporaryFile(/tmp/multipartBody5040329895146790121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_43_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/0e62c9f93b6d0754222c617702995aa3.jpg","text":"TemporaryFile(/tmp/multipartBody1546234317948557113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_42_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/26/a86525b03d8d0406de60064e54d488cc.jpg","text":"TemporaryFile(/tmp/multipartBody5828083090785171878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_43_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/57af9e88df661a5f29b0373e45a363c7.jpg","text":"TemporaryFile(/tmp/multipartBody8228257677787746989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_43_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/26/b5668ca1498a8175a0008e2ac3eafad7.jpg","text":"TemporaryFile(/tmp/multipartBody8325916299700611576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_43_16_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/45e0e0c657e25f004ae9b7617d091106.jpg","text":"TemporaryFile(/tmp/multipartBody1170420786571613252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932193850,"filename":"image_26012025_23_43_25_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331799737","file1":"1331799735","file0":"1331799733","file4":"1331799742","file5":"1331799743","file3":"1331799740"},"map_files_photo_id_array":[{"photo_id":"1331799743","filename":"file5"},{"photo_id":"1331799737","filename":"file2"},{"photo_id":"1331799742","filename":"file4"},{"photo_id":"1331799735","filename":"file1"},{"photo_id":"1331799733","filename":"file0"},{"photo_id":"1331799740","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331799742":["hashtag1","hashtag2"]},{"1331799733":["hashtag1","hashtag2"]},{"1331799735":["hashtag1","hashtag2"]},{"1331799743":["hashtag1","hashtag2"]},{"1331799737":["hashtag1","hashtag2"]},{"1331799740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331799742, 1331799733, 1331799735, 1331799743, 1331799737, 1331799740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78373742103577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:56:33.049701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_56_10449.jpg', '/home/pi/Desktop/images/26012025/23/43/image_26012025_23_44_06_10347.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_15_9369.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_26_10415.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_35_9335.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_46_10500.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_43_56_10449.jpg
/home/pi/Desktop/images/26012025/23/43/image_26012025_23_44_06_10347.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_15_9369.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_26_10415.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_35_9335.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_46_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1331799763","1331799777","1331799767","1331799772","1331799775","1331799760"],"photo_ids_order":["1331799760","1331799763","1331799767","1331799772","1331799775","1331799777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/9f012632b1831311f76886eecdcd2f92.jpg","text":"TemporaryFile(/tmp/multipartBody3354222943630323994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_44_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/26/fafa075c6d2d6c3919214c569ca8fcad.jpg","text":"TemporaryFile(/tmp/multipartBody4655267728346192467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_44_46_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/26/991b2152a71189e2fc78d05ea3d43405.jpg","text":"TemporaryFile(/tmp/multipartBody4218102698837445004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_44_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/26/ab90177f7e34889be1da44f08560bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody5149849108101579336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_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/26/c712ac51a28e4d909b5e7fcb79d193b4.jpg","text":"TemporaryFile(/tmp/multipartBody1271076573075595820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_44_35_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/26/3577b6d17401594b0e3de928827a5c59.jpg","text":"TemporaryFile(/tmp/multipartBody2072324186946313313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737932253997,"filename":"image_26012025_23_43_56_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1331799767","file1":"1331799763","file0":"1331799760","file4":"1331799775","file5":"1331799777","file3":"1331799772"},"map_files_photo_id_array":[{"photo_id":"1331799777","filename":"file5"},{"photo_id":"1331799767","filename":"file2"},{"photo_id":"1331799775","filename":"file4"},{"photo_id":"1331799763","filename":"file1"},{"photo_id":"1331799760","filename":"file0"},{"photo_id":"1331799772","filename":"file3"}],"portfolio_id":19928419,"hashtag_by_photo_ids":[{"1331799763":["hashtag1","hashtag2"]},{"1331799777":["hashtag1","hashtag2"]},{"1331799767":["hashtag1","hashtag2"]},{"1331799772":["hashtag1","hashtag2"]},{"1331799775":["hashtag1","hashtag2"]},{"1331799760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19928419 used, photo_id : ArrayBuffer(1331799763, 1331799777, 1331799767, 1331799772, 1331799775, 1331799760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2284209728241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u www.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-01-26 23:57:32.275521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250126 ORDER BY id_local ASC LIMIT 6;
  port_id : 19928419
  datou_current_id : 2515926
in upload_from_sqlite, uploading in 19928419
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_56_10364.jpg', '/home/pi/Desktop/images/26012025/23/44/image_26012025_23_45_05_9338.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_16_10372.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_26_10353.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_36_9408.jpg', '/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_46_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2515926&datou=0
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_44_56_10364.jpg
/home/pi/Desktop/images/26012025/23/44/image_26012025_23_45_05_9338.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_16_10372.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_26_10353.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_36_9408.jpg
/home/pi/Desktop/images/26012025/23/45/image_26012025_23_45_46_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
